Repository navigation
chore(plans): close the delegated-approval plan - #153
Merged
Merged
Conversation
Every slice of docs/plans/delegated-approval.md is on main (#125, #133, #135, #143, #144, #150, #123, #152). The plan's own acceptance 5 says it is deleted once shipped and the ledger remains as the receipt; this does that. - Delete docs/plans/delegated-approval.md. The goal, slice table, and acceptance checklist move to the head of the ledger so it stands alone; index rows in docs/README.md, docs/plans/README.md, and docs/plans/progress/README.md point at the as-built text and the receipt. - Close acceptance 2's blocked-host half, which only had a test under `full` with no delegate: `a_blocked_host_never_reaches_the_delegate_even_when_one_would_approve` runs under `auto` with `approval_delegate: on` and a Jev-attributed reviewer that would approve, and asserts the link-local fetch is denied with no hold, no escalation, no reviewer call, and no delegate host grant. - Acceptance 3 (one week of real use) stays open until 2026-09-30; the ledger records the two queries to run and the entry to write. Verification: cargo test --workspace, fmt --check, clippy -D warnings. Refs ENG-862
2 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes out the delegated-approval plan (ENG-862). Every slice is on
main: #125, #133, #135, #143, #144, #150, #123, #152.What this does
docs/plans/delegated-approval.md, per the plan's own acceptance 5 ("the plan is deleted; the ledger remains as the receipt"). The goal, slice table, and acceptance checklist move to the head ofdocs/plans/progress/delegated-approval.mdso the receipt stands alone. Index rows indocs/README.md,docs/plans/README.md, anddocs/plans/progress/README.mdnow point at the as-built text (tools.md§ Approval Policy,protocol.mdv28, ADR-0041,guide/permissions.md) and the receipt. No broken links indocs/(checked every relative link).Forbiddenand blocked-host refusals never reach a delegate, with one configured.Forbiddenhad it (DA4); blocked hosts only had a test underfullwith no delegate wired. Newa_blocked_host_never_reaches_the_delegate_even_when_one_would_approve:auto,approval_delegate: on, a Jev-attributed reviewer that approves everything; a link-localfetchis denied with notool_approval_requested/_resolved/_escalated, the reviewer is never consulted, and no delegate host grant is recorded.What stays open
Acceptance 3 — one week of real use after DA2 (no
denied_timeoutwith a client attached; humans answer fewer prompts than delegates settle). Measurable from 2026-09-30. The ledger records the two SQL queries and what to write. Nothing to build.The plan's DA6 row also asked for
docs/runbooks/delegated-approval.md; not written. The operator procedure lives inguide/permissions.md§ "Who decides a held call" andrunbooks/jev.md§ "Jev as the approval delegate"; a third copy would drift.Verification
cargo fmt --all -- --check,cargo clippy --workspace --all-targets --all-features -- -D warnings: cleancargo test --workspace: green. One run sawdeadlines::duration_cancels_read_only_and_mutating_external_callsfail under full-workspace load (a 2 s wait on a pending notify); it passed 3/3 in isolation and on a clean-p qq-corererun (720 passed). It is unrelated to this change (that test does not touch approvals); noting it as a possible timing flake rather than hiding it.Refs ENG-862