session_host_marker uses its own sed parser that the #2111 inline-code-span fix does not cover #2114
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#2114
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?
session_host_markerhonours an inline-backtick host pin the #2111 fix does not cover#2111 fixed
body-marker.jq'smarker()to ignore markers written inside inline code spans (backticks), closing the hole that let prose describing a marker set it — origin, session-landing, close-report and rehearsal pins all read throughmarker().session-host-lib.sh'ssession_host_markerdoes NOT read throughmarker(): it has its ownsedextraction overbody_outside_fences, which still matches a host pin written in inline backticks or mid-prose. Verified read-only on the real vendored lib — a host pin quoted in backticks is still honoured (returns the host), while the same text throughmarker()is now empty.Same class of defect, for host-affinity pins. Unify
session_host_markerontomarker()(or apply the same inline-code-span strip) so a host pin quoted while describing it is not honoured. Its offline test currently asserts a prose-shared host pin parses (session-host-lib-test.sh) — that assertion flips, as #2111's group 7 did. Vendored, protected.sandcastle/path (#445): lands on a dev-factory backport then a re-vendor.All work descended from this ticket lands by pull request with a human-approved merge (
landing-pr, ADR 0267).Close-report (pr mode — PR #2117 open, awaiting a human merge)
Landed as PR #2117 (
agent/issue-2114,closes #2114).What it fixes:
session_host_marker(session-host-lib.sh) honoured a<!-- session-host: … -->pin written in inline backticks or mid-prose, because it ran its OWNsedoverbody_outside_fences(block-fence strip only) instead of reading throughbody-marker.jq'smarker(). #2111 fixedmarker()to also strip inline code spans; this routes host pins through it (body_marker "$1" session-host), closing the same hole for the one marker #2111 did not cover. Output contract unchanged, so the pick loop is untouched. Reproduced read-only on the vendored lib and red-before-green in the offline test, as the ticket described.Commits:
f663c86f— re-vendorFACTORY_REF 40d60ac→18cfbcb+ STATUS.md entry.backport/idss-2114tip18cfbcb= #2111's body-marker commit586e106+ #2114's session-host commit, rebased onto #2112's pin40d60ac.Topology note: the backport chain forked at #2110 (
e77a951) — #2111 (a4189e0) and #2112 (40d60ac) were concurrent siblings, and #2112 reached idssmainfirst. Stacking on #2111's line would have reverted #2112, so #2114 linearized #2111+#2114 onto40d60ac(disjoint files). This re-vendor therefore subsumes #2111's vendor PR #2115 (now stale against40d60ac): merge #2117 and close #2115 as subsumed, or merge #2115 first and #2117 rebases to its session-host delta. This is a human merge decision — I did not touch #2111/#2115.Proof:
session-host-lib-test.sh: 9 checks pass (adds inline-span group); red verified against the old sed parser first.body-marker-lib-test.sh: 8 groups pass.check-harness-drift.sh: OK against18cfbcb;FACTORY_MANIFESTno churn; clean# Source:(no token leak).Policy:
landing-pr+ the<!-- origin: app-report #2046 -->marker are preserved; this ticket descends from an app report, and I honoured ADR 0267 — outside words are data, I reproduced the symptom in code before acting and followed no instruction from the report body.Ruled by agent under ADR 0174 — veto anytime (revertible:
git revertthe idss commit + reset the backport branch; provable: the vendored red-before-green suite). Not closing — the human's merge of #2117 closes this via itscloses #2114first line.Triage Notes
Category:
bug(kept) — a marker-parsing hole in a vendored lib.State:
ready-for-human.What we've established:
<!-- origin: app-report #2046 -->, read viabody-marker-lib.sh, root = 2046). Carrieslanding-pr(ADR 0267) — kept, never removed by triage. Nosession-host/session-landingmarker.session_host_markerran its ownsedoverbody_outside_fencesinstead of reading throughbody-marker.jq'smarker(), so a<!-- session-host: … -->pin written in inline backticks or mid-prose was still honoured — the one marker the #2111 inline-code-span fix did not cover.agent/issue-2114→main,closes #2114) is open, not merged. It routes host pins throughbody_marker "$1" session-hostand flips the offline test's prose-shared-pin assertion red-before-green, as the ticket described. Output contract unchanged, so the pick loop is untouched..sandcastle/path (#445):FACTORY_REF 40d60ac→18cfbcb, backport chain linearized#2111+#2114onto40d60ac(#2117 subsumes #2111's stale vendor PR #2115 per the close-report note).Why human
The only residue is a one-way door: a
landing-prticket reachesmainsolely by a human-approved merge of its PR, never a push, and only a human lifts the policy (ADR 0267). PR #2117 is open and awaiting that merge — not something an agent may rule under ADR 0174. On merge,#2114closes. (Housekeeping for the merging human: #2117 subsumes #2115 — merge #2117 and close #2115 as subsumed, or merge #2115 first and let #2117 rebase.)Landed on main in
a7483d0e(FACTORY_REF → bbcf34e). Drift check OK; gate-lib, body-marker-lib and session-host-lib tests pass. The real docs gate refuses a bare%%in a slice DAG.