Skip to content

fix(compliance): run seeded account fixtures in training tenants - #7602

Merged
bokelley merged 3 commits into
mainfrom
fix-7588-training-agent-seed-runtime
Sep 19, 2026
Merged

bokelley merged 3 commits into
mainfrom
fix-7588-training-agent-seed-runtime

Conversation

@bokelley

@bokelley bokelley commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • expose seed_account on the current signals, governance, creative, and creative-builder training tenants so the account fixtures merged in fix(compliance): seed account-scoped storyboard prerequisites #7601 are executable
  • bridge schema-valid current operator_unit controller refs through the pinned rc.35 v6 wrapper, while rejecting malformed and pre-3.2 tunneling
  • await framework task settlement after forced completion so terminal webhooks are not suppressed by a registry-write race
  • keep brand-rights on its native account path, preserve every frozen 3.0 surface, and update the seven fixture-expanded /sales exact-count gates in CI and the local matrix

Why this is a follow-up

#7601 auto-merged after approval while this runtime delta was still undergoing local verification. Its current signals, governance, creative, creative-builder, and sales storyboard jobs then failed because the fixtures were present but the training tenants and exact-count gates had not yet been updated.

Review and verification

  • protocol review: approved
  • code/security review: approved; OperatorUnit validation exactly matches the published schema, caller bridge spoofing is scrubbed, brand is excluded, and pre-3.2 versions are refused
  • test/gate review: approved, contingent on this PR's full CI matrix
  • exhaustive server suite: 648 files; 10,842 passed, 31 skipped
  • server typecheck passes
  • tenant smoke: 50/50 passes, including current tenant seeding, frozen 3.0 exclusions, invalid/pre-3.2 bridge rejection, and brand seed-to-update state observability
  • current matrices: signals 54/54, governance 57/57, and creative 59/59; async signals 9/9 and async products 11/11
  • force-task completion: 14/14
  • canonical shard 3/4: all 25 stages pass after ratcheting the synchronized sales sharding contract; focused sharding suite 15/15
  • controller settlement is bounded at 10 seconds so a stalled framework worker cannot hold the tenant lock indefinitely; focused controller suite 100/100 and tenant smoke 50/50

Completes #7588 after #7601.

@bokelley bokelley added the ladon/force-review Force Ladon to review the next eligible PR event label Sep 19, 2026 — with conductor.build App

@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/training-agent-storyboards.yml, which matches the hard approval gate glob .github/workflows/** (gated_paths: true). The review_decision is unknown/none — not APPROVED — so the gate is not satisfied and row 2 of the decision table forces escalation, notwithstanding the otherwise clean review.

Escalation reasons

  • .github/workflows/training-agent-storyboards.yml (modified) is under a hard approval gate (.github/workflows/**); human/CODEOWNERS review with review_decision: APPROVED is required before this can merge.

No Critical/High/Medium findings were reported: seed_account/operator_unit bridging matches the schema and scrubs caller spoofing, 3.0 surfaces stay frozen, the awaitTask swap waits for framework settlement, and the changeset is in scope. Once a human approval is recorded, the diff itself has no blocking issues.

Why human review

  • .github/workflows/training-agent-storyboards.yml (modified) is under a hard approval gate (.github/workflows/**); requires human/CODEOWNERS review with review_decision=APPROVED 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 '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 Sep 19, 2026
@bokelley
bokelley enabled auto-merge (squash) September 19, 2026 18:34
@bokelley
bokelley requested a review from patmmccann September 19, 2026 18:41

Copy link
Copy Markdown
Contributor Author

@garvitkaushik-123 @KonstantinMirin @patmmccann — all CI is green, including the full current/3.0 storyboard matrix and all eight sales shards. Ladon found no technical blocker and escalated only because the exact-count update touches .github/workflows/training-agent-storyboards.yml; one human gated-path approval will release the armed auto-merge. Please review when available.

@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/training-agent-storyboards.yml, which is under a hard, deterministic approval gate (.github/workflows/**). Per decision rule row 2, gated_paths: true AND review_decision is REVIEW_REQUIRED (not APPROVED), so the gate is not satisfied and the outcome must be escalate, regardless of how clean the diff is.

Diff quality note: The reviewer recorded a clean pass with no blocking or Medium findings. The substantive change, awaitControllerTaskSettlement in comply.ts:28-52, correctly bounds the previously-unbounded taskRegistry.awaitTask with a 10s unref'd deadline cleared in finally, uses a valid INTERNAL_ERROR code, and avoids unhandled rejections via Promise.race, with fake-timer test coverage. This is a net improvement over the prior run and would fall through to approve if not for the gated path.

Escalation reasons:

  • .github/workflows/training-agent-storyboards.yml (modified) matches .github/workflows/**, a hard non-overridable approval gate. Requires a human/CODEOWNERS approval (review_decision=APPROVED) before merge.

Once a human/CODEOWNERS approval is recorded, this PR can auto-approve on the next run given the clean diff.

Why human review

  • Touches .github/workflows/training-agent-storyboards.yml under hard approval gate .github/workflows/** while 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.

@bokelley
bokelley disabled auto-merge September 19, 2026 20:24
@bokelley
bokelley merged commit 2ac331b into main Sep 19, 2026
52 checks passed
@bokelley
bokelley deleted the fix-7588-training-agent-seed-runtime branch September 19, 2026 20:25
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