Skip to content

feat(privacy): refuse untrusted intake without a grant - #141

Draft
seonghobae wants to merge 1 commit into
mainfrom
agent/intake-authorization
Draft

feat(privacy): refuse untrusted intake without a grant#141
seonghobae wants to merge 1 commit into
mainfrom
agent/intake-authorization

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Untrusted documents, serialized records, checkpoints, and LLM outputs cannot be accepted without a purpose-bound grant (ADR 0009; AGENTS.md). Size, identity, and provenance bounds are not that grant.

Complementary to #79 (`purpose_authorization`: one grant, one purpose) and #135 (`payload_bound`: identity/provenance/size/depth). This crate owns grant presence at intake.

Local gates:

  • `cargo test -p intake_authorization --all-targets` GREEN after RED (package did not exist)
  • clippy `-D warnings` PASS
  • workspace contract PASS
  • docstring contract PASS
  • lines 16/16; nightly-2026-08-01 branches 6/6

Does not allocate migration `0008`. Does not recreate `checkpoint_authority`, `purpose_authorization`, or `payload_bound`.

Keep this PR draft. Preferred merge remains #46 only when exact-head required Checks pass and a qualifying independent (non-Cursor/CodeRabbit) APPROVE exists. Do not empty-commit.

Documents, serialized records, checkpoints, and LLM outputs stay
outside the analysis boundary until a purpose-bound grant is present
(ADR 0009). Size, identity, and provenance bounds are not that grant.
Recovery is the computed share of grant-presence flags that match
known truth versus accepting every intake.
@coderabbitai

coderabbitai Bot commented Aug 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 1b5518a1-d9e4-4239-9ea8-e3130802f228

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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