mirrors.tsv should pair IdipRosterPanel.vue with the app-side idip.test.ts probe so the two move together (#1944 drift) #1946

Closed
opened 2026-09-28 00:05:17 +00:00 by matou-build-agent · 1 comment

The panel-unlock series (#1931/#1932/#1935) renamed the dashboard Members surface idip-* → ledger-* and updated dashboard/tests/unit/idipRosterPanel.test.ts in the same commits, but the app-side e2e drive that source-text-probes those same .vue files (app/tests/e2e/fixtures/idip.test.ts) was left stale — reding main (#1944, the ticket this was found under).

Proposed fix: add a trigger<TAB>mirror pair (or pairs) to .sandcastle/mirrors.tsv so the dashboard component and the app-side probe MUST move together, e.g.

dashboard/src/components/members/IdipRosterPanel.vue	app/tests/e2e/fixtures/idip.test.ts

so gate 7 refuses a close that renames the panel without revisiting the app probe — exactly the drift that produced #1944. (The app test also probes CredentialPickCards.vue, UnlockSigningDialog.vue, RemoveMemberScreen.vue and CredentialsSurface.vue; a session should decide whether one pair on the panel is enough or several are warranted — and whether the app probe should keep source-text-probing dashboard .vue files at all, given dashboard/tests/unit/idipRosterPanel.test.ts already covers the same surface and was kept current.)

.sandcastle/ is a protected path (#445), so per ADR 0174 a session rules on the machinery change itself. Filed from #1944.

The panel-unlock series (#1931/#1932/#1935) renamed the dashboard Members surface `idip-*` → `ledger-*` and updated `dashboard/tests/unit/idipRosterPanel.test.ts` in the same commits, but the app-side e2e drive that source-text-probes those same `.vue` files (`app/tests/e2e/fixtures/idip.test.ts`) was left stale — reding `main` (#1944, the ticket this was found under). **Proposed fix:** add a `trigger<TAB>mirror` pair (or pairs) to `.sandcastle/mirrors.tsv` so the dashboard component and the app-side probe MUST move together, e.g. ``` dashboard/src/components/members/IdipRosterPanel.vue app/tests/e2e/fixtures/idip.test.ts ``` so gate 7 refuses a close that renames the panel without revisiting the app probe — exactly the drift that produced #1944. (The app test also probes CredentialPickCards.vue, UnlockSigningDialog.vue, RemoveMemberScreen.vue and CredentialsSurface.vue; a session should decide whether one pair on the panel is enough or several are warranted — and whether the app probe should keep source-text-probing dashboard `.vue` files at all, given `dashboard/tests/unit/idipRosterPanel.test.ts` already covers the same surface and was kept current.) `.sandcastle/` is a protected path (#445), so per ADR 0174 a session rules on the machinery change itself. Filed from #1944.
Author
Member

Close report — landed on main (commit 40f970e2).

What landed. Five trigger<TAB>mirror pairs added to the repo-local .sandcastle/mirrors.tsv (close-report gate 7), each pairing a Members-surface component with the app-side e2e probe:

dashboard/src/components/members/IdipRosterPanel.vue	app/tests/e2e/fixtures/idip.test.ts
dashboard/src/components/members/CredentialPickCards.vue	app/tests/e2e/fixtures/idip.test.ts
dashboard/src/components/members/UnlockSigningDialog.vue	app/tests/e2e/fixtures/idip.test.ts
dashboard/src/components/members/CredentialsSurface.vue	app/tests/e2e/fixtures/idip.test.ts
dashboard/src/components/members/RemoveMemberScreen.vue	app/tests/e2e/fixtures/idip.test.ts

The two rulings the ticket asked for.

  1. Five pairs, not one. app/tests/e2e/fixtures/idip.test.ts source-text-probes all five of these components (rosterPanelMarkup + memberComponentMarkup('CredentialPickCards.vue' | 'UnlockSigningDialog.vue') + direct reads of CredentialsSurface.vue and RemoveMemberScreen.vue). A rename in ANY of the five strands that one probe — exactly the #1944 drift. One pair on just the panel would leave four holes open, so all five are registered.
  2. The app probe KEEPS its source-text probing. The dashboard unit test (dashboard/tests/unit/idipRosterPanel.test.ts) pins the dashboard's own render; the app e2e fixture binds the DRIVE HELPERS' selectors to the shipped markup so a rename reds offline instead of burning a paid-droplet ceiling — a different guarantee. Dropping it loses that early-red, so it is kept. (A larger refactor to consolidate the two is not warranted and is out of this ticket's machinery scope.)

Why this was a session, not a swarm worker. .sandcastle/ is a protected path (#445) — fingerprinted against swarm workers, but a session holds the standing to seed the repo-local registry (ADR 0174). mirrors.tsv is repo-local (NOT vendored, not a FACTORY_MANIFEST file), so no upstream dev-factory round-trip is needed — this is registry data, not gate logic.

Proof.

  • close-report-lib-test.sh — 36 checks green (gate mechanics unchanged; malformed-line fail-closed still covered by T21).
  • Bespoke replay against the REAL registry (throwaway repo, CR_MIRRORS_FILE → the shipped mirrors.tsv): for each of the five, a commit changing the .vue alone is refused naming app/tests/e2e/fixtures/idip.test.ts ("they must move together"); the .vue + idip.test.ts together passes gate 7; a non-empty mirror_waiver overrides. PROOF_EXIT:0.
  • STATUS.md milestone log updated in the same commit.

Ruled by agent under ADR 0174 — two-way door (revertible registry data, proven by an offline replay). Veto anytime.

**Close report — landed on `main` (commit `40f970e2`).** **What landed.** Five `trigger<TAB>mirror` pairs added to the repo-local `.sandcastle/mirrors.tsv` (close-report gate 7), each pairing a Members-surface component with the app-side e2e probe: ``` dashboard/src/components/members/IdipRosterPanel.vue app/tests/e2e/fixtures/idip.test.ts dashboard/src/components/members/CredentialPickCards.vue app/tests/e2e/fixtures/idip.test.ts dashboard/src/components/members/UnlockSigningDialog.vue app/tests/e2e/fixtures/idip.test.ts dashboard/src/components/members/CredentialsSurface.vue app/tests/e2e/fixtures/idip.test.ts dashboard/src/components/members/RemoveMemberScreen.vue app/tests/e2e/fixtures/idip.test.ts ``` **The two rulings the ticket asked for.** 1. **Five pairs, not one.** `app/tests/e2e/fixtures/idip.test.ts` source-text-probes all five of these components (`rosterPanelMarkup` + `memberComponentMarkup('CredentialPickCards.vue' | 'UnlockSigningDialog.vue')` + direct reads of `CredentialsSurface.vue` and `RemoveMemberScreen.vue`). A rename in ANY of the five strands that one probe — exactly the #1944 drift. One pair on just the panel would leave four holes open, so all five are registered. 2. **The app probe KEEPS its source-text probing.** The dashboard unit test (`dashboard/tests/unit/idipRosterPanel.test.ts`) pins the dashboard's own render; the app e2e fixture binds the DRIVE HELPERS' selectors to the shipped markup so a rename reds offline instead of burning a paid-droplet ceiling — a different guarantee. Dropping it loses that early-red, so it is kept. (A larger refactor to consolidate the two is not warranted and is out of this ticket's machinery scope.) **Why this was a session, not a swarm worker.** `.sandcastle/` is a protected path (#445) — fingerprinted against swarm workers, but a session holds the standing to seed the repo-local registry (ADR 0174). `mirrors.tsv` is repo-local (NOT vendored, not a `FACTORY_MANIFEST` file), so no upstream dev-factory round-trip is needed — this is registry data, not gate logic. **Proof.** - `close-report-lib-test.sh` — **36 checks green** (gate mechanics unchanged; malformed-line fail-closed still covered by T21). - Bespoke replay against the REAL registry (throwaway repo, `CR_MIRRORS_FILE` → the shipped `mirrors.tsv`): for each of the five, a commit changing the `.vue` **alone** is refused naming `app/tests/e2e/fixtures/idip.test.ts` ("they must move together"); the `.vue` + `idip.test.ts` **together** passes gate 7; a non-empty `mirror_waiver` overrides. `PROOF_EXIT:0`. - `STATUS.md` milestone log updated in the same commit. Ruled by agent under ADR 0174 — two-way door (revertible registry data, proven by an offline replay). Veto anytime.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#1946
No description provided.