pairing T13: prove the pairing on the rented IDIP drive with a fake Coa, and add the real-Coa step to the manual trial #1522
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Depends on
#1640 dashboard: cold browser hits the ADR 0247-gated apex with no session, never sees chrome
Matou/idss
#1641 mint-invite: members rows:null (Go nil slice) crashes the Members surface — GOTCHA #269
Matou/idss
#1656 wallet-records-spaces: heartbeat-repoint greens off DNS cache, leaves apex mis-pointed
Matou/idss
#1667 wallet-signs-in: idss-idp binds the ADR 0212 unbound verifier — IDSS_IDP_SIGNIN_URL unset
Matou/idss
#1700 deploy-takeover: app tail's descriptor probe burns 10-min budget awaiting community.aid
Matou/idss
#1730 dashboard: bridge sign-in fills the <ol> recovery-phrase grid #1706 split into boxes
Matou/idss
#1738 operator-session: ERR_NETWORK_CHANGED at /authz/signin — bare goto misses host-flap retry
Matou/idss
Reference
Matou/idss#1522
Loading…
Add table
Add a link
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?
Parent
Spec #1495 (community app pairing — the descriptor and config server on the gateway, the S3a wallet choice and S3a-APP, the Coa submission at the pipeline tail, the app card). Program map #1293 (the community wallet). Design contract: ADR 0226 (amended by ADRs 0235, 0236, 0238 and the 2026-09-15 spaces amendment) and DDR 0228 (amended by DDR 0239).
The drive leg from the spec's Testing Decisions. Session ticket: it needs a host's standing and a
rehearsal droplet, and the drive world has no fake external HTTP service yet.
What to build
One leg on the standing rented IDIP drive that walks the whole pairing: a founder chooses the app, the
gateway comes up, the descriptor answers from outside, the card reads being built at hand-off, and when
the fake Coa flips its status document the card reads downloads available and the descriptor carries the
app block. A real Coa build takes minutes to hours and depends on Mātou's side, so the live proof is a
manual-trial step instead.
Acceptance criteria
cmd/smoke-*fake-service precedent): itaccepts the multipart submission, asserts the IDSS-originated marker and the apex it was given, and
serves a status document the drive can flip
pendingat hand-off → fake flips → cardready, thedownloads action present on both surfaces
signinand, after ready,appassertion in the same leg or its sibling)
ready, install one build)
Blocked by
Tracker: #1512, #1517
Task manifest
try againwhen it failedSession progress (advances #1522) — ruled under ADR 0174, veto anytime.
Landed and proven this session (commit
3e209d8f), the buildable pieces of the pairing drive:cmd/rehearsal-coa). A standalone HTTP fake of Coa's IDSS-originated build door the rented IDIP drive points the gateway + operator app at viaIDSS_COA_URL.POST /api/idss/submitasserts theorigin=idssmarker and the founded apex (configServerUrl == https://<apex>) — a wrong marker or apex is a 4xx the tail records as afailedcard, never a silent accept;GET /api/idss/status/<slug>serves a per-slug status document; drive-onlyPOST /flip/GET /submissionslet the drive move a build to ready/failed and read back what Coa received. Proof:cmd/rehearsal-coa/coa_test.godrives the realcoaclient.Clientagainst it (accept / refuse-wrong-apex / refuse-non-idss / refuse-mode / flip-to-ready+downloads / flip-to-failed+reason), red-first; plus a live HTTP run of the binary.app/tests/e2e/fixtures/coaPairing.ts+ vitest, 11 tests). The descriptor-from-outside assertion (version 1.1+community.aid+signin.urlalways; theappblock absent while pending, present with adownloads_urlonce ready), the card selectors for both surfaces (operator home + dashboard overview, ADR 0040), and the fake-Coa launch/flip client (launchFakeCoa, proven end-to-end against the real binary). This is the reusable logic for AC3 (descriptor carriessignin, thenapp) and the card/flip half of AC2 & AC4.docs/operator-app/manual-testing-guide.md§8a: the cardbeing builtat hand-off on both surfaces → watch it build against live Coa →downloads available→ install one build; the refused-Coa row. Per spec #1495's Drive decision, the automated drive uses the fake; this trial is the live real-Coa proof.Not done — left
ready-for-session(rule 8, not fabricating a live green): the live rented-IDIP walk itself (AC2/AC4 end-to-end, AC5 eyeballed screenshots) is not assembled or run. A one-shot session cannot complete + prove it, and it has one genuinely novel, unvalidatable-offline blocker.Handoff for the next session (build directly on the landed seam — do not redo the fake Coa/fixture):
journey.rented-idipspec/target: walk welcome→S1→S2→S3a choosings3aIdentityIdip(fixtures/idip.ts) thenrunRentedPrefix(..., 'address'); register the target (docs/operator-app/rehearsal-drive.mdlist +.sandcastle/session-host-lib.sh).IDSS_COA_URL, which has no nix wiring (control-plane/cmd/control-plane/main.go:2160readsos.Getenv). The fake Coa runs on the workstation (the tail's submission reaches it directly); the poll needs it reachable from inside the community VM — a reverse SSH tunnel into the guest + anIDSS_COA_URLsystemd drop-in on the control-plane unit, without opening a public port (a public port would be a one-way door). This is the piece to prototype against a live droplet.fetchDescriptor+assertDescriptorFromOutside) → cardpendingon both surfaces (expectCard) →flipToReady→ cardready+ downloads action on both + descriptor growsapp; a sibling withlaunchFakeCoa({refuse})→ every stand-up step green, cardfailed. Capture + eyeball screenshots (AC5). Guard new legs withrunRecordedLegOrSkipso an unwired environment is a named skip, never a red on the standing drive.Session progress (advances #1522) — attempt 2, ruled under ADR 0174, veto anytime.
This session (bens-mac-04, one-shot standing) independently re-walked the ticket and the drive machinery. It reaches attempt 1's conclusion — but pins the residue's crux to its exact ordering constraint, so whoever takes it next starts sharper.
Verified green this session
The landed foundation (commit
3e209d8f) is still green on currentmain(64d5787):cmd/rehearsal-coaGo tests —ok(the fake Coa: accept / refuse-wrong-apex / refuse-non-idss / refuse-mode / flip-ready+downloads / flip-failed+reason, driving the realcoaclient.Client). AC1 done.app/tests/e2e/fixtures/coaPairing.test.ts— 11/11 ✓ (descriptor-from-outside assertion, both-surface card selectors, the launch/flip client).(The unit suite also surfaced one unrelated red on main —
idip.test.tsbridgeStatusLines(), fixture-lag from #1523's typed refusals; filed as #1594, not this ticket.)The residue — and its now-pinned crux
Remaining: AC2 / AC3 / AC4 (the live leg end-to-end + descriptor-from-outside carries
signinthenapp+ the refused-Coa sibling) and AC5 (eyeballed screenshots). All require the live rented-IDIP drive, which is not assembled or run.Attempt 1 named "one genuinely novel, unvalidatable-offline blocker" (guest-side poll reachability). This session pins it to the exact ordering constraint that blocks even offline authoring:
Because the spec's shape depends on this unsolved live-only sequencing, it cannot be authored offline-green the way an ordinary journey spec can (a skip-shell would just guess the structure the executor must rewrite). It has to be prototyped against a live droplet first — then authored, then run.
Why a one-shot session cannot complete it
journey.rented's CEILING budgets sum ~90m; the config's whole-drive timeout is 120m), fronted by an iterative novel reachability prototype of unknown duration.I did not fabricate a live green and did not land a speculative unrun spec whose central legs guess the crux (ADR 0100 / #377 — no sandbox-green claim).
Why human
Routing to
ready-for-human(this is attempt 2 — the escalation point — and a one-shot session structurally cannot crack it):Build plan for whoever takes it (build on attempt 1's handoff, above)
IDSS_COA_URLreachability + the ordering constraint boxed above.control-plane/cmd/control-plane/main.goreadsos.Getenv("IDSS_COA_URL"); there is no nix wiring. The rented drive already SSHes the guest with the rent-operator key (journey.rented's heartbeat-repoint) — reuse that door for the reverse tunnel + a systemd drop-in on the control-plane unit. Prove the poll re-reads it and the tail submits successfully.journey.rented-idipon the landed seam:welcomeToS1 → s1ToS2 → s2WithSlug(live, slug) → s3BrandKit(live, s3aIdentityIdip)(lands on Address) →runRentedPrefix(live, slug, legRecords, writeLegRecords, 'address'); replicatejourney.rented'safterAllrelease/offboard so no droplet survives a drive. Register the target in.sandcastle/session-host-lib.sh+docs/operator-app/rehearsal-drive.md.coaPairing.ts:fetchDescriptor+assertDescriptorFromOutside({wantApp:false})→expectCard(page,'pending')on both surfaces →flipToReady()→ready+ downloads on both +assertDescriptorFromOutside({wantApp:true}); a sibling withlaunchFakeCoa({refuse})→ every stand-up step green, cardfailed. Guard each withrunRecordedLegOrSkipso an unwired environment is a named skip, never a red on the standing drive. Capture + eyeball screenshots (AC5).Ruled two-way under ADR 0174 (veto anytime): the only change this session made to the repo was none — the audit trail and routing above, plus follow-up #1594.
drive
20260919T130942ZRED — now blocked by: #1627 (evidence on each). The drive re-fires when the last blocker closes.drive
20260919T134346ZRED — now blocked by: #1629 (evidence on each). The drive re-fires when the last blocker closes.drive
20260919T143924ZRED — now blocked by: #1634 (evidence on each). The drive re-fires when the last blocker closes.drive
20260919T222916ZRED — now blocked by: #1640 (evidence on each). The drive re-fires when the last blocker closes.drive
20260919T230228ZRED — now blocked by: #1641 (evidence on each). The drive re-fires when the last blocker closes.<api_url>/spaces) and the descriptor'sjoin_urlboth answer a browser sign-in redirect, so the first-steward fallback cannot run on a real gateway #1645<api_url>/spaces) and the descriptor'sjoin_urlboth answer a browser sign-in redirect, so the first-steward fallback cannot run on a real gatewaydrive
20260920T060311ZRED — now blocked by: #1656 (evidence on each). The drive re-fires when the last blocker closes.drive
20260920T164135ZRED — now blocked by: #1667 (evidence on each). The drive re-fires when the last blocker closes.anysyncblock never appears — the install materialises client-anysync.json and NOTHING reads it; the writer looks for the block in an identity record nobody updates #1681anysyncblock never appears — the install materialises client-anysync.json and NOTHING reads it; the writer looks for the block in an identity record nobody updatesdrive
20260921T192808ZRED — now blocked by: #1700 (evidence on each). The drive re-fires when the last blocker closes.drive
20260922T134032ZRED — now blocked by: #1730 (evidence on each). The drive re-fires when the last blocker closes.drive
20260922T151333ZRED — now blocked by: #1736 (evidence on each). The drive re-fires when the last blocker closes.drive
20260922T162428ZRED — now blocked by: #1738 (evidence on each). The drive re-fires when the last blocker closes.drive
20260922T165205ZRED — now blocked by: #1741 (evidence on each). The drive re-fires when the last blocker closes.drive
20260922T173216ZRED — now blocked by: #1742 (evidence on each). The drive re-fires when the last blocker closes.Where this ticket stands (2026-09-22)
Every acceptance is now driven on a live gateway, on BOTH routes, by debug drives (ADR 0221 — these close nothing):
cmd/rehearsal-coa, reverse-tunnelled onto the gateway's loopback, pointed at by a/rundrop-in. The product's Coa address stays hardcoded (Ben, 2026-09-21).pending→ fake flips →ready, downloads action present. Green since fire20260921T132832Z; record green on the prove-it drive #1688 (45/45).20260922T151333Z(45/46). It needed two product fixes found by the drive: #1699 (the tail waited inside the gateway deploy for a community AID that only exists after hand-off) and Ben's ruling X (the GATEWAY submits, through a loopback design door — the laptop's record landed in a config repo the gateway no longer reads).signin, thenappandanysyncwith the recorded space IDs once ready.failed— fire20260922T180423ZGREEN 46/46: the card carries Coa's own words, offers Try again, Coa holds zero accepted submissions, and the retry (#1677's resume path) reachespendingwith exactly one.What is left
anysyncblock omitsid(the any-sync network-configuration id) — Coa's ClientConfigSchema refuses the backend probe, every IDSS-originated build is withheld at page-ready, and matou-app's client would start with an empty id #1807Closed 2026-10-21 (Ben's ruling): folded into the drive checklist #2055 — the live proof this ticket still owed is now a checklist item there, to be carried by the next drives on the latest versions. A proof that fails on the drive becomes a NEW ticket; this one is not reopened.