Skip to content

Docs refresh: a short README front page and docs pages (T381) - #298

Merged
erickb336 merged 12 commits into
mainfrom
sage/t381-docs
Oct 24, 2026
Merged

erickb336 merged 12 commits into
mainfrom
sage/t381-docs

Conversation

@erickb336

@erickb336 erickb336 commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

What this is

The README is now a short front page for a first-time visitor (125 lines), and the reference material moved to docs pages that GitHub renders. This implements the approved T381 plan (problems F1 to F12), with the owner's later cut to about 120 to 150 lines and a worked example for Learn sage. The branch has current main merged in, and the screenshots and board text show the final board (after PRs 300 and 302).

What changed

  • README (before: 605 lines, 109,890 bytes; now: 125 lines): hero and a 2-sentence pitch (Claude Code, Codex support in progress), status table, requirements by provider, quick start with what you see, one board screenshot (sample data), a short phrase table, safety and limits in 3 rows, 5 What's new lines with the upgrade warning and a link to the changelog, a Learn more list, and credits and licence in 2 lines.
  • Learn sage in 5 minutes (docs/guide/learn-sage.md): the loop graphic, then one small task from the on phrase to a merged pull request, in 7 steps, with 4 board screenshots from a sample logbook. Quoted board text is what the board code prints for the sample; the chief's own words are described, not invented. The old walkthrough graphic is removed: the example replaces it.
  • F2: everywhere, the on phrase is sent as a message of its own: README, guides, sage-help skill.
  • Moved: rules held in code → docs/design/rules-in-code.md; What's new items → CHANGELOG.md (dated); board, Remote Control, usage, how it works, concepts, principles, FAQ and credits → docs/guide/; folders and the pstack sync → CONTRIBUTING.md. The build writes the word table into docs/guide/concepts.md and the principles table into docs/guide/principles.md.
  • New: docs/README.md (index), docs/guide/using-sage.md, docs/guide/codex.md, SECURITY.md (points to private vulnerability reporting, which is on), CONTRIBUTING.md.
  • Converted: docs/design/sage-mode.html and docs/runs/dry-run-1.html to Markdown, each marked as dated.
  • Checks in npm run check: README at most 150 lines and 15,000 bytes, at most 5 What's new items, the first-screen check, a local check of every relative link and #anchor in the README, the docs and the sage-help skill, and the board PNGs with their sample-data hash. The word check reads the docs pages, and Mermaid blocks in Markdown.
  • Screenshots: scripts/board-shots.mjs renders the built board from two fixtures (SAMPLE DATA, labelled on each image) in Playwright's Chromium.

Since the pause: the final board

  • The six screenshots are taken again from the final board. The sample logbooks did not change, so board-shots.json keeps the same hash.
  • docs/guide/board.md: the Needs you items with no card (a stuck program also before approval, a missing program, an unreadable provider folder), the loop wait, the chat's Programs counts, short decision lines, "Program not found", a theme switch on each snapshot page, and the parent page for a page over 8 MB.
  • README: show board starts the board page and gives its address; a What's new line for the logbook problems that the board names.
  • CHANGELOG.md: 2026-10-22 entries for the board polish (PR 300) and the board data rules (PR 302).
  • The readme-checks test fills What's new from the real count, so it holds for any README with 1 to 5 items.

Verification

  • npm run build leaves no diff; npm run check passes.
  • Each alone: scripts/readme-checks.test.mjs (6 pass), scripts/dictionary.test.mjs (29 pass), scripts/principles-table.test.mjs (4 pass), scripts/sage.test.mjs (245 pass).
  • 29 board sentences that the README, the board guide and Learn sage quote were checked against what the final board prints for the sample logbooks (chat text and page text): all match.

🤖 Generated with Claude Code

erickb336 and others added 3 commits October 21, 2026 20:12
…hold them (T381)

- README: about 230 lines of text (was 603 raw lines), in the plan's order: pitch,
  status and requirements tables (Claude Code supported, Codex in progress), a quick
  start with what you see after each step, the board with a sample-data screenshot,
  safety and limits, 5 What's new items and a link to the changelog.
- The on phrase is sent as a message of its own everywhere (F2), also in the
  walkthrough graphic's title and the sage-help skill's prompt.
