You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Architect identity: hydrate from the WELCOME frame (fully-authoritative) instead of fail-closed self-heal #1475
Architect-session identity (which drives afx send architect resolution) is currently a fail-closed SSOT: Spec 1313 persists each session's command on the DB row (migration v16) plus a legacy self-heal on restart. That fixed the "afx send architect always held(no-profile)" bug, but it's not the fully authoritative source — it infers identity from the launch command rather than reading it from the session itself.
Hydrate identity from the WELCOME frame (the handshake the harness emits on connect), which is the authoritative statement of what the session actually is, and fall back to the persisted command only when the frame is unavailable.
Why
Command-derived identity is a proxy: it's correct for the cases we've seen but can drift from reality (custom launchers, wrappers, renamed harnesses, env precedence). The WELCOME frame is ground truth — hydrating from it makes identity authoritative instead of fail-closed, and removes the class of "the persisted command didn't match the real harness" edge cases.
Activity
mohidmakhdoomi commentedon Aug 18, 2026
On it! Working on this with the PIR protocol (plan + dev-approval gates before PR).
[PIR #1475] Plan draft: hydrate identity from the WELCOME frame
[PIR #1475] Plan revised: read-through identity, `|| null` persist, a…
[PIR #1475] Carry spawned argv on the WELCOME frame (protocol, shellp…
[PIR #1475] Read session identity through the live shellper client
[PIR #1475] Persist the hydrated identity back to the session row
[PIR #1475] Tests for the identity seam; document the handshake
[PIR #1475] Thread: implement phase notes
[PIR #1475] Running evidence: isolated-Tower e2e, and the arg-bound b…
[PIR #1475] Review + retrospective
[PIR #1475] Consultation follow-ups: byte-accurate bound, warn on dis…
[PIR #1475] Review: point the consultation table at the real commit sha
[PIR #1475] Integration review: null-downgrade guard, frame table, ho…
[PIR #1482][Phase: dims-reconciliation] fix: adopt the shellper's rep…
[PIR #1482] fix: address the 3-way consultation, and restore the dash…