Documentation
¶
Overview ¶
Package planning implements plan mode for structured task execution. Plans are stored on disk so users can edit them in their IDE. The plan is read at exit time, not kept in memory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlanMode ¶
type PlanMode struct {
Active bool `json:"active"`
PlanPath string `json:"plan_path"`
Steps []PlanStep
}
PlanMode manages the plan mode state machine.
func (*PlanMode) Exit ¶
Exit reads the plan from disk, parses it, deactivates plan mode, and returns the final state.
type PlanStep ¶
type PlanStep struct {
Description string `json:"description"`
Status string `json:"status"` // "pending", "in_progress", "done", "skipped"
}
PlanStep represents a single step in a plan.
func ParseSteps ¶
ParseSteps parses markdown checklist lines into PlanSteps. Supports: - [ ] pending, - [x] done, - [~] skipped, - [>] in_progress
Click to show internal directories.
Click to hide internal directories.