Skip to content

feat: cross-repo rule propagation — brief schema, data classification, reviewer orchestration#27

Merged
screenleon merged 3 commits into
mainfrom
feat/cross-repo-rule-propagation
May 13, 2026
Merged

feat: cross-repo rule propagation — brief schema, data classification, reviewer orchestration#27
screenleon merged 3 commits into
mainfrom
feat/cross-repo-rule-propagation

Conversation

@screenleon

Copy link
Copy Markdown
Owner

Summary

  • Adds docs/schemas/codex-brief.schema.yaml — machine-readable task brief contract with required fields, array bounds, and enum constraints
  • Adds scripts/validate-codex-brief-schema.py — stdlib-only structural linter enforcing null/empty rejection; 10-fixture eval suite
  • Adds docs/data-classification-guidance.md — T1–T4 classification tiers, AES-256-GCM at-rest encryption, HMAC-SHA256 searchable encryption pattern
  • Adds docs/model-tier-policy-examples.md — fast/balanced/deep tier routing reference with mandatory escalation flow
  • Adds docs/multi-reviewer-orchestration.md — sequential vs parallel reviewer decision guide, shared-evidence-bundle pattern
  • Adds rules/domain/backend-api.md API-003 (contract-first development rule)
  • Updates rules/global/security-baseline.md GSEC-007 with data-classification cross-reference
  • Regenerates evals/tooling/context-pack-determinism/expected.json after schema addition

Gate

Full pr-gate (all 5 reviewers) — GO. Gate result: .gate-results/gate-20260513-111103.md.

  • critic: pass | qa-tester: pass | architecture-reviewer: advise (low) | security-reviewer: approve | risk-reviewer: advise (low)
  • Advisory trade-off recorded: contract duplication between validator constants and schema YAML is intentional (stdlib-only dependency policy); contained by 10-fixture coverage.

Test plan

  • bash scripts/test-tooling.sh → 2/2 (codex-brief-schema-validation + context-pack-determinism)
  • bash scripts/lint-layered-rules.sh → pass
  • bash scripts/lint-doc-consistency.sh → pass
  • bash scripts/adoption-audit.sh --template-mode → pass
  • bash scripts/agent-review.sh → exit_code 0

🤖 Generated with Claude Code

screenleon and others added 3 commits May 13, 2026 11:12
…, reviewer orchestration

Propagates learnings from JapanJob and claude-config into the template:

- docs/schemas/codex-brief.schema.yaml: machine-readable task brief contract
- scripts/validate-codex-brief-schema.py: stdlib-only structural linter (10 fixtures, null/empty enforcement)
- docs/data-classification-guidance.md: T1-T4 tiers, AES-256-GCM, HMAC searchable encryption
- docs/model-tier-policy-examples.md: fast/balanced/deep tier routing reference
- docs/multi-reviewer-orchestration.md: sequential vs parallel reviewer decision guide
- rules/domain/backend-api.md: API-003 contract-first rule
- rules/global/security-baseline.md: GSEC-007 data-classification cross-reference
- evals/tooling/codex-brief-schema-validation/: 10-fixture eval suite
- evals/tooling/context-pack-determinism/expected.json: regenerated after schema addition

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…xt tokens

Collapsed 4 skeleton examples into one minimal example (~93 lines removed).
Tightened table descriptions. Verification patterns table simplified.
Regenerated context-pack determinism fixture.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@screenleon
screenleon merged commit 34bc672 into main May 13, 2026
7 checks passed
@screenleon
screenleon deleted the feat/cross-repo-rule-propagation branch May 13, 2026 02:32
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