WI-1: Authenticated external lease broker — SO_PEERCRED identity + broker-minted session_id #828
Reference in New Issue
Block a user
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?
OPUS-SECREV MANDATORY (broker/identity/socket surface — no GPT/terra substitute).
Deliverable 1 (BUILD-BRIEF §3.1). Authenticated external lease broker bound to kernel
SO_PEERCRED(pid, starttime, runtime_generation)— the only unforgeable identity on a same-uid tmux fleet. Broker MINTS the logicalsession_idat first peercred contact (NEVER caller-asserted). Distinct-principal / protected socket (A-v5-2: broker mints cryptographically-random single-use tokens + persists cycle binding; NOT model/Math.random).ACs: peercred returns true
(pid,starttime); caller-asserted session_id refused; socket authenticity posture enforced. Gated on WI-0 probes 1 & 4.Authority (build AGAINST these, do not re-derive): BUILD-BRIEF
89fdbc27, SPEC-v5a6d07ade, RATIFICATIONbac58319, sol red-team3da326a4. Coder MUST re-verify sha256 before build. Target: framework-nativepackages/mosaic/inmosaicstack/stack(NOT jarvis-brain, NOT~/.config/mosaic/directly). M1 = Claude + Pi only.Review discipline: red-first TDD; author≠reviewer; no self-merge; exact-head RoR (reviewed-SHA=merged-SHA);
closes #<this>; full 40-char head; never edit tests to pass / never force-merge red / never--no-verify. Mos merges after review + green suite + (for security surfaces) Opus-SECREV.