Skip to content

docs(prose): antd v0.7.1 — anvil prereq, daemon flags, chunk external-signer flow#45

Merged
JimCollinson merged 3 commits into
mainfrom
claude/prose-2026-05-16-antd-v071-daemon-flags
May 18, 2026
Merged

docs(prose): antd v0.7.1 — anvil prereq, daemon flags, chunk external-signer flow#45
JimCollinson merged 3 commits into
mainfrom
claude/prose-2026-05-16-antd-v071-daemon-flags

Conversation

@JimCollinson
Copy link
Copy Markdown
Collaborator

Upstream drift addressed

Repo Recorded SHA Head SHA
ant-sdk 529280c e0dfa2c (chore(antd): release v0.7.1)
ant-client 91d5f18 3df6764 (feat/dynamic-stream-decrypt-batch-size)

Source artifacts inspected

  • antd/src/rest/mod.rs — new routes POST /v1/chunks/prepare, POST /v1/chunks/finalize
  • antd/src/rest/chunks.rs — new chunk_prepare and chunk_finalize handlers
  • antd/src/types.rs — new PrepareChunkRequest, PrepareChunkResponse, FinalizeChunkRequest, FinalizeChunkResponse structs
  • antd-go/client.go — new PrepareChunkUpload and FinalizeChunkUpload methods
  • antd-go/models.go — new PrepareChunkResult struct
  • ant-dev/src/ant_dev/cmd_start.py — anvil preflight check added; ant dev start exits if anvil not on PATH
  • ant-dev/src/ant_dev/cli.py--preset flag added (default small); --language choices dynamic
  • ant-cli/src/commands/node/daemon.rs — new BindArgs struct with --port and --listen-addr for ant node daemon start and ant node daemon run
  • ant-sdk/README.md, ant-client/README.md — Foundry prerequisite and flag docs

Developer-facing changes

  1. antd 0.7.1 adds two single-chunk external-signer endpoints: POST /v1/chunks/prepare and POST /v1/chunks/finalize. These enable a single-chunk upload flow that bypasses the full data/file prepare path when the payload fits in one chunk (≤ 4 MiB).
  2. ant dev start now requires Foundry/anvil to be on PATH. Running ant dev start without it exits immediately.
  3. ant node daemon start and ant node daemon run gain --port <PORT> and --listen-addr <IP> flags for binding the daemon to a specific port or interface.
  4. Go SDK gains PrepareChunkUpload / FinalizeChunkUpload methods and the PrepareChunkResult type to match the new REST endpoints.

Files changed

File Reason
docs/guides/set-up-a-local-network.md Added Foundry/anvil to Prerequisites
docs/guides/test-your-application.md Added Foundry install step to CI YAML example
docs/sdk/start-the-local-daemon.md Added Foundry prerequisite for local devnet step
docs/cli/command-reference.md Documented --port and --listen-addr for ant node daemon start
docs/sdk/reference/language-bindings/go.md Added PrepareChunkResult type mapping and method docs
docs/sdk/how-to-guides/use-external-signers-for-upload-payments.md Documented single-chunk external-signer flow (/v1/chunks/prepare + /v1/chunks/finalize)
skills/start/SKILL.md Bumped version, updated health version string, added chunk endpoints to surface list
skills/start/version.json Bumped version and date, updated all verified_commits
skills/start/CHANGELOG.md New [0.1.5-draft] entry

Verification

  • Scanner re-run: status: ok, no failures
  • Linked-release rule: confirmed — SKILL.md body changed → version.json, CHANGELOG.md, and SKILL.md frontmatter all updated
  • New endpoints confirmed in Rust source at e0dfa2c via grep
  • Go types confirmed in antd-go/models.go and antd-go/client.go at e0dfa2c
  • --port/--listen-addr flags confirmed in ant-cli/src/commands/node/daemon.rs at 3df6764

Reviewer note

antd/openapi.yaml does not yet include the new POST /v1/chunks/prepare and POST /v1/chunks/finalize endpoints despite them existing in the Rust source at e0dfa2c. The REST API reference page (docs/sdk/reference/rest-api.md) is generated from openapi.yaml and therefore does not cover these endpoints yet. Please confirm this is intentional before merging — if openapi.yaml is updated upstream, rest-api.md will need a follow-up sweep.

Companion sweep PR: #44


Generated by Claude Code

claude and others added 3 commits May 16, 2026 08:20
…-signer flow

ant-sdk e0dfa2c:
- Set up a Local Network, Test Your Application, Start the Local
  Daemon: add Foundry/anvil as a required prerequisite for `ant dev start`
  (ant-devnet now spawns anvil for the local EVM testnet and fails fast
  when it is absent).
- Use External Signers: document new single-chunk external-signer flow
  via POST /v1/chunks/prepare and POST /v1/chunks/finalize (antd 0.7.0+).
- Go SDK: add PrepareChunkResult to type mappings table and document
  PrepareChunkUpload / FinalizeChunkUpload methods.

ant-client 3df6764:
- CLI Command Reference: document --port and --listen-addr flags on
  `ant node daemon start` (previously undocumented).

Skill 0.1.5-draft:
- Update health response example version to "0.7.1".
- Add POST /v1/chunks/prepare and POST /v1/chunks/finalize to the
  current shared daemon surfaces list.
…eview)

Address PR #45 review:

Medium — Foundry install instructions fail on fresh installs because
`curl ... | bash` writes PATH changes to the shell profile and tells
users to source it or open a new terminal before running `foundryup`.
The `&& foundryup` chain runs foundryup before the PATH update takes
effect, so it fails when foundryup is not yet on PATH.

- docs/guides/set-up-a-local-network.md: split the install into two
  lines, invoke foundryup by full path (~/.foundry/bin/foundryup),
  and add a sentence explaining the shell-profile PATH update so the
  reader knows to open a new terminal or source the profile before
  running `ant dev start`.
- docs/sdk/start-the-local-daemon.md: stop duplicating the broken
  inline command; link to the Set Up a Local Network page for the
  full install steps.
- docs/guides/test-your-application.md: split the CI step into a
  multi-line `run` block and add `echo "$HOME/.foundry/bin" >>
  $GITHUB_PATH` so the `~/.foundry/bin` directory is on PATH for
  every subsequent GitHub Actions step. Without this, the later
  `ant dev start` step would fail the upstream `shutil.which("anvil")`
  check.

Low — Go binding doc claimed only `Address` is populated when
`AlreadyStored` is true; upstream `antd-go/models.go` doc comment at
e0dfa2c says "the only populated fields are Address and AlreadyStored".
Updated the page to match.

Low — "skip payment and finalize" on the chunk-prepare flow is
ambiguous (skip both, or skip payment and then call finalize?).
Reworded to "There is nothing more to do: no payment to make and no
finalize call to issue."

https://claude.ai/code/session_019cz1M7pXuXFQykMZxfdXHm
@JimCollinson JimCollinson marked this pull request as ready for review May 18, 2026 11:20
@JimCollinson JimCollinson merged commit f46735a into main May 18, 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