Skip to content

refactor(harness-ops): name the acme clone root in hub-start note scaffolds - #16024

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16010-43497404255-1
Nov 13, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16010-43497404255-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #16010

Summary

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

Reviewed the 8 listed files with /simplify's four checks. Four of the hub-start scaffolds spelled out "$w/repos/github.com/acme" twice in one printf. They now set it once as acme=, so each note reads $acme/hub or $acme/target, the hub-or-sibling difference the probe tests. The output bytes are unchanged. hub-layout.sh, sibling-worktree-add, sibling-worktree-write and sibling-write-user-directed are already minimal (2 to 18 lines, no repetition within a file, nothing to reuse), so they are unchanged. Cross-file deduping is left to the sub-epic's restructuring pass, as the issue says.

Not verified

  • Did not execute the scaffolds or run shellcheck on them: this lane runs only the named wrappers, with no interpreter. Equivalence rests on reading the diff and on the review. Left to the PR's CI.
  • tidy recorded as skipped: tidy-diff passes 1 to 4 ran and found nothing to change. Pass 5 (ai-slop) was checked against the catalog by reading only, because its detect.sh and digest-guard.sh scripts cannot run in this lane.
  • ci-status green is left to the PR's CI
  • Untracked dotfiles at the checkout root (.bashrc, .bash_profile, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc) are sandbox mount placeholders, not part of this change; they should not go into the patch

Fix

  • plugins/harness-ops/skills/behavior-probes/cases/hub-start/hub-edit-runs/scaffold.sh: set acme="$w/repos/github.com/acme" once; the printf argument and redirect use $acme/hub/...
  • plugins/harness-ops/skills/behavior-probes/cases/hub-start/hub-write-runs/scaffold.sh: same acme variable; the SC2016 directive stays directly above the printf
  • plugins/harness-ops/skills/behavior-probes/cases/hub-start/sibling-edit-added-dir-runs/scaffold.sh: same acme variable ($acme/target/README.md into $acme/hub/NOTES.txt)
  • plugins/harness-ops/skills/behavior-probes/cases/hub-start/sibling-write-file-sourced-runs/scaffold.sh: same acme variable; SC2016 directive kept above the printf
  • .changes/harness-ops/work-resolve-issue-issue-16010-43497404255-1-c58b826b.md: new patch fragment, '### Changed' with 'Internal simplification, no behavior change.'

Verification

The runner ran each check from the base copy against 9d168af:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • check-changelog-fragments: all 2 fragments valid (run before and after tidy)
  • check-changed-skills: behavior-probes PASS, 0 errors, 2 warnings about the existing SKILL.md (history citations on lines 102 and 110, body length), both from before this change
  • check-affected: 14 passed, 6 skipped over 5 changed files (run before and after tidy)
  • grep for tests or other files that use hub-layout.sh or the NOTES.txt text: none assert on the changed lines
  • git-read diff --unified=0 HEAD: only the acme= line and the printf argument line changed in each of the 4 scaffolds; the format strings are untouched
  • fresh-context review subagent: no correctness or behavior findings; each $acme expansion equals the original path, set -euo pipefail behavior is unchanged, and SC2016 still applies
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43497404255

Left out: the items under Not verified.

Related

#16010

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

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 9d168afe12e3ef0a4dba2f4fbedfdbe27b361ab2: read 5 of 5 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #16024

I found no security issues.

I read every hunk of all 5 changed files in .claude-lane/pr.diff:

  • 4 scaffold scripts. Each is a behavior-probe scaffold under plugins/harness-ops/skills/behavior-probes/cases/hub-start/. Each now sets a local acme="$w/repos/github.com/acme" once and uses $acme/hub/... or $acme/target/... in the printf argument and redirect. Every expansion stays double-quoted. $w still comes from PROBE_WORKDIR through the same :? guard, set -euo pipefail is unchanged, and the format strings are untouched. The output path and the bytes written are the same as before. No new input reaches the scripts, and nothing changes in how they are quoted or what they run.
  • The changelog fragment (.changes/harness-ops/...-c58b826b.md) is new and holds prose only.

Other checks:

  • None of the changed files matches a trusted path.
  • The diff changes no trust control, plugin manifest, workflow, or standing instruction.
  • The PR context holds no embedded instructions aimed at this lane.
  • This is the lane's first review of this pull request (blocking only: no), and there are no prior findings to carry over.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 9d168afe12e3ef0a4dba2f4fbedfdbe27b361ab2: read 5 of 5 changed file(s); 0 finding(s), 0 as inline comments.

No findings: I read all 5 changed files.

This pull request changes four hub-start behavior-probe scaffolds (hub-edit-runs, hub-write-runs, sibling-edit-added-dir-runs, sibling-write-file-sourced-runs). Each now sets acme="$w/repos/github.com/acme" once, then uses $acme/hub/... or $acme/target/... in the printf argument and in the redirect.

  • Behavior: unchanged. w is set and checked by ${PROBE_WORKDIR:?} before the new line, and each $acme/... expansion is the same text as the path it replaces. The format strings did not change, and each # shellcheck disable=SC2016 directive is still directly above its printf. Under set -u the new local variable is always defined before it is used.
  • Closing issue Simplify the harness-ops hub-start behavior-probe scaffolds and hub-layout helper #16010, acceptance criteria:
    • Behavior unchanged: met, by reading the diff.
    • Diff touches only the listed files plus the changelog fragment: met.
    • Size limits: met (5 files, a few lines).
    • Fragment: met. .changes/harness-ops/...c58b826b.md has bump: patch, ### Changed and "Internal simplification, no behavior change."
    • ci-status green: left to CI, not verified here.
    • The behavior criterion has no test in the PR that would fail if it broke, because the scaffolds only write probe setup text. I did not raise this as a finding, since the issue rules out adding tests beyond assertions a change breaks.
  • Not verified by me: I did not run the scaffolds, shellcheck or the changelog check; the author's Verification section is their own claim. The author's notes that the other four listed files are already minimal are their call, which the issue allows.
  • No trusted paths, plugin manifests or prompt-like text appear in the change or the pull request context.

Verifier dropped 0 of 0 candidates.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 9d168afe12e3ef0a4dba2f4fbedfdbe27b361ab2, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for 9d168af

The verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file.

Capture artifact: pr-capture-16024-9d168afe12e3ef0a4dba2f4fbedfdbe27b361ab2, expires on 2026-12-13.

One comment per pull request, updated in place for each new head.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=LOW demote=false head=9d168afe12e3ef0a4dba2f4fbedfdbe27b361ab2 rubric=8.4.17 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 13, 2026
Merged via the queue into main with commit 60b00d9 Nov 13, 2026
49 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16010-43497404255-1 branch November 13, 2026 20:58
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 60b00d9dc9a0665463b50b32fc39afa6deb3ed61; later checks count it verified from this comment.

@kyle-sexton kyle-sexton mentioned this pull request Nov 14, 2026
14 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Simplify the harness-ops hub-start behavior-probe scaffolds and hub-layout helper

0 participants