factory ruling: the e2e drive + gap-ticketing loop is a CORE factory process — driver contract + screenshot evidence spec #570
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.
Blocks
Reference
Matou/idss#570
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?
Ruling (Ben, 2026-08-15)
The e2e drive + gap-ticketing loop is a core factory process, not an ourcloud one-off. It exists to confirm actual implementation of new features, and to capture and share screenshots as the verification currency (the "a GREEN with unexamined screenshots is not a GREEN" rule generalised). Consequence: repo onboarding must ask for e2e setup — a project joins the factory with a drive driver, or explicitly opts out.
Design work needed
The driver contract is real but implicit — four clauses scattered across the scripts (survey:
docs/research/2026-08-15-factory-reengineering-survey.md):rehearsal-cycle.sh:53-55→ reporter$2)<run_dir>/artifacts/legs.jsonasLegRecord[], rewritten on every leg transition (fixtures/legs.ts:6-9)<run_dir>/logs/*.txt(reporter tails these blind)test-results/<name>/Design tasks:
verdict.jsonin the run dir (removes the rc-passing hazard class — the "red drive with zero red legs" branch exists only because the run dir can't say green from red), and a screenshot-evidence clause (capture on greens too; evidence attached to the drive issue; the eyeball rule).legs.ts).rehearsal-heal-lib.sh(zero hardcodes) +legs.tsare factory-shaped today; cycle/smoke/droplet/journey are ourcloud's driver.Needs Ben: confirm the contract scope and the onboarding minimum. Blocks the onboarding design ticket.
Ben ruled (2026-08-19, live session): the factory block is delegated under ADR 0174 — dispatched to the agent/session lanes with dependency edges wired; veto via the tracker anytime.
Ruled by agent under ADR 0174 — veto anytime. Ben's 2026-08-19 ticket comment delegated this ticket's remaining design work (the
## Needs Bengate in the body) to the agent/session lanes under ADR 0174 — a design-tier accept over documentation and tracker state only, no.sandcastle//.forgejo/protected paths touched.What landed (commit
7a73772)docs/adr/0182-the-e2e-driver-contract-is-six-clauses-verdict-and-eyeballed-screenshots.md— the ruling. Ratifies the four existing clauses (grounded against real source lines:rehearsal-cycle.sh:53-55,app/tests/e2e/fixtures/legs.ts,rehearsal-report.sh:225,246, thetest-results/<name>/sort convention) and adds two:verdict.json(written unconditionally by the driver, both green and red, before it exits — schema in the ADR, closes the "red drive with zero red legs" hazard, feeds #574 item 3) and a screenshot-evidence clause (capture-on-green — already ourcloud'sOC_E2E_CAPTUREdefault off the back of #335 — plus the eyeball rule already stated in the swarm atlas, now made binding on every driver, not just ourcloud's).docs/agents/e2e-driver-contract.md— the agent-facing reference doc the ticket asked for, pointed at fromdocs/agents/swarm-atlas.md§8 and the pointers index.rehearsal-heal-lib.sh,legs.ts— the last has zero product imports today, portable as-is) vs product-owned (rehearsal-cycle.sh,smoke-private-path.sh,rehearsal-droplet.sh,journey.droplet.spec.ts). Consistent with ADR 0180's "an e2e driver conforming to #570's driver contract" line.matou-workstationtoday. Scoped narrowly and filed as #596 (ready-for-session— touches protected.sandcastle/rehearsal-report.sh) rather than folded into this design ticket.STATUS.mdupdated in the same commit.No code changed — documentation and tracker state only, provable by reading the cited source lines against the ADR's claims. This unblocks #572's design side (the onboarding-minimum question now has three concrete answers) and gives #574 a
verdict.jsonschema to implement against.Closing — the design work this ticket asked for is done; implementation (verdict.json wiring, screenshot attachment) rides #574 and #596.
Correction to the close-report above: the new ADR landed as 0182 and collided with another concurrent session's ADR 0182 (the rehearsal-red-loop diagnose-first ruling, already on
mainwhen I rebased to push). Renumbered mine to ADR 0183 (commitf47ffd5) — same content, same filename otherwise, all cross-references (docs/agents/e2e-driver-contract.md, swarm atlas §8 + pointers index,STATUS.md) updated.docs/adr/0183-the-e2e-driver-contract-is-six-clauses-verdict-and-eyeballed-screenshots.mdis the correct path.