- Reset master to upstream/main (16,697 commits) - Overlay 2,271 local-only files (skills, tools, workspace, configs, apps) - Restore IDENTITY.md and USER.md templates - Build verified, gateway running, Discord working Co-Authored-By: Claude Opus 4.6 <[email protected]>
1.0 KiB
1.0 KiB
POLICY.md — Implementation Notes
Policy rules are enforced by the policy engine and the action classifier.
Code Locations
- Policy lists:
workspace/james/lib/policy.py - Engine:
workspace/james/agents/policy/policy_engine.py
Action Classes
Internal (auto-allowed)
restart_containerrefresh_statusreassign_workloadcollect_logsupdate_metricsorganize_filesgit_commit
External (approval required)
send_discordsend_emailpublish_messagehome_automation_changescreate_github_issuepost_to_social
Forbidden
delete_datashutdown_nodepurchasepublic_postingshare_private_info
Decision Logic
- Confidence
< 0.6->pending_approvalwith clarification - External actions ->
pending_approval - Forbidden actions ->
denied - Internal actions ->
allowed
Approval Timeouts
- Critical: 5 minutes
- Non-critical: 60 minutes
Policy Event Types
action.allowedaction.pending_approvalaction.denied