Skip to content

docs(training-agent): simulated inventory agents and the sandbox clock (#9025) - #9041

Merged
bokelley merged 3 commits into
mainfrom
inventory-sim/docs
Nov 16, 2026
Merged

bokelley merged 3 commits into
mainfrom
inventory-sim/docs

Conversation

@bokelley

@bokelley bokelley commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Part B of #9025, slice 5 of 5: the docs page for the two inventory tenants. The code slices #9037, #9038, #9039 and #9040 are merged.

New page: docs/building/verification/simulated-inventory-agents.mdx, non-normative. It covers:

  • connecting to /inventory-adserver/mcp and /inventory-content/mcp, and what each media buy task does on them;
  • moving the clock with sandbox_clock;
  • what each simulated day does;
  • the season's dates and scripted events;
  • a month-long walkthrough in five calls.

Nav: tests/docs-nav-validation.test.cjs lists the page as waiting for the next 3.3-beta docs snapshot, which is how new pages join the nav. docs.json is unchanged.

Links: scripts/link-compliance-symbols.mjs added the task-reference links, and tests/check-owned-links.test.cjs passes.

Deploy smoke split out: the post-deploy smoke probes for both tenants were in this PR. They moved to #9046, which needs CODEOWNER approval for .github/workflows/**, so this PR could merge as docs only.

No changeset: non-normative docs.

Refs #9025, #8993

🤖 Generated with Claude Code

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ladon verdict: Escalate to human review

Escalate — gated path touched without an approving review.

This PR modifies .github/workflows/deploy.yml, which matches the gated-paths glob .github/workflows/** (gated_paths: true). The required review status is unknown/none — not APPROVED — so decision-table row 2 fires: the hard approval gate is not satisfied and the PR cannot be auto-approved.

Escalation reasons

  • .github/workflows/deploy.yml is under a hard approval gate (.github/workflows/**) and review_decision is not APPROVED. Human/CODEOWNERS review is required before merge.

The reviewer found the diff clean: deploy.yml adds /inventory-adserver/mcp and /inventory-content/mcp to the post-restart smoke list (tenants already registered from #9025; smoke accepts 200/401/403, 404 is deploy-fatal — correct), and the new non-normative doc simulated-inventory-agents.mdx matches the merged engine (season dates, scripted events, audience curves, reporting lags, clock contract, pricing option ids). No changeset required (operational + non-normative docs, outside the protocol surface). One non-blocking Low: the "A month in five calls" walkthrough (L104-L113) has an inconsistent step count / singular-vs-plural "both buys" — a copy-edit, not a blocker. No Medium-or-worse findings.

Once a human/CODEOWNERS approval lands, this is otherwise a clean approve.

Why human review

  • Modifies .github/workflows/deploy.yml — gated path (.github/workflows/**) under a hard approval gate; review_decision is not APPROVED, so human/CODEOWNERS review is required before merge.
  • This PR touches a path under a hard, non-overridable approval gate (.github/workflows/deploy.yml (modified) matches .github/workflows/**) and the current GitHub review decision is 'unknown', 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.

@aao-secretariat aao-secretariat Bot added the ladon/needs-human-review Ladon has escalated this PR for human review. label Nov 15, 2026
@bokelley
bokelley force-pushed the inventory-sim/content-tenant branch from 9dbb6ad to b12525b Compare November 15, 2026 19:39

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ladon verdict: Escalate to human review

Escalate — gated path requires human/CODEOWNERS approval.

This PR modifies .github/workflows/deploy.yml, which matches the hard approval gate .github/workflows/** (gated_paths: true). The current review_decision is unknown/none — not APPROVED — so the gate is not satisfied and Ladon cannot auto-approve regardless of how clean the diff is.

The diff is otherwise clean: deploy.yml adds two smoke-test probe paths (/inventory-adserver/mcp, /inventory-content/mcp) matching documented tenant URLs and reusing the existing auth-tolerant 15s-timeout harness, plus a new non-normative docs page. No schema/source, task defs, changeset surface, or docs/reference changes — no spec-drift, changeset-scope, oneOf, or dist-immutability concern. No Critical/High/Medium findings.

Escalation reasons

  • .github/workflows/deploy.yml (modified) is under a hard, non-overridable approval gate (.github/workflows/**); review_decision is not APPROVED, so human/CODEOWNERS review is required before merge.

This persists the prior escalate solely on the deterministic gated-path gate (row 2); it will lift automatically once a human/CODEOWNERS approval is recorded.

Why human review

  • Modifies .github/workflows/deploy.yml — gated path (.github/workflows/**) under a hard approval gate; review_decision is not APPROVED, so human/CODEOWNERS review is required before merge.
  • This PR touches a path under a hard, non-overridable approval gate (.github/workflows/deploy.yml (modified) matches .github/workflows/**) and the current GitHub review decision is 'unknown', 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.

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ladon verdict: Escalate to human review

Escalate — gated path requires human/CODEOWNERS approval.

This PR modifies .github/workflows/deploy.yml, which matches the hard approval gate glob .github/workflows/** (gated_paths: true). The current review_decision is unknown/none, not APPROVED, so decision-table row 2 fires and the PR cannot be auto-approved regardless of how clean the diff is.

The reviewer pass is clean — no Critical/High/Medium findings. The delta is a new non-normative doc (docs/building/verification/simulated-inventory-agents.mdx) and a 2-line warmup-URL addition to deploy.yml adding /inventory-adserver/mcp and /inventory-content/mcp. No changeset or schema↔docs obligation triggers (doc sits under docs/building/, not docs/reference/**). This matches the prior escalation, which was also gated-path-only.

Escalation reasons

  • Modifies .github/workflows/deploy.yml — gated path (.github/workflows/**) under a hard, non-overridable approval gate; review_decision is not APPROVED. Human/CODEOWNERS approval is required before merge.

Why human review

  • Modifies .github/workflows/deploy.yml — gated path (.github/workflows/**) under a hard approval gate; review_decision is not APPROVED, so human/CODEOWNERS review is required before merge.
  • This PR touches a path under a hard, non-overridable approval gate (.github/workflows/deploy.yml (modified) matches .github/workflows/**) and the current GitHub review decision is 'unknown', 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.

@bokelley
bokelley force-pushed the inventory-sim/content-tenant branch from b12525b to 2482a2d Compare November 15, 2026 22:03
Base automatically changed from inventory-sim/content-tenant to main November 15, 2026 22:47
bokelley and others added 2 commits November 15, 2026 22:48
#9025)

Slice 5 of #9025 part B: a non-normative page on connecting to
/inventory-adserver/mcp and /inventory-content/mcp, moving the clock with
sandbox_clock, what each simulated day does, and the season's scripted
events, with a month-long walkthrough. The page joins the nav with the
next 3.3-beta docs snapshot (tests/docs-nav-validation.test.cjs lists it
as awaiting one).

The post-deploy smoke now probes both tenants, so a production-only
registration failure fails the deploy.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… walkthrough (#9025)

- sandbox_clock returns days_crossed; the tenant called runs the days at
  once, the other on the next call to it.
- reset_state on either inventory tenant discards the caller's buys on
  both; a market left on a timeline the clock no longer reaches starts
  fresh.
- The month walkthrough books two buys, as the tested flow does, so each
  one's daily_breakdown stays separate: five calls (Ladon low on #9041).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ladon verdict: Escalate to human review

Escalate — gated path requires human/CODEOWNERS approval.

This PR modifies .github/workflows/deploy.yml, which matches the hard approval gate glob .github/workflows/** (gated_paths: true). The current review_decision is REVIEW_REQUIRED, not APPROVED, so the gate is not satisfied and the PR cannot auto-approve regardless of how clean the diff is (decision table row 2).

The reviewer found no Critical/High/Medium findings: deploy.yml appends two tenant smoke-check routes following the existing pattern/probe, and the new non-normative doc under docs/building/verification/ touches no schema source (no changeset or spec-drift surface; all internal links resolve). The diff itself is clean — but the gate is a mechanical, path-based fact that only lifts on a recorded human/CODEOWNERS approval.

Escalation reasons

  • Modifies .github/workflows/deploy.yml — gated path (.github/workflows/**) under a hard, non-overridable approval gate; review_decision is REVIEW_REQUIRED, not APPROVED. Human/CODEOWNERS review is required before merge.

Why human review

  • Modifies .github/workflows/deploy.yml — gated path (.github/workflows/**) under a hard approval gate; review_decision is REVIEW_REQUIRED, not APPROVED, so human/CODEOWNERS review is required before merge.
  • This PR touches a path under a hard, non-overridable approval gate (.github/workflows/deploy.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 deploy.yml change sits behind the .github/workflows review gate, so
it moves to a separate PR; this one is the docs page only.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@bokelley bokelley added the ladon/force-review Force Ladon to review the next eligible PR event label Nov 16, 2026

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ladon verdict: Approve

Approve — clean docs-only addition.

This PR adds a single new non-normative docs file (docs/building/verification/simulated-inventory-agents.mdx, 97 lines) describing two sandbox inventory tenants and the proposed sandbox_clock scenario. No schema, no changeset-triggering surface, no high-risk paths.

Checks confirmed clean:

  • All five task-reference link targets resolve; /docs/quickstart and /docs/building/by-layer/L3/comply-test-controller resolve; link style matches repo convention.
  • No static/schemas/source/** change — no changeset required; page correctly under docs/building/ not docs/reference/**.
  • Fictional inventory names read as universe riffs, below the medium bar; no real-brand or invented-character issues.

Note on prior escalation: the previous run escalated on a gated path (.github/workflows/deploy.yml under .github/workflows/**) at a different head SHA. The current diff touches only the docs file — that gated path is no longer present, gated_paths is false, and no new findings exist. Sticky escalation (row 6) does not apply because there are no fresh critical/high/medium findings. Rows 1–8 do not fire; outcome falls through to row 9.

No blocking findings. No medium findings.

@bokelley
bokelley merged commit 6acc7e0 into main Nov 16, 2026
38 checks passed
@bokelley
bokelley deleted the inventory-sim/docs branch November 16, 2026 00:56
bokelley added a commit that referenced this pull request Nov 16, 2026
The post-deploy smoke now probes /inventory-adserver/mcp and
/inventory-content/mcp, the two simulated inventory tenants merged in
#9038 and #9040. An inventory tenant that fails to register is logged
and left down without affecting the others, so without this probe a
production-only registration failure would go unnoticed; with it, the
deploy fails like any other tenant's.

Split out of #9041 so the docs can land without the
.github/workflows review gate.

Co-authored-by: Claude Opus 5.5 <[email protected]>
bokelley added a commit that referenced this pull request Nov 17, 2026
…nd the RC banner

The rc.0 snapshot carries two pages added to docs/ after the beta.5
snapshot: reference/migration/trusted-match-context-cache (#7446) and
building/verification/simulated-inventory-agents (#9041). No navigation
listed them, so the docs-nav coverage test (broken-links and Canonical
tests 2/4) failed once 3.3-rc became the live-source entry. As the test
directs, add them to the 3.3-rc entry: the context-cache guide beside
the other 3.3 migration guides, and the simulated agents beside
validate-with-mock-fixtures under Verification & trust.

Update the banner by hand, as the RC checklist says: "AdCP 3.3 beta is
open" becomes "AdCP 3.3 release candidate is out", still linking /3.3.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
bokelley added a commit that referenced this pull request Nov 17, 2026
* chore: snapshot docs for v3.3.0-rc.0

* docs(nav): list the two post-beta.5 pages in the 3.3-rc navigation, and the RC banner

The rc.0 snapshot carries two pages added to docs/ after the beta.5
snapshot: reference/migration/trusted-match-context-cache (#7446) and
building/verification/simulated-inventory-agents (#9041). No navigation
listed them, so the docs-nav coverage test (broken-links and Canonical
tests 2/4) failed once 3.3-rc became the live-source entry. As the test
directs, add them to the 3.3-rc entry: the context-cache guide beside
the other 3.3 migration guides, and the simulated agents beside
validate-with-mock-fixtures under Verification & trust.

Update the banner by hand, as the RC checklist says: "AdCP 3.3 beta is
open" becomes "AdCP 3.3 release candidate is out", still linking /3.3.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: aao-release-bot[bot] <280565558+aao-release-bot[bot]@users.noreply.github.com>
Co-authored-by: Brian O'Kelley <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ladon/force-review Force Ladon to review the next eligible PR event ladon/needs-human-review Ladon has escalated this PR for human review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant