Skip to content

Ask before approval rules allow chained or clipped commands - #185

Merged
BunsDev merged 6 commits into
mainfrom
recover-approval-chain
Oct 12, 2026
Merged

BunsDev merged 6 commits into
mainfrom
recover-approval-chain

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Approval rules could automatically allow a command after judging only a clipped prefix or the first part of a chained command. This recovers #174 on the current updater integration: checks inspect the complete command for compound syntax, and compound or incomplete allows await a human even on Always allow threads. Receipts and previews explain the downgrade and say when Jev was not consulted.

The gate remains off by default. The quoted-test-name false allow remains an open evaluation limit; no new live-model acceptance is claimed. The original owner branch and artifacts are preserved.

Validation: full monorepo build and workspace typechecks; 1,376 unit tests passed, 15 skipped; all 271 desktop and seven site E2E cases passed. The run used CI mode, real Open Knowledge and one worker. Recovery evidence.

The final merge of main (7c9229a, #181) preserved the verified tree exactly. This PR recovers the pending patch from #174 without changing its original branch.

Preserve raw drafts, pending originals, and attachment ownership through
sends, owner removal, restart preparation, and uncertain update recovery.
Gate release artifacts on disposable signed macOS acceptance.

Coven-Harness: Codex / gpt-6-astra
Reconcile prompt-cache usage measurement with durable draft recovery and verified macOS updates. Make the hosted draft fixtures wait for an accepted, persisted edit and select seeded threads explicitly. Preserve failure recovery assertions and native acceptance limits.

Coven-Harness: Codex / gpt-6-astra
Select the intended CLI explicitly after restoring a saved draft and observe Store menu delivery while Settings remains open. Preserve shutdown, transcript, tab and guest-isolation assertions.

Verified six focused cases and the full 270 desktop plus seven site E2E suite; application source matches the prior build, typecheck and 1,352 passing unit tests.

Coven-Harness: Codex / gpt-6-astra
Retain the warm-cache routing changes and Settings visibility precondition alongside explicit shutdown backend selection and observed Store menu delivery.

Verified full build and workspace typechecks, 1,362 unit tests with 15 skips, all 270 desktop E2E cases and seven site cases on the combined source.

Coven-Harness: Codex / gpt-6-astra
Recover the reviewed approval safety patch on the current updater integration. Keep compound or incomplete allows waiting for a human and explain when Jev was not consulted. Preserve the default-off gate and the documented quoted-test-name evaluation limit.

Verified full build and workspace typechecks, 1,376 unit tests with 15 skips, 271 desktop E2E cases and seven site cases. Only reviewed documentation changed after those checks.

Coven-Harness: Codex / gpt-6-astra
Reconcile the protected PR181 squash on main. The resulting tree is identical to the signed approval recovery already verified with full build, typechecks, 1,376 unit passes, 15 skips, 271 desktop cases and seven site cases.

Coven-Harness: Codex / gpt-6-astra
@vercel

vercel Bot commented Oct 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Oct 12, 2026 9:29am UTC

Request Review

@BunsDev
BunsDev merged commit 73aca67 into main Oct 12, 2026
7 checks passed
@BunsDev
BunsDev deleted the recover-approval-chain branch October 13, 2026 12:48
BunsDev added a commit that referenced this pull request Oct 18, 2026
… from Still open (#306)

* Record #185's downgrades in the approval rules spec

The spec's Known limits said commands are clipped before judgment "without a truncation
downgrade", and its rule section listed only the destructive and escalation downgrades. Since
#185 (2026-10-12), an allow also asks when the full command line chains, redirects or
substitutes commands, or when the digest clipped text Jev needed (approvals/gate.ts:155-158,
digest.ts:103-111).

Add a dated progress note under the enablement list: #185 closed the clipped-command false
allow, the quoted-command one is open and the corpus has not been run live since, so item 1 is
unmet. The note names the next step. The enablement criteria themselves are unchanged.

Coven-Harness: Claude Code / claude-opus-5-5

* Drop the merged Markdown parser from status.md's Still open list

#283 merged as a4039b2, but the CF-1 block's Still open line still listed "the Markdown parser
(#283)". #293 rewrote that line before #283 landed and kept the item, so it stayed on main
after #293 merged (57e7607). Name what CF-4 still has open instead: #277's checkpoint lists
reference-viewport screenshots and a keyboard and reduced-motion review of the Markdown
elements; human VoiceOver is already in the list.

Coven-Harness: Claude Code / claude-opus-5-5

This branch was successfully deployed

1 active deployment
Preview — 87368ec9 Deployed Oct 12, 2026 by vercel[bot]
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