Skip to content

docs(agents): add a gate entry point and Standards, make CLAUDE.md a pointer - #65

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

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

Conversation

@cjber

@cjber cjber commented Nov 18, 2026 •

Copy link
Copy Markdown
  • Adds scripts/gate (fast local gate) and scripts/gate --changed (only what the branch's changed files reach), and names both in AGENTS.md in place of the raw command list.
  • Adds ## Standards naming repo-standards; CONTRIBUTING.md points at the gate.
  • AGENTS.md: 1064 -> 1567 bytes. Whole-repo and heavy checks stay in CI.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KXatHM2Wro3XUtD6hGnED5


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…pointer

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KXatHM2Wro3XUtD6hGnED5
@cjber
cjber requested a review from jnsdls as a code owner November 18, 2026 08:38
@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:40:31.513790Z 7a9e40a 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.

@codspeed

codspeed Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Merging this PR will improve performance by 12.96%

2 warnings

⚠️ 19 benchmarks with a significant change ran on different hardware

Their base and head results were measured on machines with a different CPU, core count or memory, so the changes might not come from the code. Run base and head on the same runner type.

Learn more about Macro Runners

See affected benchmarks

⚠️ 19 benchmarks with a significant change ran in a different software environment

Their base and head results were measured with a different OS or toolchain, such as compiler, runtime or library versions, so the changes might come from this difference rather than from the code. Open an affected benchmark to see what changed.

See affected benchmarks

⚡ 19 improved benchmarks
✅ 27 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ test_cpu[mutate_cpu.put.n100] 23.4 ms 19.8 ms +17.82%
⚡ test_cpu[query_json.simple.b100] 16.2 ms 14 ms +15.55%
⚡ test_cpu[z2s.complex] 1.3 ms 1.1 ms +15.38%
⚡ test_cpu[query.complex.b100] 49.6 ms 43.2 ms +15%
⚡ test_cpu[mutate_cpu.crud.n100] 55.6 ms 48.4 ms +14.81%
⚡ test_cpu[z2s.related] 609.2 µs 531.8 µs +14.54%
⚡ test_cpu[query_json.complex.b100] 58.3 ms 51 ms +14.41%
⚡ test_cpu[query.simple.b100] 11.1 ms 9.7 ms +13.7%
⚡ test_cpu[map.simple] 108.3 µs 95.3 µs +13.64%
⚡ test_cpu[parse.transform.q1000] 78.2 ms 69.2 ms +13.04%
⚡ test_cpu[mutate_cpu.crud.n1] 1,053.6 µs 939.8 µs +12.11%
⚡ test_cpu[build.simple] 94.3 µs 84.6 µs +11.44%
⚡ test_cpu[map.complex] 272.2 µs 244.4 µs +11.36%
⚡ test_cpu[build.complex] 510.8 µs 459.8 µs +11.1%
⚡ test_cpu[query_json.simple.b1] 438 µs 394.9 µs +10.91%
⚡ test_cpu[query_json.complex.b1] 876.1 µs 790.9 µs +10.77%
⚡ test_cpu[parse_json.push.m1000] 44.3 ms 40.1 ms +10.52%
⚡ test_cpu[parse_json.transform.q1000] 55.3 ms 50.1 ms +10.31%
⚡ test_cpu[mutate_cpu.put.n1] 650.9 µs 590.8 µs +10.17%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing cb/agent-setup (b57a17e) with main (1e7f6a6)

Open in CodSpeed

@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: 7a9e40a99b

ℹ️ 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 scripts/gate Outdated
*) echo "usage: scripts/gate [--changed]" >&2; exit 2 ;;
esac

base=$(git merge-base HEAD origin/main)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Fall back when origin/main is unavailable

In clones or worktrees without a remote named origin—for example, when the remote was renamed or the repository came from a source archive—git merge-base HEAD origin/main exits with an invalid-object error before running any checks. Since this is the documented gate contributors should run before every push, resolve the configured upstream or fall back to the local main ref instead of requiring origin/main.

AGENTS.md reference: AGENTS.md:L12-L13

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Fixed: the base falls back to the local main when origin/main is absent.

cjber and others added 2 commits November 18, 2026 08:40
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KXatHM2Wro3XUtD6hGnED5
…sted tests and non-Python inputs

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

cjber commented Nov 18, 2026

Copy link
Copy Markdown
Author

Closing: this repository is out of scope for the agent-setup rollout.

@cjber cjber closed this Nov 18, 2026
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