Skip to content

chore(plans): close the delegated-approval plan - #153

Merged
lg2m merged 1 commit into
mainfrom
chore/eng-862-close-out
Sep 24, 2026
Merged

lg2m merged 1 commit into
mainfrom
chore/eng-862-close-out

Conversation

@lg2m

@lg2m lg2m commented Sep 24, 2026

Copy link
Copy Markdown
Collaborator

Closes out the delegated-approval plan (ENG-862). Every slice is on main: #125, #133, #135, #143, #144, #150, #123, #152.

What this does

  • Deletes 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 of docs/plans/progress/delegated-approval.md so the receipt stands alone. Index rows in docs/README.md, docs/plans/README.md, and docs/plans/progress/README.md now point at the as-built text (tools.md § Approval Policy, protocol.md v28, ADR-0041, guide/permissions.md) and the receipt. No broken links in docs/ (checked every relative link).
  • Closes acceptance 2's blocked-host half. The plan required a regression test that Forbidden and blocked-host refusals never reach a delegate, with one configured. Forbidden had it (DA4); blocked hosts only had a test under full with no delegate wired. New a_blocked_host_never_reaches_the_delegate_even_when_one_would_approve: auto, approval_delegate: on, a Jev-attributed reviewer that approves everything; a link-local fetch is denied with no tool_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_timeout with 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 in guide/permissions.md § "Who decides a held call" and runbooks/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: clean
  • cargo test --workspace: green. One run saw deadlines::duration_cancels_read_only_and_mutating_external_calls fail under full-workspace load (a 2 s wait on a pending notify); it passed 3/3 in isolation and on a clean -p qq-core rerun (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

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
@lg2m
lg2m merged commit 8dc134c into main Sep 24, 2026
4 checks passed
@lg2m
lg2m deleted the chore/eng-862-close-out branch September 24, 2026 05:11
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