docs(audits): Pass-7 adversarial audit of the #77-#140 wave + spec truth-up#141
Open
Reederey87 wants to merge 1 commit into
Open
docs(audits): Pass-7 adversarial audit of the #77-#140 wave + spec truth-up#141Reederey87 wants to merge 1 commit into
Reederey87 wants to merge 1 commit into
Conversation
…uth-up Seventh-pass verification-driven audit (9 dimension reviewers -> per-finding adversarial verification; the 3 P1s cross-verified by a second model family). 22 candidates -> 21 confirmed (P1=3, P2=11, P3=7), 1 refuted. Adds AUDIT_RECOMMENDATIONS_2026-07-07_PASS7.md + the Pass-7 ledger rows, and fixes the four confirmed doc-staleness findings (P7-DOC-01/02/03/05): ARCHITECTURE.md, spec/00, and docs/quickstart.md are re-synced to the shipped OS sandbox + `service` installers. 17 of 21 findings remain open for the Phase-B implementation wave. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Pass 7 — seventh design & implementation audit
First adversarial audit of the #77–#140 wave (no prior audit checkpoint): the OS agent
sandbox (
P4-GIT-03, #107–#129), the AD-1 zero-infra carrier hub (#96–#106), thesupply-chain/distribution pipeline (#105–#120), and the multi-device env/trust/service wave
(#131–#139). Trunk audited:
d667530(#140).Method
Verification-driven nine-dimension workflow (9 dimension reviewers → per-finding adversarial
verification), mirroring Pass 6. The three P1 candidates were additionally cross-verified by a
second model family (gpt-5.5 via Codex) — the project's dual-review norm applied to the audit
itself. 22 candidates → 21 confirmed (P1=3, P2=11, P3=7), 1 refuted. Two severity corrections at
verification (
P7-SANDBOX-01P2→P1,P7-SUPPLY-01P1→P3).Headline findings (open — for the Phase-B implementation wave)
worktree+tmp dirs, but a DevStrap agent worktree is a git linked worktree whose
.gitlives inthe parent clone → agent
git commitEPERMs andagent prhas nothing to push. The core loopsilently breaks on the common Mac dev host, and the only e2e canary uses a fresh nested repo so it's
untested. Reproduced against a real linked worktree by both model families.
the
EnvProfileSourceCoords/envCoordLessCAS guard the other two writers apply → a concurrentnewer profile is clobbered with stale content.
device.revokedcompactedbelow the retention floor is lost on recovery → the stale-approved recovering replica re-grants the
fresh WCK epoch to the revoked device (defeats
TRUST-01forward-secrecy-on-revoke).P7-SYNC-02), stranded blobs on transient GET (P7-SYNC-01),folder-carrier torn writes + non-atomic stale-lock break (
P7-HUB-01/02),serviceexec-pathvalidation / Cellar-symlink path / global label (
P7-CLI-01/P7-SVC-01/02),.snowflakedeny-setdrift (
P7-SANDBOX-02), property-gen coverage (P7-SYNC-03), and thecurl|shcosign gap(
P7-SUPPLY-01).What's in this PR
docs/audits/AUDIT_RECOMMENDATIONS_2026-07-07_PASS7.md— the full audit (exec summary,at-a-glance table, prioritized roadmap, per-finding detail with
file:lineevidence + verifierrulings, exa anchors, Appendix A/B).
docs/audits/README.md— Pass-7 index row + "17 open of 21" open table (header count == rows) +dated note. (The ledger was already current through docs: unattended-operation wave close-out (PRs #136–#139) #140; Pass 7 adds only its own rows.)
P7-DOC-*findings, fixed here:ARCHITECTURE.md,spec/00,and
docs/quickstart.mdre-synced to the shipped OS sandbox +serviceinstallers.spec/18_WORK_LOG.md— newest-first entry.Gates
spec-driftpassed (20 specs, 6 changed files);TestEveryCommandIsDocumented+TestMigrationsDocumentedpass; ledger header-count invariant holds (17 rows).🤖 Generated with Claude Code