Skip to content

docs(readme): overhaul README for v1 branch#421

Merged
Bisht13 merged 9 commits into
v1from
us/v1-readme-overhaul
May 7, 2026
Merged

docs(readme): overhaul README for v1 branch#421
Bisht13 merged 9 commits into
v1from
us/v1-readme-overhaul

Conversation

@wryonik
Copy link
Copy Markdown
Collaborator

@wryonik wryonik commented Apr 23, 2026

Summary

Replaces the flat demo-instructions README on the v1 branch with a structured, professional document using the same conventions applied to main in #420.

  • Quick links row under the header (Getting Started, Examples, Contributing, Issues)
  • Mermaid architecture diagram and crate table
  • End-to-end ## Example section using noir-examples/basic-4 — all four commands (nargo compileprepareproveverify) verified locally with nargo v1.0.0-beta.11
  • Getting Started as collapsible steps
  • Profiling as a table (Tool / Measures / Command)
  • Acknowledgements section explaining what each dependency contributes to ProveKit, grounded in the source code
  • No banner image (no assets/ on this branch)

v1-specific correctness fixes included:

  • generate-gnark-inputs uses ./prover.pkp (v1 CLI takes the prover key, not verifier key)
  • Noir version pinned to v1.0.0-beta.11
  • No --compiler mavros option (not present in v1 CLI)
  • Skyscraper described as BN254, not M31/CM31

Test plan

  • nargo compile on noir-examples/basic-4 — clean with v1.0.0-beta.11
  • Full prepareproveverify pipeline — exit code 0

Replaces the flat demo-instructions README with a structured, technical
document following the same conventions as the main branch overhaul.

- Add quick links row (Getting Started, Examples, Contributing, Issues)
- Add Mermaid architecture diagram and crate table
- Add end-to-end Example section using noir-examples/basic-4 — all four
  commands verified locally with nargo v1.0.0-beta.11
- Structured Getting Started as collapsible steps
- Profiling section as a table with Tool / Measures / Command columns
- Acknowledgements section explaining what each dependency contributes
- Fix generate-gnark-inputs to use prover.pkp (correct for v1 CLI)
- Fix skyscraper description: M31/CM31 -> BN254
@wryonik wryonik requested a review from Bisht13 April 23, 2026 00:10
wryonik and others added 8 commits April 23, 2026 10:55
Remove filler intro from Acknowledgements, break the uniform capitalisation
pattern in dependency bullets, add explicit nargo version pin, and replace
the ### Circuit inspection heading with a contextual prose line.
The v1 README now carries over the product-positioning fixes from the README PR while keeping v1-specific facts intact: Noir compiles to R1CS, WHIR proofs are generated and verified through the Spartan-style R1CS path, SIMD field arithmetic and memory-efficient behavior are highlighted without calling ProveKit mobile-optimized, FFI host languages are named, and recursive verification is described in terms of the v1 prover-key/proof export flow for on-chain Groth16 wrappers.\n\nConstraint: PR #421 targets v1 and uses generate-gnark-inputs with a prover key, not a verifier key.\nRejected: Cherry-pick the main-branch README commits verbatim | the v1 README structure and CLI facts differ.\nConfidence: high\nScope-risk: narrow\nTested: git diff --check -- README.md\nNot-tested: Full README example pipeline; rendered GitHub Markdown preview.
The v1 README now maps the requested workspace crates and relevant repository surfaces explicitly: common, r1cs compiler, prover, verifier, CLI, benchmark, FFI, gnark export, verifier server, NTT, recursive verifier, Skyscraper, and Noir examples. The old combined rows were split and the stale gnark-whir path was replaced with real v1 paths.\n\nConstraint: User requested the repository-map additions for PR #421 and v1 correctness.\nRejected: Keeping a Crates-only heading | noir-examples and recursive-verifier are relevant repository surfaces but not Rust crates.\nConfidence: high\nScope-risk: narrow\nTested: git diff --check -- README.md; verified requested paths exist in v1 worktree.\nNot-tested: Rendered GitHub Markdown preview.
The v1 README now follows the same public structure as the main README: title, product positioning, Why ProveKit, Quick Start, command reference, How It Works, example circuit, repository map, advanced usage, project status, contributing, acknowledgements, and license. The content keeps v1-specific CLI facts intact, including nargo v1.0.0-beta.11, explicit compiled-artifact prepare input, circuit_stats, and generate-gnark-inputs using a prover key plus proof.\n\nConstraint: PR #421 targets v1, whose CLI differs from main and does not use the main branch zero-arg prepare/prove/verify flow.\nRejected: Copy main README verbatim | would introduce incorrect v1 CLI claims such as main-style defaults and verifier-key recursive export wording.\nConfidence: high\nScope-risk: narrow\nTested: git diff --check -- README.md; verified referenced local links and v1-specific CLI command names/arguments.\nNot-tested: Full nargo/provekit example execution; rendered GitHub Markdown preview.
The README PR now merges the latest v1 branch so GitHub can merge it cleanly, while resolving the README conflict in favor of current v1 CLI behavior. The refreshed README documents zero-argument prepare/prove/verify defaults, the circuit-stats command rename, prover-key based gnark input export, and the same public section skeleton used by the main README.

Constraint: PR #421 targets v1 after the CLI defaults and compile-flow updates landed.

Rejected: Rebase/force-push the PR branch | a normal merge preserves collaborator history and fixes conflicts without rewriting the branch.

Confidence: high

Scope-risk: narrow

Tested: git diff --cached --check; cargo check -p provekit-cli; verified README links and CLI command names against source.

Not-tested: Full Noir prepare/prove/verify run; rendered GitHub Markdown preview.

Co-authored-by: OmX <omx@oh-my-codex.dev>
@Bisht13 Bisht13 merged commit 87c96b7 into v1 May 7, 2026
2 of 3 checks passed
@Bisht13 Bisht13 deleted the us/v1-readme-overhaul branch May 7, 2026 12:08
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