OpenProgram Docs

Gating: not built

Default to parity with Claude Code, opencode and hermes; add a mechanism only for a concrete user pain. Each item below fails that test.

IdeaWhy it comes upWhy notRevisit when
Per-session gating toggle: override the profile for one conversationA role is too tight for a one-off task; editing the profile feels heavyClaude Code's permissionMode and opencode's ruleset are per agent; hermes has no such escape. Editing agent.json applies next turn. An override raises state questions: where it lives, whether it survives reload, whether it leaks across WebSocket reconnectsUsers keep editing agent.json back and forth for one task
Plugin subprocess sandbox: restricted file system and networkPlugins ship arbitrary Python; a malicious one could take API keys or delete the workspaceThe references load plugins in-process. Trust levels already gate dangerous capabilities: plugin.json declares trust, ~/.openprogram/plugin-trust.json stores verified, community or untrusted (default). OS sandboxes are per-platform: seccomp Linux, App Sandbox macOS. Install is an explicit user action with manifest reviewAutomatic plugin install exists, such as a model installing one mid-conversation
Skill requires chain in frontmatterSkills depend on other skills' context; users chain /skill A /skill BNo reference has it, nor the SKILL.md spec. The fix is merging skills or stating it in the description. Dependencies add ordering, conflict and version questions found nowhere else hereAuthors repeatedly write "use together with X"
Hook-level gating: hooks scoped to one agent profilePlugin hooks in openprogram/extensions/plugins/hooks.py subscribe on the process-wide bus; no per-agent choiceFew plugins register hooks. Claude Code's per-agent hooks are mostly used through plugins. Gating answers what the model can use; hooks answer how a call goes throughA plugin must behave differently per agent
Single ruleset: one permission: [{pattern, action}] listOne source of truth, easier new typesA pure refactor with no new capability. Every profile under ~/.openprogram/agents/ needs migration. First-match-wins makes order matter; separate blocks do notA fifth or sixth gated type bloats the schema

Revisiting

  1. Find the symptom: complaint, incident or a concrete use case.
  2. Check it against the reason here.
  3. If the reason no longer holds, implement and update this page. If it holds, this page is the answer.
Last updated · 2026-11-25