Repository navigation
chore(#1510): every @deprecated names its removal version — lint:deprecations in CI, CONTRIBUTING rule - #1568
Merged
admarble merged 4 commits intoOct 20, 2026
Conversation
wip checkpoint Entire-Checkpoint: 0a52657eb634
…port; the version leads each tag; CONTRIBUTING states the actual rule (QA findings) Entire-Checkpoint: 69849c8b4f75
…nt-every-deprecated-names-its-removal-vers
This was referenced Oct 20, 2026
…nt-every-deprecated-names-its-removal-vers
admarble
deleted the
feature/1510-chore-lint-every-deprecated-names-its-removal-vers
branch
October 20, 2026 14:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
npm run lint:deprecationsnow fails on any@deprecatedtag withoutremove in vX.Yon the tag line. All 18 existing tags carry a version. I pushed the branch as7e4a1bfcdand left PR creation to the orchestrator. Nothing was removed or newly deprecated, and nothing underplugin/,.claude/skills/ortemplates/skills/changed.I ran the lint, the new test file,
npm run build,npm run lintandlint:health. I did not run the full suite or the whole--changedset. The test run wasscripts/lint-deprecations.test.tsplusscripts/qa/tautology-detector-cli.test.ts: 9 passed.AC verification
npm run lint:deprecationsexits 00scripts/lint-deprecations.test.tshas 3 cases: a bare tag exits 1 and namessrc/a.ts:2,remove in v3.1exits 0, and a test-only tree is ignoredCONTRIBUTING.md, Code Style sectionLint deprecationsstep in thevalidate-skillsjob ofci.ymldeprecatedWithoutRemovalis0inscripts/qa/health-baseline.json. I changed only that field, andlint:healthreports no metric above baseline.I also added an
[Unreleased]line under### ChangedinCHANGELOG.md.Tags for owner review
User-visible means exported from
src/index.ts, a settings key, a state-file field, or a user-facing label. Choosing the version needs your read for the agent-driver rows (unsure, so v3.0) and thebatch-executor.tsrow (v2.22, internal).assess-comment-parser.ts:188,223,295,416,459,501src/index.tssettings.ts:62agents.modelshutdown.ts:206setAbortControllersrc/index.tsshutdown.ts:214clearAbortControllersrc/index.tssolve-comment-parser.ts:4phase-signal.ts:36solvephase signalsrc/index.tsci/types.ts:40TRIGGER_LABELS.SOLVEsequant:solvelabel users applylog-writer.ts:71currentIssuebatch-executor.ts:602executeBatchsrc/index.ts; only reachable through thecommands/run-compatre-exportstate-schema.ts:357sessionIdstate.jsonstate-manager.ts:645updateSessionIdStateManageris exported fromsrc/index.tsagent-driver.ts:58sessionIdagent-driver.ts:96sessionIdThe lint and the health counter use the same same-line rule, but each has its own copy of the regex. A parity test is still open.
Hook verdicts changed: none.
Mutation check
Both runs used
scripts/lint-deprecations.ts, and I restored it after each.@deprecatedline failedpasses when the tag says remove in v3.1.fails on a bare tag and names file:line.Pre-PR confidence
…Subagents (remove in v3.0)ending a line mid-sentence, because the same-line rule forces the version onto the tag line.scripts/lint-deprecations.ts, has a test. The 18 tag edits are comment text.PR status: left to the orchestrator; branch `feature/1510-chore-lint-eve
Fixes #1510
Runner verification (2026-10-20)
After merging main (through #1560), the runner re-ran AC-1..AC-6 at 9741f70:
ok0health-report.test.ts: 11 passed110lint:healthshows no rise.Added by the runner, from QA's findings:
REMOVAL_VERSION_REis exported fromscripts/lint-deprecations.tsand imported byscripts/qa/health-report.ts, so the lint and the counter cannot drift. This replaces the parity test QA asked for.@deprecated (remove in vX.Y) …on all 18. In the 7 multi-line tags it no longer splits a sentence.src/index.ts, a settings key, a CLI command or flag, an MCP tool param), and the minor after the next one for internals (v2.22 while 2.20 is current). It had said "next minor".For the owner: the per-tag table above gives every choice.
agent-driver.ts:58(sessionId) is marked unsure and got v3.0.🤖 Generated with Claude Code