Skip to content

docs: config/dependency inventory + replay & recovery verification runbook#407

Merged
jhfnetboy merged 1 commit into
masterfrom
docs/config-inventory-and-verification
Jul 2, 2026
Merged

docs: config/dependency inventory + replay & recovery verification runbook#407
jhfnetboy merged 1 commit into
masterfrom
docs/config-inventory-and-verification

Conversation

@jhfnetboy

Copy link
Copy Markdown
Member

Two docs:

  • CONFIG_AND_DEPENDENCIES.md (your 'help me inventory what YAA depends on'): every secret/private key, endpoint/service, and chain-config var, tagged 🔴 eliminate (server secret → relay/API-key) / 🟢 user-configurable (AAStar default or your own = decentralization choice) / 🟡 dev-only (must not ship) / ⚙️ runtime flag. Feeds beta security hygiene + the config-center design.
  • REPLAY_AND_RECOVERY_VERIFICATION.md (beta-pre Validator enhancement #3 replay + Feature/validator #1 recovery): these are live/integration flows (funded account, KMS, 2-day timelock) not headless-testable — records the protection mechanism (single-use challenge + 10-min TTL + EntryPoint nonce; guardian flow + timelock) + an owner runbook with verified-by-design vs needs-live-run status.

No code changes.

…nbook

CONFIG_AND_DEPENDENCIES.md: full inventory of YAA's secrets/private keys, endpoints/services,
and chain config, each tagged for the zero-backend target — eliminate (server secret →
relay/API-key), user-configurable (AAStar default OR your own = decentralization choice),
dev-only (must not ship), or runtime flag. Feeds beta security hygiene + the config-center
design.

REPLAY_AND_RECOVERY_VERIFICATION.md: beta-pre #3 (replay) + #1 (recovery) are live/integration
flows (funded account, KMS, 2-day timelock) — records the protection mechanism (single-use
challenge + 10min TTL + EntryPoint nonce; guardian flow + timelock) and an owner runbook with
verified-by-design vs needs-live-run status.
@jhfnetboy jhfnetboy requested a review from fanhousanbu as a code owner July 2, 2026 04:27
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@clestons clestons left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: #407 — docs: config inventory + replay & recovery runbook

纯文档 PR,2 个新 Markdown 文件,无代码变更。

CONFIG_AND_DEPENDENCIES.md

  • 🔴/🟢/🟡/⚙️ 分类与代码现状吻合:DEPLOYER_PRIVATE_KEY 映射自 ETH_PRIVATE_KEY(account.service.ts 中的 config alias),ETH_PRIVATE_KEY 独立作为 recovery 的 executeRecovery() relay key — 均正确标 🔴 eliminate ✓
  • 🟡 dev-only EOA 私钥(PRIVATE_KEY_JASON/ANNI/BOB…)明确标注"must not ship to beta/prod" + 与 DoD #8 secret scan 挂钩 ✓
  • 🟢 endpoints 中指出 lib/api-key-store.ts 已在 migration 分支支持 KMS/bundler URL override,config page 扩展至 RPC+RELAY — 与 #400/#405 代码一致 ✓

REPLAY_AND_RECOVERY_VERIFICATION.md

  • Replay 机制分析准确:KMS single-use challenge(ChallengeId consumed)+ EntryPoint nonce 单调递增两层,app 层无独立单元可测 ✓
  • Recovery 分拆合理:fast-path(add/remove guardian、initiate、support、cancel、replay-rejection)不需 timelock 可立即跑;full execute 需 2-day on-chain timelock → 推到 mainnet 前 ✓
  • 现有 runbook 引用正确(docs/social-recovery-e2e-test.md

无问题项。

APPROVE

轮次 执行者 裁决
R1 Sonnet 4.6 APPROVE(纯文档,内容扎实)

@jhfnetboy jhfnetboy merged commit c4f48ee into master Jul 2, 2026
14 checks passed
@jhfnetboy jhfnetboy deleted the docs/config-inventory-and-verification branch July 2, 2026 04:43
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants