Skip to content

docs: shaped docs tree for #47 - #50

Merged
sephynox merged 13 commits into
cursor/docsrs-asn1-ro-repro-9305from
cursor/docs-phase1-issue-47-d858
Sep 21, 2026
Merged

sephynox merged 13 commits into
cursor/docsrs-asn1-ro-repro-9305from
cursor/docs-phase1-issue-47-d858

Conversation

@sephynox

@sephynox sephynox commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Relates to #47. Closes #47. Stacked on #49 / cursor/docsrs-asn1-ro-repro-9305.

Docs markdown only on this tip. Does not reopen #48. Does not change product behavior, build.rs, tests, CI, Cargo.toml, or A7 rustdoc.

Tip: c85b298468215172d6c1c3890befbc55527f6a3a.

Layout

Each product crate holds a useful docs/README.md (purpose, Quickstart, at least two labeled examples from rustdoc or tests) and a real docs/ARCHITECTURE.md (internal design, at least one keyword-safe Mermaid diagram, collaboration, positive feature contracts). keetanetwork-node and keetanetwork-ledger keep a minimal stub docs/README.md only. Workspace docs/README.md is the TOC. Central docs/crates/ is gone.

Architecture and crate docs

docs/ARCHITECTURE.md keeps the workspace collaboration graph and the signed-write interaction path.

Every product Architecture page now names module responsibilities, draws at least one Mermaid diagram, and states inbound/outbound crate boundaries. Architecture pages carry no fenced rust or JavaScript examples.

docs/STANDARD.md requires those Architecture sections and at least two labeled README examples.

A7 rustdoc on keetanetwork-account, keetanetwork-asn1, keetanetwork-block, and keetanetwork-client is unchanged on this tip.

What landed

  • Root README.md is a thin pointer. Release build is make build release=1.
  • docs/STANDARD.md declares Requirements Language once. Product Architecture must include internal design plus Mermaid. Product READMEs must include at least two labeled examples.
  • docs/README.md indexes workspace pages and each crate docs/ entry.
  • docs/ARCHITECTURE.md draws keyword-safe Mermaid ids and walks account, block, vote, client, and host ABI collaboration.
  • docs/QUICKSTART.md matches the repository Makefile / rust-toolchain.toml, states the Packages/PAT gate and the cargo-only path, and cites existing KeetaClient and BlockBuilder rustdoc examples.

A5-A8 evidence

Criterion Status Evidence
A5 Quickstart matches Makefile and states Packages gate plus cargo-only path Done docs/QUICKSTART.md tables developer, build, build release=1, check, test, test-feat, test-all, build-wasm / test-wasm, build-wasi / test-wasi, do-docs / do-docs-ci, and release as publish. Packages: keetanetwork-utils/node-harness/.npmrc plus PAT read:packages. Cargo-only: cargo check / cargo build and tests that do not enable node-harness.
A6 Architecture cites real paths and symbols Done Workspace collaboration graph plus per-crate internal-design Mermaid. Interaction prose cites real crates, compile_error! gates, and keetanetwork-client/openapi/keetanet-node.yaml. Crate architecture lives under each crate docs/.
A7 Public surfaces: short snippet plus GitHub line links Done Engineer rustdoc on eb68369, preserved through this tip. Existing KeetaClient / BlockBuilder / VoteBuilder / wasm examples kept. Client and block crate rustdoc link into tests/e2e.rs and user_signing.rs. asn1 rustdoc matches compile_error! at-least-one.
A8 Docs-only stacked PR, TW self-check, closes #47 Done This PR. Closes #47.

TW self-check

Check Result
Inclusion test Done. STANDARD holds the inclusion and shape contract. Overview is the TOC. Architecture holds the collaboration graph and interaction path. Crate docs/ARCHITECTURE.md holds internal design, Mermaid, and neighbor boundaries. Stub crates have a minimal README only. Quickstart holds the install, test, Packages, and first-use procedure. Zero concept files. Zero node or ledger product Architecture pages.
Page shape Done. Every shaped workspace docs/ page and every crate docs/ARCHITECTURE.md has Title, Abstract, Purpose, Body, Falsified by, in that order. Root README stays a thin pointer. Product crate docs/README.md holds purpose, Quickstart, and at least two examples.
Register Done. Overview, Architecture, crate architecture, and STANDARD are Concept. Quickstart is Implementation.
Falsified by Done. Each shaped page names the code or tree changes that invalidate it.
Requirements Language Done. Declared once in docs/STANDARD.md. No per-page repeat. Root README uses plain English.
Banned words / compliance claims Done. No mirror / parity / bake / wire / seam / escape hatch. No STE or RFC compliance claim.
Examples Product READMEs carry at least two labeled fenced examples copied from rustdoc or tests. Architecture pages are design-only.
Layout Done. Standard is docs/STANDARD.md with no TOC. Overview is docs/README.md and carries the crate docs TOC. Workspace Architecture is docs/ARCHITECTURE.md. Crate architecture lives under keetanetwork-*/docs/.
Open in Web Open in Cursor 

