Skip to content

[codex] optimize intake contracts - #3

Merged
bigsmartben merged 1 commit into
mainfrom
codex/optimize-intake-contracts
Jul 1, 2026
Merged

[codex] optimize intake contracts#3
bigsmartben merged 1 commit into
mainfrom
codex/optimize-intake-contracts

Conversation

@bigsmartben

Copy link
Copy Markdown
Owner

Summary

  • Add structured IR intake command, contracts, schemas, validator, and contract tests.
  • Tighten intake schemas for remote source gaps, string source_refs, and stable blocker-code enums across PRD, test-case, visual, HTML SSOT, and IR artifacts.
  • Align HTML SSOT terminology with component-state, remove command-owned blocker drift, and require validator-owned readiness output.
  • Add release provenance generation and manifest/config structural parity coverage.

Why

The prompt review found several instruction-boundary risks: source manifest contracts disagreed with schemas for remote sources, blocker codes were not machine-enforced, HTML SSOT command prose could drift from validator output, and release artifacts lacked source-backed provenance for the integration fork.

Impact

Downstream Spec Kit intake users get stricter, more deterministic validation without losing explicit remote-source gap reporting. Release consumers also get provenance metadata that ties artifacts back to repository, version, source commit, download URL, and validation evidence.

Validation

  • Installed dev dependencies from requirements-dev.txt into the bundled Python runtime after pytest was missing.
  • python -m pytest -q via bundled Python: 71 passed.
  • git diff --check: no whitespace errors.

@bigsmartben
bigsmartben marked this pull request as ready for review July 1, 2026 05:54
@bigsmartben
bigsmartben merged commit f87d4c1 into main Jul 1, 2026
1 check passed
@bigsmartben
bigsmartben deleted the codex/optimize-intake-contracts branch July 1, 2026 05:54
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