Gate 6 registry access policy#11
Conversation
Derive organization BTD posture from registry ownership and read-license rows, require owner-read or licensed-read evidence for MCP and ChatGPT App write admission, and cover the registry access-policy templates in BTD tests. Keep Terminal-facing copy on registry, range, ownership, license, and proof posture without price-appreciation, dividend, copyright-transfer, or marketplace-royalty framing.
|
Deployment failed with the following error: |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
https://github.com/engineeredsoftware/ENGI/blob/0ab88c0aeeb8d750f3b625fd11fc2985545d7154/packages/orm/src/models/btd-registry.ts#L86-L90
Derive current ownership before granting owner-read
In a rights-transfer scenario, this query returns every historical inbound btd_ownership_events row for the wallet. Since that table also records transfers with from_wallet_id and keeps the original mint/allocation event, a wallet that later transferred the AssetPack range away will still be returned here, and the new MCP read-access path grants owner_read from that stale row. Please derive current range ownership by accounting for outgoing/latest transfer events before using these rows for read admission and organization holdings.
ℹ️ 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".
Summary
Validation
Known pre-existing failure