Skip to content

Fix native Andon permissions in cluster bootstrap - #115

Merged
huangminghuang merged 2 commits into
masterfrom
fix/andon-native-permissions
Oct 9, 2026
Merged

huangminghuang merged 2 commits into
masterfrom
fix/andon-native-permissions

Conversation

@huangminghuang

@huangminghuang huangminghuang commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Configure the depot emergency stop through native pull/clear permissions and action links, funding their RAM before creating them.
  • Delegate panic and governance authority without replacing the Andon account's owner or active permission; declare the linked permission when invoking each action.
  • Remove retired Andon configuration helpers and update emergency-stop and bucket-refill assertions to the current contract surface.
  • Require SDK 1.0.95 or newer in every direct consumer so installations include the native Andon declarations.

Why

wire-sysio #662 changed Andon to native permission-based authorization, removing setpanic, addpuller, and the contract-managed panic/puller registry. The Tools bootstrap still called those removed actions and its flows read retired fields, making it incompatible with the merged contract.

This implements the native-permission setup already documented in the production bootstrap guide. Privileged syndication pulls continue through the existing active permission.

Validation

  • Focused bootstrap, Andon/system action, and syndication helper suites: 82 tests pass.
  • Emergency-stop and rate-limit unit suites: 50 tests pass, including valid and invalid cord reasons, incident sequences, elapsed-epoch refill, capacity, and epoch regression.
  • The complete Tools workspace builds in an isolated checkout against published SDK 1.0.95, without sibling package overrides. The focused tests above pass against that registry installation. No live E2E pass is claimed.

Companion PRs

@huangminghuang
huangminghuang marked this pull request as ready for review October 8, 2026 23:40
@huangminghuang
huangminghuang merged commit e5191bc into master Oct 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants