Repository navigation
docs(chain): the CLI binary is citrate-cli, not citrate - #50
Conversation
`cargo build -p citrate-cli` produces `target/release/citrate-cli`; the release tarball ships it under that name too. `citrate` is the node binary. /chain/cli and the deploy-a-contract tutorial told readers to run `citrate <subcommand>`. Every invocation and mention now says `citrate-cli`. Generated content regenerated with build-content.mjs. Signed-off-by: Larry Klosowski <larryklosowski@proton.me> Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019cgBjDQkjCEEZwG1zJNnQi
Matr0xshka
left a comment
There was a problem hiding this comment.
MAC independent reviewer agent, not Codex, not DGX. Reviewed head 0ecd37e.
This is docs only: content/chain/cli.md and the CLI deploy tutorial (+34/-34), plus the regenerated content.ts. Every citrate <subcommand> becomes citrate-cli <subcommand>, and the build note now says target/release/citrate-cli. Both match citrate-chain main's cli/Cargo.toml, which has [[bin]] name = "citrate-cli". There are no other wording changes.
No citrate <cli-subcommand> is left in content/**/*.md. The one remaining citrate contract in content/sdks/python.md is the Python SDK's own citrate console script (citrate_sdk.cli:main), which is correct as written.
P3, follow-up: the tutorial and reference still describe contract deploy and call as eth_sendTransaction. That is accurate for main today, but it will need updating when citrate-chain #471 (the local signer) lands.
No P1. CI is green. Approved.
BerryManifold
left a comment
There was a problem hiding this comment.
MAC independent reviewer agent, not Codex, not DGX. Reviewed head 0ecd37e.
One commit on top of main (which includes #49).
content/chain/cli.md,tutorials/deploy-a-contract-with-the-cli.mdand the regenerated content bundle change the binary namecitratetocitrate-cli, the[[bin]] namein citrate-chaincli/Cargo.toml. The build note now readstarget/release/citrate-cli.- No bare
citrate <subcommand>invocation remains in content/. - Nothing else changed (+36/-36).
P3, follow-up when chain #471 merges: these pages still describe contract deploy/call --account as submitting eth_sendTransaction, and list deploy --args. After #471, writes sign locally (--account is a keystore key, plus --password-file, --yes, fee caps), and a non-empty --args is refused.
CI is green. No P1/P2.
Conflict in content/_generated/content.ts resolved by regenerating it with scripts/build-content.mjs on the merged tree. Signed-off-by: Larry Klosowski <larryklosowski@proton.me> Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FPJzHNqGLdTVoFzde3Sxbw
e56f9d5
Signed-off-by: Larry Klosowski <larryklosowski@proton.me> Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FPJzHNqGLdTVoFzde3Sxbw
SaulBuilds
left a comment
There was a problem hiding this comment.
Independent agent review (sweeper D): APPROVE
Checked:
- Binary name against citrate-chain main (72c8e02): cli/Cargo.toml is package
citrate-cliwith[[bin]] name = "citrate-cli"; node/Cargo.toml has[[bin]] name = "citrate"(the node). release.yml builds-p citrate-cliand copiescitrate-cli$EXEinto the tarball. Socitrate-cliis correct andcitratewas wrong for these pages. - Diff: content/chain/cli.md and the deploy-a-contract tutorial, every
citrate <subcommand>becomescitrate-cli <subcommand>, title updated, the cargo comment now says it produces target/release/citrate-cli. Subcommands and flags unchanged. content/_generated/content.ts is a regenerated +2/-2. Docs only, no code, CI, or dependency changes. - Remaining
citrate <cmd>mentions on the head are the Python SDK's owncitratecommand (sdks/python.md, python-quickstart) andcitrate devnetin start/local-workspace.md, which are different tools and correctly left alone. - All three commits GitHub-verified; main is an ancestor of the head; CI green. Not superseded.
Notes, non-blocking:
- cli/src/main.rs still sets clap
#[command(name = "citrate", ...)], socitrate-cli --helpprints usage ascitrate. That is a chain-side fix, not a docs one; worth an issue on citrate-chain. - Conflicts with docs #53 on content/_generated/content.ts (single-line generated file). Whichever lands second needs a rebase and a re-run of build-content.mjs.
content/_generated/content.ts conflicted with #53 (tokenomics TBD); resolved by regenerating it with scripts/build-content.mjs from the merged sources. Signed-off-by: Larry Klosowski <larryklosowski@proton.me> Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FPJzHNqGLdTVoFzde3Sxbw
SaulBuilds
left a comment
There was a problem hiding this comment.
Independent agent review (sweeper D): APPROVE
Re-review after the main merge, reviewed head c2a79b5. This covers only the merge, since the content was approved earlier. CI note: Analyze (rust) and ci were still in progress when I reviewed. check, build, chain-sync, guardrail and secret-scan are green.
Checked:
- The merge commit c2a79b5 has parents f47b8d5 (the previously reviewed head) and 9fe63ce (current docs main).
- The automatic merge conflicts only in content/_generated/content.ts, and that file was regenerated.
- Against main, the PR still changes only 3 files: content/chain/cli.md, content/chain/tutorials/deploy-a-contract-with-the-cli.md and content/_generated/content.ts.
- Both markdown files have the same blobs at the merge as at the original PR commit 0ecd37e (b0c024a9, 8743b024), and their main-side blobs equal those of the original base. The authored change is therefore unchanged.
- Generated file: I checked out the merge in a read-only clone and ran
node scripts/build-content.mjs(109 pages, 13 sections).git statusis clean afterwards, so content/_generated/content.ts (and content-bodies.ts) match exactly what the script produces from the merged sources. - No other change was introduced. The larger diff from f47b8d5 to the merge is entirely main's content (economics, rewards, lint scripts and others) arriving through the merge.
cargo build -p citrate-cliproducestarget/release/citrate-cli, and the release tarball ships it under that name.citrateis the node binary./chain/cliand the deploy-a-contract tutorial told readers to runcitrate <subcommand>, and said the build "produces thecitratebinary".Every invocation and mention on those two pages now says
citrate-cli, including the page title.content/_generated/content.tswas regenerated withbuild-content.mjs.Checks, after a rebase onto main (#49) and
npm ci:npm run content-lint -- --strictis OK, and vitest gives 156 passed, 4 skipped.Not in this PR: the tutorial still describes
contract deployandcallaseth_sendTransactionwith--account. That changes when citrate-chain#471 (local signer) merges, and I'll update the page then.Found by the r1007 CLI QA pass (citrate-chain#470).
Signed-off-by: Larry Klosowski larryklosowski@proton.me
🤖 Generated with Claude Code
https://claude.ai/code/session_019cgBjDQkjCEEZwG1zJNnQi