Skip to content

feat: CLI agent-readiness optimizations (#268)#291

Merged
OisinKyne merged 8 commits intomainfrom
oisin/cliskill
Mar 26, 2026
Merged

feat: CLI agent-readiness optimizations (#268)#291
OisinKyne merged 8 commits intomainfrom
oisin/cliskill

Conversation

@OisinKyne
Copy link
Copy Markdown
Contributor

Tracking branch for making the obol CLI consumable by AI agents
while preserving human DX. See issue #268 for full plan.

bussyjd and others added 8 commits March 22, 2026 22:49
Tracking branch for making the obol CLI consumable by AI agents
while preserving human DX. See issue #268 for full plan.
7-phase plan to make the obol CLI consumable by AI agents
while preserving human DX: structured output, input hardening,
schema introspection, dry-run, field masks, CONTEXT.md, and MCP.
Bugs fixed:
- signer.go: check HTTP status before JSON decode in SignTransaction/SignTypedData
- signer.go: guard tx.To() nil in RemoteTransactOpts (prevents panic)
- signer.go: add 30s timeout to RemoteSigner HTTP client
- sponsor.go: use signer's HTTP client instead of http.DefaultClient
- client.go: ChainID() returns defensive copy of *big.Int

Tests added (11 new):
- signer: HTTP error responses (500, 502, 503), SignTypedData server error
- sponsor: non-JSON HTTP error, unsupported network, full SponsoredRegister integration
- wallet_resolve: corrupted wallet.json, namespace resolution edge cases
Signed-off-by: Oisín Kyne <4981644+OisinKyne@users.noreply.github.com>
@OisinKyne OisinKyne merged commit 277eafa into main Mar 26, 2026
6 checks passed
@OisinKyne OisinKyne deleted the oisin/cliskill branch March 26, 2026 18:49
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