V33 Gate 2: Interface Contract Catalog#67
Conversation
Add a package-owned InterfaceContractCatalog over Terminal handoff, public API, MCP API, ChatGPT App, package consumers, and deferred Exchange/Conversations hooks. Generate the source-safe V33 interface contract catalog artifact and wire Gate 2 checks into package scripts, spec-family profile coverage, and gate workflow validation. Update V33 SPEC/DELTA/NOTES/PARITY and the roadmap to make Gate 2 closure criteria auditable.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7e18fb4a92
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const catalogRows = Object.freeze([ | ||
| { | ||
| interfaceId: 'terminal_handoff', | ||
| status: 'active_contract', | ||
| bindingKind: 'terminal_handoff', |
There was a problem hiding this comment.
Derive artifact rows from package catalog source
Replace the hard-coded catalogRows table with data imported from the package catalog builder so the generated proof cannot drift from runtime contracts. As written, check:v33-interface-contract-catalog only verifies that .bitcode/v33-interface-contract-catalog.json matches this script’s own static rows, so a future change in packages/btd/src/interface-contract-catalog.ts can leave Gate 2 “passing” while publishing stale interface metadata.
Useful? React with 👍 / 👎.
| scanTokens('packages/btd/src/interface-contract-catalog.ts', [ | ||
| 'buildBtdInterfaceContractCatalog', | ||
| 'terminal_handoff', | ||
| 'public_api', | ||
| 'mcp_api', | ||
| 'chatgpt_app', | ||
| 'package_consumer', | ||
| 'conversations_hook', | ||
| 'deferred_not_admitted', |
There was a problem hiding this comment.
Add exchange_hook to source-evidence token checks
The source-evidence scan validates conversations_hook but omits exchange_hook, so the artifact can still report complete source evidence if Exchange coverage is removed from packages/btd/src/interface-contract-catalog.ts. Because passed depends on these token checks, this creates a false-green path for Gate 2 proof integrity on Exchange interface coverage.
Useful? React with 👍 / 👎.
Summary
Validation