village-builder

VB-1774: The gate as one command: tools/gate.js runs the six runs and keeps the last result

Status: done (2026-11-25) Priority: 2 Size: S Arch: plans Phase: implement Design ref: docs/plans/four-scales/README.md, 3.10 (the gate); design.md section 7, Plans at four scales (The build and its gate); backlog/VB-1546.md (the stuck tasks, counted by hand); docs/testing.md; AGENTS.md, Commands (a new tool starts with tools/help.js) Touches: new tools/gate.js; new tests/gate-tool.js; docs/testing.md; docs/commands.md Goal: Each task of the arch checks the gate with one command against the result of the task before it, and no agent improvises it Acceptance criteria: