docs: add AGENTS.md and an AI assistance policy #24

Merged
chrnx merged 1 commits from docs/agent-guidance into develop 2026-08-09 05:45:32 +00:00
Owner

Nothing in the repository recorded how it is actually run. Every rule lived in
one head, and the ones that cost the most to rediscover are exactly the ones
that look like preferences until you know the history.

AGENTS.md carries the two-forge topology, why promotions are
fast-forward-only (merge-style promotions produced seven of the ten commits of
drift cleaned up in #22), how to tell a genuinely-ahead branch from pre-rebase
duplication and the one command that settles it, the rule that both contrib
branches get reset after a promotion, and the dependency and runtime
constraints that reviews have been enforcing by hand. It is deliberately
tool-neutral: CLAUDE.md is a three-line pointer, so the two files cannot
drift apart. The private forge is described but never named.

CONTRIBUTING gains a section on AI assistance. It says the plain thing:
assistants are welcome, Signed-off-by still means what it says, and the
person submitting is the person who read it. A policy aimed at the tool would
age badly and could not be enforced anyway; responsibility can be, and the DCO
already carries it. The four failure modes listed are the ones this codebase
actually sees rather than generic warnings — added dependencies against the
one-runtime-dependency rule, Node-only assumptions on a four-runtime project,
deleted comments that were carrying reasoning, and missing tests.

Documentation only. No code, and nothing here changes the published package.

Nothing in the repository recorded how it is actually run. Every rule lived in one head, and the ones that cost the most to rediscover are exactly the ones that look like preferences until you know the history. **AGENTS.md** carries the two-forge topology, why promotions are fast-forward-only (merge-style promotions produced seven of the ten commits of drift cleaned up in #22), how to tell a genuinely-ahead branch from pre-rebase duplication and the one command that settles it, the rule that *both* `contrib` branches get reset after a promotion, and the dependency and runtime constraints that reviews have been enforcing by hand. It is deliberately tool-neutral: `CLAUDE.md` is a three-line pointer, so the two files cannot drift apart. The private forge is described but never named. **CONTRIBUTING** gains a section on AI assistance. It says the plain thing: assistants are welcome, `Signed-off-by` still means what it says, and the person submitting is the person who read it. A policy aimed at the tool would age badly and could not be enforced anyway; responsibility can be, and the DCO already carries it. The four failure modes listed are the ones this codebase actually sees rather than generic warnings — added dependencies against the one-runtime-dependency rule, Node-only assumptions on a four-runtime project, deleted comments that were carrying reasoning, and missing tests. Documentation only. No code, and nothing here changes the published package.
chrnx added 1 commit 2026-08-09 05:32:52 +00:00
Nothing recorded how this repository is actually run, so every rule lived in
one head and had to be rediscovered. AGENTS.md now carries the two-forge
topology, why promotions are fast-forward-only, how to tell a genuinely ahead
branch from pre-rebase duplication, and the runtime and dependency constraints
that reviews keep enforcing by hand. CLAUDE.md points at it rather than
repeating it, so the two cannot drift.

The AI section in CONTRIBUTING is neither a prohibition nor a disclosure rule.
Assistants are welcome and there is nothing to declare. What it asks is that
you read the diff before sending it, because a person reads every line that
lands here and a diff its own author skipped turns their review into
proofreading. The four failure modes listed are the ones this codebase
actually sees — added dependencies, Node-only assumptions, deleted reasoning,
missing tests — and three of the four were live in a real pull request the day
this was written.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
chrnx force-pushed docs/agent-guidance from 23d3a8fe35 to 37693246d7 2026-08-09 05:32:52 +00:00 Compare
chrnx merged commit beec350fcd into develop 2026-08-09 05:45:32 +00:00
Sign in to join this conversation.