Repository navigation
Description
Problem
Two hidden HTML-comment markers have writers but no implemented reader:
<!-- ready-skip head=<sha> -->, written byplugins/source-control/skills/pull-request/scripts/ready-skip-comment.sh:73. Nothing reads PR comments for it:check-ready-holds.shreads title, body, labels and closing references, never comments (plugins/source-control/reference/providers/github/pull-request/ready-for-review.md:109-110). Only its test and the skill reference mention it.<!-- execution-target:fallback v1 -->, written by the stage-start probe preamble the lanes launcher sends to a cloud session (plugins/harness-ops/skills/lanes/scripts/lane-launcher.sh:1392, "for a per-item stage also put the marker comment ... on the item") and specified indocs/conventions/execution-target/README.md:151-154. Its only reader is the "Item fallback" bullet atREADME.md:161-162, which describes a per-item dispatcher that does not exist in this repository;README.md:121-122says no lane goes tocloud-sessiontoday. The lane-scopedexecution_target_fallbacktelemetry field, which the launcher does read (lane-launcher.sh:1359-1377), stays.
The third marker, <!-- autonomy:return-accounting:v1 -->, stays (owner decision, option (a)). It has a reader: the close-time capture posts only when no marker-matching bot-authored record exists (plugins/autonomy/skills/setup/templates/return-capture.md:21-22, marker at :30), and the contract keys its upsert on the marker and ignores marker records from other authors (plugins/autonomy/reference/return-accounting.md:113-117). Do not touch either file.
Fix
ready-skip (plugin source-control):
plugins/source-control/skills/pull-request/scripts/ready-skip-comment.sh: delete theprintfat:73and the header text at:2-4that describes the marker.--headthen has no use (parsed at:45-50, validated at:64, used only at:73): remove the flag, its parse branch and its validation, and update the usage line at:8. Also removehead=""from the declarations at:42and--head |from the case pattern at:45(else SC2034).plugins/source-control/skills/pull-request/scripts/ready-skip-comment.test.sh: drop the marker line from the expected outputs at:22,:30,:36; drop--headfrombuild()at:18and from the usage cases at:64-72; delete the "no head" and "a short head" cases (:67-68); fix the header at:3. Also deleteHEAD=...at:17(unused, SC2034), and relabel the assertion at:25("the comment is the head marker, then the step line") to "the comment is the step line".plugins/source-control/reference/providers/github/pull-request/ready-for-review.md:103-105: drop--head "$HEAD_SHA"from the call at:104, and theHEAD_SHA=line at:103(the later wait step setsHEAD_SHAagain at:123).plugins/source-control/skills/pull-request/reference/ready-for-review.md:85-90: remove the marker sentence and rewrite "the head shows which run it describes", which is no longer true.plugins/source-control/skills/pull-request/evals/evals.json:672: drop "that starts with a ready-skip marker naming the head" fromexpected_output(text edit only; no eval run).
execution-target:fallback (plugin harness-ops and the convention):
plugins/harness-ops/skills/lanes/scripts/lane-launcher.sh:1392: remove "for a per-item stage also put the marker comment on the item and clear its in-flight mark;". Keep theexecution_target_fallbackinstruction.docs/conventions/execution-target/README.md: replace the:151-154text with exactly: On a gap in steps 1-3 the stage writesexecution_target_fallback: {"reason": ..., "at": ...}to the lane's telemetry state block, claims nothing and exits. A passing probe setsexecution_target_fallbacktonull. Leave the "per-item dispatcher" mention at:141alone (not in the owner's scope). Also delete the "Item fallback" bullet at:161-162. Do not add a replacement per-item mechanism; that needs an owner decision.docs/conventions/execution-target/CHANGELOG.md: add an entry with the heading## 2.0.0 - <date>(README:253-254: removing a key or value is a major bump). execution-target is not inscripts/fragment-plugins.txt, so add the heading directly; no.changes/execution-target/fragment.
Changelog fragments: one under .changes/source-control/ and one under .changes/harness-ops/ (both are in scripts/fragment-plugins.txt); scripts/new-changelog-fragment.sh writes them.
Path notes: no touched path is under plugins/*/hooks/**, lib or bin. lane-launcher.sh is the one sensitive path; Automation Lanes already approved an edit there.
Done when
git grep -nF 'ready-skip head='returns no hits outsideCHANGELOG.mdfiles and.changes/.git grep -nF 'execution-target:fallback'returns no hits outsideCHANGELOG.mdfiles and.changes/.git grep -nF -- '--head' plugins/source-control/skills/pull-request/scripts/ready-skip-comment.sh plugins/source-control/reference/providers/github/pull-request/ready-for-review.mdreturns nothing.plugins/autonomy/skills/setup/templates/return-capture.mdandplugins/autonomy/reference/return-accounting.mdare unchanged and still contain<!-- autonomy:return-accounting:v1 -->.lane-launcher.shstill tells the cloud session to setexecution_target_fallback, andREADME.mdstill describes the "Lane fallback" bullet.- The PR's CI runs
ready-skip-comment.test.sh,pre-ready-steps.test.shandlane-launcher.test.sh, and they pass. - The PR's CI runs the changelog-fragment check (
scripts/check-changelog-fragments.sh) and it passes.
Related
- Decision recorded: chore: remove the ready-skip and execution-target:fallback hidden markers #8373 (comment) (keep return-accounting, remove the other two).
- Supersedes the earlier body's return-accounting
gh search codestep and its "repoint README:153 at the telemetry field" fix: the telemetry field is lane-scoped and cannot carry per-item state.
Activity
github-actions commentedon Oct 19, 2026
Thanks for the detailed write-up. I understood this as a cleanup of three hidden HTML-comment markers that nothing reads: ready-skip, execution-target:fallback and autonomy:return-accounting. The fixes are to drop the ready-skip line and update its test and doc, to repoint the execution-target doc at the telemetry field, and to remove the return-accounting marker only if an org-wide code search finds no reader. The scope, fix and verification steps are clear, so nothing more is needed from you. I found no duplicates.
Automated triage. A maintainer reviews it.
kyle-sexton commentedon Oct 20, 2026
Decision recorded.
Question (Issue Triage, 2026-10-20 ~21:30Z): three hidden markers in issue bodies. Which do we keep? (a) keep the return-accounting marker, which has a reader (
return-accounting.md:107-127), and remove the other two; or (b) remove all three.Answer (owner): "(a) Keep return-accounting (Recommended)".
Scope for the lane: keep the return-accounting marker; remove the other two markers and anything that only writes them.
[-]chore: remove three hidden markers that nothing reads[/-][+]chore: remove the ready-skip and execution-target:fallback hidden markers[/+]