cursoragent and others added 3 commits September 21, 2026 22:04
Replace the root README command dump with a thin pointer into docs/.
Add STANDARD, Overview, Architecture, and Quickstart shells. Correct
the release-build command to make build release=1.

Co-authored-by: Tanveer Wahid <sephynox@users.noreply.github.com>
Record Makefile test, wasm, WASI, and rustdoc targets. State the
GitHub Packages gate and the cargo-only path. Cite KeetaClient and
BlockBuilder rustdoc examples. Expand crate-boundary contracts and
rejected alternatives. Drop unfilled concept pages from the Overview
living map.

Co-authored-by: Tanveer Wahid <sephynox@users.noreply.github.com>
Point KeetaClient and BlockBuilder GitHub line links at the Phase 2
substance commit so the citations follow this branch tip.

Co-authored-by: Tanveer Wahid <sephynox@users.noreply.github.com>
@cursor cursor Bot changed the title docs: Phase 1 shaped docs tree for #47 docs: shaped docs tree for #47 Sep 21, 2026
@sephynox
sephynox marked this pull request as ready for review September 21, 2026 22:09
cursoragent and others added 10 commits September 21, 2026 22:11
Restate asn1 der/rasn as at-least-one to match compile_error!.
Keep existing KeetaClient and BlockBuilder examples and add GitHub
line links into e2e and user_signing tests. Name Architecture
account identities on the account crate rustdoc.

Co-authored-by: Tanveer Wahid <sephynox@users.noreply.github.com>
Replace the member roster and Cargo.toml-edge diagram with split
forces, illegal states, SSOT homes, and rejected alternatives.
Soften Overview so it does not become a second roster.

Co-authored-by: Tanveer Wahid <sephynox@users.noreply.github.com>
Replace the ban-list Architecture with a collaboration graph and
signed-write interaction path. Add docs/crates notes for the twelve
product crates and index them on Overview.

Co-authored-by: Tanveer Wahid <sephynox@users.noreply.github.com>
Point Architecture and Overview at Cargo.toml members and the crate
note TOC. Drop the Overview version column so crate versions stay
in each Cargo.toml.

Co-authored-by: Tanveer Wahid <sephynox@users.noreply.github.com>
Point Quickstart at the repository Makefile. Point STANDARD prose
and rustdoc example links at Makefile, Cargo.toml, rust-toolchain.toml,
or the cited source files in the repository.

Co-authored-by: Tanveer Wahid <sephynox@users.noreply.github.com>
Place product-crate architecture under keetanetwork-*/docs/ARCHITECTURE.md
with a thin docs/README.md entry. Stub node and ledger get a minimal
README only. Overview is the TOC into those paths. Delete docs/crates/.

Co-authored-by: Tanveer Wahid <sephynox@users.noreply.github.com>
The living map lists only pages that exist. STANDARD still states
when a future concept page may land.

Co-authored-by: Tanveer Wahid <sephynox@users.noreply.github.com>
Replace three-line crate docs entries with purpose, feature and
test commands, and an inline rustdoc or test example. Keep node
and ledger stub READMEs minimal.

Co-authored-by: Tanveer Wahid <sephynox@users.noreply.github.com>
Remove Architecture Example sections and fenced code. Move the
stronger x509 builder and WASI seed-to-account snippets onto those
crate READMEs.

Co-authored-by: Tanveer Wahid <sephynox@users.noreply.github.com>
Rewrite every product crate Architecture as internal design plus a Mermaid collaboration diagram. Add at least two labeled rustdoc or test examples to each product README.

Co-authored-by: Tanveer Wahid <sephynox@users.noreply.github.com>
@sephynox
sephynox added this pull request to stack #51 September 21, 2026 23:07
@sonarqubecloud

Copy link
Copy Markdown

@sephynox
sephynox merged commit 521d714 into main Sep 21, 2026
8 checks passed
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.

Add documentation consistent with other KeetaNetwork repos

3 participants