Skip to content

spec(comply_test_controller): require account.sandbox: true (closes #4383)#4392

Open
bokelley wants to merge 2 commits into
mainfrom
claude/issue-4383-storyboard-sandbox-sweep
Open

spec(comply_test_controller): require account.sandbox: true (closes #4383)#4392
bokelley wants to merge 2 commits into
mainfrom
claude/issue-4383-storyboard-sandbox-sweep

Conversation

@bokelley
Copy link
Copy Markdown
Contributor

Summary

Coverage proof

```
total comply_test_controller: 25
with account.sandbox: true: 25
```

Lint coverage for future additions

The existing storyboard sample_request schema lint at `scripts/lint-storyboard-sample-request-schema.cjs` (wrapped by `tests/lint-storyboard-sample-request-schema.test.cjs`) runs ajv against every storyboard sample_request. With `account` now in the request schema's `required` array, any future `comply_test_controller` step missing `account` fingerprints as `required@/:account` and fails CI without an allowlist entry. No new lint code needed — the schema tightening is what unlocks the gate.

Test plan

  • `node scripts/build-schemas.cjs` clean.
  • `node tests/schema-validation.test.cjs` — 7/7 pass (schema examples validate against their own schemas).
  • `node scripts/lint-storyboard-sample-request-schema.cjs` — no new drift after sweep.
  • `npm run precommit` — full unit suite + typecheck green.

Closes #4383.

🤖 Generated with Claude Code

bokelley and others added 2 commits May 11, 2026 08:13
…4383)

- Sweep all 25 comply_test_controller sample_request blocks across 6
  storyboard YAMLs to include account: { sandbox: true }.
- Tighten static/schemas/source/compliance/comply-test-controller-request.json
  to require account at the top level. Description promoted from SHOULD
  to MUST; the (Sandbox) verdict tier (#4379) now has schema backing.
- Add account assertion to schema examples so docs and validators stay
  in sync.

The existing storyboard sample_request schema lint
(scripts/lint-storyboard-sample-request-schema.cjs, surfaced via
tests/lint-storyboard-sample-request-schema.test.cjs) catches future
omissions: any new comply_test_controller step lacking account fingerprints
as required@/:account, blocking CI without an allowlist entry.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

spec(comply_test_controller): sweep sample_requests to include account: { sandbox: true }, then tighten schema to required

1 participant