Repository navigation
ci(storyboards): grade the simulated inventory tenants - #9146
Conversation
Add current-surface matrix rows for /inventory-adserver and /inventory-content. They run each storyboard in a bounded child, like creative-builder, with a 45-minute job limit. Floors start at zero and are ratcheted from this PR's first CI run. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated path requires human/CODEOWNERS review.
This PR modifies .github/workflows/training-agent-storyboards.yml, which matches the hard approval gate glob .github/workflows/** (gated_paths: true). The current review_decision is REVIEW_REQUIRED, not APPROVED, so decision table row 2 fires: the gate is not satisfied and the PR cannot be approved without an explicit human/CODEOWNERS approval.
The diff itself is clean — the reviewer found no blocking or medium findings. It adds two isolated matrix rows, makes timeout-minutes matrix-configurable, generalizes the isolation gate, per-tenants the orchestrator-failure error, and ships a correctly-scoped patch changeset. The isolation gate is safe for unset rows, the timeout fallback works, and both inventory tenants exist. The only noted soft spot is a Low, by-design 0/0 regression floor on the new rows.
No blocking or medium findings exist, so this escalation is purely to satisfy the deterministic gated-path approval requirement.
Escalation reasons
- Touches gated path
.github/workflows/training-agent-storyboards.yml(matches.github/workflows/**); requires human/CODEOWNERS approval —review_decisionisREVIEW_REQUIRED, notAPPROVED.
Why human review
- Modifies gated path
.github/workflows/training-agent-storyboards.yml(matches.github/workflows/**); review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS review required before merge. - This PR touches a path under a hard, non-overridable approval gate (.github/workflows/training-agent-storyboards.yml (modified) matches
.github/workflows/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
…se head Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated path requires human/CODEOWNERS approval.
This PR modifies .github/workflows/training-agent-storyboards.yml, which matches the hard approval gate .github/workflows/** (gated_paths: true). The current review_decision is REVIEW_REQUIRED, not APPROVED, so the gate is not satisfied and auto-approval is blocked (decision table row 2).
The diff itself is clean: the reviewer found no critical/high/medium findings. The one-line change in scripts/check-release-state.cjs correctly adds inventory-adserver and inventory-content to the current-surface storyboardJobs required-check list, matching the workflow's job-name template and the two new current-only matrix rows, and correctly excludes them from the 3.0-compat group. check-release-state.cjs stays in sync with the matrix and the immutability test.
Escalation reasons
- Modifies gated path
.github/workflows/training-agent-storyboards.yml(matches.github/workflows/**);review_decisionisREVIEW_REQUIRED, notAPPROVED— a human/CODEOWNERS approval must be recorded before merge.
Why human review
- Modifies gated path
.github/workflows/training-agent-storyboards.yml(matches.github/workflows/**); review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS review required before merge. - This PR touches a path under a hard, non-overridable approval gate (.github/workflows/training-agent-storyboards.yml (modified) matches
.github/workflows/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…gent storyboards are out of scope Set the inventory rows' floors from their first CI run: 178 clean and 28 passed steps on /inventory-adserver, 177 and 28 on /inventory-content. A requires: [multi_agent] storyboard grades only its default_agent tenant, and the runner refuses to run it under any other. Selection now reports it not applicable there instead of letting it error: the four media_buy_seller/governance_* storyboards (default_agent sales) on the inventory tenants. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated path requires human/CODEOWNERS approval.
This PR modifies .github/workflows/training-agent-storyboards.yml, which matches the hard, path-based approval gate .github/workflows/** (gated_paths: true). The current review_decision is REVIEW_REQUIRED, not APPROVED, so the gate is not satisfied and the PR cannot be auto-approved regardless of how clean the diff is (decision table row 2).
No blocking or medium findings were reported — the reviewer's pass was clean (operational/CI delta: raising storyboard floors, adding a gradesAnotherTenant helper for non-applicable multi-agent storyboards under non-default tenants, and tracking two new jobs across release-state/sharding/freshness fixtures, all unit-tested). The prior-run escalation also stands on the same gated-path basis.
Escalation reasons
- Modifies gated path
.github/workflows/training-agent-storyboards.yml(matches.github/workflows/**);review_decisionisREVIEW_REQUIRED, notAPPROVED— human/CODEOWNERS review required before merge.
Why human review
- Modifies gated path
.github/workflows/training-agent-storyboards.yml(matches.github/workflows/**); review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required before merge. - This PR touches a path under a hard, non-overridable approval gate (.github/workflows/training-agent-storyboards.yml (modified) matches
.github/workflows/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
…ants The runner grades signed_requests on /<tenant>/mcp-strict-required. Only the original tenants mount the strict signing routes; the inventory tenants advertise no request_signing and serve no strict route, so discovery failed there. Report it not applicable on those tenants. Clean floors are unchanged: the row was never clean. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated path requires human/CODEOWNERS approval.
This PR modifies .github/workflows/training-agent-storyboards.yml, which matches the hard approval gate glob .github/workflows/** (gated_paths: true). The current GitHub review decision is REVIEW_REQUIRED, not APPROVED, so the gate is not satisfied (decision table row 2). Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
No blocking findings. The reviewer did a clean pass on the delta: a comment rewording in the workflow file and the signed_requests out-of-scope logic in server/tests/manual/run-storyboards.ts:758-759, verified to correctly fold into notApplicable for inventory tenants only. No protocol/schema/wire surface touched. No critical/high/medium findings.
Escalation reasons
- Modifies gated path
.github/workflows/training-agent-storyboards.yml(matches.github/workflows/**);review_decisionisREVIEW_REQUIRED, notAPPROVED— human/CODEOWNERS approval required before merge.
This is unchanged from the prior escalate: the diff remains clean, but the path-based approval gate persists until a human approval is recorded.
Why human review
- Modifies gated path
.github/workflows/training-agent-storyboards.yml(matches.github/workflows/**); review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required before merge. - This PR touches a path under a hard, non-overridable approval gate (.github/workflows/training-agent-storyboards.yml (modified) matches
.github/workflows/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
The adserver row ran 45m17s on ac05835 and was cancelled at its 45-minute limit; earlier runs took 35-42 minutes. A timed-out row also blocks release-head reuse, so leave headroom. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated-path approval required.
This PR modifies .github/workflows/training-agent-storyboards.yml, which matches the .github/workflows/** gated path (gated_paths: true). The current review_decision is REVIEW_REQUIRED, not APPROVED, so the hard approval gate (decision table row 2) is not satisfied. Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
No blocking findings. The reviewer found no critical/high/medium issues: the sole substantive delta is raising timeout_minutes 45→60 on two isolated inventory rows (observed runs 35–45 min), which widens only those two matrix rows while leaving others on the 30-min default — sound.
This matches the prior escalate decision, which persists solely on the unsatisfied gated path (not row 6, as no fresh findings exist).
Escalation reasons
- Modifies gated path
.github/workflows/training-agent-storyboards.yml(matches.github/workflows/**);review_decisionisREVIEW_REQUIRED, notAPPROVED— human/CODEOWNERS approval required before merge.
Why human review
- Modifies gated path
.github/workflows/training-agent-storyboards.yml(matches.github/workflows/**); review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required before merge. - This PR touches a path under a hard, non-overridable approval gate (.github/workflows/training-agent-storyboards.yml (modified) matches
.github/workflows/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
|
Admin merge authorized by Brian O'Kelley on 21 November 2026, for exact head 48ce538. The only remaining blocker was the required approval: the PR was opened under his account, so he could not approve it himself. Before merging: all required checks passed on that head, there were zero review threads, and GitHub reported the PR mergeable. Passing checks: , Analyze, Analyze (go), Analyze (javascript-typescript), Analyze (python), Build and static checks, Canonical tests (1/4), Canonical tests (2/4), Canonical tests (3/4), Canonical tests (4/4), Check PR title, Check for changeset, CodeQL, Dependency review, GitGuardian Security Checks, No duplicate migration numbers, Sales storyboard orchestrator (0/8), Sales storyboard orchestrator (1/8), Sales storyboard orchestrator (2/8), Sales storyboard orchestrator (3/8), Sales storyboard orchestrator (4/8), Sales storyboard orchestrator (5/8), Sales storyboard orchestrator (6/8), Sales storyboard orchestrator (7/8), Scan, Server integration tests, Server integration tests (1/4), Server integration tests (2/4), Server integration tests (3/4), Server integration tests (4/4), Server unit tests (1/4), Server unit tests (2/4), Server unit tests (3/4), Server unit tests (4/4), Storyboards (3.0-compat /brand), Storyboards (3.0-compat /creative), Storyboards (3.0-compat /creative-builder), Storyboards (3.0-compat /governance), Storyboards (3.0-compat /sales), Storyboards (3.0-compat /si), Storyboards (3.0-compat /signals), Storyboards (current /brand), Storyboards (current /constrained-seller), Storyboards (current /creative), Storyboards (current /creative-builder), Storyboards (current /finalization-failure), Storyboards (current /governance), Storyboards (current /inventory-adserver), Storyboards (current /inventory-content), Storyboards (current /sales), Storyboards (current /si), Storyboards (current /signals), Storyboards (current /typed-negotiation), TypeScript Build, Typecheck + Lint + Test + Build, check, code_review |
…otocol#9146) Brings in adcontextprotocol#9146: CI storyboard rows for /inventory-adserver and /inventory-content, and selection that reports a multi-agent storyboard not applicable on every tenant but its default_agent, and signed_requests not applicable on the inventory tenants. Resolution ledger: - mechanical: none. - semantic: none. git merged server/tests/manual/run-storyboards.ts, tests/run-storyboards-sharding.test.cjs and tests/release-publication-freshness.test.cjs with no conflicts. The selection change reads TENANT_PATH, which the storyboard queue sets per tenant process (scripts/run-storyboards-queue.mjs), so it applies the same way under the local queue as in CI. - The local pre-push matrix keeps its tenants: adcontextprotocol#9146 adds the inventory rows to CI only, and no floor of an existing row changes. Checks on the merge result: - npm run typecheck: pass. - node --test tests/run-storyboards-sharding.test.cjs tests/release-publication-freshness.test.cjs: 65 pass, 0 fail. - node scripts/precommit-server-unit.cjs --full: 867 files, 14,708 passed, 31 skipped. Before the merge: 14,707; adcontextprotocol#9146 adds one test.
Summary
Adds
/inventory-adserverand/inventory-content(#9025 part B) to the training-agent storyboard matrix, on the current compliance surface only.include, not thetenantlist, so the 3.0-compat cross-join does not pick them up. The tenants postdate 3.0.run-storyboards-isolated-shards.sh, 8 shards, 4 at a time), as creative-builder already does. A newisolated: truematrix key routes the rows.signed_requestson both tenants.stale_response_advisory, the next storyboard, passes alone in about a minute. So the stall comes from state left over in a long-lived process, not from one storyboard.timeout_minutesmatrix key gives these rows 60 minutes; every other row keeps 30. Each tenant has about 180 applicable storyboards, and runs take 35-45 minutes. One adserver run hit a 45-minute limit at 45m17s.Storyboard selection
Selection comes from each tenant's live capabilities, the same as every other row.
/inventory-adserverwebhook_emission)/inventory-contentwebhook_emission)The tenants'
comply_test_controllerserves onlyreset_stateandsandbox_clock, with noseed_*scenarios.fixture_seed_unsupported. They grade not applicable, not failed.CI result (run 44857442220, first run of the new rows)
/inventory-adserver/inventory-contentThe floors are now set to these numbers.
Failing on both tenants: a real tenant gap, left visible and not quarantined.
media_buy_seller/unprovisioned_account_referenceget_productswith an account reference the seller never provisioned returns public products, notACCOUNT_NOT_FOUND. The tenants' account resolver accepts any reference. The fix changes tenant behaviour, so it's in a separate PR.signed_requests: now not applicable on the inventory tenants. The runner grades it on/<tenant>/mcp-strict-required, and only the original tenants mount the strict signing routes. The inventory tenants advertise norequest_signingand serve no strict route, so discovery failed there (0P / 1F). Selection now reports it not applicable on those two tenants only;/salesstill runs it.Out of scope, now not applicable. These storyboards declare
requires: [multi_agent]withdefault_agent: sales:media_buy_seller/governance_approvedgovernance_conditionsgovernance_deniedgovernance_denied_recoveryThe runner refuses to grade such a storyboard from any tenant but its default agent, so they errored on these rows. Selection now reports a multi-agent storyboard not applicable on every tenant except its
default_agent(gradesAnotherTenant, with a unit test). Withsigned_requeststoo, local selection takes applicable from 184 to 179 on adserver and 183 to 178 on content. Clean counts and floors are unchanged, because those rows were never clean.Release workflow.
scripts/check-release-state.cjsand its fixture now expect the two new jobs. A release head is then verified only when they pass too.Test plan
--list-applicable-jsonselection for both tenants (table above)stale_response_advisoryalone on/inventory-adserver: clean🤖 Generated with Claude Code