Skip to content

docs: doc-keeper drift sweep (experimental snapshot) - #189

Closed
EVWorth wants to merge 1 commit into
mainfrom
docs/doc-keeper-snapshot-2026-07-19
Closed

EVWorth wants to merge 1 commit into
mainfrom
docs/doc-keeper-snapshot-2026-07-19

Conversation

@EVWorth

@EVWorth EVWorth commented Jul 19, 2026

Copy link
Copy Markdown
Owner

⚠️ Experimental — Not for direct merge

This PR is a snapshot of drift fixes the doc-keeper agent produced in a dry-run test. The test was killed mid-run by timeout, so no formal .doc-keeper-report.md was written. Review the diff per-file before deciding what to do.

Why this PR exists

Validates the doc-keeper agent works end-to-end (B from our roadmap). Captures the agent's findings for human review before they disappear.

Drift the agent found + fixed

File Fix
docs/design/TESTING_STRATEGY.md Test MySQL ports 3307/3308/3309 → 13306/13307/13308 (matches docker-compose.test.yml + CI service) — exactly the drift the earlier reviewer flagged. Plus seed path, healthcheck retries, container names.
docs/design/ARCHITECTURE.md Removed unbuilt Excel/XML exporter rows, added note about 4 actual formats. Updated store tree: dropped schemaStore/uiStore (don't exist), added favoritesStore/themeStore (do exist).
README.md Test counts 1465 → 1488+, 36 → 45 (matches current CI output). Added ai/ and querybuilder/ component dirs. mas-sqlite now mentioned for history storage.
docs/design/TECH_DECISIONS.md 39 lines of updates (see diff)
docs/design/DESIGN_REQUIREMENTS.md 20 lines of updates (see diff)
.opencode/AGENTS.md 2 lines (see diff)

Net: ~88 insertions, ~73 deletions across 6 files. Well under the 2000-line diff guardrail.

Caveats

  • No .doc-keeper-report.md written (script killed before reaching that step)
  • Changes not verified by doc-keeper's own review
  • .opencode/AGENTS.md edit may overlap with docs: reference check-release-readiness.sh in release flow #187's release-flow docs work
  • This is a snapshot — review per-file, don't just squash-merge

Recommendation

Two options:

A. Discard this PR, use it as a learning exercise. Fix the --dry-run script (branch BEFORE agent, not after), then re-run cleanly. End up with proper per-file PRs from doc-keeper.

B. Cherry-pick the fixes into proper shrink PRs — one per file (ARCHITECTURE.md shrink, TESTING_STRATEGY.md fix, DESIGN_REQUIREMENTS.md annotate, README.md refresh). Each with a proper .doc-keeper-report.md. Slower but cleaner.

My pick: B, with the script fix as a separate small PR.

Related

  • Script fix (separate PR coming): test/doc-keeper-dry-run branch
  • Roadmap: A from earlier list (doc-shrink sprint) — this is the dogfooding validation
  • Earlier review finding on TESTING_STRATEGY ports: same drift this snapshot fixed

Snapshot of drift fixes found in dry-run test 2026-07-19. See PR body for full diff explanation.
@EVWorth

EVWorth commented Jul 19, 2026

Copy link
Copy Markdown
Owner Author

Superseded by per-file PRs (same drift fixes, cleaner review experience):

Plus #190 (script safety fix) from same doc-keeper validation cycle.

Close this snapshot PR — review the per-file ones instead.

@EVWorth EVWorth closed this Jul 19, 2026
@EVWorth
EVWorth deleted the docs/doc-keeper-snapshot-2026-07-19 branch July 19, 2026 03:16
EVWorth added a commit that referenced this pull request Jul 19, 2026
Two fixes for scripts/doc-keeper-sweep.sh:

1. Checkout the work branch BEFORE the agent runs (not after).
   Previously, if the agent was killed mid-run (timeout, Ctrl-C,
   OOM), partial changes landed on main's working tree — exactly
   what happened during the dry-run test that produced PR #189's
   snapshot. Branching first isolates agent edits to a throwaway
   branch even when the script is interrupted.

2. Add .doc-keeper-report.md to .gitignore. The report is a
   per-run artifact regenerated each sweep; not source. Without
   the ignore entry, accidental commits were possible.

Refs:
  - #189 (snapshot branch — doc-keeper dry-run findings, for review)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant