Skip to content

docs(readme): slim README to quickstart, move details to docs - #410

Merged
mogul merged 3 commits into
mainfrom
docs/readme-slim-down
Aug 27, 2026
Merged

docs(readme): slim README to quickstart, move details to docs#410
mogul merged 3 commits into
mainfrom
docs/readme-slim-down

Conversation

@mogul

@mogul mogul commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Stacked on #387. Base is docs/npm-install-fresh-macos (that PR's head). Please review/merge after #387 lands; gh stack sync will re-parent this onto main once #387 merges.

Context

We've been simplifying the language and streamlining the process, but README.md had grown to 537 lines and buried the 3-step quickstart under conceptual and developer-oriented material. That hurts the primary audience: a non-technical, first-time-CLI user who has likely never done development work on their workstation.

This PR strips the README to the essentials and moves everything non-essential into other files (not just README subsections).

What changed

The README drops from 537 to 235 lines. Content moved to existing docs rather than deleted:

Moved out of README New home
How It Works internals (kits, key injection, pre-validation, model selection) docs/CONCEPTS.md
Customizing your setup + Advanced: extra kits docs/CONCEPTS.md
Optional Integrations (web UI, editors) docs/CONCEPTS.md
Direct package-manager install, manual clone install, tagged-release notes docs/howto/acq.md (new "Installing acq" section)
"What's in This Repo" file-map CONTRIBUTING.md
Deep troubleshooting (USAi expiry, DNS, unverified commits, stale branch) already in docs/KNOWN_FAILURE_MODES.md; README now points there

Kept inline (per review): the three-repo ecosystem "you are here" table, the "Why Sandboxes?" bullets, the 3-step quickstart, and the two first-run traps a newcomer actually hits (wrong-folder ./acq, Command Line Tools / Dock).

Verification transcript

Run in the acq sandbox:

