You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c040242
Browse filesBrowse the repository at this point in the historyBrowse files
docs(consent): move the star rule out of the development-facing files
`AGENTS.md` is loaded for every code change in this repository, and the star
consent boundary applies to none of them — it only comes up when an agent is
*running* opencodex on a user's machine. Carrying 39 lines of "do not answer
this prompt" there meant every unrelated task triggered on a rule it could not
possibly violate, and the README repeated the same wall of text in a
twelve-line blockquote aimed at readers who are mostly not agents.
So the rule moves to `AGENTS_INSTALL.md`, addressed to the audience that
actually needs it: an agent installing, starting, or operating opencodex.
`AGENTS.md` keeps a short pointer plus the part that matters for development —
the enforcement is code, and a new identity-spending action must be gated the
same way. The README blockquote drops from twelve lines to four.
Nothing is thinned in the move. The new file carries the full contract: the
`403 agent_consent_required` refusal, the exact `Star lidge-jun/opencodex?
Yes / No` wording, the once-not-forever bound, and both halves of the settle
rule. It also states why the CLI prints one dim line instead of the whole
thing, and points at the Agent Quickstart for everything that is not the
consent boundary.
The file ships in the npm package (`package.json` "files"), because an agent
that installed opencodex cannot read a path that only exists in this
repository. The deferral the CLI prints now names it, so an agent that sees the
one-line fold knows where the full rule lives.
`tests/startup-prompt.test.ts` asserted the rule's old location. It now asserts
the new one and pins more than before: the relocated file must still contain
the refusal code, the exact question, and both settle clauses, and BOTH entry
points must still route an agent to it — a rule nobody is pointed at is a rule
nobody reads.
Verified: bun run test 7631 pass / 0 fail across 507 files; startup-prompt,
agent-driven, and sidebar-routes 33 pass; typecheck and privacy:scan pass.
0 commit comments