chore: repo quality maintenance (Next.js 16 / TypeScript ESM) - #522
Merged
Conversation
Entry 106 tracks three oversized components; its line counts were last refreshed on 2026-08-17 and had drifted again. Measured on 2026-08-21: StashViewer.tsx 1890 (was 1820), Settings.tsx 890 (was 835), MermaidDiagram.tsx 410 (unchanged). The other five open entries (57, 86, 92, 110, 129) were re-verified against the code and are still accurate. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BjMGAudNV3oHYSDWYA2f62
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
Quality-maintenance sweep 2026-08-21. Passes A–E (ENV parity, config parity, example defaults/docs, README onboarding, referenced docs) found nothing to fix — the artefacts are already complete. The single merged finding comes from Pass F (backlog hygiene): entry 106 in
BACKLOG.mdcarried line counts that had gone stale again.Docs/example artefacts only — no runtime config, no secrets, no functional code. Destructive edits are confined to
BACKLOG.mdand each backlog decision carries evidence.Closes #521
Changes
BACKLOG.md— entry 106 (StashViewer.tsx/Settings.tsx/MermaidDiagram.tsxsub-component extraction): line counts refreshed from the 2026-08-17 values1820 / 835 / 410to the measured1890 / 890 / 410, and the accreted number history condensed to the current pair. The entry exists to track the growth of those three components, so stale figures actively mislead.Findings
BACKLOG.md1820 / 835 / 410(as of 2026-08-17); the working tree has1890 / 890 / 410File:Lineand theFindingcell, condensed the number historyArtefact status
.env.exampleNEXT_RUNTIMEis framework-internal,HOSTNAMEis documented as a Next.js standalone runtime variablecp .env.example .env, dev/format/lint/tsc/test/build/start/mcp, script parity withpackage.json.mdlinked fromREADME.md,CLAUDE.md,AGENTS.md,CONTRIBUTING.md,SECURITY.mdexists, none is a stubBACKLOG.mdBacklog rework
code:src/components/GraphViewer.tsx+code:src/components/StashGraphCanvas.tsx(GRAVITY_BASE0.008/0.006,REPULSION_FORCE40/15, degree factor 0.3/0.2, cluster boost only in GraphViewer) — blocked on open issues #485 / #486src/App.tsxcode:src/App.tsx— 7 closures in the Sidebar/Search/StashViewer wiring, matching the entryStashGraphCanvas.tsxcode:src/components/StashGraphCanvas.tsx— all three ref pairs still present1820 / 835 / 410->1890 / 890 / 410code:src/components/StashViewer.tsx(1890),code:src/components/Settings.tsx(890),code:src/components/MermaidDiagram.tsx(410)logAccesspositional paramscode:src/server/db.ts— 22logAccess(call sites, matching the entrycode:src/server/stores/token-store.ts— nolast_used/lastUsedin server code0 removed, 0 extracted into issues, 1 consolidated, 5 kept. No F.2 extraction: none of the six open entries meets the "important" bar (no security/data-loss angle, no user-impacting bug, no priority marker, no blocker role) — all are P2/P3
Accepted/Deferred.Testing
npx prettier@3.9.6 --check "**/*.md"— green (this is whatdocs-format.ymlruns).BACKLOG.mdis the only changed file; no source, no runtime config, no example file touched.node_modulesis not installed in this environment).Checklist
npm run format:check) — verified for Markdown via the pinned Prettier, the only file class this PR touchesnpx tsc --noEmit) — n.a., no code changednpm test) — n.a., no code changednpm run build) — n.a., no code changedGenerated by Claude Code