- Moved: the rules held in code to docs/design/rules-in-code.md, 27 What's new
  items to CHANGELOG.md, the board, Remote Control and usage detail to docs/guide/,
  the pstack sync to CONTRIBUTING.md. New: docs/guide/codex.md, docs/README.md,
  SECURITY.md, uninstall, how to stop a task, and troubleshooting.
- The design page and dry run 1 are Markdown now, so GitHub renders them; the word
  check reads a Mermaid block in Markdown as it read the page.
- npm run check: a README line and byte budget, at most 5 What's new items, the
  first-screen check, a local check of every relative link and anchor in the README
  and the docs, and the board screenshots with their sample-data hash.
- scripts/board-shots.mjs takes the screenshots from the sample logbook in
  Playwright's Chromium, light and dark.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner feedback: the README was too verbose. It now holds only the pitch, status,
requirements, quick start, one board screenshot, a short phrase table, safety in
3 rows, 4 What's new lines, a Learn more list, and credits and licence in 2 lines.

- Learn sage in 5 minutes is one worked example on its own page: the loop, then one
  small task from the on phrase to a merged pull request, with 4 board screenshots
  from a sample logbook (scripts/fixtures/board-walkthrough.mjs). The old
  walkthrough graphic is gone; the example replaces it.
- How it works, concepts, principles and the FAQ with the credits moved to
  docs/guide/; the folders table to CONTRIBUTING.md. The build writes the word table
  into docs/guide/concepts.md and the principles table into docs/guide/principles.md.
- The graphics check takes a graphic shown in the README or in any docs page.
- The README budget is 150 raw lines and 15,000 bytes. The link check also reads
  the sage-help skill, and its links to this repository's main branch on GitHub.
- sage-help reads and links the guide pages.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The owner paused the README update until the board follow-up tasks are done, so
that the screenshots and the text show the final board. Everything so far is in the
two commits before this one; this empty commit marks the pause.

Left for the next run: take the screenshots again from the final board (run
scripts/board-shots.mjs), check the board text in README.md, docs/guide/board.md
and docs/guide/learn-sage.md against the final board, and run build, check and
the changed test files again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@erickb336 erickb336 changed the title Docs refresh: a short README front page, docs pages, and checks that hold them (T381) WIP (paused): docs refresh, a short README front page and docs pages (T381) Oct 22, 2026
@erickb336
erickb336 marked this pull request as draft October 22, 2026 03:47
erickb336 and others added 2 commits October 24, 2026 10:33
…og for PRs 300 and 302 (T381)

- Take the six board screenshots again from the final board (scripts/board-shots.mjs, SAMPLE DATA).
  The sample logbooks did not change, so board-shots.json keeps the same hash.
- docs/guide/board.md: the Needs you items with no card (a stuck program also before approval, a
  missing program, an unreadable provider folder), the loop wait, the chat's Programs counts (a
  dropped program with tasks keeps its line), short decision lines, "Program not found", one theme
  switch on each snapshot page, and the parent page for a page over 8 MB.
- README: show board starts the board page and gives its address (it opens no browser); a What's
  new line for the logbook problems that the board names.
- CHANGELOG: 2026-10-22 entries for the board polish (PR 300) and the board data rules (PR 302).
- readme-checks test: fill What's new up to 6 items from the real count, so the test holds for
  any README with 1 to 5 items.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@erickb336 erickb336 changed the title WIP (paused): docs refresh, a short README front page and docs pages (T381) Docs refresh: a short README front page and docs pages (T381) Oct 24, 2026
@erickb336
erickb336 marked this pull request as ready for review October 24, 2026 17:59
erickb336 and others added 7 commits October 24, 2026 11:28
…age shots, GitHub anchors (T381)

- README: an H1 title, the pitch says who sage is for, and the pitch, status and
  quick start link come before the hero; "show status"; every phrase on one page;
  only your own message turns a mode on; Claude Code install and folder trust.
- Using sage: an "Every phrase" section with the board and status forms; the exact
  board stop command; the login service, the installed copy and the pages folder
  in the uninstall steps and in "Where sage keeps things"; the cached plugin files
  and the chief-of-staff setting.
- Learn sage: shorter paragraphs; lead, choice card and gate explained; one clean
  cycle for a small task with no risk flag, in the text and in the sample; the chief
  records the merge; links to the install steps and Remote Control.
- Board shots: each Learn sage shot is the task's column at phone width; the SAMPLE
  DATA label takes its own line and covers no board text.
