Document ant file download --all-peers diagnostic flag#65
Draft
JimCollinson wants to merge 1 commit into
Draft
Conversation
ant-client gained a download peer-diagnostics mode: `ant file download` accepts `--all-peers` (alias `--try-all-peers`), which downloads the file as usual and then fetches each chunk from every selected closest peer and prints ranked per-peer results. The number of peers swept per chunk comes from `--peers`, defaulting to the client close-group size, and the results are emitted as a `chunk_peer_check` object under `--json`. Adds the flag to the `ant file download` parameter table and a diagnostic example, and refreshes the page verification stamp to the audited commit. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L4BB5P1sFk9RkYi78L1YMA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upstream
4d044845→3ab50c44Source artifacts inspected
ant-cli/src/commands/data/file.rsupstream (theFileAction::Downloadclap definition,handle_file_download, anddownload_peer_check_count) at3ab50c44.Developer-facing change
ant file downloadgained an--all-peersflag (alias--try-all-peers). It downloads the file as usual and then fetches each chunk from every selected closest peer, printing ranked per-peer results. The number of peers swept per chunk comes from--peers(default: the client close-group size), and with--jsonthe results are emitted as achunk_peer_checkobject on the download result.Files changed in this PR
docs/cli/command-reference.md: added the--all-peersrow to theant file downloadparameter table, a diagnostic example, and refreshed the ant-client verification stamp to3ab50c44.Why prose changed
docs/cli/command-reference.md: theant file downloadcommand surface added a new flag. The new row and example trackant-cli/src/commands/data/file.rsat3ab50c44, matching the existingant chunk get --all-peersdiagnostic documentation on the same page.Verification run
3ab50c44: the#[arg(long, alias = "try-all-peers")] all_peers: boolfield,download_peer_check_count(defaulting toclient.config().close_group_size), and thechunk_peer_checkJSON field all confirmed present.python3 scripts/sweep_poll.pyon this branch:status: "ok";docs/cli/command-reference.mdis no longer drifted. (The other 34 drifted records on this branch are the sweep pages, stamped on the linked sweep PR's branch.)docs/cli/command-reference.mdchanged; noskills/,scripts/,.github/, or registry files touched, so no linked skill-release fields apply.Deferred ambiguous records: none.
Uncertainties
Generated by Claude Code