Skip to content

chore(source-control): remove the ready-skip and execution-target:fallback hidden markers - #8789

Merged
kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-8373-39537684785-1
Oct 21, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-8373-39537684785-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #8373

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Removed the two hidden HTML-comment markers that had writers but no reader: the ready-skip head marker (and the now-unused --head flag) and the execution-target:fallback item marker with its Item fallback bullet. The return-accounting marker and the lane-scoped execution_target_fallback telemetry field are untouched.

Not verified

  • ready-skip-comment.test.sh, pre-ready-steps.test.sh and lane-launcher.test.sh were not run: this run's Bash allows only the named wrappers. Left to the PR's CI.
  • new-changelog-fragment could not run (detached HEAD, no branch name), so both fragments were written by hand in the repository's format; check-changelog-fragments accepts them. Rename if a branch-prefixed name is wanted.
  • docs/conventions/execution-target/README.md:141 still says 'a per-item dispatcher puts it in front of the item brief', and :79 mentions a per-item reader. The issue says to leave :141 alone as outside the owner's scope; a person should decide.
  • Changes are left uncommitted in the working tree as the runner requires.

Fix

  • plugins/source-control/skills/pull-request/scripts/ready-skip-comment.sh: dropped the marker printf, header text, --head flag, parse branch, validation, head variable and usage entry
  • plugins/source-control/skills/pull-request/scripts/ready-skip-comment.test.sh: dropped the marker from expected outputs, --head and HEAD, the no-head and short-head cases; relabeled the assertion and header
  • plugins/source-control/reference/providers/github/pull-request/ready-for-review.md: dropped HEAD_SHA assignment and --head from the ready-skip-comment call
  • plugins/source-control/skills/pull-request/reference/ready-for-review.md: removed the marker sentence and the 'head shows which run' claim
  • plugins/source-control/skills/pull-request/evals/evals.json: dropped the ready-skip marker clause from eval 51 expected_output
  • plugins/harness-ops/skills/lanes/scripts/lane-launcher.sh: removed the per-item marker-comment instruction from the probe preamble; execution_target_fallback instruction kept
  • docs/conventions/execution-target/README.md: replaced the fallback paragraph with the issue's text and deleted the Item fallback bullet
  • docs/conventions/execution-target/CHANGELOG.md: added a 2.0.0 - 2026-10-21 entry
  • .changes/source-control/chore-8373-remove-ready-skip-marker-5b2e7d41.md: patch fragment (written by hand)
  • .changes/harness-ops/chore-8373-remove-fallback-marker-9c4a1e62.md: patch fragment (written by hand)

Verification

The runner ran each check from the base copy against 0cdad59:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

Left out: the items under Not verified.

Related

#8373

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 0cdad59c03652491f029ac87e87b4a24bd16d02b: 0 finding(s), 0 as inline comments.

No security findings on head 0cdad59.

The PR removes two hidden HTML-comment markers: in the `ready --skip` record comment, and in the cloud stage-start probe. It also drops the --head flag of ready-skip-comment.sh.

  • Readers: A repo-wide grep for ready-skip and execution-target:fallback finds no reader of either marker. The hold check, the ci-status gate and the launcher do not consume them, so no enforcement mechanism loses an input. This matches the PR's claim that nothing read them.
  • Skip comment: ready-skip-comment.sh still validates --login against a strict regex, checks each step against the known PRE_READY_STEPS, and runs the reason through neutralize. neutralize still blocks closing keywords, mentions, hold phrases and HTML comments. Removing the --head regex check loses no input validation, because the value is no longer an input. The .test.sh cases for neutralization remain.
  • Instruction surfaces: The edits to the launcher prompt and the convention docs delete an instruction ("put the marker comment on the item and clear its in-flight mark"). I checked it against the removal lens. Nothing relied on it as a control: the lane fallback still reads execution_target_fallback from the telemetry issue, and that read is still limited to comments by the gh login or the configured telemetry.author. Step 7 is unchanged, so the untrusted-input egress and connector check still holds. The protected-class register was not consulted, so this rests on recognition by consequence.
  • Audit trail: The skip comment no longer names the head SHA it described. That weakens the audit trail slightly and is not exploitable. Comment timestamps and the PR timeline still order it against pushes.

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 0cdad59c03652491f029ac87e87b4a24bd16d02b: 0 finding(s), 0 as inline comments.

