Skip to content

feat: scaffold standalone aavegotchi-cli foundation#1

Merged
cinnabarhorse merged 6 commits intomainfrom
codex/agcli-foundation
Feb 27, 2026
Merged

feat: scaffold standalone aavegotchi-cli foundation#1
cinnabarhorse merged 6 commits intomainfrom
codex/agcli-foundation

Conversation

@cinnabarhorse
Copy link
Copy Markdown
Member

@cinnabarhorse cinnabarhorse commented Feb 27, 2026

Summary

  • completed the full v1 agent-first CLI foundation for Aavegotchi Base-era automation
  • added signer backend coverage beyond env:
    • readonly
    • env:<ENV_VAR>
    • keychain:<accountId> with encrypted local key store (AGCLI_KEYCHAIN_PASSPHRASE)
    • remote:<url|address|authEnv> with HTTP signer protocol
    • ledger:<path|address|bridgeEnv> via bridge command protocol
  • added signer management commands:
    • signer check
    • signer keychain import|list|remove
  • extended bootstrap with signer backend config flags:
    • --signer-address
    • --signer-auth-env-var
    • --signer-bridge-env-var
  • strengthened tx execution engine:
    • generic signer runtime abstraction for all signer backends
    • pre-submit balance sufficiency check
  • completed parity routing behavior:
    • mapped write aliases now route regardless of stub-root gating
    • added missing domain roots (auction, staking, gotchi-points) to stub/read support
  • prepared npm package metadata for public install:
    • package name set to aavegotchi-cli
    • publishConfig.access=public
    • clean build output before packaging (rm -rf dist)
  • added CI + release workflows:
    • .github/workflows/ci.yml
    • .github/workflows/release.yml
  • kept Base-era scope excluding raffle/ticket flows

Test Plan

  • npm run typecheck
  • npm test
  • npm run build
  • npm run parity:check
  • npm run ag -- help
  • NPM_CONFIG_CACHE=/tmp/aavegotchi-cli-npm-cache npm pack --dry-run
  • AGCLI_HOME=/tmp/agcli-e2e-final npm run ag -- bootstrap --mode agent --profile prod --chain base --signer readonly --json
  • AGCLI_HOME=/tmp/agcli-e2e-final AGCLI_KEYCHAIN_PASSPHRASE=passphrase-123 AGCLI_PRIVATE_KEY=0x1111111111111111111111111111111111111111111111111111111111111111 npm run ag -- signer keychain import --account-id bot --private-key-env AGCLI_PRIVATE_KEY --json
  • AGCLI_HOME=/tmp/agcli-e2e-final npm run ag -- signer keychain list --json
  • AGCLI_HOME=/tmp/agcli-e2e-final AGCLI_KEYCHAIN_PASSPHRASE=passphrase-123 npm run ag -- bootstrap --mode agent --profile bot --chain base --signer keychain:bot --json
  • AGCLI_HOME=/tmp/agcli-e2e-final AGCLI_KEYCHAIN_PASSPHRASE=passphrase-123 npm run ag -- signer check --profile bot --json
  • AGCLI_HOME=/tmp/agcli-e2e-final npm run ag -- auction bid --json (expected typed error: MISSING_ARGUMENT for --abi-file, confirms alias routing)

Publish Status

  • attempted: NPM_CONFIG_CACHE=/tmp/aavegotchi-cli-npm-cache npm publish --access public
  • blocked by npm credentials in this environment:
    • E403 403 Forbidden - PUT https://registry.npmjs.org/aavegotchi-cli - You may not perform that action with these credentials.

Preview

  • N/A (CLI repository; no Vercel app)

@cinnabarhorse cinnabarhorse merged commit c2b8d7f into main Feb 27, 2026
1 of 2 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.

1 participant