Skip to content

Make README the project introduction; move component write-ups to docs/components.md - #248

Merged
yihanzhu merged 3 commits into
mainfrom
ystack/docs/readme-as-introduction
Sep 6, 2026
Merged

Make README the project introduction; move component write-ups to docs/components.md#248
yihanzhu merged 3 commits into
mainfrom
ystack/docs/readme-as-introduction

Conversation

@yihanzhu

@yihanzhu yihanzhu commented Sep 6, 2026

Copy link
Copy Markdown
Owner

README.md had grown to 943 lines, 29 of its 36 sections being the "Inactive …" component write-ups that construction PRs appended above the actual introduction, which started around line 390. The operator asked for README to be the project introduction again.

What this does:

  • README.md is now 351 lines: intro, construction-mode note, the current default team, the loop, design decisions, model policy, a compact "Components (all inactive)" index (one row per component with its exact title, path, one line, and a link), portable contract validator, layout, rollout. Three bloated passages were tightened; no substance removed from the loop or design decisions.
  • docs/components.md holds every component write-up moved verbatim (same headings, text, and order; tail -n +22 docs/components.md is byte-identical to lines 19–644 of the previous README), with a preamble stating the convention: future construction PRs add their write-up there and one index row to README.
  • RESTORE.md sends the restorer to docs/components.md too; ci/required-files.txt lists it (appended at the end because the schema guard pins a digest over the manifest's leading block); the Layout section names it and a stale "see below" was corrected.

Nothing else changes. No test was modified: the six suites that grep README for exact phrases still find them in the index rows.

Note for the merge queue: PR #247 adds one more README section (alternative profile assembly); when it merges, that section moves to docs/components.md plus an index row.

Proof run on e652e24:

  • control-policy-set, control-foundation-rollup, control-duty-separation, control-evidence-integrity, portable-core-v2-fake-forge, portable-core-assembly: all pass run alone
  • bash scripts/test/portable-core-schema.test.sh → failures: 0 (after commit)
  • bash scripts/check-rename.sh clean
  • cmp of the moved text against the previous README slice

🤖 Generated with Claude Code

…nts.md

README had grown to 943 lines, and 29 of its 36 sections were "## Inactive
<component>" write-ups that construction PRs appended above the actual
introduction. Everything a newcomer needs first — what ystack is, the team, the
loop, the design decisions, the model policy, the layout, the rollout — started
past line 640. README should be the project's introduction, so the write-ups
move to their own file and README keeps a short index.

What changed:

- README is an introduction again (351 lines). It keeps the existing intro
  sections, adds a short construction-mode paragraph up top, and carries one
  compact "Components (all inactive)" index: one row per component with its
  exact section title, its path, a one-line description, and a link to its
  write-up.
- docs/components.md is new. It holds all 29 "## Inactive ..." sections moved
  verbatim (same headings, same text, same order) behind a short preamble that
  says everything there is inactive and repo-only, and that a future
  construction PR adds its write-up there plus one row to README's index.
- ci/required-files.txt lists docs/components.md, RESTORE.md points the restorer
  at it, and README's Layout block names it.

The manifest entry is appended at the end of ci/required-files.txt rather than
next to README.md in the top-docs block: portable-core-schema.test.sh pins a
digest over the manifest's first 89 lines, so an insert there is a false
failure.

Proof:

- bash scripts/check-rename.sh — clean.
- No test changed. The six tests that grep README for exact strings pass alone:
  control-policy-set (61), control-foundation-rollup (23),
  control-duty-separation (56), control-evidence-integrity (75),
  portable-core-v2-fake-forge (45/45), portable-core-assembly (34/34 findings,
  279/279 legacy assertions).
- bash scripts/test/portable-core-schema.test.sh — failures: 0.
- tail -n +22 docs/components.md is byte-identical to lines 19-644 of README on
  origin/main, so the write-ups moved without an edit.

The moved sections carry no core generation id and no schema import, so
docs/components.md needed no entry in the portable-core-schema allowlist.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 6, 2026

Copy link
Copy Markdown

Deploying ystack with  Cloudflare Pages  Cloudflare Pages

Latest commit: f82bb13
Status: ✅  Deploy successful!
Preview URL: https://ac1ce841.fabrica-6yx.pages.dev
Branch Preview URL: https://ystack-docs-readme-as-introd.fabrica-6yx.pages.dev

View logs

@yihanzhu

yihanzhu commented Sep 6, 2026

Copy link
Copy Markdown
Owner Author

Codex reviewer (cross-vendor, read-only)

Reviewed-head: 008fcb9
Reviewed-base: eedbde0
reviewer: gpt-5.5 @ high

Posted verbatim by codex-review.sh (codex exec review --json --base refs/codex-review/248-2005/base in an isolated temp worktree, sandbox forced read-only). Comments only — Codex never pushes, approves, or merges.

The refactor mostly preserves the README content in a new component document, but it accidentally drops the offline delivery replay component write-up and index entry. That is a substantive documentation loss for a restore-critical component.

Review comment:

  • [P2] Restore the offline delivery replay write-up — /var/folders/rm/bkx4f4b91vqfn79vk02pcd140000gn/T/tmp.nXxCe9vimb/docs/components.md:99-99
    When moving component write-ups out of README, the ## Inactive offline delivery replay section for delivery/v1/replay.py was dropped instead of being copied into docs/components.md and indexed in README. That leaves one existing component without its restore/authority notes, which matters for the repo's documented full-backup goal (AGENTS.md:68-72).

The delivery replay section reached README through the merge with main after
this branch was cut, and the merge resolution dropped it. It now lives in
docs/components.md in its original position with an index row in README.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@yihanzhu

yihanzhu commented Sep 6, 2026

Copy link
Copy Markdown
Owner Author

Codex reviewer (cross-vendor, read-only)

Reviewed-head: f82bb13
Reviewed-base: eedbde0
reviewer: gpt-5.5 @ high

Posted verbatim by codex-review.sh (codex exec review --json --base refs/codex-review/248-6280/base in an isolated temp worktree, sandbox forced read-only). Comments only — Codex never pushes, approves, or merges.

The change moves the inactive component write-ups into a dedicated document, updates README/RESTORE references, and adds the new file to the required-files manifest. I did not find any correctness, restore, or link consistency issue introduced by the patch.

@yihanzhu
yihanzhu merged commit fae1848 into main Sep 6, 2026
2 checks passed
@yihanzhu
yihanzhu deleted the ystack/docs/readme-as-introduction branch September 6, 2026 16:46
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