remove-archive: the archive untick reviews as a plain Deploy, never remove-and-deploy #1281
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.
Blocks
Reference
Matou/idss#1281
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?
Drive
20260906T234910Z(private path, targetbrands, commita436c883). Legs 1–8 green, red at leg 9 of 9.Not the known frontier.
artifacts/legs.jsoncarries no skip reasons at all andartifacts/verdict.jsonrecords"skip": 0— the own-VPS pairing carrier issue is not implicated here;founding-prefixandoperator-sessionboth went green. This is a distinct, new red.No live box was available. No live-box section was appended to this task, so nothing was asked of the droplet directly; everything below comes from the harvested run directory alone. That is fine for this fault — it is an app-seam classification, not a machine-state question — and the machine-state evidence that was harvested is clean (see "Layer").
The failure
artifacts/verdict.json:artifacts/legs.json, the red row (the identical string isartifacts/journey.json'sfault):The throw site, from the run's own
error-context.md(artifacts/provision-brands.live-…-remove-/error-context.md,confirmRemoveDeploy, fixture line 243–256):What the screen actually rendered
artifacts/provision-brands.live-…-remove-/test-failed-1.pngis the P4-S3 surface at the moment of the throw:Two things follow from that image, and they point in opposite directions:
REMOVES Community archiveis rendered. The re-entry fix froma436c883(openGatewayChangeclicking the tab it was already on) held — this is not a repeat of sig363b2c05fde1.Deploy, not a destructive confirm.plain-deployis a considered verdict, not a missed diff.Suspected layer — product, and it needs a ruling
Not infra:
logs/guest-failed-units.logreads0 loaded units listed., andlogs/guest-control-plane.log:145recordsservice health probe … service=archive node=gateway verdict=healthy. The box was fine; nothing about the machine produced this.The substantive question is whether tearing down the Community archive on a one-droplet community should carry ADR 0060's destructive friction. Today it does not, because destructiveness is inferred from a dataset registry that the archive is not in. The run directory corroborates the input side of that:
state/clan-config/.idss/inventory.jsoncarries amachineskey only — gateway plus itsfounding-crown-jewelsvars — and no dataset placement whatsoever, so there is nothing for a placement-derived LOSES trigger to match on.This run's healer reached the same conclusion and refused rather than land it (
logs/healer-claude.out), citinginternal/catalogue/catalogue.goscoping live-dataset services to{"files": true}per ADR 0210,internal/provision/impact.gocomputingDestructive = Erases != nil || len(Loses) > 0 || sel.Removing— all three false — andsel.Removingbeing set only on the Fleet mount's whole-device remove route, not a change-picker untick. Those source citations I could not verify: reads outside this run directory were refused, so I confirm the rendered outcome and the empty inventory, not the specific lines.The two routings are mutually exclusive and product-visible:
A second, independent defect — the check could never have passed
Visible in
error-context.mdwithout any repo access:confirmRemoveDeployreads thedata-statusattribute and compares it againstremove-and-deploy, while its own docstring three lines above says "(ReviewImpactScreen.vue's action ids)". The observed valueplain-deployis a confirm-style value, consistent withdata-statuscarryingdestructive-confirm|plain-deployandremove-and-deployliving ondata-action. If so, this assertion throws against a correctly classified destructive removal too, and its message falsely blames the classifier either way. It named the right fault here by coincidence.This one is mechanical — but fixing it does not turn the leg green, and which value it must read is precisely what routing (a) vs (b) decides. It belongs in the same commit as the ruling.
What plugging it needs
A human ruling on (a) vs (b) first — that is the blocker. Then one commit: the classifier change (or the fixture inversion), plus the attribute fix, asserting the
[data-status][data-action]pair rather than one attribute against the other's vocabulary, and quoting both in the failure message.Absent from this run directory
logs/droplet-journal.txt. The journal harvested islogs/guest-journal.log, alongside per-unit logs (guest-kanidm.log,guest-omeka-container.log,guest-caddy.log, …).logs/guest-control-plane.loghas no impact/destructive/dataset lines — the classification happens app-side and is never logged. The trace andtest-failed-1.pngare the only record of it.logs/state-logs.logis an error:no state logs directory at …/state/logs.logs/helper.logis 0 bytes.logs/qemu.logrecords the process already gone at harvest time.drive
20260906T234910Zred atremove-archive:review-impact's confirm read data-status="plain-deploy" — the impact classifier did not recognise the untick as a removal (expected remove-and-deploy)evidence:
/home/swarm/swarm/Matou/idss/test-results/private-path/20260906T234910Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedRULED (b) + FIXED (ruled by agent under ADR 0174 — veto anytime)
Commit
d192cc9bonmain. (b): the classifier is right; the drive's expectation was the defect.Why (b) is not an open question: the classification the fixture demanded would contradict two standing rulings. ADR 0210 deliberately scopes live-dataset services to
{files}, andimpact.goreserves ADR 0060's destructive friction for a real loss moment — ERASES, a last-copy LOSES, or the whole-device removal intent (#1113). None of the seven brand ports homes a dataset, and a service untick deletes no on-disk state (the podman state dirs survive; a re-tick finds the data again) — there is no loss moment, so the deliberate confirm would be false friction, and ADR 0060's teeth dull exactly as fast as false warnings train operators to click through them. (a) — homing a dataset per brand service — is a real future ruling someone may want (e.g. when a service's data actually becomes irrecoverable on removal), but it must arrive as its own ADR-0210 amendment, not as a side effect of making a drive green.Both defects fixed in one commit (as the report asked):
confirmRemoveDeploy(page, svc)now asserts the pair —data-status="plain-deploy"+data-action="deploy"(the deviceProvision.ts precedent) — never one attribute against the other's vocabulary, and quotes both attributes in the failure message.data-field="removes"row naming the service, so a plain Deploy can never also mean a silently-dropped untick — the honest-REMOVES evidence this run's screenshot showed is now load-bearing.Credit where due: the report's second-defect catch (attribute vs vocabulary) was exactly right — the assertion named the right fault here by coincidence and would have red a correct destructive review too.
Proof:
vue-tscclean; fixtures vitest 342/342. Closing — #1277 unblocks;remove-archiveis the sole unproven leg of cycle 1.