Skip to content

docs: Rewrite the README and DEVELOPMENT - #291

Merged
pterw merged 5 commits into
mainfrom
docs/readme-development-rewrite
Oct 31, 2026
Merged

pterw merged 5 commits into
mainfrom
docs/readme-development-rewrite

Conversation

@pterw

@pterw pterw commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

Summary

Rewrites README.md and DEVELOPMENT.md from the owner's brief (2026-10-31). Plan: docs/superpowers/plans/2026-10-31-readme-development-rewrite.md.

  • README (991 to about 390 lines): what ScrobbleScope does and why it is built this way, on the first screen. It covers the two pipelines (Top Albums; the listening heatmap and streamgraph) with a diagram, graceful degradation when a provider or the cache fails, the metadata cache's real role with one dated measurement, the Fly.io cost ceiling (under $5 a month) and how it shaped the engineering, and the tech stack. The September changelog and the roadmap are gone. Four new screenshots, small and side by side, plus the owner's light-mode heatmap and streamgraph export.
  • DEVELOPMENT (1009 to about 325 lines): a contributor's guide. Setup links the README; then each tool is shown running, with its command and a short excerpt of its real output: the app, the database cache, the test suites, pre-commit, docsync, the worktree guard, the Tailwind build, the frontend browser gate, CI and the probes.
  • docs/AGENT_DOC_MAP.md describes DEVELOPMENT's new role.

Every fact in both pages comes from a reviewed facts file, each fact with its source path. The cache measurement was taken once on a development machine with a local database (flounder14, 2025): cold median 42.2 s, warm median 13.9 s. The README states it once, dated. The six old screenshots in docs/images/ stay as a record of the design before the page-by-page migration; nothing references them.

State

Task What Commit Review
-- Plan 419c800, 76421c8 needs fixes, then approved
-- Take main in (PR #290) ee66a88 approved
1-3 Facts file, screenshots, cache measurement (workspace outputs) -- Wave 0 review: one fact corrected by a controller erratum
4 README 2728d4e needs fixes, then approved; landing approved
5 DEVELOPMENT fb4c96d needs fixes, then approved; landing approved

The two rewrites ran as parallel code phases in separate worktrees, each gated by its own gate runner, and landed one at a time, each landing gated again.

Validation at this head

Docs and images only, so the gates are scoped to the change (owner ruling 2026-10-31): pre-commit run --all-files and doc_state_sync.py --check pass at each landing. The README's docsync-declared fact (last 365 days) still matches; every link and image resolves; no banned words; ASCII only. The suite was not re-run (no code changed); the pin stays 3169 passed. The README's diagram was rendered and validated.

Codex: waived by the owner until the usage limits reset. CI: green at this head (run 41237096141): changes decided docs-only, browser was skipped, checks 3009 passed, 4 skipped, 156 deselected, quality-gate passed. Codacy 0 new issues, qlty no blocking issues, no open review threads.

Checklist

  • pytest -q passes (update SESSION_CONTEXT Section 1 if test count changed) -- not re-run: docs only
  • pre-commit run --all-files passes (all hooks)
  • python scripts/doc_state_sync.py --check exits 0
  • PLAYBOOK Section 3 reflects current WP/task state
  • PLAYBOOK Section 4 has a dated log entry:
    - Batch WP: inside DOCSYNC:CURRENT-BATCH-START/END markers
    - Side task: after DOCSYNC:CURRENT-BATCH-END marker
  • Changes are within scope of the active batch definition
    (or deviation is logged in the Section 4 entry)

pterw added 5 commits October 31, 2026 15:08
The owner asked for a README and DEVELOPMENT rewrite with fresh
screenshots, a dated cache measurement and no September changelog or
roadmap. The plan fixes a facts file as the interface both writers
read, lists the gate traps, and slices the work into Wave 0 inputs and
two parallel code phases landed in turn.
The review found overlapping Wave 0 outputs, an undefined image
hand-off, a cache run with no guard against production, tools the
repository does not track and no Wave 0 review. Task 3 now writes its
own file and runs on a local database only, the screenshots land with
the README as a binary patch, and the README carries no changelog.
…nt-rewrite

Conflicts resolved:
- docs/agents/PLAYBOOK.md Section 4: kept both entries after the
  CURRENT-BATCH-END marker, this branch's plan entry first, then main's
  F-B23-66 clause entry, each with its own Deviations and Validation.
- docs/agents/FINDINGS.md merged cleanly, taking main's F-B23-66 text.
- doc_state_sync.py --fix re-rotated the log archive (index and page
  0037); the manifest was not hand-edited.
- Count sites stayed at 3169; no code changed on this branch.
Rewrites the README around the three pipelines, graceful degradation,
the metadata cache (with a dated cold/warm measurement), the Fly.io cost
ceiling and the stack, with four small light-theme screenshots. Drops
the changelog, September and roadmap sections.

Landing rulings: the Charts row states only how the charts are built
(L1), ragged lines rewrapped (L2), author contacts use the Term form
(L3). The plan restores the owner's "very stale", points the raw cache
figures at cache-measurement.md and ticks Tasks 1 to 4 (W4). The six
older images are left in place, unreferenced.
…shows each tool running

DEVELOPMENT.md goes from 1009 lines to a guide that takes a contributor
from setup to a passing test run and shows each tracked tool with a real
output excerpt. Stale history, skills and manual-release claims are
dropped; the headings the README links are kept.

Landing extras: the worktree-guard text says WT010 warns on uncommitted
or untracked files; both DEVELOPMENT.md descriptions in
docs/AGENT_DOC_MAP.md match the new page; plan boxes ticked; PLAYBOOK
entry added and docsync rotated one older entry to the log archive.
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@pterw
pterw marked this pull request as ready for review October 31, 2026 20:06
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-31T20:06:04.247590Z
We couldn’t complete this review. Comment @codex review to try again.
fb4c96d Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@pterw
pterw merged commit b45a0d7 into main Oct 31, 2026
6 checks passed

@graphify-labs graphify-labs Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Graphify reviewed this change.

No issues found by static checks — no coupling regressions or blocking issues in the code graph. That is not the same as safe to merge: see what was not checked.

Not checked: tests were not run; no formal proof of the changed code.


Graphify review — findings

Rewrites DEVELOPMENT.md and README.md as shorter guides that walk a new contributor from a fresh clone to a passing test run, then show each dev tool (docsync, worktree alignment, Tailwind build, frontend gate, pre-commit) with a captured excerpt of its real output. Moves the agent-orchestration methodology out of DEVELOPMENT.md, leaving it explanatory only, with AGENTS.md still owning the rules. Adds docs/agents pages: a document map covering which docs are current truth versus dated audit reports (never edited), and a playbook that archives completed batches, lists the active one last, and logs the README/DEVELOPMENT rewrite plan.

Review partial — this diff was larger than one review pass covers, so later files were not reviewed; some findings may be missing.

Analysis details — impact, health, verification

Impact & health

Graphify review

Impact — 64 functions depend on the 64 functions this change touches.

Health — grade A; no new coupling hotspots.

Verification — 64 functions in the blast radius were not formally verified this run (proofs are advisory here).

Gate & verification

graphify gate

PASS — objectively clean (no health regressions, tests not run — proofs not run this pass (advisory)). Grounded, not self-assessed.

Advisory (not blocking):

  • verification_scope: 64 function(s) in the blast radius were not formally verified this run

@pterw
pterw deleted the docs/readme-development-rewrite branch October 31, 2026 20:10
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