Skip to content

refactor(implementation): name the reference frontmatter in agent-contract-sync - #18737

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
chore/tidy-adhoc-plugins-implementation-2026-11-24
Nov 24, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
chore/tidy-adhoc-plugins-implementation-2026-11-24

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Refs: #12894

Summary

This is a structure-only tidy pass over the ad hoc scope plugins/implementation/** (anchor: none, ad hoc). It makes one tidying in plugins/implementation/scripts/agent-contract-sync.test.sh and adds a patch changelog fragment.

Fix

  • Beck build(dependabot): fast-track first-party melodic-software/* actions #8, Explaining Variables, plugins/implementation/scripts/agent-contract-sync.test.sh:63-66 (+4/-3): check_pair ran frontmatter_key on the first agent twice per key, once for the empty test and once for the comparison. It now runs it once and binds the result to want.
  • .changes/implementation/...: a patch fragment for the change.

Skipped: lib/, because it is generated shared copies. Also left alone: the skill and agent markdown. A scan of relative links in this scope found none broken.

Verification

  • bash plugins/implementation/scripts/agent-contract-sync.test.sh: PASS=5 FAIL=0, including the four perturbation cases.
  • scripts/check-changelog-fragments.sh --check and --check-required 024abdb1b0: pass.

scripts/check-affected.sh --base 024abdb1b0 --no-fetch reported 16 passed with these failures, none caused by this diff:

  • shellcheck: the runner's ShellCheck 0.9.0 has no --rcfile flag (exit 3, usage text). Running ShellCheck on the touched script with the repo .shellcheckrc picked up automatically, and again with its enable= options passed explicitly, is clean.
  • reference-verify: could not check out the tip because .git/worktrees is read-only in the lane sandbox. CI runs it.
  • cross-plugin-source-drift: STALE BASELINE ... 'skills/audit/CLAUDE.md'. This also fails on the base commit 024abdb with no changes applied.

Related

Scope-budget deferrals: none. Every selected candidate fit within the budget, and no candidate was cut.

🤖 Generated with Claude Code

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head e3f70734d40b09b12b7ddf4effd104709324ff46. No person needs to act: a lane clears this reason, and the next scheduled run judges it again.

pr-merge's gate refuses its verifier verdict (verify:missing)

@github-actions

Copy link
Copy Markdown
Contributor

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

Security review: no security issues found.

I read the whole diff: both changed files, every hunk.

  • plugins/implementation/scripts/agent-contract-sync.test.sh: a refactor of a test script that only affects behaviour. check_pair used to call frontmatter_key "$a" "$key" twice per key. It now calls it once and keeps the result in a new local variable, want, which is quoted wherever it is used. The comparison logic and the exit-code handling work as before. No new input reaches the script, no command is built from data, and no trust control, gate or hold path is touched.
  • .changes/implementation/...: a new patch changelog fragment. It is prose only.

Neither file matches a trusted-path glob. The diff deletes or softens no standing instruction and changes no plugin manifest. The PR description contains no embedded directives.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

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

Code review: no findings.

This PR changes two things. First, in check_pair of plugins/implementation/scripts/agent-contract-sync.test.sh, it saves the output of frontmatter_key "$a" "$key" in a variable, want, so the function runs once instead of twice. Second, it adds a patch changelog fragment.

  • Behavior unchanged. want is declared local on line 42, so it doesn't leak to callers. The empty test and the comparison read the same value they read before. The script uses set -uo pipefail without -e, so the new assignment can't stop the script early. All four perturbation cases still reach the same branches.
  • Changelog fragment. bump: patch fits a change to a test script with no behavior change.
  • Closing issue. The PR names no closing issue: it says Refs: #12894 but closes nothing. There are no acceptance criteria to check against.
  • Loosened checks. The wrapper wrote no loosened_check_verdict: or loosened_check_patterns: lines, so I used fail with no consumer entries. There was no decision-record line either, so I didn't check whether a citation is required. Nothing in this diff loosens a check. Loosened checks would be marked: none.
  • Verification. The PR's test results (PASS=5 FAIL=0, and the changelog checks passing) are the author's own claims. I couldn't confirm them: this lane has no shell.

Verifier dropped 0 of 0 candidates.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path is about to arm native auto-merge at head e3f70734d40b09b12b7ddf4effd104709324ff46, the head its arming checks judged. The arm fails if the head moves first.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=LOW demote=false head=e3f70734d40b09b12b7ddf4effd104709324ff46 rubric=10.10.3 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 24, 2026
Merged via the queue into main with commit f35aa06 Nov 24, 2026
75 of 77 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the chore/tidy-adhoc-plugins-implementation-2026-11-24 branch November 24, 2026 06:42
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

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.

0 participants