Repository navigation
chore(#1503): end the 2026-01 "temporarily relaxed" rules, add knip as an advisory job with a numeric baseline - #1550
Merged
admarble merged 3 commits intoOct 19, 2026
Conversation
… with an unusedExports baseline Entire-Checkpoint: 04cfb894369d
This was referenced Oct 19, 2026
…k (owner ruling: drop || true) Entire-Checkpoint: b84fb7522e66
…nt-end-the-2026-01-temporarily-relaxed-rul # Conflicts: # scripts/qa/health-baseline.json
admarble
deleted the
feature/1503-chore-lint-end-the-2026-01-temporarily-relaxed-rul
branch
October 19, 2026 22:05
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
All five ACs are met, and I pushed the branch
feature/1503-chore-lint-end-the-2026-01-temporarily-relaxed-rul. I opened no PR, because the orchestrator does that.Pre-PR AC Verification
warnentries prints0. I deleted the comment and the three entries fromeslint.config.js. Thetypescript-eslintandeslintrecommended presets already set all three rules toerror.npm run lintpasses with--max-warnings 0, andnpm run buildpasses. Nosrc/edits were needed.knip@^6.42.0is a devDependency,knip.jsonexists, andlint:knipis a new script. The entry points arebin,src/index.tsandscripts, andignorecovers onlydist.knip-advisorycomes afterhealth-advisoryinci.yml. The-A14grep prints1. I copied the action SHAs from the existing job.unusedExports(exports plus types fromknip --reporter json) is in the report and the baseline, at 342.npm run lint:healthprints "no metric rose".Notes
npm ipruned the@openai/codex-*entries and thelibcfields. I rebuilt the lockfile fromHEADplus the 57 new knip packages. A script check found no packages missing or changed againstHEAD, so the diff is additions only.knip.jsongives0. A knip spawn failure throws instead of reporting a silent0.[Unreleased]line under Added.Tests
npx vitest run scripts/qa/health-report.test.ts scripts/qa/tautology-detector-cli.test.tspassed 14 of 14.--changed origin/mainselects 400 files becausepackage.jsonand the lockfile changed. I did not run that set; the full suite is CI's job.counts unused exports and types from knip JSON. The fixture test now also assertsunusedExportsis0.Pre-PR Confidence Check
countUnusedExportsdepends on knip's JSON shape. I pinned^6.42.0and it throws if theissuesarray is missing. Theknip-advisoryCI job is also only checked by grep, not run, until the PR.ci.yml,knip.jsonand the lint config have no tests of their own, but the ACs' evidence commands cover them.Progress Update Draft
Exec for #1503 is complete: the relaxed lint rules are removed, knip is advisory in CI, and
unusedExports(342) is in the health report and baseline. The branch is pushed and the PR is left to the orchestrator.CHANGELOG: updated. Quality Plan Alignment: all standard checks pass; the mutation record is above. Documentation: no README changes needed.
Next steps: the orchestrator opens the PR, then
/qa.Fixes #1503
Runner verification (2026-10-19)
After main (with #1521) was merged in, the runner re-ran AC-1..AC-5 at 8f5993e:
0green. The merged-in feat(qa): the verdict comment names its reviewer — separate session, driver and model, author's driver and model beside it — and the docs namephases.qa.agentas the independence knob #1521 code passes the stricter rules.ok1okhealth-reportandqa-verdict-attributiontests: 18 passed.The baseline conflict was resolved against main's baseline:
--checkshowed no rise, and the regenerated baseline differs only by the newunusedExports(342). The merge also folds a duplicate### Addedheading that main had in[Unreleased].Owner rulings (2026-10-19):
|| trueis removed fromknip-advisory, so the job now shows knip's findings as a failed advisory check. It is non-blocking (continue-on-error: true) and red today by design.dashboard/, which is outside knip's globs.🤖 Generated with Claude Code