Help us improve
Share bugs, ideas, or general feedback.
From oh-my-agent
Checks or sets OMA approval posture (suggest, auto, full-auto) for autonomous workflow control. Displays status, guardrails table, next commands, and persists to .oma/state/approval.json.
npx claudepluginhub sswym/oh-my-agent --plugin oh-my-agentHow this command is triggered — by the user, by Claude, or both
Slash command
/oh-my-agent:approvalThe summary Claude sees in its command listing — used to decide when to auto-load this command
运行 oma 批准姿态管理器。
输入:
$ARGUMENTS
协议:
1. 解析请求的批准姿态。
2. 支持的值:
- `suggest`(默认):建议操作并要求对副作用进行明确批准
- `auto`:自动批准低风险的常规操作,将高风险操作升级以供批准
- `full-auto`:在无需常规确认的情况下继续,但仍会升级破坏性/高风险操作
3. 如果未提供值,从 `.oma/state/approval.json` 显示当前姿态(如果可用)。
4. 按姿态应用护栏:
- 破坏性操作检查
- 秘密/凭据处理检查
- 生产影响确认检查
5. 如果文件系统工具可用,写入/更新 `.oma/state/approval.json`。
6. 澄清边界:这设置了 oma 策略姿态,不会直接重新配置 iFLOW CLI 运行时批准标志。
建议的 `approval.json` 格式:
{
"mode": "suggest|auto|full-auto",
"side_effect_policy": "confirm|risk-based|autonomous-with-guardrails",
"high_risk_requires_confirmation": true,
"updated_at": "<ISO-8601>",
.../human-oversight-protocolApplies human oversight protocol to <scope>, enforcing approval gates, intervention commands, transparency requirements, action classification, and plan reviews.
/cc-autonomyDeploys autonomy operating profiles composing memory, workflow, orchestration, hooks, and verification into repo files and hooks. Supports deploy, status, switch, verify, plan subcommands with conservative to unattended-review profiles.
/guardrailsViews guardrails status, tier stats, token cap, and audit log. Manages modes (strict/relaxed/audit/reset), policy, and token cap via subcommands.
/approveManages Jira approval workflows: request PR/deploy/release/issue, approve/reject with comments, status/list pending/history, configure.
/permissionsCreates or updates DOGMA-PERMISSIONS.md interactively, configuring permissions for Git operations, file deletions, testing, review, and workflows.
/fire-autonomousAutonomously plans, executes, verifies, and advances through project build phases after PRD completion, with configurable phase range and retry limits.
Share bugs, ideas, or general feedback.
运行 oma 批准姿态管理器。
输入: $ARGUMENTS
协议:
suggest(默认):建议操作并要求对副作用进行明确批准auto:自动批准低风险的常规操作,将高风险操作升级以供批准full-auto:在无需常规确认的情况下继续,但仍会升级破坏性/高风险操作.oma/state/approval.json 显示当前姿态(如果可用)。.oma/state/approval.json。建议的 approval.json 格式:
{
"mode": "suggest|auto|full-auto",
"side_effect_policy": "confirm|risk-based|autonomous-with-guardrails",
"high_risk_requires_confirmation": true,
"updated_at": "",
"source": "oma:approval"
}
输出格式:
| 操作类别 | suggest | auto | full-auto |
|---|