|
2026-09-24
| ||
| 00:54 | • Ticket [1f8c41483d] strata: pre-flight the walk — probe each rung against the trunk it would land on status still Closed with 1 other change artifact: f245f184e9 user: zeitgeist | |
|
2026-09-23
| ||
| 16:49 | • Closed ticket [1f8c41483d]. artifact: 9fa8153cb0 user: zeitgeist | |
|
2026-08-27
| ||
| 13:03 | • New ticket [1f8c41483d]. artifact: 760f571657 user: dmestas | |
strata: pre-flight the walk — probe each rung against the trunk it would land on
Wanted: a pre-flight for the walk. Before any accept, know for every rung whether it would merge onto the trunk it will meet, and show it on the map — 'would land' / 'would stop at rung N' — and on the Land the strata control, so a reviewer chooses to land up to N with eyes open instead of finding out.
Shapes, in preference order:
1. zit: a chain probe. Extend the merge probe to take a SEQUENCE of tips and answer them cumulatively against a hypothetical merged tip, in memory, writing nothing — the same three-way logic the probe already runs, applied to a synthesised base. Needs a zit issue; not filed yet. Quarry then calls it once per stack and paints the map.
2. quarry alone: automate the integration-branch practice. Merge the rungs onto a scratch branch off trunk (landing update can write merges on a bare store now), probe and CI there, and if all clean, land the scratch tip onto trunk as one merge. Atomic, but it changes the shape of what lands (one merge instead of one per rung) and leaves scratch branches to clean up. Keep as fallback if zit declines 1.
3. Cheapest honest step, do first regardless: label the map's verdicts as probed against the rung below, not trunk, so nobody reads 'clean' as 'will land'.
Not in scope: a merge queue (serialising concurrent landings). At this scale the pre-flight is the value; the queue is the shape that would automate it later.
Acceptance: a three-rung stack whose middle rung conflicts with a trunk that moved shows 'would stop at 2/3' on the base's map before anything is pressed; landing up to 1 is offered as such; the harness proves it with a real zit. Related: RFC 0006 (strata), docs page Landings and Strata, zit#131 (probe), zit#152 (landing update).
Measured on 0.1.0-beta+54a7cd00944b (landing 2f65faa6, on zit 0.3.28 stack probe, zit#211). The acceptance case on quarry itself: three probe rungs forked from f611ada5, r1 → trunk, r2 → r1 editing the ZIT_VERSION line trunk has since changed, r3 → r2; landings ae579106, 10b69746, 820dae47. Before anything was pressed, the base page ae579106 read "would stop at 2/3" (data-hook strata-preflight data-stops=2), with rung 1 would land, rung 2 would stop: conflict scripts/build-linux.sh, rung 3 not reached; rung 2's page said "with the rungs below it, this stops on trunk: conflict scripts/build-linux.sh". landing.get answered stack preflight=stops, stopsAt=2, landCount=1, landTo=the base. The "Land up to 1/3" control itself I could not see on prod: trunk is protected with dmestas as its only owner, so the zeitgeist view offers no land controls at all, correctly. It is covered by a template test (a stop at 2 offers up to 1 and not the whole strata; a clean stack keeps Land strata) and by a harness test with real zit. All three probe landings rejected after.