place-files: the bench refuses a service that fits — it judges taps against a fabricated 4 GB gateway until gatewayOffer lands #1556
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.
Dependencies
No dependencies set.
Reference
Matou/idss#1556
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-services20260916T232928Z, legplace-files(artifacts/legs.json,artifacts/verdict.json→firstRedLeg: place-files, commit0bc96e1d):The tap itself succeeded — the trace records
Click locator('[data-field="bench"] [data-service="whakapapa"]')completing cleanly (pw:api@144, 12040→12097 ms), then the landing assertion atapp/tests/e2e/fixtures/wizard.ts:310timing out 30 s later. SotapPool()ran and refused.The evidence says there was room
The error-context a11y snapshot of the gateway card at failure time:
2.9 GB of 6.4 GB usable (8 GB machine · $60/month)— ceiling 6554 MBwhakapapa, 1600 MB), Data collections 512 MB, Surveys 192 MB2944 + 1600 = 4544 MB, comfortably inside 6554. The bench refused a service that fits.
The defect
The refusal was measured against a ceiling that no longer existed by the time the card was read.
app/src/components/founding/FoundingDevicePlacement.vue:306—const gatewayMb = ref(0).app/src/components/founding/devicePlacement.ts:159—seedDevicesstands a fabricated 4096 MB in for a rented gateway whose size is still 0:memMb: accessKind === 'rented' ? gatewayMemMb || 4096 : gatewayMemMb.app/src/components/founding/FoundingDevicePlacement.vue:472-489—onMountedawaitsserviceCatalogue()first (that is what renders the bench pills and makes them tappable), and only then awaitsgatewayOffer()before correcting the gateway'smemMb.So between the catalogue read landing and the offer round-trip returning, the bench is fully interactive with a 4096 MB gateway →
ceilingMb= 3277 MB. In that window: files → 1408, archive → 2176, document-archive → 2944 (all ≤ 3277, all landed); whakapapa → 4544 > 3277, refused. The offer then arrived,memMbbecame 8192, and the card re-rendered as2.9 GB of 6.4 GB usable (8 GB machine)— which is exactly the state the failure snapshot captured, 30 s after the refusal.This is the refusal
fits()explicitly forbids itself (devicePlacement.ts:224-227): "a fabricated ceiling would refuse a service the machine may run perfectly well."Suspected layer
The app's founding bench (renderer), not the seam and not the harness. The walk already has the answer:
FoundingJourney.vue:81passes:gateway-mem-mb="draft?.access?.gatewayMemMb"— the size recorded at S4a — but the localgatewayMbref ignored it until the offer replied.The fix (committed)
const gatewayMb = ref(props.gatewayMemMb ?? 0)— the bench measures against the machine the operator bought from its first paint. The offer still fills the size in for a walk that carried none, and the 4096 MB stand-in survives for that unknown case.Proposed ruling (Ruled by the healer under ADR 0174 — veto anytime)
Two-way door. The change is one line of initialisation (
ref(0)→ref(props.gatewayMemMb ?? 0)) inFoundingDevicePlacement.vueplus its comment; a later commit reverts it by restoringref(0), with no migration, no persisted state and no seam contract touched. It is proven here by a new unit test inapp/tests/unit/foundingDevicePlacement.test.tsthat holdsgatewayOffer()open, taps the four services the drive taps, and asserts all four land — red before the fix withwhakapapa was refused by a bench that did not yet know its gateway, green after. It is a mechanical repair, not a design decision: the ordered gateway size was ALREADY the number this screen meant to measure against (the walk passes it in atFoundingJourney.vue:81, andfits()documents that a fabricated ceiling must never refuse a service), so nothing about what a community sees, what a deploy does, or what the bench proves changes — a missing readiness gate is closed so the code does what it already meant. No default, message, route, secret or security posture moves; the 4 GB stand-in for a genuinely unknown size is untouched. Built on the workstation (never the drive host) and closed through the close-report gate — the same gate a swarm worker passes.drive
20260916T232928Zred atplace-files(sig 77330f9dab6a) — self-fixed on the fast lane, commite407882fd391936be929734b2d3e775e86313d3f; checks: CI=true pnpm --filter app exec vitest run tests/unit/foundingDevicePlacement.test.ts — red first (1 failed, 5 passed: 'whakapapa was refused by a bench that did not yet know its gateway'), then 6 passed after the fix. Package tests: CI=true pnpm --filter app exec vitest run — 140 files, 1679 tests, all passed. Typecheck: CI=true pnpm --filter app exec vue-tsc --noEmit -p tsconfig.json — exit 0.. evidence:/home/dev/swarm/Matou/idss/test-results/drive-rented-services/20260916T232928Zon matou-workstation.close-report for #1556 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope