Skip to content

docs(agents): one gate with a changed-files variant, CLAUDE.md as a pointer - #30

Open
cjber wants to merge 4 commits into
mainfrom
cb/agent-setup
Open

cjber wants to merge 4 commits into
mainfrom
cb/agent-setup

Conversation

@cjber

@cjber cjber commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor
flowchart LR
  A[AGENTS.md] --> B[bun run gate]
  A --> C[bun run gate:changed]
  C --> D[scripts/gate-changed]
  E[CLAUDE.md] -->|@AGENTS.md| A
Loading

Why

An agent needs one gate command and a faster variant for its branch, and Claude Code needs a pointer file.

Scope

  • AGENTS.md names bun run gate and bun run gate:changed and the repo-standards pack; CLAUDE.md is exactly @AGENTS.md.
  • scripts/gate-changed: biome on changed and new files (NUL-safe, fails closed when git cannot list changes), tsc, the tests the changes reach, the changelog check and validate.

Verification

  • bun run gate:changed passes; with a missing base the script stops with git's error instead of passing.
  • Codex bot thread fixed and resolved. Codex review: 1 finding (git failure masked by the pipeline), fixed in the latest commit.
  • Muse review: not run. muse exec failed with agent loop failed: model failed: API error 429 [request_id=ea39384c-de3c-483f-bc64-a0d47cd66398]: Subscription quota exhausted. Your usage window resets at 2026-11-23T00:00:00Z. (rate_limit_error). The Codex review stands alone.

Risks

None beyond the gate scripts themselves; CI remains the full gate.

🤖 Generated with Claude Code

…ointer

- AGENTS.md names the gate and its changed-files variant instead of a list of raw commands, keeps the
  repository's invariants and names the repo-standards pack
- CLAUDE.md is exactly `@AGENTS.md`
- Vendored mergepatrol skill, where present, replaced by the canonical mergeloop skill

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KXatHM2Wro3XUtD6hGnED5
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T08:45:41.432277Z ce7ea63 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ce7ea63ddd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

Comment thread package.json Resolved
cjber and others added 3 commits November 18, 2026 08:48
…w files

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KXatHM2Wro3XUtD6hGnED5
The listing ran through a pipeline without pipefail, so a missing origin/main made git exit 128 while xargs -r exited 0
and the gate passed with nothing linted. gate:changed is now scripts/gate-changed, which writes the listing to a file
under set -euo pipefail before linting it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant