sign-in: the shared Nextcloud tail asserts "E2E Drive" but the rented-services drive founds the slug-derived name ("Rehearsal G") #1498
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
1 participant
Notifications
Due date
No due date set.
Reference
Matou/idss#1498
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?
The failure
drive-rented-services/20260915T172007Zred at leg 22 of 22 (sign-in), 21 green before it. Leg error:That error message misdiagnoses itself. The #349 push DID take. It pushed the name the header actually carried. The red is fixture drift in the newly-shared Nextcloud tail, not a product regression.
The evidence
The community this drive founded is named "Rehearsal G", not "E2E Drive".
state/clan-config/idss/brand-kit.json(the harvested config repo, HEAD347b42d2):Nameis slug-derived;Greetingis the fixedE2E_GREETINGconstant (app/tests/e2e/fixtures/wizard.ts:33), typed at S3 regardless of name — which is why the two disagree and why only the heading red.The drive types that name on purpose.
app/tests/e2e/journey.rented-services.spec.ts:210walks S2 vias2WithSlug(live, slug).app/tests/e2e/fixtures/wizard.ts:83-86typescommunityNameForSlug(targetSlug);app/tests/e2e/fixtures/rented.ts:169-174title-cases the slug. WithREHEARSAL_SLUG=rehearsal-g(apexrehearsal-g.idss.nzperstate/clan-config/idss/apex; droplet hostnameidss-gateway-rehearsal-g-72feinlogs/caddy-rented.txt) that is exactly"Rehearsal G". S2 has no slug input — the rented path steers the broker slug it claims by the name it types (wizard.ts:78-82), so this journey structurally cannot found "E2E Drive".The push is correct end-to-end.
state/clan-config/machines/gateway/gateway-guest.nix:330-336(kanidm-brand-push) reads.Namefromidss/brand-kit.jsonand runskanidm system domain set-displayname --name admin -- "$name". GivenName = "Rehearsal G", a heading of "Rehearsal G" is the unit working.The expectation is the droplet journey's, copied verbatim.
app/tests/e2e/fixtures/nextcloudTail.ts:82-91—signInOperatorpasses the string literal'E2E Drive'asloginWithPassword'sexpectDomainName(app/tests/e2e/fixtures/ceremony.ts:735-749, asserted atceremony.ts:601-604).signInOperatortakes no community-name parameter. That literal is right forjourney.droplet.spec.ts:275, which founds throughs2CommunityDetails(wizard.ts:64— "E2E Drive"); it is wrong for every slug-steered journey.Timeline — this is first-contact drift, one day old.
4a7ed9b0moved the droplet tail intofixtures/nextcloudTail.tscarrying the hardcoded name;9a914511(today) addedjourney.rented-services.spec.ts, which reuses that tail at line 328 while typing a slug-derived name. This is the first drive to reach legsign-in.The precedent for the fix already exists in-tree.
app/tests/e2e/journey.device.spec.ts:1032-1035fixed exactly this drift forassertBrandedLogin, with the comment: "the device journey founds through runRentedPrefix, whose S2 name folds to the slug (communityNameForSlug, the SAME derivation the wizard's s2WithSlug types) — so the branded sign-in names this community's own name, not the sibling journeys' 'E2E Drive' (#1115)."Two more legs carry the same hardcode (fix in the same change)
The drive died at
sign-in, so these never ran — but they will red identically on the next drive if onlysign-inis repaired:app/tests/e2e/nextcloudTail.ts:24—export const NEXTCLOUD_BRAND = { name: 'E2E Drive', accent: '#619793' }, consumed byassertFilesBrandedLogin(nextcloudTail.ts:132-137) → legbranded-login(spec line 365).nextcloudChromeBrand()(nextcloudTail.ts:28-30) spreads that samenameintoassertFilesBrandedChrome(nextcloudTail.ts:198) → legbranded-chrome(spec line 380).Both read Nextcloud's theming name, which is derived from the community name — so both expect "E2E Drive" against a "Rehearsal G" community.
Suspected layer
Test fixture (
app/tests/e2e/fixtures/nextcloudTail.ts) — not product code. Nothing ininternal/orapp/src/is implicated;internal/clan's brand-push render and the#349unit both behaved correctly.Shape of the fix
Parameterise the community name through the shared tail instead of hardcoding the droplet journey's, following the #1115 precedent:
signInOperator(live, panel, communityName = 'E2E Drive')a name parameter and pass it asloginWithPassword'sexpectDomainName, sojourney.droplet.spec.ts:473stays byte-identical in behaviour.NEXTCLOUD_BRANDconstant's fixednamewith a per-call community name threaded intoassertFilesBrandedLoginandassertFilesBrandedChrome/nextcloudChromeBrand().journey.rented-services.spec.ts, passcommunityNameForSlug(slug)at lines 328, 365 and 380.The check keeps proving "the kanidm sign-in heading wears this community's name" and stays falsifiable — it is derived from what the drive typed at S2, not from what rendered.
Why I refused rather than healed — REFUSAL RULE 1
The fix changes an expectation VALUE:
nextcloudTail.ts:88's'E2E Drive'becomes a caller-supplied name, andnextcloudTail.ts:24'sname: 'E2E Drive'likewise. Rule 1 is explicit — "Fixing the SELECTOR or action a check drives through is fine — changing the value it PROVES is not. If the honest fix is to change what a check asserts, the red is telling you the product changed: file it." After this change thesign-incheck asserts "Rehearsal G" where it asserted "E2E Drive", and "Rehearsal G" is precisely what rendered — so however well-grounded the derivation, in-lane this is a healer rewriting a red's expectation to match reality, and that is the one thing the rails forbid. Handing it to a ruling instead.The ruling wanted: confirm the rented-services drive's expected community name is the slug-derived one (the journey cannot found "E2E Drive" without claiming the wrong broker host), and that the tail's community name should therefore be a parameter rather than evidence of a #349 regression. The diagnosis above is otherwise complete and the change is small and mechanical.
No edits were made in the healer lane; the checkout is clean.
Absent from the run directory
logs/founding-state.logis anexit 1—state/founding-state.jsonwas scrubbed when the hand-off completed (the spec anticipates this at lines 278-280), so the founding seam state could not be re-read post-hoc.logs/state-logs.logreports nostate/logsdirectory. Theguest-*.logharvesters anddroplet-keri.txtall report "no guest / unit not found" — expected on the rented path (no local QEMU guest;artifacts/host.jsonrecordsqemu: ENOENT), not a fault. Noerror-context.mdwas written by this drive.drive
20260915T172007Zred atsign-in:kanidm sign-in heading reads "Rehearsal G", not the community name "E2E Drive" — the #349 display-name push did not take; artifacts/ceremony/login-1.png shows what renderedevidence:
/home/dev/swarm/Matou/idss/test-results/drive-rented-services/20260915T172007Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedRuled by agent under ADR 0174 — veto anytime.
Ruling: this is fixture drift, not a product regression. The tail's community name becomes a per-call parameter (the #1115 precedent). The
#349display-name push was correct end-to-end.Why the healer's refusal was right to escalate, and why the ruling clears it: in the healer lane, changing a value a check asserts is forbidden (REFUSAL RULE 1) — you cannot tell "the product changed" from "the fixture is stale" without a judgement. That judgement is a two-way door under ADR 0174 (revertible test-only commit, provable), so a ruling may make it. The evidence is airtight:
journey.rented-services.spec.tswalks S2 vias2WithSlug(live, slug), which typescommunityNameForSlug(REHEARSAL_SLUG); withrehearsal-gthat is exactly"Rehearsal G". S2 has no slug input — the rented path steers the slug it claims by the name it types — so this journey structurally cannot found "E2E Drive".state/clan-config/idss/brand-kit.jsonconfirmsName: "Rehearsal G".kanidm-brand-pushsets the displayname from that.Name, so a heading of "Rehearsal G" is #349 working, not failing. The tail's'E2E Drive'wasjourney.droplet's own S2 name (s2CommunityDetails), copied verbatim when the tail was extracted (4a7ed9b0) and reused against a slug-steered community (9a914511, today) — first-contact fixture drift, one day old.What landed (commit
14e37aae, test-only, no product source touched):fixtures/nextcloudTail.ts—signInOperator,assertFilesBrandedLogin,assertFilesBrandedChrome/nextcloudChromeBrand()take acommunityNameparam defaulting to'E2E Drive', sojourney.dropletstays byte-identical.journey.rented-services.spec.ts— passescommunityNameForSlug(slug)atsign-in(L328),branded-login(L365) andbranded-chrome(L380). The last two carried the same hardcode (NEXTCLOUD_BRAND.name,nextcloudChromeBrand()) and would have red identically on the next drive; fixed in the same change.E2E_GREETING('Nau mai ki E2E Drive', typed at S3 regardless of name) — which is why only the heading disagreed.The check keeps proving "the kanidm sign-in heading wears this community's name", derived from what the drive typed at S2 — falsifiable, not rewritten to match what rendered.
Proof (offline):
vue-tsc -p tsconfig.json --noEmit+eslintclean;nextcloudTail.test.ts+1 case (default name'E2E Drive';nextcloudChromeBrand('Rehearsal G').name === 'Rehearsal G', accent/background/logo brand-fixed) — 3/3 green; both drive specs still collect (1 test each).Live green: rides the next
rented-servicesexecutor-rail drive — a two-box live founding with operator spend, the rehearsal-executor frontier, not a one-shot session's to run (ADR 0174 rule 7). Closing on the offline proof + airtight diagnosis.