- Hero: send the on phrase "as a message of its own".
- readme-checks: an underscore stays in a slug, a taken slug gets the next free
  suffix (github-slugger), and a bad % escape is a problem, not a crash; with tests.
- The dictionary, AGENTS.md and the readme-guide skill name the real scope of the
  word check, the Concepts word table, and a linked page as a section.
- rules-in-code: no claim that merges stay paused until T99.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… tasks, emphasis anchors (T381)

- using-sage.md: the phrase rules, the lead and the models in short
  paragraphs, lists and tables; uninstall step 1 names the newest cache
  folder and what to do on a sage without --stop.
- README board shot: the top of the board at phone width and 2x, light
  and dark, with the SAMPLE DATA label on its own line.
- Tiny tasks: Learn sage, How it works, Using sage and the lifecycle
  graphic say that a tiny task has no review and no QA, and is clean
  when its checks pass.
- readme-checks slug: drops the "_" and "__" of emphasis as GitHub
  does, and keeps an underscore in a word or in code; with a test.
- CONTRIBUTING: NODE_PATH is the node_modules folder itself.
- FAQ: uninstall points to the full steps.
- sage skill: no claim that merges wait for T99.
- Design page: an agent's text never turns a mode on.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…iny-task story (T381)

- Split every paragraph over 3 sentences in the README and docs/guide into
  short paragraphs and lists (board, faq, how-it-works, principles).
- npm run check now fails on a paragraph of more than 3 sentences in the
  README or docs/guide. Code blocks, lists, tables, quotes and code spans do
  not count. A unit test and the end-to-end check test cover it.
- The dictionary's autopilot line, the concepts page and the chief's
  instructions now say what state.mjs does: a small task needs 1 clean
  cycle, a large task or a risk flag needs 2, and a tiny task without a risk
  flag has no review and no QA, so it is clean when its checks pass.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…, board shot text, long cells (T381)

- Uninstall step 1 takes the version from claude plugin list, not ls -t (R1401-1).
- An install from before 2026-10-11 fails with "Cannot find module" (R1407-2).
- Report text never turns autopilot on; at worst it turns it off (R1404-3), in the
  dictionary (rebuilt), the FAQ and the design page.
- The team table has two columns and a note, so it fits a phone (R1406-1).
- The example request is a blockquote, not a code block (R1406-2).
- The README board caption says what the screenshot shows (R1406-3).
- Five cells and items cut to 3 sentences or fewer (R1406-5).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…oard words (T381)

- rules-in-code: text in an agent's report never turns a mode on; at worst
  it turns autopilot off (R1410-1). CHANGELOG: a "Replaced later" note on
  the older entry, and "five chosen changes" for What's new (R1409-2).
- using-sage Uninstall step 1: start from the board phrase, use the
  Version line under sage@sage, two short commands, the old-install note
  from the error, and a line for an uninstalled sage (R1411-1..3, R1412-1..2).
- board guide: plain words for the chat and browser views' logbooks, the
  Codex board commands and what the board server does not do (R1411-4).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ena row (T381)

- Uninstall step 1: one stop line that runs nothing for a pasted placeholder
  and gives "Cannot find module" for a wrong version; stop before the cache
  goes; no old-install note.
- Step 3 and the FAQ summary: the board folder only if it exists; the FAQ
  lists the board folder and the agent line.
- The logbook continues on the same Mac; a phone follows with Remote Control.
- board.md says the chief; codex.md: the Codex chat board reads only the
  Codex logbook; the lead cap line says what the hook and the chief do.
- README and SECURITY: a tiny task without a risk flag needs only its checks.
- The arena words in Every phrase; the owner note above the Concepts table;
  the sample command moves to CONTRIBUTING.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ief (T381, R1433-1)

The hook sets sage mode on at each event of a session whose agent setting
is the chief (sage-hook.mjs handle(), the CHIEF test on agent_type). So in
a folder with that setting, the off phrase gives no normal session. The
guide section on that setting now says so and says how to leave: remove the
line and start a new session. The off rows in the README and the guide, the
stop list in the guide and the sage-help row point to it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@erickb336
erickb336 merged commit 424adfd into main Oct 24, 2026
1 check passed
@erickb336
erickb336 deleted the sage/t381-docs branch October 24, 2026 20:55
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