Skip to content

refactor(code-tidying): cut bundled check-tool defaults from the shell-tooling and docs-prose lanes - #17768

Merged
kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-17759-44853679235-1
Nov 21, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-17759-44853679235-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #17759

Summary

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

Part 3 of 5 of #16756, 6 rows (R11 4, R4 2). Every row was cut or replaced at a routing site, and no row was GONE:

  • F0110 (R11, K3): replaced at a routing site. The tools/** and scripts/** globs are gone, and Scope now reads 'the repository's tracked Bash and PowerShell scripts, minus the exclusions below'.
  • F0111 (R11, K4): cut. The ShellCheck SC codes, shfmt and PowerShell idiom list is gone. Watch-for keeps one generic line pointing at reference/tidyings.md, the routing site Phase D hunts from.
  • F0113 (R4, K3): replaced at a routing site. shellcheck, shfmt and Invoke-ScriptAnalyzer are gone; Verification now resolves the consumer's lint, format-check and test commands from its ecosystem record, project instructions or CI config, and reports the check unresolved and skips it when none is named.
  • F0114 (R11, K5): cut. The named Bash and PowerShell authorities are gone. The section keeps one generic line (the consumer's own rules, then the official docs of the tools it uses), because Tidy Phase C reads the lane's research-source list.
  • F0120 (R11, K5): cut with no replacement, along with the '(markdownlint catches these)' parenthetical that served the same pick.
  • F0121 (R4, K3): replaced at a routing site. npx markdownlint-cli2 is gone; Verification resolves the consumer's markdown lint command the same way, and the relative-link check stays.
    Consequential edits:
  • Both shell-tooling example commit titles named shellcheck/shfmt or a cut watch-for item, so neutral titles replace them.
  • The per-language ### merge keying for Verification and research sources existed only to merge bundled per-language commands, so it is gone; those sections now override as a whole.
  • /code-tidying:setup check and apply no longer require ### keying.
  • The td-project-lane fixture's merge sentence now matches the new rule.
  • Test scripts are SOFT-excluded, because the wider generic scope would otherwise reach behavior-pin tests.
    Script readers: a Grep for 'shell-tooling|docs-prose|tidy/lanes|tidy-lanes' over *.sh, *.py, *.mjs, *.js, *.ts, *.ps1 and *.cjs found one script that reads either lane file: scripts/check-org-repo-tokens.sh, through scripts/org-repo-tokens-allow.tsv lines 24-25. It counts one melodic-software/claude-code-plugins token per lane file, the config-cascade raw link, which this change keeps. No script reads the cut text, so no row was held back.
    Eval cases that read the cut text (tidy skill), all through the bundled shell-tooling lane's scope: td-dry-run-no-side-effects, td-in-place-structure-only, td-hook-wired-script-excluded, td-nothing-to-tidy-no-pr, td-comment-posture-none/necessary/explanatory, td-public-rename-deferred and td-backlog-throttle-stop. td-project-lane-scope reads the merge semantics. skills/tidy/evals/evals.json ids 1 (docs-prose dry-run), 3 and 4 (shell-tooling) read it too.
    Whole page or part: shell-tooling.md is a partial cut: all seven of its sections remain (Scope, Merge semantics, Watch-for, exclusions,…

The run went past its turn budget (turns=80 max-turns=75): the work may be too big for one run.

Not verified

  • plugins/code-tidying/skills/tidy/SKILL.md:219 still has the example title 'chore(tools): apply shellcheck/shfmt drift across tools/*.sh', and :119 (catalog) still says 'under the project's tooling directories'. Both belong to sibling part #17758 (row F0108 and the tidy SKILL.md pages), so this…
  • plugins/code-tidying/skills/tidy/SKILL.md lines 167 and 173 (Phase C/D) still say 'scope globs', and Phase C still reads 'the lane file's preferred-source list'. Both read correctly against the new generic sections, but the wording belongs to sibling part #17758.
  • plugins/code-tidying/skills/tidy/lanes/self-update.md:47 still runs npx markdownlint-cli2. It is outside this part's table and is the plugin's own maintainer lane.
  • The eval hold, targeted before-and-after cases, and the no-loss record are host-session work after the PR opens, per the issue. The cases listed in summary read the cut scope and verification text. Predicted outcome: no loss on scope-driven cases, since scripts/*.sh fixtures remain tracked Bash…
  • check-affected's own sub-steps comment-hygiene (remote fetch denied), size-check (script missing in the lane copy) and typos (not installed) were skipped. The PR's CI runs them.
  • Tidy pass 5 (ai-slop): the lane's Bash policy does not allow its deterministic detector, so only the rubric read ran, and it found nothing. Passes 1-3 do not apply to markdown. Pass 4 (write-for-agents) found nothing to change.
  • verify: no build or test suite applies to these markdown-only changes. Eval suites are left to the PR's CI and the host session.

Fix

  • plugins/code-tidying/skills/tidy/lanes/shell-tooling.md: cut the bundled scope globs, the Bash/PowerShell watch-for list, the shellcheck/shfmt/PSScriptAnalyzer verification commands and the named research authorities. Generic consumer-resolved text replaces the scope, verification, watch-for and…
  • plugins/code-tidying/skills/tidy/lanes/docs-prose.md: removed the markdownlint-cli2 mention in P-1 and the markdownlint parenthetical. The verification command now resolves the consumer's markdown lint command or reports it unresolved.
  • plugins/code-tidying/skills/setup/SKILL.md: check no longer FAILs a shell-tooling override for missing ### language keying, apply no longer asks for it, and the override criterion says 'bundled scope' instead of 'bundled scope globs'.
  • plugins/code-tidying/evals/fixtures/td-project-lane.md.txt: the merge declaration sentence now says verification commands override as one section.
  • .changes/code-tidying/work-resolve-issue-issue-17759-44853679235-1-e565f560.md: new minor changelog fragment describing the change.

Verification

The runner ran each check from the base copy against b8d74b7:

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

The run reports:

  • check-changelog-fragments: all 3 fragments valid
  • check-changed-skills: setup and tidy PASS, 0 errors (warnings were already there: description length, body size, line 41 history ref)
  • check-affected: 14 passed, 9 skipped over 5 changed files, 0 failed
  • check-evals-quality plugins/code-tidying/skills/tidy/evals/evals.json: PASS with 2 warnings that were already there (ids 2 and 4)
  • Grep over the two lane files after the edit: no shellcheck, shfmt, ScriptAnalyzer or markdownlint left
  • Grep for script readers of the lane files (see summary): only scripts/check-org-repo-tokens.sh via org-repo-tokens-allow.tsv, whose counted token is unchanged
  • read https: //github.com/melodic-software/claude-code-plugins/issues /16756: the parent lists sub-issues #17755, #17758 (tidy SKILL.md and reference pages, including F0108's shellcheck/shfmt example title), #17759 (this one) and #17760, and says nothing about joining code-tidying to the…
  • Fresh-context subagent review of the whole diff: no HIGH findings. MEDIUM/LOW findings in this part's files are fixed (research sources section, fixture wording, intro line, setup ### text, fragment overclaim, test scripts in scope). The rest are listed in not_done.
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44853679235

Left out: the items under Not verified.

Related

#17759

Lane-Activity: work-resolve-issue/resolve-issue
@melodic-automation-lanes melodic-automation-lanes Bot added the do-not-merge Hard merge gate: do not merge while applied. label Nov 21, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Held for the before-and-after eval that cut item #17759 needs. The pr-merge release step lifts this hold when an eval-pair record exists for the current head.

@github-actions

Copy link
Copy Markdown
Contributor

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

Security review: no security issues found

I read the whole diff for all 5 changed files. None of them matches a trusted-path glob. The changes are all markdown: a changelog fragment, an eval fixture, the code-tidying setup skill, and the shell-tooling and docs-prose lane files. The PR touches no plugin manifest, workflow, action, hook or trust control.

I checked the removed instructions against what breaks when each one is gone. docs/contracts/instruction-exception-register/README.md was not read for this review, so I judged each removal by its effect instead of against the protected-class list.

  • Wider shell-tooling scope. The scope moves from tools/** and scripts/** to all tracked Bash and PowerShell scripts. The mutation guards still hold at head:
    • The agent-hook and git-hook hard exclusions are unchanged (shell-tooling.md L3).
    • The Merge semantics section still says those directories are on the plugin's global HARD list, which no project lane can drop (L9).
    • Test scripts get a new soft exclusion. The wider scope removes no existing exclusion.
  • Verification commands taken from the consuming project. Both lanes now take their lint, format-check and test commands from the consuming repository's ecosystem record, project instructions or CI config. When none is named, the check is reported as unresolved and skipped. The base lane already did this for its test suite ("check the consuming project's CLAUDE.md / CI config for the canonical command"). The text comes from the user's own repository, so this adds no new untrusted actor or input path.
  • Removed ### keying rule in setup check. This rule only checked that override sections merged correctly. It guarded no security-relevant action.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

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

Code review: PR #17768: code-tidying lanes stop picking check tools

Result: one advisory finding. Nothing blocks.

The PR removes the bundled check-tool defaults from the shell-tooling and docs-prose lanes. Those were shellcheck, shfmt, Invoke-ScriptAnalyzer and npx markdownlint-cli2. Both lanes now take their commands from the consuming repository. Because no bundled per-language commands remain, the per-language ### merge rule is gone too. It is also gone from /code-tidying:setup check and apply, and the eval fixture's merge sentence is updated to match.

I read all five changed files in full in the diff. I also read:

  • the eval cases that use the changed lanes;
  • the fixture scaffold.sh files those cases run;
  • the lane-resolution section of tidy/SKILL.md.

What I checked

  • Stale references: nothing in plugins/code-tidying (outside CHANGELOG.md) still refers to ### keying, unkeyed overrides or per-language merge granularity. The ### Bash block left in td-project-lane.md.txt is still valid now that the whole section is overridden.
  • Evals that expect a test to run: td-in-place-structure-only and the td-comment-posture-* cases check that tests/*.test.sh "was run". Their scaffolds put a CLAUDE.md in the test repository that names the test command. The new rule (read commands from project instructions) therefore still finds it, and these cases should not regress. I did not run the evals.
  • Version bump: minor is acceptable. plugin.json is at 0.55.0, and SemVer allows breaking changes in 0.x. The PR changes no plugin manifest, so there are no manifest lines.

Closing issue #17759

  • "Every row in this part's table is cut or replaced at a routing site, and no bundled check-tool default survives in either lane": met. A Grep of both lane files at head finds no shellcheck, shfmt, ScriptAnalyzer or markdownlint. Finding (advisory): nothing would catch a default coming back. Neither scripts/skill-portability-tokens.txt nor any other checker lists these tool names for the lane files (shell-tooling.md L35, docs-prose.md L51). The issue leaves widening the portability gate to Annotate surviving specifics and widen the portability gate #15732, so this is a pointer for that work, not a request to change this PR.
  • Row count and per-row outcomes: met. The body states 6 rows and gives each row's id, rule and outcome.
  • Script-reader search quoted: met.
  • Eval cases that read the cut text named: met.
  • "For each changed file, whether the cut deletes the whole page or part of it": could not be checked. The PR description in the context file is cut off mid-sentence after the shell-tooling.md entry, so I count this as unread, not met.
  • AC10 (no new enforcement-placing skill): met.

Loosened checks

The wrapper gave no loosened_check_verdict: or loosened_check_patterns: line, so I used the default (fail, no consumer patterns). It gave no loosened_check_decision_record: line either, so I did not check whether the spec cites the owner's decision.

  • Removed verification commands (kind 6): shellcheck, shfmt, Invoke-ScriptAnalyzer and markdownlint-cli2 are named in the spec as rows F0113 and F0121. The spec gives the reason (rule R4, "Ship no bundled default"), so the removal passes.
  • setup check no longer fails unkeyed ### overrides (setup/SKILL.md L56-59): I do not treat this as a loosening. The check enforced the per-language merge rule this same change deletes. Under the rules now in force, an override without ### headings is the correct shape, so the check would wrongly reject valid lanes. The spec's R11 rule says an item kept only because a removed item uses it goes in the same PR. The spec does not name this check, though, so the spec's author may want to confirm it.

Loosened checks would be marked: fail (default: no wrapper values); patterns: 0

Out of scope and already noted by the author

tidy/SKILL.md:119 and :219 still describe the old tooling-directory scope and the shellcheck/shfmt example title, and self-update.md:47 still runs npx markdownlint-cli2. The PR body assigns these to sibling #17758 or treats them as outside this part. I am not counting them as findings here.

Untrusted text and spend

  • No instructions to the review lane were found in the PR text or the closing issue.
  • No spend to flag: the change touches only markdown, an eval fixture and a changelog fragment.

Verifier dropped 0 of 0 candidates.

@kyle-sexton

Copy link
Copy Markdown
Member

Targeted eval result: PASS

One targeted case per changed skill, run on the old text (before) and the new text (after), on sonnet at 3 runs a side, Claude Code 2.1.330 (Claude Code).

What this gate checks: that the new text does no worse than the old on these cases. By the owner's decision of 2026-11-17 the gate is this no-loss compare alone. There is no wrong-text side, so this case set has not been shown to detect wrong text: a PASS says the cases did not get worse, not that they would have noticed a bad edit.

Scope: not a pure cut. F0113 and F0121 (R4) remove the bundled check-tool commands (shellcheck, shfmt, PSScriptAnalyzer; npx markdownlint-cli2): verification now reads the project's own command and reports unresolved when none is named, by design. F0110 removes the bundled scope globs (scope is the tracked scripts or a project lane); F0111, F0114, F0120 cut tool watch-for lists, research sources and a tool name. The ###-keyed merge rule for Verification commands and Research sources is dropped with them, and setup check no longer FAILs an unkeyed override (behaviour change, not graded). Measured by p17768-td-shell-lane-plan: hooks-hard and bootstrap-defer (kept exclusions), scope-replace and watch-for-append (merge semantics reworded with F0110/F0111), commit-chore (example titles reworded), dead-links-grep (F0120, docs-prose P-1), verify-project-command (F0113: the project names make lint-shell; on BEFORE the bundled shellcheck/shfmt may win, so this grader can rise but not fall). Measured by p17768-se-lane-override-rules: setup SKILL.md (loaded) override wording beside F0110 and the kept check rules. Unmeasured: F0121's unresolved path (no grader: the prompt names a project command only for shell), F0114 (research sources, no grader).

  • New case p17768-td-shell-lane-plan: no tidy case asks how the shell-tooling lane merges a project lane or what verifies it with deterministic graders, so a rules-only dry-run question was written: a repo with ops/ scripts, .husky hooks, a bootstrap script and a project lane; seven regex graders, no Skill grader (slash prompt, R105).

  • New case p17768-se-lane-override-rules: the se-* cases scaffold and write lane files; a rules-only setup question was written instead: when an override is proposed, what it writes, and two check FAIL rules; four regex graders, no Skill grader.

  • Behaviour change not graded: setup check's FAIL for an override not keyed at ### granularity is removed with the ###-keyed sections; with no project command, AFTER reports verification unresolved where BEFORE ran shellcheck/shfmt or markdownlint-cli2. The owner's Q53 gate is the no-loss compare alone.

  • Unmeasured rows: F0114 (research sources), F0121 (docs-prose verification command).

  • Control result (the issue's acceptance item): not run: the owner's decision of 2026-11-17 gates cut pull requests on the no-loss compare alone.

  • Before: 2a79a8517973efcadc5330fe2f9635d1ce11ab1c (merge base with main)

  • After: b8d74b7544189a576d531f3c4bbb626707396200 (pull request head; live head when this was written: b8d74b7544189a576d531f3c4bbb626707396200)

  • Loss: the mean case score falls by 0.15 or more, or any one grader passes in 2 or more fewer after runs than before runs.

Passing runs per grader, per side:

Case Grader Before After
p17768-td-shell-lane-plan hooks-hard 3/3 3/3
p17768-td-shell-lane-plan bootstrap-defer 3/3 3/3
p17768-td-shell-lane-plan scope-replace 3/3 3/3
p17768-td-shell-lane-plan watch-for-append 3/3 3/3
p17768-td-shell-lane-plan commit-chore 3/3 3/3
p17768-td-shell-lane-plan dead-links-grep 3/3 3/3
p17768-td-shell-lane-plan verify-project-command 3/3 3/3
p17768-td-shell-lane-plan mean case score 1.000 1.000
p17768-se-lane-override-rules override-when-diverge 3/3 3/3
p17768-se-lane-override-rules override-sections 3/3 3/3
p17768-se-lane-override-rules empty-merge-fail 3/3 3/3
p17768-se-lane-override-rules placeholder-fail 3/3 3/3
p17768-se-lane-override-rules mean case score 1.000 1.000

Graders that cannot show a loss, because they failed on the old text in every run:

  • none: every grader passed in at least one run on the old text

Changed files the compare runs opened, per case and side:

  • p17768-td-shell-lane-plan before: opened skills/tidy/lanes/docs-prose.md in 3 of 3 runs; opened skills/tidy/lanes/shell-tooling.md in 3 of 3 runs
  • p17768-td-shell-lane-plan after: opened skills/tidy/lanes/docs-prose.md in 3 of 3 runs; opened skills/tidy/lanes/shell-tooling.md in 3 of 3 runs
  • p17768-se-lane-override-rules before: opened no changed file in 3 runs
  • p17768-se-lane-override-rules after: opened no changed file in 3 runs

Rows these runs measured (the row's file opened in at least 2 of 3 runs on each side, or loaded with the skill or agent):

  • F0110 (skills/tidy/lanes/shell-tooling.md, case p17768-td-shell-lane-plan): opened in 3 of 3 before, 3 of 3 after runs
  • F0111 (skills/tidy/lanes/shell-tooling.md, case p17768-td-shell-lane-plan): opened in 3 of 3 before, 3 of 3 after runs
  • F0113 (skills/tidy/lanes/shell-tooling.md, case p17768-td-shell-lane-plan): opened in 3 of 3 before, 3 of 3 after runs
  • F0114 (skills/tidy/lanes/shell-tooling.md, case p17768-td-shell-lane-plan): opened in 3 of 3 before, 3 of 3 after runs
  • F0120 (skills/tidy/lanes/docs-prose.md, case p17768-td-shell-lane-plan): opened in 3 of 3 before, 3 of 3 after runs
  • F0110 (skills/setup/SKILL.md, case p17768-se-lane-override-rules): measured; the file is loaded with the skill or agent, never opened, so no open count applies

Rows these runs did not measure:

  • none

Verdicts:

  • verdict p17768-td-shell-lane-plan (tidy): PASS (no loss: after 1.000, before 1.000)
  • verdict p17768-se-lane-override-rules (setup): PASS (no loss: after 1.000, before 1.000)

Cost: 1.88 USD (smoke and compare, the runs' costUsd).

The cases live outside the repository; their full text:

The 2 cases: prompt.md and case.yaml

p17768-td-shell-lane-plan

prompt.md:

---
description: "Written for PR 17768 (rows F0110, F0111, F0113, F0114 in the shell-tooling lane and F0120, F0121 in docs-prose: bundled scope globs, ShellCheck and PowerShell watch-for lists, check-tool commands and research sources cut). Asked, before anything runs, how the shell-tooling lane would treat a repo's hook folder, bootstrap script and project lane, the reply keeps the hook folder HARD, defers bootstrap logic changes, reads a project Scope as replacing the bundled scope and project watch-for entries as appended, uses the project's documented lint command, commits as chore, and finds dead relative markdown links by grepping them"
tags: [tidy, routine]
max_turns: 20
timeout_seconds: 600
allowed_tools: [Skill, Read, Glob, Grep]
expected_outcome: "Nothing is run or edited. The reply keeps .husky/ untouched, defers logic changes in bootstrap.sh, says a project Scope replaces the bundled scope and project watch-for entries are appended, verifies with the project's own make lint-shell, titles the commit chore, and finds dead relative links by grepping relative markdown links and checking each target exists. It ends with the seven fixed lines."
---

/code-tidying:tidy dry-run shell-tooling

Before you plan anything, tell me how this lane would behave in our repo. Our scripts live in `ops/` (Bash and PowerShell), our git hooks are in `.husky/`, and `ops/bootstrap.sh` installs the dev toolchain. Our `CLAUDE.md` says: "Lint shell scripts with `make lint-shell`." We're adding a project lane at `.claude/tidy-lanes/shell-tooling.md` with a `## Scope` block of `ops/**` and two extra watch-for entries, and it adopts the bundled lane's merge semantics by reference.

1. Could a tidy run touch `.husky/pre-commit`?
2. Could it change the logic of `ops/bootstrap.sh`?
3. With our project lane, does our `Scope` replace the lane's own scope or add to it? And our two watch-for entries?
4. What command verifies the changed scripts?
5. What Conventional Commits type does the PR title use?
6. Separately, in the docs-prose lane, how would it find dead links between our markdown files?

Check your answers against the tidy skill's shell-tooling and docs-prose lane files. Don't run, edit or research anything online yet.

End with exactly these seven lines:

TOUCH_HOOKS: <yes or no>
BOOTSTRAP_LOGIC: <change it, or defer>
SCOPE_MERGE: <replace or append>
WATCH_FOR_MERGE: <replace or append>
VERIFY_COMMAND: <the command>
COMMIT_TYPE: <type>
DEAD_LINKS: <how you find them>

case.yaml:

schema_version: "1.1"
name: p17768-td-shell-lane-plan
plugins: ["../.."]
graders:
  - name: 'hooks-hard'
    type: 'regex'
    pattern: '^[\W_]*TOUCH_HOOKS[*_]*:[\s*`]*no\b'
    flags: 'im'
    target: 'last_message'
  - name: 'bootstrap-defer'
    type: 'regex'
    pattern: '^[\W_]*BOOTSTRAP_LOGIC[*_]*:[\s*`]*defer'
    flags: 'im'
    target: 'last_message'
  - name: 'scope-replace'
    type: 'regex'
    pattern: '^[\W_]*SCOPE_MERGE[*_]*:[\s*`]*replace'
    flags: 'im'
    target: 'last_message'
  - name: 'watch-for-append'
    type: 'regex'
    pattern: '^[\W_]*WATCH_FOR_MERGE[*_]*:[\s*`]*append'
    flags: 'im'
    target: 'last_message'
  - name: 'commit-chore'
    type: 'regex'
    pattern: '^[\W_]*COMMIT_TYPE[*_]*:[\s*`]*chore\b'
    flags: 'im'
    target: 'last_message'
  - name: 'dead-links-grep'
    type: 'regex'
    pattern: '^[\W_]*DEAD_LINKS[*_]*:(?=[^\n]*(?:grep|search|scan|walk))(?=[^\n]*(?:relative|\.md|target|exist))'
    flags: 'im'
    target: 'last_message'
  - name: 'verify-project-command'
    type: 'regex'
    pattern: '^[\W_]*VERIFY_COMMAND[*_]*:[^\n]*make lint-shell'
    flags: 'im'
    target: 'last_message'

p17768-se-lane-override-rules

prompt.md:

---
description: "Written for PR 17768 (setup SKILL.md rewording beside F0110 and F0113: the bundled scope globs and the ###-keyed override rule cut). Asked, before anything is written, when setup proposes a bundled-lane override and what it writes, and how check grades a lane with an empty merge declaration or a leftover template placeholder, the reply proposes the override only when the repo's directories diverge, writes only the diverging sections plus a Merge semantics section adopting the bundled declaration, and fails both malformed lanes"
tags: [setup, routine]
max_turns: 20
timeout_seconds: 600
allowed_tools: [Skill, Read, Glob, Grep]
expected_outcome: "Nothing is written. The reply proposes a shell-tooling override only when the repo's tooling directories diverge from the bundled scope, writes only the diverging sections (usually Scope) plus a Merge semantics section adopting the bundled lane's declaration, and has check FAIL both an empty merge declaration and a leftover <placeholder>. It ends with the four fixed lines."
---

/code-tidying:setup

Before you write anything, explain how setup handles lanes in our repo. Our shell scripts live in `ops/` instead of the usual tooling folders.

1. When would `apply` propose an override of the bundled `shell-tooling` lane, and what sections does that override file contain?
2. In `check`, what happens to a project lane whose `## Merge semantics` section is empty?
3. And to a lane that still contains a template token like `<service-dir>` in its Scope?

Don't write, run or research anything online yet.

End with exactly these four lines:

OVERRIDE_WHEN: <when apply proposes it>
OVERRIDE_SECTIONS: <the sections it writes>
EMPTY_MERGE: <PASS, WARN or FAIL>
LEFTOVER_PLACEHOLDER: <PASS, WARN or FAIL>

case.yaml:

schema_version: "1.1"
name: p17768-se-lane-override-rules
plugins: ["../.."]
graders:
  - name: 'override-when-diverge'
    type: 'regex'
    pattern: '^[\W_]*OVERRIDE_WHEN[*_]*:[^\n]*(?:diverg|differ|outside|not match|don''t match|do not match)'
    flags: 'im'
    target: 'last_message'
  - name: 'override-sections'
    type: 'regex'
    pattern: '^[\W_]*OVERRIDE_SECTIONS[*_]*:(?=[^\n]*scope)(?=[^\n]*merge semantics)'
    flags: 'im'
    target: 'last_message'
  - name: 'empty-merge-fail'
    type: 'regex'
    pattern: '^[\W_]*EMPTY_MERGE[*_]*:[\s*`]*FAIL\b'
    flags: 'im'
    target: 'last_message'
  - name: 'placeholder-fail'
    type: 'regex'
    pattern: '^[\W_]*LEFTOVER_PLACEHOLDER[*_]*:[\s*`]*FAIL\b'
    flags: 'im'
    target: 'last_message'

Posted by an agent session.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The do-not-merge hold waited only on eval evidence (reason=eval), and a listed human posted a VALID no-loss eval-pair record for b8d74b7544189a576d531f3c4bbb626707396200: #17768 (comment). pr-merge removed do-not-merge. To hold again, add the label back with a new pr-hold reason line.

@melodic-automation-lanes melodic-automation-lanes Bot removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 21, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit f984eff Nov 21, 2026
106 of 110 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-17759-44853679235-1 branch November 21, 2026 07:19
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.

Cut the model-read ecosystem specifics from code-tidying: the shell-tooling and docs-prose lanes

1 participant