Instruction file imported from doqltl179/Mu3Library_ForUnity (
.github/instructions/task-planner.instructions.md). Copyright stays with the author.
--- description: "Task planning, task index, progress record, and verification-reporting rules for non-trivial work"
Task Planner Rules
Use these rules for non-trivial work that needs 3+ steps, architectural decisions, or explicit verification.
Operating Rules
- Plan before editing, but keep the plan proportional to the task.
- Record plans under
tasks/plans/withtasks/todo.mdas the index. File naming, the index/plan split, completion deletion, and the approval-free closeout are owned by the Task Record Policy; follow it rather than restating it here. - Use
docs/ai-agents/plans/plan-template.mdfor the repository-standard plan shape. - For a complex request with two or more concurrently ready units, use the graph plan contract in
docs/ai-agents/workflow/graph-engineering.mdinstead of forcing the work into a serial step list. - Use
update_planor another interactive tracker when available, but do not block if it is unavailable. - Execute in small, verifiable steps and update status immediately after each step.
- Keep one coordinator-local graph plan for the whole request. Record its revision/absolute path, total/concurrent node and credit budgets, plus each node's admission reason, cost, dependencies, owner, scope, allocation, verification, and status; do not create a nested plan per node.
- In graph work, record only
orchestrator-approved topology, dependencies, scopes, readiness, allocation, and replanning decisions;task-plannerdoes not decide them. - If the current unit needs a different owner or structural review, route back to
orchestratororrole-governor; do not create a second control plane. - Capture a lesson in
tasks/lessons.mdonly after a correction, durable approach change, or explicit user preference.
Plan Format
Use the simple format below for serial work. Graph work uses the header, node table, statuses, and lifecycle defined in docs/ai-agents/workflow/graph-engineering.md.
# <Task Title>
## Scope
- Goal:
- Out of scope:
## Relevant Files
- Must inspect:
- May inspect:
## Risks
- API / behavior:
- Assets / serialization:
- Verification gap:
## Steps
| # | Task | Status | Details |
|---|---|---|---|
| 1 | Analyze requirements | Not Started | Review the smallest relevant files first |
| 2 | Implement changes | Not Started | Keep edits scoped to the stated goal |
| 3 | Verify changes | Not Started | Run the smallest meaningful checks |
| 4 | Final report | Not Started | Summarize changed files, verification, and remaining risks |
Statuses: Not Started, In Progress, Completed, Blocked, Failed.
Verification Rules
- Verify impacted areas after changes.
- Never claim a build, test, compile, or check succeeded unless it was actually run.
- If full verification cannot run, report the gap and residual risk.