Decision 0008: three kinds of account, one of each from the start #23
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 296 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.341
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #23"
general
weight: 0.35
b3hr4d
<!-- claude-projects-attribution: {"github_login":"b3hr4d"} -->
_Requested by Behrad · project thread_
Before: adding an account meant picking ICP, an ICRC-1 token or Bitcoin, one token per account. A new wallet had no accounts until an owner added one.
After (once built): an account is of one of three kinds. An Internet Computer account holds ICP and every ICRC-1 token the wallet tracks, a Bitcoin account holds bitcoin, and an EVM account holds the native token of every EVM chain the wallet tracks. Every wallet starts with one account of each kind, and adding another becomes a small link. This PR is only the decision and two plan steps; no code changes.
How: [decision 0008](docs/decisions/0008-account-kinds.md) records what you asked for in the thread and recommends the details:
initandpost_upgrade, so existing wallets gain them on upgrade.bitcoin_network), since the wallet does not know it today.variant { Upgrade }still decodes onceUpgradetakes an optional record, andtry-local.sh --upgradewould pass regtest.Worth your review
Account.chainbecomesAccount.kind, andbalanceandTransferRequestname the asset. Scripts that readAccount.chainneed updating.The plan gains step 16 (Internet Computer accounts and the default accounts) and step 17 (EVM accounts). Step 16 builds on the dashboard (#19).
---
_Generated by Claude Code_