Imported from jeancarlos/code-jig (
tests/fixtures/golden/enterprise/AGENTS.md). Install upstream withnpx skills add jeancarlos/code-jig --skill enterprise. Copyright stays with the author.
codex-harness core rules
- One thread per task. When the topic changes, finish and start a new thread instead of continuing.
- Deterministic first. Before reasoning about anything countable or checkable, run the
harnesscommand or script that answers it. - No polling loops. Do not chain
sleep/waitcalls when one blocking command or a single check gives the answer. - Minimal code. Reuse what exists, prefer the standard library, delete before adding, no speculative abstractions.
- Root cause over symptom. Fix the shared function, not each caller.
Enterprise overlay
- The core is read-only on this machine. Write improvements only into this overlay's slots.
- End every improvement session with a list of upstream candidates written in generic terms, with no internal names, paths or code.
