Repository navigation
docs(adr): close operator-key-rotation §6 deferred hot-signing alternatives - #557
Conversation
…atives The two "deferred design decisions" in appendix-operator-key-rotation §6 are both obsoleted by ADR 024 §3 smartsessions: - Hardware-wallet / HSM hot signing is confirmed infeasible per ADR 012 § Consequences — 2-5s physical confirmation latencies cannot match per-MB voucher cadence. - Delegated voucher-signer contract path (#190) is similarly superseded — smartsessions provides the same hot-signing capability without a bespoke contract. Replaces the "Deferred design decisions:" bullet with an explicit "out-of-scope production hot-signing alternatives" paragraph stating that smartsessions is the only supported production hot-signing path. Closes #545. #190 can be closed as a follow-up.
There was a problem hiding this comment.
Code Review
This pull request updates the 'appendix-operator-key-rotation.md' ADR to clarify that hardware-wallet and HSM-backed voucher signing are infeasible due to latency, designating ERC-7579 smart sessions as the exclusive production path. The reviewer suggests removing historical context and references to dropped features, such as issue #190, to keep the documentation canonical and focused on the current design.
| - **Deferred design decisions:** | ||
| - Hardware-wallet-based hot signing for production EOA operators ([ADR 012 §HW-wallet pattern](012-client.md)). The runbook assumes software keystores; HSM/HW-wallet flows are a deployment concern. | ||
| - Delegated voucher-signer support for clients without smart-account migration (tracked as the unresolved item in [#190](https://github.com/decdn/decdn/issues/190)). | ||
| - **Out-of-scope production hot-signing alternatives.** Hardware-wallet and HSM-backed voucher signing are confirmed infeasible per [ADR 012 § Consequences](012-client.md#consequences) — physical confirmation latencies of 2–5 seconds per signature cannot keep up with the per-MB voucher cadence. A separate delegated-voucher-signer contract path (previously tracked as the unresolved item in [#190](https://github.com/decdn/decdn/issues/190)) is similarly superseded. The production hot-signing path is [ADR 024 §3 `erc7579/smartsessions`](024-account-abstraction.md#3-session-keys--deferred-to-production-via-erc-7579-smartsessions) exclusively; no other production hot-signing pattern is supported. |
There was a problem hiding this comment.
The inclusion of historical narratives and references to dropped features (such as the 'delegated-voucher-signer contract path' and the reference to issue #190) violates the general rule for maintaining canonical documentation. ADRs and their appendices should focus on the current design and its constraints rather than the history of how those decisions were reached. This context is better suited for the pull request description or issue discussions.
| - **Out-of-scope production hot-signing alternatives.** Hardware-wallet and HSM-backed voucher signing are confirmed infeasible per [ADR 012 § Consequences](012-client.md#consequences) — physical confirmation latencies of 2–5 seconds per signature cannot keep up with the per-MB voucher cadence. A separate delegated-voucher-signer contract path (previously tracked as the unresolved item in [#190](https://github.com/decdn/decdn/issues/190)) is similarly superseded. The production hot-signing path is [ADR 024 §3 `erc7579/smartsessions`](024-account-abstraction.md#3-session-keys--deferred-to-production-via-erc-7579-smartsessions) exclusively; no other production hot-signing pattern is supported. | |
| - **Out-of-scope production hot-signing alternatives.** Hardware-wallet and HSM-backed voucher signing are confirmed infeasible per [ADR 012 § Consequences](012-client.md#consequences) — physical confirmation latencies of 2–5 seconds per signature cannot keep up with the per-MB voucher cadence. The production hot-signing path is [ADR 024 §3 erc7579/smartsessions](024-account-abstraction.md#3-session-keys--deferred-to-production-via-erc-7579-smartsessions) exclusively; no other production hot-signing pattern is supported. |
References
- Avoid including historical narratives, iteration details, or information about dropped features in canonical documentation (e.g., ADRs). Such context should reside in issue discussions or merge commit messages to maintain a clean record of the current design.
Closes #545.
The two "deferred design decisions" at Appendix: Operator Key Rotation § 6 are both obsoleted by ADR 024 §3 smartsessions:
Replaces the
Deferred design decisions:bullet with an explicit "out-of-scope production hot-signing alternatives" paragraph stating that ADR 024 §3erc7579/smartsessionsis the only supported production hot-signing path.Follow-up: #190 can be closed now that this PR formally supersedes it.