Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{
"name": "agentic-engineering",
"description": "The autonomous engineering system for repository portfolios and everything its agents need β€” engineer, read-only surveyor, meta-engineer and Flux troubleshooter agents; portfolio, product, spend and improvement workflows; GitHub, CodeRabbit review, security, library documentation, Go, Kubernetes, Flux, Talos, SvelteKit frontend, Stripe payments, engineering-practice, design, product-management, marketing, finance and productivity skills; and the MCP servers they use; configured by the consumer AGENTS.md",
"version": "7.9.0",
"version": "7.9.1",
"source": "./plugins/agentic-engineering"
},
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/agentic-engineering/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "agentic-engineering",
"description": "The autonomous engineering system for repository portfolios and everything its agents need β€” engineer, read-only surveyor, meta-engineer and Flux troubleshooter agents; portfolio, product, spend and improvement workflows; GitHub, CodeRabbit review, security, library documentation, Go, Kubernetes, Flux, Talos, SvelteKit frontend, Stripe payments, engineering-practice, design, product-management, marketing, finance and productivity skills; and the MCP servers they use; configured by the consumer AGENTS.md",
"version": "7.9.0",
"version": "7.9.1",
"author": {
"name": "devantler-tech",
"url": "https://github.com/devantler-tech"
Expand Down
2 changes: 1 addition & 1 deletion plugins/agentic-engineering/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "agentic-engineering",
"description": "The autonomous engineering system for repository portfolios and everything its agents need β€” engineer, read-only surveyor, meta-engineer and Flux troubleshooter agents; portfolio, product, spend and improvement workflows; GitHub, CodeRabbit review, security, library documentation, Go, Kubernetes, Flux, Talos, SvelteKit frontend, Stripe payments, engineering-practice, design, product-management, marketing, finance and productivity skills; and the MCP servers they use; configured by the consumer AGENTS.md",
"version": "7.9.0",
"version": "7.9.1",
"author": {
"name": "devantler-tech",
"url": "https://github.com/devantler-tech"
Expand Down
8 changes: 8 additions & 0 deletions plugins/agentic-engineering/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog β€” `agentic-engineering`

## 7.9.1 β€” 2026-11-23

**Fixed** β€” the `portfolio-surveyor` call-shape rule now says that `--jq` runs once per page. A
result that needs every page at once pipes `--paginate --slurp` into the allowlisted `jq`, because
`gh` refuses `--slurp` together with `--jq`. The rule told runs to reduce in-band with `--paginate`
and `--jq` but never mentioned this, and runs that wanted one cross-page result kept sending the
rejected combination: 98 failed calls in 33 of 54 sessions on 2026-11-22 alone.

## 7.9.0 β€” 2026-11-22

**Added** β€” a checkout of a PR's repository becomes one of the session's folders before the PR is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ dimension** β€” report the gap, never guess a login, a prefix, a marker literal,
leading program that is neither a forge command nor a reviewed helper this definition names are all
denied, so an ordinary shell idiom silently costs the read. Emit exactly one forge command per call
and reduce it in-band with `--paginate` and `--jq`, or a pipe into the allowlisted read-only
filters; never redirect to a scratch file. Sweep repositories with one call per repository or one
filters; never redirect to a scratch file. `--jq` runs once per page, so a result that needs every
page at once pipes `--paginate --slurp` into the allowlisted `jq` instead. `gh` refuses `--slurp`
together with `--jq`. Sweep repositories with one call per repository or one
org-wide search, never a `for` loop. Take every timestamp from a payload you already read, never
from `date`. Select with `--jq` rather than `grep -oE` or `xargs`. A shape denial is a lost read
that reads exactly like no evidence: mark the affected evidence `QUERY-UNKNOWN` and reissue in the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"portfolio-surveyor": {
"enabled": true,
"mode": "delegated-read-only",
"definitionSha256": "e3cf20337a2a1e3d1378e40e880a19cf279fcbd7cd419134d26b9e0f3f573c33"
"definitionSha256": "6e34f00c1eb198df7b63ebbc7c74b80c459ea89a6bec23cb3346cd12f28b3d12"
},
"agent-improver": {
"enabledWhen": "Both optional consumer contract sections are present",
Expand Down
2 changes: 1 addition & 1 deletion scripts/validate-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ validate_desired_state_resources() {
# Pinned separately from the ownership row above: a bare-token search passes while the
# merged-PR channel silently loses the field, since the two rows carry the same token.
local portfolio_survey_comment_disclosure_row="CANDIDATE-MAINTAINER-COMMENT <repo> #<n> (draft?, merged?) β€” disclosure=<routine|interactive|none>"
local portfolio_survey_call_shape_contract="**Every forge read is one command in one call.** The read-only guard refuses on shape before it ever inspects intent: output redirection, \`;\`, \`&\`, \`&&\`, a newline, command substitution, and any leading program that is neither a forge command nor a reviewed helper this definition names are all denied, so an ordinary shell idiom silently costs the read. Emit exactly one forge command per call and reduce it in-band with \`--paginate\` and \`--jq\`, or a pipe into the allowlisted read-only filters; never redirect to a scratch file. Sweep repositories with one call per repository or one org-wide search, never a \`for\` loop. Take every timestamp from a payload you already read, never from \`date\`. Select with \`--jq\` rather than \`grep -oE\` or \`xargs\`. A shape denial is a lost read that reads exactly like no evidence: mark the affected evidence \`QUERY-UNKNOWN\` and reissue in the admitted shape β€” never work around the guard."
local portfolio_survey_call_shape_contract="**Every forge read is one command in one call.** The read-only guard refuses on shape before it ever inspects intent: output redirection, \`;\`, \`&\`, \`&&\`, a newline, command substitution, and any leading program that is neither a forge command nor a reviewed helper this definition names are all denied, so an ordinary shell idiom silently costs the read. Emit exactly one forge command per call and reduce it in-band with \`--paginate\` and \`--jq\`, or a pipe into the allowlisted read-only filters; never redirect to a scratch file. \`--jq\` runs once per page, so a result that needs every page at once pipes \`--paginate --slurp\` into the allowlisted \`jq\` instead. \`gh\` refuses \`--slurp\` together with \`--jq\`. Sweep repositories with one call per repository or one org-wide search, never a \`for\` loop. Take every timestamp from a payload you already read, never from \`date\`. Select with \`--jq\` rather than \`grep -oE\` or \`xargs\`. A shape denial is a lost read that reads exactly like no evidence: mark the affected evidence \`QUERY-UNKNOWN\` and reissue in the admitted shape β€” never work around the guard."
local portfolio_survey_classifier_argv_contract="**Invoke the classifier only in its flag form, by its resolved installed path:** \`<installed plugin>/scripts/classify-default-branch-ci-runs.sh --repo OWNER/REPO --branch BRANCH --head-sha FULL_SHA\`. The helper and the read-only guard accept nothing else: the guard admits only that exact installed sibling path β€” never a bare basename, a \`PATH\` lookup, or a relative \`../scripts/\` form β€” and a positional \`OWNER/REPO BRANCH SHA\` is denied as \`not the guarded remote-mode shape\` while the helper itself exits 2 on it, so every executable invocation must carry the resolved path and all three flags."

if [ -d plugins/agentic-engineering ]; then
Expand Down
9 changes: 8 additions & 1 deletion scripts/validate-manifests.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ Authenticated maintainer controls are mandatory evidence, not optional enrichmen

An incomplete candidate can never be classified clean: no `CLEAR`, `MERGE-READY`, `REVIEW-READY`, or "no signal".

**Every forge read is one command in one call.** The read-only guard refuses on shape before it ever inspects intent: output redirection, `;`, `&`, `&&`, a newline, command substitution, and any leading program that is neither a forge command nor a reviewed helper this definition names are all denied, so an ordinary shell idiom silently costs the read. Emit exactly one forge command per call and reduce it in-band with `--paginate` and `--jq`, or a pipe into the allowlisted read-only filters; never redirect to a scratch file. Sweep repositories with one call per repository or one org-wide search, never a `for` loop. Take every timestamp from a payload you already read, never from `date`. Select with `--jq` rather than `grep -oE` or `xargs`. A shape denial is a lost read that reads exactly like no evidence: mark the affected evidence `QUERY-UNKNOWN` and reissue in the admitted shape β€” never work around the guard.
**Every forge read is one command in one call.** The read-only guard refuses on shape before it ever inspects intent: output redirection, `;`, `&`, `&&`, a newline, command substitution, and any leading program that is neither a forge command nor a reviewed helper this definition names are all denied, so an ordinary shell idiom silently costs the read. Emit exactly one forge command per call and reduce it in-band with `--paginate` and `--jq`, or a pipe into the allowlisted read-only filters; never redirect to a scratch file. `--jq` runs once per page, so a result that needs every page at once pipes `--paginate --slurp` into the allowlisted `jq` instead. `gh` refuses `--slurp` together with `--jq`. Sweep repositories with one call per repository or one org-wide search, never a `for` loop. Take every timestamp from a payload you already read, never from `date`. Select with `--jq` rather than `grep -oE` or `xargs`. A shape denial is a lost read that reads exactly like no evidence: mark the affected evidence `QUERY-UNKNOWN` and reissue in the admitted shape β€” never work around the guard.

**Invoke the classifier only in its flag form, by its resolved installed path:** `<installed plugin>/scripts/classify-default-branch-ci-runs.sh --repo OWNER/REPO --branch BRANCH --head-sha FULL_SHA`. The helper and the read-only guard accept nothing else: the guard admits only that exact installed sibling path β€” never a bare basename, a `PATH` lookup, or a relative `../scripts/` form β€” and a positional `OWNER/REPO BRANCH SHA` is denied as `not the guarded remote-mode shape` while the helper itself exits 2 on it, so every executable invocation must carry the resolved path and all three flags.
EOF
Expand Down Expand Up @@ -1190,6 +1190,13 @@ sed 's/no .CLEAR., .MERGE-READY./no MERGE-READY/' \
check_fail "portfolio surveyor must fail closed for incomplete ownership-unverified PRs" \
"portfolio-surveyor must preserve candidate-scoped fail-closed dispositions" "$d"

d=$(fresh); make_desired_state "$d" alpha
sed 's/ .gh. refuses .--slurp. together with .--jq.\.//' \
"$d/plugins/alpha/agents/portfolio-surveyor.agent.md" > "$d/tmp" \
&& mv "$d/tmp" "$d/plugins/alpha/agents/portfolio-surveyor.agent.md"
check_fail "portfolio surveyor must say gh refuses --slurp with --jq" \
"portfolio-surveyor must state the guard's admitted call shape" "$d"

d=$(fresh); make_desired_state "$d" alpha
printf '\nSuccessful batches may be discarded and rerun.\n' \
>> "$d/plugins/alpha/agents/portfolio-surveyor.agent.md"
Expand Down
Loading