Repository navigation
feat: batch emergency pause timelock, runbook and access matrix - #841
Merged
misrasamuelisiguzor-oss merged 2 commits intoOct 23, 2026
Merged
misrasamuelisiguzor-oss merged 2 commits into
misrasamuelisiguzor-oss merged 2 commits into
Conversation
- WHEELBACK#780: resume_all cooling-off delay (min_delay_secs, ResumeTooEarly) - WHEELBACK#804: emergency pause incident runbook with CLI - WHEELBACK#805: access matrix for operators, timelock, emergency pause, templates
|
@orunganiekan Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
misrasamuelisiguzor-oss
merged commit Oct 23, 2026
406614a
into
WHEELBACK:main
5 of 20 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Batch: emergency pause timelock, runbook and access matrix
Summary
Single cohesive branch covering the emergency-pause workstream:
resume_allafter an emergency pause #780 —resume_alltimelock:resume_all(env, admin, min_delay_secs)now enforces a minimum cooling-off period measured fromget_emergency_paused_at.0means no delay (backward compatible); otherwisenow < paused_at + min_delay_secsreturns newWorkflowError::ResumeTooEarly = 14. Also adds missingDataKey::AlreadyPausedstorage key referenced by the fan-out skip-list.docs/incident-response.mdwith target configuration (initialize_emergency_pausevalidation,MAX_PAUSE_TARGETS), triggeringemergency_pause_all(all-or-nothing), verification (get_emergency_paused_at+ per-targetis_paused), and resuming withmin_delay_secsCLI commands, plus failure-mode table.docs/access-control-matrix.mdaudited against allpub fns; adds multi-operator (add/remove/get_operators), timelocked signer changes (propose/execute/cancel_signer_change,list_pending_signer_changes,get_timelock_delay), emergency pause (initialize/emergency_pause_all/resume_all+ getters,update_contract_ids,pause/unpause/is_paused,simulate_with_compliance), treasury admin/expiry/compliance-ID/transfer/emergency-withdraw/hold-expiry/approvals reads, compliance tier/jurisdiction/migrate/blocklist-root/proof/pause-reason/history/sweep-operator-widening, and invoice templates/transfer/refund/config entrypoints.Changes
contracts/settlement-workflow/src/lib.rs:ResumeTooEarly = 14,DataKey::AlreadyPaused,resume_allsignature + delay check + docs.docs/incident-response.md: new (144 lines).docs/access-control-matrix.md: expanded invoice/treasury/compliance/workflow tables + legend.Verification
No builds or tests run per task constraints. Reviewed by reading:
contracts/settlement-workflow/src/lib.rs(WorkflowError,DataKey,resume_all,emergency_pause_all,validate_pause_targets)docs/deployment-runbook.mdCLI style,docs/event-schema.md,docs/alerting-guide.mdgrep pub fnacross all four contracts +require_admin/require_authchecks for matrix categories.Markdown and Rust edits cross-checked for syntax, formatting, and spec alignment.
Closing
Closes #804
Closes #805
Closes #780