Loading...
Loading...
Compare original and translation side by side
ghglabazghglabazprune_stale_workflowsworkflow.prunedworkflow.cancelledprune_stale_workflowsworkflow.cancelledworkflow.pruned/prunemcp__exarchos__exarchos_view({ action: "pipeline" })/prunemcp__exarchos__exarchos_view({ action: "pipeline" })ghgitghgitdryRun: truemcp__exarchos__exarchos_orchestrate({
action: "prune_stale_workflows",
args: {
dryRun: true
}
}){
candidates: [
{ featureId: string, phase: string, workflowType: string, stalenessMinutes: number }
],
skipped: [
{ featureId: string, reason: "open-pr" | "active-branch" }
]
}thresholdMinutesincludeOneShotoneshottrueforcedryRun: truemcp__exarchos__exarchos_orchestrate({
action: "prune_stale_workflows",
args: {
dryRun: true
}
}){
candidates: [
{ featureId: string, phase: string, workflowType: string, stalenessMinutes: number }
],
skipped: [
{ featureId: string, reason: "open-pr" | "active-branch" }
]
}thresholdMinutesincludeOneShotoneshottrueforceundefinedundefined| Feature ID | Type | Phase | Stale (min) |
|---|---|---|---|
| feat-old-experiment | feature | implementing | 14430 |
| oneshot-typo-fix | oneshot | plan | 9120 |
| debug-flaky-test | debug | investigate | 8650 |
| Feature ID | 类型 | 阶段 | 过时时长(分钟) |
|---|---|---|---|
| feat-old-experiment | feature | implementing | 14430 |
| oneshot-typo-fix | oneshot | plan | 9120 |
| debug-flaky-test | debug | investigate | 8650 |
| Feature ID | Reason |
|---|---|
| feat-active-pr | open-pr |
| feat-recent-work | active-branch |
If `candidates.length === 0` AND `skipped.length === 0`, output:
> No stale workflows to prune. Pipeline is clean.
Then exit -- no further action.| Feature ID | 原因 |
|---|---|
| feat-active-pr | open-pr |
| feat-recent-work | active-branch |
若`candidates.length === 0`且`skipped.length === 0`,则输出:
> 无过时工作流需要清理,流水线已处于整洁状态。
随后退出,无需执行后续操作。proceed -- prune the listed candidates (skipped workflows stay) abort -- exit without changes force -- bypass safeguards and prune skipped workflows too
proceed -- 清理列出的候选工作流(被跳过的工作流保留) abort -- 退出且不做任何变更 force -- 绕过防护机制,同时清理被跳过的工作流
proceeddryRun: falsethresholdMinutesincludeOneShotmcp__exarchos__exarchos_orchestrate({
action: "prune_stale_workflows",
args: {
dryRun: false
}
})pruned{
candidates: [...],
skipped: [...],
pruned: [
{ featureId: string, previousPhase: string }
]
}prunedcancelledworkflow.prunedproceeddryRun: falsethresholdMinutesincludeOneShotmcp__exarchos__exarchos_orchestrate({
action: "prune_stale_workflows",
args: {
dryRun: false
}
})pruned{
candidates: [...],
skipped: [...],
pruned: [
{ featureId: string, previousPhase: string }
]
}prunedcancelledworkflow.prunedforceforce: trueworkflow.prunedskippedSafeguards: [...]mcp__exarchos__exarchos_orchestrate({
action: "prune_stale_workflows",
args: {
dryRun: false,
force: true
}
})skippedforceforce: trueworkflow.prunedskippedSafeguards: [...]mcp__exarchos__exarchos_orchestrate({
action: "prune_stale_workflows",
args: {
dryRun: false,
force: true
}
})skippedabortabortundefinedundefined
If `force` was used, also list any safeguards that were bypassed:
```markdown
若使用了`force`模式,还需列出被绕过的防护机制:
```markdownundefinedundefined| Safeguard | Behavior | Reason key |
|---|---|---|
| Open PR | Skip if | |
| Recent commits | Skip if | |
branchNameforce: trueworkflow.pruned| 防护机制 | 行为 | 原因标识 |
|---|---|---|
| 未合并PR检查 | 若 | |
| 近期提交检查 | 若 | |
branchNameforce: trueworkflow.pruned| Don't | Do Instead |
|---|---|
| Skip the dry-run step | Always start with |
| Auto-confirm without showing the table | Render the candidate table and wait for explicit user input |
Use | Reserve |
Manually call | Use this skill -- it batches the cancel loop and emits the |
| Run on every session | Pruning is a maintenance operation; run when pipeline accumulation is observable |
| 请勿 | 建议做法 |
|---|---|
| 跳过试运行步骤 | 始终以 |
| 不展示表格直接自动确认 | 渲染候选工作流表格并等待用户明确输入 |
默认启用 | 仅在用户明确选择时使用 |
手动为每个过时工作流调用 | 使用此Skill——它会批量处理取消循环并生成 |
| 每次会话都运行清理 | 清理是维护操作;仅当流水线中累积大量非活跃工作流时运行 |
> /prune> /prune| Feature ID | Type | Phase | Stale (min) |
|---|---|---|---|
| feat-old-spike | feature | plan | 12880 |
| oneshot-readme-tweak | oneshot | implementing | 9700 |
| Feature ID | 类型 | 阶段 | 过时时长(分钟) |
|---|---|---|---|
| feat-old-spike | feature | plan | 12880 |
| oneshot-readme-tweak | oneshot | implementing | 9700 |
proceed
proceed
undefinedundefined> /prune> /prune| Feature ID | Type | Phase | Stale (min) |
|---|---|---|---|
| feat-stale-no-pr | feature | implementing | 11200 |
| Feature ID | 类型 | 阶段 | 过时时长(分钟) |
|---|---|---|---|
| feat-stale-no-pr | feature | implementing | 11200 |
| Feature ID | Reason |
|---|---|
| feat-stale-with-pr | open-pr |
force
| Feature ID | 原因 |
|---|---|
| feat-stale-with-pr | open-pr |
force
undefinedundefined> /prune
No stale workflows to prune. Pipeline is clean.> /prune
无过时工作流需要清理,流水线已处于整洁状态。mcp__exarchos__exarchos_orchestrate({
action: "describe",
actions: ["prune_stale_workflows"]
})mcp__exarchos__exarchos_orchestrate({
action: "describe",
actions: ["prune_stale_workflows"]
})prune_stale_workflowsworkflow.cancelledhandleCancelworkflow.prunedtriggeredBy: 'manual'skippedSafeguards_eventsworkflow.prunedprune_stale_workflowsworkflow.cancelledhandleCancelworkflow.prunedtriggeredBy: 'manual'skippedSafeguards_eventsworkflow.pruned