Skip to content

[Appliance Core] Add safety gating, autonomy modes & action whitelist stub #30

Open

Description

@saviornt

Description

Implement autonomy mode enforcement and basic action whitelisting to prevent unsafe or unapproved actions in lower autonomy levels.

Why: Safety-first principle — edge must never take dangerous actions without governance.

Type

  • Task

Focus Area (pick one)

  • Auth & Security / Appliance Core (Pi edge)

Priority

  • Critical

Acceptance Criteria

  • AutonomyMode enum (ADVISE, MONITOR, ASSISTED, AUTONOMOUS, etc.)
  • SafetyGate class that checks mode + whitelist before any action execution
  • Rejected actions logged with clear reason
  • Configurable via Pydantic Settings (e.g. current mode from env/config)
  • Stub methods for future rollback snapshot integration

Blocker / Dependencies

  • Appliance async loop implementation

Notes / Links

  • Aligns with security_design.md and vision.md fail-open principles

Activity

  1. self-assigned this
    on Mar 19, 2026
  2. added
    task
    needs-triage
    on Mar 19, 2026
  3. moved this from To Do to In Progress in Network-Chan Project Developmenton Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

needs-triagetask

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions