Bug
packages/cli/src/config.ts silently swallows JSON parse errors from .plotlinkrc. Users with a typo in their config get "Missing private key" instead of a helpful parse error.
Fix:
- Catch JSON parse errors explicitly
- Log: "Error parsing .plotlinkrc: . Check your JSON syntax."
- Then fall back to env vars
Rules for T3:
- NEVER store keys/secrets in plain text files without .gitignore protection
- NEVER hardcode addresses, keys, or sensitive values
- Communicate via AgentChattr MCP chat by tagging agents (@t1, @T2A, @t2b). Your terminal is NOT visible to other agents.
Checklist:
Bug
packages/cli/src/config.tssilently swallows JSON parse errors from.plotlinkrc. Users with a typo in their config get "Missing private key" instead of a helpful parse error.Fix:
Rules for T3:
Checklist:
npm run lintandnpm run typecheckpass