Skip to content

chore: review-readiness sweep - #248

Merged
vreshch merged 1 commit into
masterfrom
chore/review-readiness
Jul 7, 2026
Merged

chore: review-readiness sweep#248
vreshch merged 1 commit into
masterfrom
chore/review-readiness

Conversation

@vreshch

@vreshch vreshch commented Jul 7, 2026

Copy link
Copy Markdown
Member

Review-readiness sweep (post #238-#247)

Fresh-reviewer pass over the whole repo after the 10-PR merge burst. The repo held up well; this PR carries the one actionable finding, plus a clean bill of health on the rest.

Fixed

  • src/commands/memory.ts was 207 lines (over the 200 bar). Split along its natural seam: the six run* verb flows + their helpers move to src/commands/memory-verbs.ts (133 lines); memory.ts keeps the commander wiring + error guard (81 lines). Test import retargeted to ./memory-verbs.js. No behavior change.

Checked, nothing to fix

  • Cross-PR seams: no stale path refs (e.g. no lingering src/sync/cycle.ts), no duplicated helpers (redactRemoteUrl lives once in sync/git/remote-url.ts, imported by all five callers).
  • File/naming bar: all other src files <=200 lines, all kebab-case, no default exports, no any outside tests.
  • Comments: no TODO/FIXME/XXX, no commented-out code. Multi-line comment blocks that remain are load-bearing security/concurrency WHY notes (e.g. the ext:: transport-helper RCE guard, the cross-process mutateVaultsConfig invariant) - collapsing them would lose signal, left as-is.
  • Docs accuracy: README, docs/architecture.md (vs architecture.svg), and CLAUDE.md layout all cross-checked against source - 20+ claims (flags, env vars, 4243 port, 0600 auth.json, six MCP tools, conflict-file naming) all verified, zero mismatches, zero typos, zero em dashes.
  • CLI surface: ran the built dist/cli.js help for every subcommand in an isolated HOME - consistent tone, no typos.

npm run verify green; test:coverage green (85.5% stmts, above the 65/70/70/70 thresholds).

memory.ts was 207 lines (>200 bar); extract the six run* verb flows and
their helpers into memory-verbs.ts, leaving memory.ts as thin commander
wiring. No behavior change.
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

🎉 PR Validation ✅ PASSED

Commit: 6eb0e3d722c7acbab4c2122e6529343c43ccf3b4
Branch: chore/review-readiness

Checks:

  • ✅ Release guard (no version/changelog changes)
  • ✅ Dependencies installed
  • ✅ Type check passed
  • ✅ Linting passed
  • ✅ Format check passed
  • ✅ Tests + coverage passed
  • ✅ Build successful

Ready to merge!


🔗 View workflow run
⏰ Generated at: 2026-07-07T22:44:27.158Z

@vreshch
vreshch marked this pull request as ready for review July 7, 2026 22:44
@vreshch
vreshch merged commit ddabd87 into master Jul 7, 2026
3 of 4 checks passed
@vreshch
vreshch deleted the chore/review-readiness branch July 7, 2026 22:44
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