Repository navigation
docs: adopt the shared working agreement by reference (DOTGH-9) - #18
Conversation
Every repository copied the whole working-agreement block, so one policy correction meant an edit in every consumer. The agreement is now a rendered, linkable section that root AGENTS.md files read and apply by full URL, and the example AGENTS.md states only the local tracker key, scopes, component rules and validation commands. Repositories that copied the block keep working.
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
Security findingsAdvisory findings (1)ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
🛡️ Codex Security Review · Automatically triggered
Here are some automated security review suggestions for this pull request.
Reviewed commit: 59051bac34
ℹ️ About Codex security reviews in GitHub
This is an experimental Codex feature. Security reviews are triggered when:
- You comment "@codex security review"
- A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review
Once complete, Codex will leave suggestions, or a comment if no findings are found.
| # Agent instructions | ||
|
|
||
| Before editing anything, read and apply the | ||
| [working agreement](https://github.com/MaudeCode/.github/blob/main/REPOSITORIES.md#working-agreement). This file adds |
There was a problem hiding this comment.
🛡️ Codex Security Review · Automatically triggered
Security: Pin the shared agent agreement to a reviewed commit
When a consumer adopts this template, an actor who can update MaudeCode/.github's main branch but cannot write that consumer can replace the agreement the consumer's agent is told to apply. The next agent run then imports those new instructions into another repository/account without any reviewed change there, allowing that actor to influence edits with the consumer agent's permissions. Existing branch rules or later PR review may mitigate this, and adoption/agent privileges are not proven, so this is conditional P2; use a full commit SHA in the URL and update it through reviewed bumps.
Useful? React with 👍 / 👎.
Ticket
DOTGH-9
Problem
REPOSITORIES.md#agent-instructionstold every consumer to copy the whole working-agreement block into its rootAGENTS.md. Each copy is a second home for the shared rules, so one policy correction needs an edit in every consumer, including repositories owned by other GitHub accounts.Solution
### Working agreementsection, the one canonical copy of the nine shared rules.<KEY>and the scope list now refer to what the consumer's rootAGENTS.mdnames.AGENTS.mdexample: read and apply the agreement by its full URL, then state the local tracker key, scopes, component rules and validation entry points.@maudecode/cistay pinned to a full commit SHA (CI.md, item 6).AGENTS.md.Validation
REPOSITORIES.md: every relative file and#anchorresolves, including the new#working-agreement,CI.md#the-contract,CI.md#test-checksandRELEASES.md#the-contract. Exit 0.node --test: 44 passed, 0 failed.Regression proof
Not applicable: documentation only, with no bug and no behavior that a test asserts.
Risk and rollback
Low. Docs only. Roll back by reverting this commit. Copied blocks in existing repositories are unaffected.