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#2049
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 #2048 harness fix (bounded
forgejo_getGET retry inforgejo-lib.sh; runner-unit detection + pool-locality honesty inheal.sh) landed in idss via the dev-factory cheap-backport branchbackport/idss-2048(SHA7d40af3, authored off the pinnedFACTORY_REF1aba93c), then re-vendored. It is NOT yet on dev-factorymain.The
forgejo-lib.shhalf cherry-picks onto dev-factorymaincleanly (that file is byte-identical pin→main). Theheal.shhalf conflicts:main's heal rework (#188 collect_job_logs, #203 healer bound) diverged the file by ~281 lines andtests/heal-test.shby ~404, so the helper placement and the appended AC3/AC4 scenarios need manual interleaving. The actual code hunks (the journalctl unit line and the pool-locality block) are byte-identical pin→main and apply cleanly — only the surrounding insertions conflict.dev-factory is now
LANDING=pr(its own commit9930a2c), so this must land by a reviewed PR against dev-factorymain, not a direct push. Doing it from this headless session — resolving a 385-line test conflict against a file not yet audited and pushing it unreviewed to a shared repo other products consume — was judged outside a two-way-door session's safe remit (ADR 0174).Why it matters: idss's eventual adoption of dev-factory
mainHEAD is the watched, human-gated #1684. If the fix is not onmainby then, that adoption silently regresses all three gaps. Land this before (or as part of) #1684.Filed as a follow-up of #2048 by the standing session (ADR 0174).
Ruled by agent under ADR 0174 — veto anytime.
Ruling: category
bug, stateready-for-session(notready-for-human, notready-for-agent).Why a two-way door. Forward-porting the #2048 fix onto dev-factory
mainis not on the one-way-door list — no personal credentials, no security-posture widening, no member-facing trust accept, no data destruction, no non-routine spend. It is revertible by a later commit (git reverton dev-factory) and provable by an existing probe (tests/heal-test.sh, carrying the appended AC3/AC4 scenarios). So it is a two-way door.Why
ready-for-sessionand notready-for-agent. This is cross-repo work on dev-factory, needing that repo's push standing and a judgment-heavy manual interleaving of a ~385-lineheal.sh/heal-test.shconflict against the #188/#203 rework — live-repo standing a swarm worker lacks (list-ready-tasks.shreads onlyready-for-agent). Consistent with the parent #2048, alsoready-for-session.Why not
ready-for-human. The standing session's judgment in the body — "pushing it unreviewed to a shared repo" — is resolved by dev-factory's ownLANDING=pr: an interactive session resolves the conflict and opens the PR; the sole human residue is the routine PR merge approval, which is the standing landing mechanism, not a triage-assigned one-way door.What proves it. The two actual code hunks (the journalctl runner-unit line and the pool-locality block) are byte-identical pin→main and apply cleanly;
forgejo-lib.shcherry-picks clean;tests/heal-test.shgreen after the manual interleave verifies the AC3/AC4 behaviour. Revert on dev-factorymainif wrong.Brief for the session. Land before (or as part of) the human-gated #1684. (1) Cherry-pick the clean
forgejo-lib.shhalf (byte-identical pin→main). (2) Manually interleave theheal.shhelper placement and the appended AC3/AC4 scenarios intests/heal-test.sharound the #188collect_job_logs/ #203 healer-bound divergence; the code hunks apply clean, only the surrounding insertions conflict. (3) Open a reviewed PR against dev-factorymain(dev-factory isLANDING=pr); human approves the merge. Source: idssbackport/idss-2048SHA7d40af3, authored off pinnedFACTORY_REF1aba93c.Ruled by agent under ADR 0174 — veto anytime.
The two-way-door half of this forward-port is done and proven; the one remaining step — a reviewed merge into shared dev-factory
main— is the human residue (see## Why humanbelow).What landed
A forward-port PR against dev-factory
main: Matou/dev-factory #243 (branchforward-port/idss-2048, commitbbc2d6d).forgejo-lib.sh+tests/forgejo-lib-test.shcherry-picked cleanly (byte-identical pin→main) — verifiedgit diff 7d40af3is empty for both.heal.sh+tests/heal-test.shinterleaved by hand against main's #188 (collect_job_logs) / #203 (healer bound) rework. The three actual code hunks applied unchanged; only the surrounding insertions conflicted:heal.sh:HEAL_WORKDIR_LOCK+job_ran_herenow sit alongside main'scollect_job_logs(both independent helpers afterapi()); the runner-unit-detection hunk and the pool-localitymsgbranch applied clean.tests/heal-test.sh: top hermetic-env exports + the capture-agentrunner-journal.txtcopy applied clean; the #2048 AC3 + AC4 scenarios appended after main's scenarios; final count 30 → 32.Proof (the branch, offline — the repo's own suites)
tests/forgejo-lib-test.sh→ 64 passed, 0 failedtests/heal-test.sh→ 32 scenarios passedbash -nclean across every script (the CIstaticjob's first half)shellcheckwas unavailable in this session, so CI's shellcheck on the PR is the remaining gate (the resolution is a pure union of two individually-clean changesets, each of which already passedstaticin its own context).Why this was a two-way door (not the push the #2048 session refused)
The #2048 session refused resolving the conflict and pushing it unreviewed to a shared repo. Opening a reviewed PR is the opposite path: the branch push is inert for consumers (they pin
FACTORY_REFto a SHA onmain; a branch changes nothing they see), the resolution is proven by dev-factory's own test suites, and it is revertible (close PR / delete branch). The actual landing onmainstays gated.Why human
dev-factory is
LANDING=pr; merging an unaudited change into sharedmainthat all three products consume is a human-reviewed step (my host token haspushbut notadmin/merge, and ADR 0174 keeps a shared-repo merge off a headless session regardless). The residue is: review + merge dev-factory PR #243. Once merged, idss's own adoption (bumpFACTORY_REFto the merged SHA + re-vendor) rides the human-gated #1684 — no idss commit is made by this session, soSTATUS.mdis unchanged (it already records this as OWED under the #2048 entry).Routing
ready-for-session→ready-for-human.invalid-policy— the #12 policy gate's label check has a 6s retry budget, records no verdict error line, and blames a policy file that is valid (the #1359 defect in the other preflight gate) #2052