Loading...
Loading...
Compare original and translation side by side
Task received
│
├─ Trivial (typo, rename, version bump)
│ → No skills. Just do it.
│
├─ Small (isolated fix, single-file, <10 logic lines)
│ → simplify-and-harden only (post-completion)
│
├─ Medium (feature in known area, 2-5 files)
│ → intent-framed-agent + simplify-and-harden
│
├─ Large (complex refactor, new architecture, unfamiliar codebase, high-risk logic)
│ → Full standard pipeline
│ → Recommend /plan-interview before starting
│
├─ Long-running (multi-session, high context pressure, prior handoff exists)
│ → Full standard pipeline with context-surfing as critical skill
│
└─ Batch (multiple features from spec, 5+ discrete tasks, issue triage)
→ Team-based pipeline (agent-teams-simplify-and-harden)references/classification-rules.mdTask received
│
├─ Trivial (typo, rename, version bump)
│ → No skills. Just do it.
│
├─ Small (isolated fix, single-file, <10 logic lines)
│ → simplify-and-harden only (post-completion)
│
├─ Medium (feature in known area, 2-5 files)
│ → intent-framed-agent + simplify-and-harden
│
├─ Large (complex refactor, new architecture, unfamiliar codebase, high-risk logic)
│ → Full standard pipeline
│ → Recommend /plan-interview before starting
│
├─ Long-running (multi-session, high context pressure, prior handoff exists)
│ → Full standard pipeline with context-surfing as critical skill
│
└─ Batch (multiple features from spec, 5+ discrete tasks, issue triage)
→ Team-based pipeline (agent-teams-simplify-and-harden)references/classification-rules.md| Task Class | Variant | Rationale |
|---|---|---|
| Trivial | None | No overhead needed |
| Small | Standard (minimal) | S&H only |
| Medium | Standard (partial) | Scope monitoring + review |
| Large | Standard (full) | Full depth with planning |
| Long-running | Standard (full) | Context-surfing is critical |
| Batch | Team-based | Breadth over depth |
| CI environment | CI | Headless review |
CI=trueGITHUB_ACTIONS=true| 任务类别 | 变体 | 设计逻辑 |
|---|---|---|
| 琐碎任务 | 无 | 不需要额外开销 |
| 小任务 | 标准型(最小配置) | 仅启用S&H |
| 中等任务 | 标准型(部分配置) | 范围监控 + 评审 |
| 大型任务 | 标准型(全量配置) | 带规划的全深度执行 |
| 长周期任务 | 标准型(全量配置) | context-surfing为核心能力 |
| 批量任务 | 团队协作型 | 优先覆盖广度而非深度 |
| CI环境 | CI型 | 无界面评审 |
CI=trueGITHUB_ACTIONS=trueclassify
→ (recommend /plan-interview if Large or Long-running)
→ intent-framed-agent (at planning-to-execution transition)
→ context-surfing (auto-activates when intent frame + plan exist; concurrent with intent monitoring)
→ [IMPLEMENTATION]
→ simplify-and-harden (post-completion, if non-trivial diff)
→ self-improvement (on errors, corrections, or S&H learning candidates)| Skill | Trivial | Small | Medium | Large | Long-running |
|---|---|---|---|---|---|
| plan-interview | - | - | - | Recommend | Recommend |
| intent-framed-agent | - | - | Activate | Activate | Activate |
| context-surfing | - | - | - | Activate | Critical |
| simplify-and-harden | - | If non-trivial | If non-trivial | If non-trivial | If non-trivial |
| self-improvement | On error only | On error only | On error/completion | On error/completion | On error/completion |
classify
→ (recommend /plan-interview if Large or Long-running)
→ intent-framed-agent (at planning-to-execution transition)
→ context-surfing (auto-activates when intent frame + plan exist; concurrent with intent monitoring)
→ [IMPLEMENTATION]
→ simplify-and-harden (post-completion, if non-trivial diff)
→ self-improvement (on errors, corrections, or S&H learning candidates)| 技能 | 琐碎任务 | 小任务 | 中等任务 | 大型任务 | 长周期任务 |
|---|---|---|---|---|---|
| plan-interview | - | - | - | 推荐 | 推荐 |
| intent-framed-agent | - | - | 激活 | 激活 | 激活 |
| context-surfing | - | - | - | 激活 | 核心必备 |
| simplify-and-harden | - | 非平凡变更时启用 | 非平凡变更时启用 | 非平凡变更时启用 | 非平凡变更时启用 |
| self-improvement | 仅出错时启用 | 仅出错时启用 | 出错/完成时启用 | 出错/完成时启用 | 出错/完成时启用 |
classify (Batch)
→ (recommend /plan-interview if no spec exists)
→ agent-teams-simplify-and-harden
├─ Team lead emits Intent Frame #1
├─ Phase 1: parallel implementation agents
├─ Compile + test verification
├─ Phase 2: parallel audit agents (simplify, harden, spec)
├─ Fix loop (up to 3 audit rounds)
└─ Learning loop output
→ self-improvementclassify (Batch)
→ (recommend /plan-interview if no spec exists)
→ agent-teams-simplify-and-harden
├─ Team lead emits Intent Frame #1
├─ Phase 1: parallel implementation agents
├─ Compile + test verification
├─ Phase 2: parallel audit agents (simplify, harden, spec)
├─ Fix loop (up to 3 audit rounds)
└─ Learning loop output
→ self-improvementclassify (CI detected)
→ simplify-and-harden-ci (headless scan, PR changed files only)
→ self-improvement-ci (pattern aggregation, promotion recommendations)classify (CI detected)
→ simplify-and-harden-ci (headless scan, PR changed files only)
→ self-improvement-ci (pattern aggregation, promotion recommendations)| Dimension | Small | Medium | Large | Long-running | Batch |
|---|---|---|---|---|---|
| Planning passes | 0 | 0-1 | 1-2 | Deep iterative | Per-task or umbrella |
| Intent frame | - | Single frame | Full frame + monitoring | Full + handoff | Team lead frame |
| Context-surfing | - | - | Active | Critical (exit protocol ready) | Lightweight drift checks |
| S&H budget | 20% diff, 60s | 20% diff, 60s | 20% diff, 60s | 20% diff, 60s | 30% team growth cap |
| Audit rounds (teams) | - | - | - | - | Up to 3 |
| Self-improvement | Error-triggered | Error-triggered | Error + S&H feed | Error + S&H feed | Error + teams feed |
| 维度 | 小任务 | 中等任务 | 大型任务 | 长周期任务 | 批量任务 |
|---|---|---|---|---|---|
| 规划迭代次数 | 0 | 0-1 | 1-2 | 深度迭代 | 按任务或统一规划 |
| 意图框架 | - | 单框架 | 完整框架 + 监控 | 完整框架 + 交接 | 团队负责人输出框架 |
| context-surfing | - | - | 活跃 | 核心(已准备退出协议) | 轻量偏移检查 |
| S&H预算 | 20% diff, 60s | 20% diff, 60s | 20% diff, 60s | 20% diff, 60s | 30%团队成长上限 |
| (团队)审核轮次 | - | - | - | - | 最多3轮 |
| self-improvement | 错误触发 | 错误触发 | 错误 + S&H反馈 | 错误 + S&H反馈 | 错误 + 团队反馈 |
docs/plans/plan-NNN-<slug>.mdplan-interviewintent-framed-agentcontext-surfingagent-teamsintent-framed-agentcontext-surfing.context-surfing/handoff-[slug]-[timestamp].mdcontext-surfinglearning_loop.candidatessimplify-and-hardenagent-teamsself-improvementcontext-surfingintent-framed-agentreferences/handoff-matrix.mddocs/plans/plan-NNN-<slug>.mdplan-interviewintent-framed-agentcontext-surfingagent-teamsintent-framed-agentcontext-surfing.context-surfing/handoff-[slug]-[timestamp].mdcontext-surfinglearning_loop.candidatessimplify-and-hardenagent-teamsself-improvementcontext-surfingintent-framed-agentreferences/handoff-matrix.md/plan-interview/plan-interviewplan-interviewintent-framed-agentintent-framed-agentplan-interviewintent-framed-agentintent-framed-agentintent-framed-agentintent-framed-agentreferences/classification-rules.mdsimplify-and-hardenreferences/classification-rules.mdsimplify-and-hardencontext-surfingcontext-surfing.context-surfing/.context-surfing/depth=smalldepth=largevariant=teamsvariant=standard--no-reviewsimplify-and-harden/plan-interviewdepth=smalldepth=largevariant=teamsvariant=standard--no-reviewsimplify-and-harden/plan-interviewcontext-surfingintent-framed-agent/plan-interviewcontext-surfingintent-framed-agent/plan-interviewintent-framed-agentcontext-surfingsimplify-and-hardenintent-framed-agentcontext-surfingsimplify-and-hardenreferences/pipeline-variants.mdreferences/pipeline-variants.md