Skip to content

Make the README a front page and drop the prototype label - #60

Merged
GCdePaula merged 1 commit into
mainfrom
docs/readme-front-page
Nov 20, 2026
Merged

GCdePaula merged 1 commit into
mainfrom
docs/readme-front-page

Conversation

@GCdePaula

Copy link
Copy Markdown
Member

The README held the API contract, the operator guide and a "Prototype Limits" section. It is now a front page: what the sequencer does, what the repository contains, and a table of the documents that own each contract.

  • docs/api.md takes the wire contract unchanged apart from heading levels and link paths; openapi.yaml points at it.
  • docs/running.md collects subcommands, configuration, the L1 endpoint, exit codes (now with 2 and 101), supervision (moved from the watchdog deployment guide) and upgrades.
  • The sequencer is no longer called a prototype; the wallet is the toy example application, in prose and crate descriptions.

Migration policy

0001_schema.sql stays one baseline with no forward migrations (AGENTS.md).
A release that changes the schema says so in its release notes, and operators cross it with a cockroach rebuild (upgrades). The release checklist in release.yml gains that rule.

Smaller fixes

  • just run, which called the binary without a subcommand, is deleted; just devnet-for-watchdog is now just devnet, which the README quick start uses.
  • The release tarball's stale RUNNING.md (single-phase example, devnet key) now links docs/running.md at the tag.
  • The --checkpoint-dump-dir help no longer says a bare dumps/<id>/ suffices; the rebuild also needs checkpoint.toml.

Validation

  • No broken relative links or anchors across tracked Markdown (498 checked).
  • cargo check --workspace, cargo fmt --check and the redocly lint of openapi.yaml pass.
  • Code changes are comments and one help string; no crate reads CARGO_PKG_DESCRIPTION, so the crate description edits reach no binary or image.
  • Tests were not rerun, and the upgrade procedure has not been rehearsed.

Conflicts

#59 rewrites the old README and docs/recovery/cockroach.md, so rebasing it over this will conflict, and its setup --base flow will need the upgrade steps updated.

The README owned the API contract, the operator guide, and a "Prototype Limits" section. It is now a front page: what the sequencer does, what the repository contains, the trust and recovery model, and a table of the documents that own each contract.

docs/api.md takes the wire contract unchanged, and openapi.yaml points at it. docs/running.md collects invocation, configuration, the L1 endpoint, exit codes (now including 2 and 101), supervision (moved from the watchdog deployment guide), and upgrades.

The sequencer is no longer called a prototype, and the wallet is the toy example application in prose and crate descriptions. AGENTS.md's migration policy keeps one baseline schema with no forward migrations: a release that changes the schema says so in its release notes, and operators cross it with a cockroach rebuild. The release checklist gains that rule, and the tarball's stale RUNNING.md now links docs/running.md at the tag.

`just run`, which invoked the binary without a subcommand, is gone, and `just devnet-for-watchdog` is now `just devnet`. The --checkpoint-dump-dir help no longer says a bare dumps/<id>/ directory suffices, since the rebuild also needs checkpoint.toml.
@GCdePaula
GCdePaula requested a review from stephenctw November 18, 2026 01:31

@stephenctw stephenctw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@GCdePaula
GCdePaula merged commit 0b4f512 into main Nov 20, 2026
5 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.

2 participants