Check Result
npm run lint:md (markdownlint-cli2, same rules as CI) 0 issues in 0 files
markdownlint on touched files (README, CONCEPTS, acq.md, CONTRIBUTING) 0 issues
README relative links + cross-doc anchors resolve (#installing-acq, #msb-host-setup, #multiple-workspaces, #step-2-install-acq) all present
Referenced files exist (AGENTS.md, CONTRIBUTING.md, docs/*) all present
gitleaks protect --staged no leaks found
gh stack view --json base = docs/npm-install-fresh-macos (#387)

Rollback

Revert this branch/PR. Docs-only; no runtime behavior changes.

Security impact

None. No auth/authz, dependency, or code changes; documentation reorganization only.


AI-assisted (OpenCode). Human owner: @mogul.

@mogul
mogul requested a review from a team as a code owner August 27, 2026 07:14
@mogul
mogul force-pushed the docs/readme-slim-down branch from 57e1a3e to b0a7dbb Compare August 27, 2026 18:47
Base automatically changed from docs/npm-install-fresh-macos to main August 27, 2026 18:51
wz-gsa
wz-gsa previously approved these changes Aug 27, 2026

@wz-gsa wz-gsa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Adversarial review — LGTM, verified this is a clean content move with no silent loss

This is the risk class where a big README reorg (+230/-348) most often goes wrong — content quietly dropped, or an anchor left dangling after a heading rename. I checked both, not just skimmed the diff.

Content-loss check — traced all 4 removed troubleshooting blocks to their actual destination, not just "there's a link now":

  • Expired-USAi-key manual rotation — the literal 4-step console click-path is gone verbatim, but the automatic rotation flow it described is documented with more nuance elsewhere (placeholder-preservation caveats, ADR-0008 ref). Functionally covered, not a byte-for-byte relocation. Non-blocking, noted below.
  • msb DNS resolution (ACQ_MSB_DNS_NAMESERVER) — byte-for-byte equivalent already lives at docs/BACKEND_GUIDE.md#dns--name-resolution (pre-existing, untouched). No loss.
  • "Commits show Unverified" — fully intact at KNOWN_FAILURE_MODES.md#22, which is a superset of the README version (adds ADR-0007/0021 links + msb/sbx parity note). No loss.
  • "Pulled a branch, acq behaves like the old version" — fully intact at KNOWN_FAILURE_MODES.md#24, superset of the README version. No loss.

Anchor-link integrity — checked every internal #anchor touched or introduced by this diff, GitHub-slugified by hand: all 13 pass, including the self-referential ones inside the same file. Confirmed Step 2: Install acq really does slugify to step-2-install-acq (the one I most wanted to see with my own eyes).

Nice catch by the author, worth calling out: the moved "How It Works" content in docs/CONCEPTS.md doesn't just copy the old README text — it fixes two anchors that this same PR's rename would otherwise have broken (#troubleshooting → the correct KNOWN_FAILURE_MODES.md#22-... and howto/acq.md#rotate-your-usai-key). That's the right way to do a section rename alongside a content move.

"What's in this repo" table — moved cleanly to CONTRIBUTING.md with zero duplication (README no longer carries a copy), gained a legitimate install.sh row, and all 13 listed paths verified to exist. No dangling entries.

Found while checking anchors — a genuinely dead, pre-existing link, NOT introduced by this PR: docs/BACKEND_GUIDE.md:67 points at ../README.md#step-2-install-sbx-cli, which doesn't exist (confirmed the line is untouched by this diff — git diff on that file is empty). Filed as #415 rather than blocking this PR on it.

Non-blocking

  • .markdown-link-check.json's gnu.org/parallel ignore-pattern addition is unrelated to the content move — same "CI-config rider in a feature PR" pattern flagged on patterns #391. Harmless here, but worth splitting into its own commit/PR going forward for clean disclosure.
  • The manual USAi-key-rotation click-path (console → Rotate → copy → paste) has no single verbatim home anymore; consider restoring it as an explicit callout in docs/howto/acq.md for users who want the manual path outside the automatic flow.

CI (Markdown Lint, Link Check, pre-commit, Conventional Commit Title) all green. Approve.

AI-assisted (OpenCode).

@mogul

mogul commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

I'll try to be better about this going forward, but I'm going to leave it in.

  • The manual USAi-key-rotation click-path (console → Rotate → copy → paste) has no single verbatim home anymore; consider restoring it as an explicit callout in docs/howto/acq.md for users who want the manual path outside the automatic flow.

I'll add a section about recognizing when your key is expired and how to rotate it on the host without restarting your sandbox.

mogul added 3 commits August 27, 2026 12:37
The README had grown to 537 lines and buried the 3-step quickstart under
conceptual and developer-oriented material, hurting the primary audience: a
non-technical, first-time-CLI user.

Trim the README to the essentials and relocate detail to existing docs:

- How It Works internals, Customizing, Advanced: extra kits, and Optional
  Integrations -> docs/CONCEPTS.md
- Direct package-manager install, manual clone install, and tagged-release
  notes -> docs/howto/acq.md (new "Installing acq" section)
- "What's in This Repo" file-map -> CONTRIBUTING.md
- Deep troubleshooting (USAi expiry, DNS, unverified commits, stale branch)
  already lives in docs/KNOWN_FAILURE_MODES.md; README keeps only the two
  first-run traps a newcomer hits (wrong-folder ./acq, Command Line Tools) and
  points to KNOWN_FAILURE_MODES.md for the rest

Kept inline per review: the three-repo ecosystem "you are here" table and the
"Why Sandboxes?" bullets.

Co-authored-by: OpenCode [claude_4_8_opus] <bret.mogilefsky@gsa.gov>
The Link Check job failed on https://www.gnu.org/software/parallel/ (status 0 —
connection failure), a pre-existing link in CONTRIBUTING.md's local-dev notes.
GNU's site is intermittently unreachable from the CI runner. Add it to the
markdown-link-check ignore patterns so a transient GNU outage can't fail the
docs check.

Co-authored-by: OpenCode [claude_4_8_opus] <bret.mogilefsky@gsa.gov>
Add a 'Rotate your USAi key' section to docs/howto/acq.md that points at the
in-place ./acq usai-rotate-api-key subcommand (no session restart, which the
sbx backend handles poorly), covers the console Rotate/copy path, and notes
attach-time rotation as secondary. Point the README's rotation mention at it and
cross-link Known Failure Modes §20 for truncated-copy rejections.

Co-authored-by: OpenCode [claude_4_8_opus] <bret.mogilefsky@gsa.gov>
@mogul
mogul force-pushed the docs/readme-slim-down branch from 414fce4 to 7d0f22b Compare August 27, 2026 19:37
@mogul
mogul merged commit b8ae749 into main Aug 27, 2026
4 checks passed
@mogul
mogul deleted the docs/readme-slim-down branch August 27, 2026 19:41

@wz-gsa wz-gsa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Re-approve after the push (prior approval auto-dismissed). Both non-blocking notes from my first review are addressed: the manual USAi key-rotation click-path is restored in docs/howto/acq.md (with a nice addition — clarifying no session restart is needed), and the gnu.org/parallel ignore-pattern now has its own disclosed commit message rather than riding silently. Nothing else changed. Still approve.

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.

2 participants