Skip to content

feat(grid): ai/generate ACL = Provisional — unblock cross-grid inference - #1649

Merged
joelteply merged 1 commit into
canaryfrom
feat/acl-ai-generate-provisional
Jun 16, 2026
Merged

joelteply merged 1 commit into
canaryfrom
feat/acl-ai-generate-provisional

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Cross-grid inference (ai/generate over airc to a persona-provider) was Owner-only → denied for remote consumers unless manually trusted per-machine. Adds one durable rule: ai/generate requires Provisional. Admits enrolled consumers (IntelMac, future nodes) by policy, not manual elevation; Owner still works, Blocked still denied, sibling sensitive commands stay Owner-only. The L1 cross-grid floor's auth slice (agreed w/ BigMama+IntelMac: durable PR over manual trust). Test pins Provisional-allowed/Blocked-denied/no-leak.

NOTE: admits Provisional+; whether an enrolled peer defaults to Provisional vs needs elevation is the separate trust-mapping question, flagged to the grid.

🤖 Generated with Claude Code

…nce without manual trust

Cross-grid inference (AircRemoteInferenceAdapter dispatches `ai/generate`,
KIND_PEER, to a persona-provider's peer) was DENIED for any non-Owner peer:
grid/acl.rs had only Owner-explicit rules + an Owner wildcard, so a remote
consumer (IntelMac, future nodes) could only call it after a per-machine
`grid/trust <peer> Owner` elevation — the manual-step-outside-the-substrate
anti-pattern.

Add one durable rule: `ai/generate` requires Provisional (more specific than
the `""` Owner wildcard, so it wins). Now every enrolled grid consumer is
admitted by POLICY, not manual elevation; Owner still satisfies it
(Owner >= Provisional); Blocked/Untrusted still denied; sibling sensitive
commands (data/delete, etc.) stay Owner-only. This is the same ACL spot the
future capability-discovery handshake will gate.

This is the L1 cross-grid-inference floor's auth slice (agreed with BIGMAMA +
IntelMac over airc: option (b), durable PR over manual trust).

Test `ai_generate_is_provisional_for_cross_grid_consumers`: Provisional/Trusted/
Owner allowed, Blocked denied, no leak to other commands.

NOTE (separate, flagged to the grid): this admits Provisional+ peers; whether an
enrolled cross-grid peer DEFAULTS to Provisional grid-trust vs needs elevation is
the trust-mapping question — tracked separately; this rule is the policy half.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@joelteply
joelteply merged commit 1889a46 into canary Jun 16, 2026
4 checks passed
@joelteply
joelteply deleted the feat/acl-ai-generate-provisional branch June 16, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant