Skip to content

fix(source-control): remove the unused --inline mode of resolve-promotion-evidence - #8242

Merged
kyle-sexton merged 4 commits into
mainfrom
fix/source-control-drop-inline-promotion-evidence
Oct 18, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
fix/source-control-drop-inline-promotion-evidence

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #7517

Summary

Removes the --inline mode of resolve-promotion-evidence.mjs. Nothing calls it: the pr-merge lane reads no promotion evidence (babysit_merge.py:101-102), and git grep -e --inline -- plugins/source-control/skills/babysit-loop now finds nothing. Owner decision of 2026-10-18 (batch 7 D16). #7517 is closed as not planned by hand after this merges.

Fix

  • resolve-promotion-evidence.mjs: delete inline(), its epoch and lookback constants, the stdin input path of runChecker, and the --inline entry branch. File mode is unchanged.
  • resolve-promotion-evidence.test.mjs: delete the inline cases and the imports and fixtures only they used.
  • promotion-evidence-resolution.md: drop the inline-mode section, the epoch-guard paragraph and the sentence saying the pr-merge lane uses inline mode. The publisher's deletion checks stay under a ## Deletion heading.
  • Changelog fragment under .changes/source-control/ (patch, Removed).

Verification

  • node --test plugins/source-control/skills/babysit-loop/scripts/resolve-promotion-evidence.test.mjs: 41 pass, 0 fail.
  • git grep -n -e '--inline' -- plugins/source-control/skills/babysit-loop: no output.
  • Repo-wide git grep -n -e '--inline': the remaining hits are the docs-hygiene extract-ssot flag, a harness-config script's own --inline, and a historical line in plugins/source-control/CHANGELOG.md; none call this helper.

Left out: the full repository CI suite, which runs on this PR.

Related

N/A

🤖 Generated with Claude Code

https://claude.ai/code/session_01AQ9amjLiLKnwj4WGMRcofR

kyle-sexton and others added 2 commits October 18, 2026 09:23
…tion-evidence

No lane calls it: pr-merge reads no promotion evidence. Delete the mode,
its tests, and the reference text that said the pr-merge lane uses it.

Refs: #7517

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01AQ9amjLiLKnwj4WGMRcofR
…ce to --through

The 5-day pre-epoch lookback was inline mode's constant, now removed.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01AQ9amjLiLKnwj4WGMRcofR
@kyle-sexton
kyle-sexton marked this pull request as ready for review October 18, 2026 13:27
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-18T13:29:33.904198Z 7a8e107 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

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

Incremental security review of PR #8242 at head 3467cb8. It covers only the change since aaf0764, in plugins/source-control/skills/babysit-loop/reference/promotion-evidence-resolution.md.

The change repairs a broken sentence ("for as long as it stays in the that window" becomes "...in the window") and reflows the line about deleted repeat-failure comments. I read it under the instruction-surface lens and found no deletion, narrowing or softening of a standing rule. The statement that a red run still counts unless it is also deleted is unchanged. The run_number-gap and dispatch-deadline notes are unchanged too.

Security findings: none.

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

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

Incremental review of 3467cb8 against aaf0764. The only change is in plugins/source-control/skills/babysit-loop/reference/promotion-evidence-resolution.md. It repairs a broken sentence in the Residuals paragraph.

Findings: 0.

  • Sentence repair. The old text read "…for as long as it stays in the / that window." and had a stray "that". The new text reads "…stays in the window." The next sentence, about an identity that can write issues deleting a repeat-failure comment, is now joined onto one line. The meaning is unchanged and the grammar is correct.
  • Line length. The joined line is about 160 characters, while its neighbors wrap near 100. Neither lint config limits this. I read .markdownlint-cli2.jsonc, which sets MD013: false. .editorconfig has no max_line_length; I grepped for it and found only the [*.{md,markdown}] section header. The long line is a cosmetic inconsistency only, so I did not report it.
  • Project rules.
    • I read cost-claims.md and skill-bodies-state-current-rules.md and checked the changed lines against them. The change adds no price, cost figure or restated upstream specific. It adds nothing in the pointer, as-of or recheck lines, so neither rule is affected.
    • I did not read the other rule files under .claude/rules/.
  • Closing issue. The PR uses Refs: #7517, not a closing keyword, so there are no closing-issue acceptance criteria to check. This change does not affect the PR's stated scope, which is removing --inline mode.
  • Not verified. I did not run the tests. The 41-pass claim in the PR body is the author's, and I did not confirm it.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 18, 2026
Merged via the queue into main with commit d475048 Oct 18, 2026
21 checks passed
@kyle-sexton
kyle-sexton deleted the fix/source-control-drop-inline-promotion-evidence branch October 18, 2026 13:43
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.

1 participant