Repository navigation
Description
Problem
After child 20 nothing reaches the frozen bodies of five merge-pr scripts: lint-squash-msg.sh, populate-description.sh, squash-message.sh, review.sh and preflight.sh. They hold 515 code lines in packages/agents/source/skills/merge-pr/shared/scripts/ (25, 62, 156, 108 and 164), and the merge path no longer needs them.
This child removes only non-owner shell. merge-agent.sh and merge-policy.py match owner_paths and constitutional_paths in .agents/agent-skills.conf at origin/main, so deleting them (with their generated copies) belongs to the single cutover issue under #588, which depends on this child. They are unreachable after child 20 and stay in place until then.
Part of #324, within #588. Child 22 in #324's Children list. Removes the frozen bodies of the five scripts and their generated copies.
Acceptance criteria
- AC1: Given the sources, packages and deployments, when a search for the frozen bodies of the five scripts runs after this change, then none remains in the source, both harness packages and both deployments; the wrappers of children 14 and 27 still exist and work.
- AC2: Given the complete regeneration sequence of
mise.toml(regen-generated, followed bycheck-generated-skills), when it runs, then output is current,tokens.jsonis re-measured, the deployments andapm.lock.yamlare refreshed and the check passes. - AC3: Given the documentation, when it mentions the removed bodies or the fallback they served, then it is updated, and a reference search over the documentation shows no obsolete guidance.
- AC4: Given the merge path, when CI runs on macOS, Linux and Windows, then it passes with the frozen bodies absent.
- AC5: Non-functional: no wrapper, Go test or Bats case references a removed body, the only remaining references to the removed files are in
merge-agent.shandmerge-policy.py(owner paths, deleted at the cutover), and this change edits no path matched byconstitutional_pathsorowner_pathsin.agents/agent-skills.conf.
Scope and non-goals
Scope: the deletion of the five frozen bodies, regenerated output and documentation.
Non-goal: changing Go behavior. Non-goal: deleting merge-agent.sh, merge-policy.py, lib.sh or any other owner-tier or constitutional path, which the cutover issue under #588 does. Non-goal: squash-merge.sh and pull-request.sh (child 23).
Approach
Meet AC1 to AC5 in one deletion with regenerated output. Mechanism is the implementer's choice.
Dependencies
The cutover issue under #588 (not a child of this split) follows this child.
Prerequisites: #333.
Size
S. One pull request. 515 code lines deleted from source at origin/main (a physical-line code count), under 800 with documentation. Only generated output under packages/agents/claude/.apm/skills/, packages/agents/codex/.apm/skills/, .claude/skills/, .agents/skills/ and tokens.json is excluded from the count; the source copy always counts.
Verify plan
- AC1: the search output over source, packages and deployments.
- AC2:
mise run regen-generatedthenmise run check-generated-skills, with the tokens, deployments and lock diff cited. - AC3: the lint-prose and Markdown gates and a documentation reference search.
- AC4: the CI matrix run.
- AC5: a search of the tests for the removed names, and the protected-path scan output on the pull request's file list.
- Definition of done: D1 each AC is verified at the merged head, with the commands and results cited in the pull request's Verification. D2 an independent review approves the exact merged head, and every finding has a recorded disposition. D3 required checks pass with no gate loosened. D4 the leak scans the repository specifies are clean, and every post made for this work passes the per-post leak review before it is posted. D5 every commit is signed. D6 the documentation matches the change or the Verification says why there is no impact. D7 every commit has an
Assisted-bytrailer and the pull request has theprovenance:agent-assistedlabel. D8 the pull request stays within the size limits. D9 follow-ups are filed as issues and listed under Related. D10 the merge closes the issue through a closing reference, the board shows Done, and the finalStatus:comment names the merge commit.
Risks
A leftover caller would fail at run time; AC1 and AC5 search for callers. Undo: revert; the files return.
Operator authority
None. No path matched by constitutional_paths or owner_paths is touched (AC5).
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Work type
Projects
- StatusShow more project fieldsBacklog
Activity
tbhb-agent commentedon Oct 27, 2026
Refinement: READY — The frozen entry-point bodies of five merge-pr scripts are removed
Model: gpt-6-astra
Child 22 The frozen entry-point bodies of five merge-pr scripts are removed
Verdict: READY
Checked: The new boundary assigns the previously unowned entry-point deletions, excludes protected production files, and uses the complete regeneration and documentation checks. The five maintained bodies total 515 code lines under the decided counting rule. Their paths do not match the owner or constitutional patterns at
.agents/agent-skills.conf:5and.agents/agent-skills.conf:9.Gaps: None.
Split: None needed. Child 23’s ordering must account for the callers this child removes.
Definition of done
The definition of done for this issue (Chore). Tick each item and give its evidence.
check-leaks.shwith the repository's private-strings list, and the leak review of each post.docs/, CHANGELOG or help text), or the Verification section says "No doc impact" and why.provenance:agent-assistedlabel.Status:comment names the merge commit.mise run checkis green, and so are the coverage floorsmise run cover-go-checkandmise run cover-py-check, whichcheckdoesn't run.packages/agents/source/commits whatmise run generate-skills, thenmise run skill-tokens, thenapm installrewrite, in that order, andcheck-generated-skills(part oflint) passes.docs/agent-skills-migration.mdor the adoption docs, or the PR's Verification says "No consumer impact" and why.Round: 3 of 3