M9-close ponytail-audit: umbrella (8 MUST, 10 SHOULD, 20 NICE) — fix-all before next phase #167
Labels
No labels
epic
phase-0
phase-1
phase-2
phase-3
phase-4
phase-5
phase-6
phase-7
phase-8
phase-9
priority/P0
priority/P1
priority/P2
type/backend
type/client
type/docs
type/ops
type/security
type/spike
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
primatekuntech/failsulit#167
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Whole-repo audit at M9 close (main @
ff0e62f), 5 parallel passes + deep-read; every MUST verified in source. Decisions taken 2026-11-12: pinning = implement TOFU; decoy = amend docs + gate UI; client CI = re-enable auto-triggers. Fix-all approved; batches land as PRs closing individual issues. Small items (fixed opportunistically, tracked here): KillMemberDialog cancel-busy race; admin sign-out no server revoke; TenantDetailPage refetch loop + dead fetchTenantById (405); TenantRootFolderResolver race; pending-upload sweep; KillMember StoragePath guard + delete_content=false; wipe/setup unique-violation 500; pairing KemAlgorithm mismatch; TotpGuard MarkConsumed race; HMAC 5-min post-restart note; dead IdP pairing_code; crypto_service + chunk codec tests; zeroize deltas; 13 unused desktop npm deps; dead mock cases + preview_pairing dup; sign_data dead command; unused derive_* + new_in_memory; audit-log MYT filter skew + double-fetch.M9-close audit — ALL findings fixed, umbrella closed
All 8 MUSTs + 10 SHOULDs fixed and merged across 7 PRs; the 20 NICEs fixed where mechanical (lean batch), declined-with-rationale where the code is actually right.
cf8b2483e4d218055e4602910b924a8bb026b70ffaDecisions executed as approved: pinning = public-roots-only TLS + armed SPKI pins (naive TOFU rejected in-doc: LE key rotation); decoy = docs amended + UI/Rust gating (JIT account = long-term closure); client CI = auto-triggers re-enabled with per-ref concurrency (proven live: first auto-triggered runs on main + cancellations pruning superseded runs).
Declined with rationale (reviewed, not bugs): pairing_service/api_client zeroize clones (source KeyPair type does not zeroize; IPC return requires the String), lockout backoff overflow (release wraps + clamps — debug-only panic, expression still hardened), wipe/setup race (unique-index 500 → takeover landed in #188).
Final suite state on merged main: API 1029/0/39 (coverage gate ≥80%), admin 244/244, desktop 1316/1skip, Rust 46/46 lib. Net: −445 lines, −13 dependencies, +30 regression-pinning tests.
Residuals consciously deferred: streaming upload (multi-GB memory ceiling — the clone + caps landed, full streaming is a follow-up), SPKI pin provisioning (ops: current + backup pins per host), JIT decoy account (re-evaluate if the raw-API adversary class re-weights).
NICE stragglers — the audit is now FULLY closed
The honesty pass on this umbrella found 5 code + 2 doc/test NICEs that the first closure round had not actually landed. Both batches merged:
ee3ec24): tenant-root unique index + resolver unique-violation convergence (create + promote branches; migration self-heals staging duplicates), pairing KEM-mismatch 400 BEFORE the single-use consume, TotpSecurityGuard.MarkConsumed race catch, dead IdP pairing_code plumbing deleted, HMAC 5-min post-restart residue documented at the middleware.917d1ce): lockout ladder DOUBLE bug fixed — 2u64.pow overflow AND a dead leading.minthat made escalation constant-30s (exponent clamp + saturating ops, escalation live capped 900s; overflow test seeds failures=130); chunk-container codec extracted (chunk_container.rs) with roundtrip/truncation-at-every-boundary/caps/wire-format tests; crypto_service AEAD inline tests (nonce-split contract, wrong-KEK, tamper, wrong-key). Plus CI-only vitest retry for the rotating parallel-load flakes (ShareDialog/SharedWithMePage family).Declined (with rationale, unchanged): pairing_service/api_client zeroize clones.
Final: every finding from the M9-close audit — 8 MUSTs, 10 SHOULDs, 20 NICEs — is either fixed, tested, or declined-with-rationale on the record. main @
917d1ce.