Repository navigation
fix(agentic-engineering): say gh refuses --slurp with --jq in the surveyor call-shape rule - #735
Conversation
…veyor call-shape rule The call-shape rule tells a run to reduce in-band with --paginate and --jq, but --jq runs once per page. Runs that wanted one cross-page result added --slurp and kept --jq, which gh rejects: 98 failed calls in 33 of 54 Codex sessions on 2026-11-22. State the slurp-into-jq form beside the rule, pin it in the validator and add a negative case. Closes #734 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ 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. You're on a roll. 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". |
… in single quotes ShellCheck SC2016 refused the literal backticks in the sed pattern. Match them with '.' as the neighbouring cases do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? 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". |
Readiness at head
Promoting and merging. |
Closes #734.
What
The surveyor's call-shape rule told runs to "reduce it in-band with
--paginateand--jq". It now also says that--jqruns once per page, so a result that needs every page at once pipes--paginate --slurpinto the allowlistedjq, becauseghrefuses--slurptogether with--jq. The validator's pinned contract string carries the new sentences. A new negative case removes the refusal sentence and expectsportfolio-surveyor must state the guard's admitted call shape. The desired-state digest is refreshed,agentic-engineeringmoves 7.9.0 → 7.9.1, and the changelog has an entry.Why (measured)
Codex runs the survey inline. Failed
CommandExecutionitems reading "the--slurpoption is not supported with--jqor--template": 25 (11-16), 13 (11-17), 3 (11-21), 98 in 33 of 54 sessions (11-22). It is the top non-empty Codex failure signature in the 1-day miner (103 of 1,924). The runs' own memory has recorded the lesson at least six times since September and they still repeat it, because the rule they follow at the point of use never mentions it. Details are in #734.Validation
./scripts/validate-manifests.shexits 0 on this branch.portfolio-surveyor must state the guard's admitted call shape, so the pinned sentence is what fires.mainthe sentence is absent, so the new negative case fails there for the right reason.validate-manifests.test.shstalled locally on a storage-backed Go build cache. CI'slint-scriptsjob verifies it.The monorepo surveyor overlay ports this rule word for word and follows in a separate PR once this is released.