Skip to content

Comments

scenarios: expand Tier 11 governance fixture coverage#55

Merged
davidahmann merged 1 commit intomainfrom
codex/scenario-g1g2g3-coverage
Feb 20, 2026
Merged

scenarios: expand Tier 11 governance fixture coverage#55
davidahmann merged 1 commit intomainfrom
codex/scenario-g1g2g3-coverage

Conversation

@davidahmann
Copy link
Collaborator

Problem

Tier 11 scenario fixtures covered baseline policy/delegation/approval/pack paths but did not include G1/G2/G3 governance paths introduced in product/PLAN_ADHOC_CONTROL.md (script controls, Wrkr fail-closed, approved-script registry fail-closed).

Changes

  • Added 5 deterministic fixture scenarios under scenarios/gait/:
    • script-threshold-approval-determinism
    • script-max-steps-exceeded
    • script-mixed-risk-block
    • wrkr-missing-fail-closed-high-risk
    • approved-registry-signature-mismatch-high-risk
  • Extended scenario harness assertions in internal/scenarios/scenario_test.go for script metadata and fail-closed error checks.
  • Updated required fixture/wiring lists:
    • internal/scenarios/fixtures.go
    • scripts/validate_scenarios.sh
    • scripts/run_scenarios.sh (expected count 13)
  • Updated scenario docs/changelog:
    • scenarios/README.md
    • scenarios/gait/README.md
    • scenarios/CHANGELOG.md

Validation

  • make prepush-full
  • bash scripts/run_scenarios.sh gait
  • make test-scenarios
  • bash scripts/test_script_intent_acceptance.sh ./gait
  • ./gait doctor --json

@davidahmann davidahmann merged commit 3e789fe into main Feb 20, 2026
5 checks passed
@davidahmann davidahmann deleted the codex/scenario-g1g2g3-coverage branch February 20, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant