planning-tracking
Execution plan with milestone/issue hierarchy, explicit dependencies, and safe parallelism.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execution plan with milestone/issue hierarchy, explicit dependencies, and safe parallelism.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Rules and strategies for managing agent context window size, avoiding bloat, and preserving signal-to-noise ratio.
Standard patterns for error handling, retry logic, circuit breakers, and graceful degradation.
Detect and remove contradictions across agent policies before execution.
Multi-step tool workflows via code orchestration to reduce latency, context pollution, and token overhead.
Bind project-specific prompts to local schema and workflow artifacts while keeping the harness core generic and globally reusable.
Operational session protocol for task-scoped leases, reconciliation, checkpoints, inspection, queue promotion, and handoff across long-running work.
| name | planning-tracking |
| description | Execution plan with milestone/issue hierarchy, explicit dependencies, and safe parallelism. |
Create and maintain an execution plan with milestone/issue hierarchy, explicit dependencies, and safe parallelism.
interface Plan { PRD: string; context: string; milestones: Record<string, Milestone>; }
interface Milestone { id: string; description: string; priority: "critical"|"high"|"medium"|"low"; status: "todo"|"in_progress"|"review"|"done"; depends_on: string[]; issues: Record<string, Issue>; }
interface Issue { id: string; task: string; priority: "critical"|"high"|"medium"|"low"; status: "todo"|"in_progress"|"review"|"done"|"blocked"; depends_on: string[]; children: Record<string, Issue>; }
depends_on).critical → high → medium → low).harness_orchestrator(action: "plan_issues") using the canonical milestones[] payload.github-sync skill after creating/updating the plan or changing status to ensure perfect alignment with GitHub milestones/issues.Assign a T-shirt size to every issue to set expectations:
| Size | Scope | Typical duration |
|---|---|---|
| S | Single file, isolated change | < 30 min |
| M | 2–5 files, one component | 30 min – 2 h |
| L | Cross-component, multiple integrations | 2 – 8 h |
| XL | Architectural, multi-milestone | 8 h + (split recommended) |
If an issue is XL, split it into children before starting.
When following the harness-lifecycle skill, each issue becomes an incremental unit of work:
git commit with a descriptive message referencing the issue ID.done, update progress.md and feature_list.json.Rule: never implement multiple issues simultaneously. Complete → test → commit → update → next.
When the plan is imported into HarnessOS, the queue payload must stay batch-first:
{
"action": "plan_issues",
"projectId": "<project-id>",
"campaignId": "<campaign-id>",
"milestones": [
{
"milestone_key": "runtime-foundations",
"description": "Ship the runtime foundations",
"issues": [
{
"task": "Add the canonical planner",
"priority": "high",
"size": "M"
},
{
"task": "Add regression coverage",
"priority": "high",
"size": "S",
"depends_on_indices": [0]
}
]
},
{
"milestone_key": "capability-discovery",
"description": "Expose agent-readable discoverability",
"depends_on_milestone_keys": ["runtime-foundations"],
"issues": [
{
"task": "Publish the capability catalog",
"priority": "medium",
"size": "M"
}
]
}
]
}
Rules:
milestones[], even for a single milestone import.depends_on_milestone_keys for edges within the current batch.depends_on_milestone_ids only when a milestone depends on already imported work.# Plan — <project/task name>
**PRD**: <one-line goal>
**Context**: <why this is being done now>
## M1 — <milestone description> (critical)
| Issue | Task | Priority | Size | Depends on | Status |
|-------|------|----------|------|------------|--------|
| M1-I1 | Set up project scaffold | critical | S | — | todo |
| M1-I2 | Implement core module | high | M | M1-I1 | todo |
| M1-I3 | Add unit tests for core | high | M | M1-I2 | todo |
## M2 — <milestone description> (high)
| Issue | Task | Priority | Size | Depends on | Status |
|-------|------|----------|------|------------|--------|
| M2-I1 | Build API endpoints | high | L | M1-I2 | todo |
| M2-I2 | Integration tests | medium | M | M2-I1 | todo |
milestoneDescription or issues planning payload