No findings. I read the full diff, the PR context and closing issue #8373, and grepped the repository for leftovers.

Closing issue criteria. I checked each against the diff and the tree at the head SHA:

  • ready-skip-comment.sh no longer writes the marker or takes --head. Its header, usage line, head="" declaration, case pattern, parse branch and validation are all gone.
  • ready-skip-comment.test.sh drops the marker from the expected outputs, drops HEAD and --head, removes the "no head" and "short head" cases, and relabels the assertion as the issue asks.
  • The provider ready-for-review.md drops the HEAD_SHA= line and --head. HEAD_SHA is set again at line 122 before any later use (lines 123 to 205), so nothing now reads an unset variable.
  • The skill's reference/ready-for-review.md and eval 51 drop the marker clause. The leftover "head shows which run" claim is rewritten.
  • lane-launcher.sh step 5 loses only the per-item marker instruction. The execution_target_fallback instruction stays.
  • README.md uses the issue's replacement text, deletes the "Item fallback" bullet, and keeps the "Lane fallback" bullet. Line 141 (the "per-item dispatcher" mention) is left alone, as the issue directs.
  • docs/conventions/execution-target/CHANGELOG.md gets a 2.0.0 entry, matching the README rule that removing a value is a major bump. Two changelog fragments, one each under source-control and harness-ops, are added.
  • The return-accounting marker and its two files are untouched.

Greps I ran (git grep over the head tree):

  • ready-skip and execution-target:fallback (excluding changelogs and .changes) leave no marker references. The remaining ready-skip hits are the unrelated parse-ready-skip.sh and the script name.
  • ready-skip-comment.sh has no other caller or test passing --head.
  • lane-launcher.test.sh has no assertion on the removed marker text.

Not verified. I did not run ready-skip-comment.test.sh, pre-ready-steps.test.sh or lane-launcher.test.sh. The PR body says the author did not run them either, so they depend on CI.

@melodic-automation-lanes

melodic-automation-lanes Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor Author

Unattended merge: risk HIGH at head 0cdad59c03652491f029ac87e87b4a24bd16d02b. Only LOW merges without a human. A floor path or capability change holds it: a human merges it in person, never an agent or a lane.

HIGH high-path:docs/conventions/**: docs/conventions/execution-target/CHANGELOG.md, docs/conventions/execution-target/README.md
HIGH high-path:plugins/**/scripts/**: plugins/harness-ops/skills/lanes/scripts/lane-launcher.sh, plugins/source-control/skills/pull-request/scripts/ready-skip-comment.sh, plugins/source-control/skills/pull-request/scripts/ready-skip-comment.test.sh
HIGH high-path:plugins/*/skills/*/scripts/**: plugins/harness-ops/skills/lanes/scripts/lane-launcher.sh, plugins/source-control/skills/pull-request/scripts/ready-skip-comment.sh, plugins/source-control/skills/pull-request/scripts/ready-skip-comment.test.sh
HIGH high-path:plugins/source-control/skills/*/scripts/**: plugins/source-control/skills/pull-request/scripts/ready-skip-comment.sh, plugins/source-control/skills/pull-request/scripts/ready-skip-comment.test.sh
HIGH high-script: plugins/source-control/skills/pull-request/scripts/ready-skip-comment.sh, plugins/source-control/skills/pull-request/scripts/ready-skip-comment.test.sh

This refusal has stood unchanged at this head, so a person is needed: the pr-merge lane added the human-gated label.

@melodic-automation-lanes melodic-automation-lanes Bot added the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Oct 21, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 21, 2026
Merged via the queue into main with commit bdfcbbd Oct 21, 2026
44 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-8373-39537684785-1 branch October 21, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: remove the ready-skip and execution-target:fallback hidden markers

1 participant