Skip to content

feat: close SDK compose/runtime/preflight parity gaps#13

Draft
unarbos wants to merge 135 commits into
mainfrom
orch/agcli-parity/fix-p1-sdk-power-surface
Draft

feat: close SDK compose/runtime/preflight parity gaps#13
unarbos wants to merge 135 commits into
mainfrom
orch/agcli-parity/fix-p1-sdk-power-surface

Conversation

@unarbos

@unarbos unarbos commented May 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • add SDK parity command surfaces:
    • agcli utils compose-call
    • agcli view runtime-api call
    • agcli utils validate-extrinsic-params
  • wire new CLI enums and dispatch paths (ViewCommands::RuntimeApi, new UtilsCommands variants)
  • implement handlers in src/cli/sdk_cmds.rs for dynamic call composition, runtime API querying, and extrinsic-parameter preflight validation
  • add focused unit tests for JSON arg parsing and mortal-era validation rules
  • flip the six P1 SDK matrix rows from GAP to COVERED_CLI_ONLY for async+sync compose_call, query_runtime_api, and validate_extrinsic_params

Verification

  • SKIP_METADATA_FETCH=1 cargo check --bin agcli
  • SKIP_METADATA_FETCH=1 cargo build --release --bin agcli
  • SKIP_METADATA_FETCH=1 cargo test --lib sdk_cmds::tests:: -- --nocapture
  • target/release/agcli utils compose-call --help
  • target/release/agcli view runtime-api call --help
  • target/release/agcli utils validate-extrinsic-params --help
  • target/release/agcli utils validate-extrinsic-params --nonce 1 --era mortal --mortality-blocks 64 --tip 0.1 --output json

Notes

  • This PR closes the requested Step 4c command-surface GAPs and updates matrix mappings accordingly.
  • Runtime API calls are implemented via subxt dynamic runtime API payloads and return both raw SCALE hex and decoded values in JSON output.
Open in Web Open in Cursor 

cursoragent and others added 30 commits May 28, 2026 15:11
… mission

Co-authored-by: Arbos <unarbos@users.noreply.github.com>
…rBase=main

Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
…ngRef to root branch

Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
…variants; preserve failure handoff

Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
…gh-fast (others reject at API)

Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
unconst and others added 30 commits May 29, 2026 08:18
Co-authored-by: Arbos <unarbos@users.noreply.github.com>
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.

3 participants