@agent-plan/core 0.2.24 → 0.2.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/display-status.d.ts +3 -3
  2. package/dist/display-status.d.ts.map +1 -1
  3. package/dist/display-status.js +5 -4
  4. package/dist/handoff-context.d.ts +91 -1
  5. package/dist/handoff-context.d.ts.map +1 -1
  6. package/dist/handoff-context.js +134 -2
  7. package/dist/index.d.ts +5 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +4 -0
  10. package/dist/naming.d.ts +3 -0
  11. package/dist/naming.d.ts.map +1 -1
  12. package/dist/naming.js +7 -0
  13. package/dist/payload-fallback.d.ts +38 -0
  14. package/dist/payload-fallback.d.ts.map +1 -0
  15. package/dist/payload-fallback.js +73 -0
  16. package/dist/plan-store.d.ts +65 -8
  17. package/dist/plan-store.d.ts.map +1 -1
  18. package/dist/plan-store.js +391 -39
  19. package/dist/planner-rules.d.ts +3 -11
  20. package/dist/planner-rules.d.ts.map +1 -1
  21. package/dist/planner-rules.js +23 -6
  22. package/dist/planner-skill.d.ts +24 -0
  23. package/dist/planner-skill.d.ts.map +1 -0
  24. package/dist/planner-skill.js +113 -0
  25. package/dist/project-context-migration.d.ts +47 -0
  26. package/dist/project-context-migration.d.ts.map +1 -0
  27. package/dist/project-context-migration.js +168 -0
  28. package/dist/read-tracking.d.ts +27 -8
  29. package/dist/read-tracking.d.ts.map +1 -1
  30. package/dist/read-tracking.js +79 -34
  31. package/dist/recap.d.ts.map +1 -1
  32. package/dist/recap.js +2 -6
  33. package/dist/refs.d.ts +6 -1
  34. package/dist/refs.d.ts.map +1 -1
  35. package/dist/refs.js +25 -0
  36. package/dist/renderer.d.ts.map +1 -1
  37. package/dist/renderer.js +24 -1
  38. package/dist/requirement-macro-tasks.d.ts +18 -0
  39. package/dist/requirement-macro-tasks.d.ts.map +1 -0
  40. package/dist/requirement-macro-tasks.js +55 -0
  41. package/dist/schema.d.ts +1088 -273
  42. package/dist/schema.d.ts.map +1 -1
  43. package/dist/schema.js +65 -0
  44. package/dist/task-selection.js +2 -2
  45. package/dist/task-start-outcome.d.ts +1 -1
  46. package/dist/task-start-outcome.d.ts.map +1 -1
  47. package/dist/task-start-outcome.js +1 -0
  48. package/package.json +3 -1
  49. package/planner-skill.md +210 -0
  50. package/skills/grill-me/SKILL.md +10 -0
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,eAAe,aAAwB,CAAC;AACrD,eAAO,MAAM,UAAU,aAAiD,CAAC;AAEzE,eAAO,MAAM,kBAAkB;;;;;;;;;EAG7B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;EAK7B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBhC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;IAK5B;;mFAE+E;;;;;;;;;;;;;;;;;;;;;;;;;;EAM/E,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAM9B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE5B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;EAMzB,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAI9B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;EAOjC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;IAElC,yCAAyC;;IAEzC,uEAAuE;;IAEvE,6EAA6E;;IAE7E,8DAA8D;;I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AAC,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC,GAAG;IAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAAC,QAAQ,EAAE,gBAAgB,CAAA;CAAE,CAAC"}
package/dist/schema.js CHANGED
@@ -1,7 +1,11 @@
1
1
  import { z } from "zod";
2
+ import { isPlannerDescriptionRef } from "./payload-fallback.js";
2
3
  import { createChecklistItemId } from "./naming.js";
3
4
  export const TimestampSchema = z.string().datetime();
4
5
  export const SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);
6
+ export const DescriptionRefSchema = z.string().refine(isPlannerDescriptionRef, {
7
+ message: 'descriptionRef must stay under .planner/docs/ and must not contain relative traversal segments.',
8
+ });
5
9
  export const CodebaseFileSchema = z.object({
6
10
  path: z.string().min(1),
7
11
  kind: z.string().default("file"),
@@ -114,10 +118,24 @@ export const WorkDeviationSchema = z.object({
114
118
  /** When the preserved resume target was actually started again. */
115
119
  resumedAt: z.string().default(""),
116
120
  });
121
+ export const ProjectGuidelinesSchema = z.object({
122
+ content: z.string().default(""),
123
+ updatedAt: z.string().default(""),
124
+ sessionInfo: z.array(z.object({
125
+ sessionId: z.string().min(1),
126
+ createdAt: TimestampSchema,
127
+ })).default([]),
128
+ });
117
129
  export const ProjectSchema = z.object({
118
130
  name: z.string().min(1),
119
131
  goal: z.string().default(""),
120
132
  description: z.string().default(""),
133
+ descriptionRef: DescriptionRefSchema.optional(),
134
+ projectGuidelines: ProjectGuidelinesSchema.default({
135
+ content: "",
136
+ updatedAt: "",
137
+ sessionInfo: [],
138
+ }),
121
139
  webPort: z.number().int().min(0).max(65535).default(0),
122
140
  scope: z.array(z.string().min(1)).default([]),
123
141
  outOfScope: z.array(z.string().min(1)).default([]),
@@ -213,6 +231,7 @@ export const TaskSchema = z.object({
213
231
  title: z.string().min(1),
214
232
  status: TaskStatusSchema,
215
233
  description: z.string().default(""),
234
+ descriptionRef: DescriptionRefSchema.optional(),
216
235
  /** Updated only when this task's description changes; distinct from entity updatedAt. */
217
236
  descriptionUpdatedAt: z.string().default(""),
218
237
  notes: z.string().default(""),
@@ -247,6 +266,25 @@ export const HandoffHistoryEntrySchema = z.object({
247
266
  /** Why the handoff was cleared: "task-started" | "phase-done" | "manual" | "superseded" | "imported". */
248
267
  reason: z.string().default(""),
249
268
  });
269
+ export const HandoffCompletenessEntrySchema = z.object({
270
+ category: z.string().min(1),
271
+ status: z.enum(["captured", "not-applicable"]),
272
+ detail: z.string().min(1),
273
+ });
274
+ export const HandoffSupportingDocumentSchema = z.object({
275
+ path: z.string().min(1),
276
+ description: z.string().min(1),
277
+ contentHash: z.string().regex(/^[a-f0-9]{64}$/),
278
+ contentLength: z.number().int().nonnegative(),
279
+ });
280
+ export const HandoffCompletenessAuditSchema = z.object({
281
+ version: z.number().int().positive(),
282
+ entries: z.array(HandoffCompletenessEntrySchema),
283
+ supportingDocuments: z.array(HandoffSupportingDocumentSchema).default([]),
284
+ contentHash: z.string().regex(/^[a-f0-9]{64}$/),
285
+ contentLength: z.number().int().nonnegative(),
286
+ verifiedAt: TimestampSchema,
287
+ });
250
288
  export const PhaseSchema = z.object({
251
289
  id: z.string(),
252
290
  /** MUST be a feature UUID (not a ref like "F005"). Validated at the schema
@@ -267,6 +305,7 @@ export const PhaseSchema = z.object({
267
305
  contextReadyReason: z.string().default(""),
268
306
  summary: z.string().default(""),
269
307
  description: z.string().default(""),
308
+ descriptionRef: DescriptionRefSchema.optional(),
270
309
  /** Updated only when this phase's description changes; distinct from entity updatedAt. */
271
310
  descriptionUpdatedAt: z.string().default(""),
272
311
  notes: z.string().default(""),
@@ -285,6 +324,8 @@ export const PhaseSchema = z.object({
285
324
  updatedAt: TimestampSchema,
286
325
  handoff: z.string().default(""),
287
326
  handoffUpdatedAt: z.string().default(""),
327
+ /** Durable proof that the active handoff passed the versioned completeness and read-back contract. */
328
+ handoffAudit: HandoffCompletenessAuditSchema.nullable().default(null),
288
329
  /** When the handoff was last read/acknowledged on recap (ISO). Non-empty means
289
330
  * the agent has seen it; the recap won't re-prompt every turn. Reading is
290
331
  * non-mutating: content remains until every task is done/canceled, a later
@@ -308,6 +349,7 @@ export const FeatureSchema = z.object({
308
349
  priority: z.number().int().nonnegative().default(0),
309
350
  name: z.string().min(1),
310
351
  description: z.string().default(""),
352
+ descriptionRef: DescriptionRefSchema.optional(),
311
353
  /** Updated only when this feature's description changes; distinct from entity updatedAt. */
312
354
  descriptionUpdatedAt: z.string().default(""),
313
355
  // NOTE: `status` is intentionally ABSENT — it is DERIVED from child phases
@@ -355,10 +397,33 @@ export const RequirementSchema = z.object({
355
397
  export const RequirementsDocumentSchema = z.object({
356
398
  requirements: z.array(RequirementSchema),
357
399
  });
400
+ export const IdeaPromotionTargetTypeSchema = z.enum(["feature", "phase", "task"]);
401
+ export const IdeaPromotionSchema = z.object({
402
+ targetType: IdeaPromotionTargetTypeSchema,
403
+ targetId: z.string().min(1),
404
+ targetRef: z.string().min(1),
405
+ promotedAt: TimestampSchema,
406
+ });
407
+ export const IdeaSchema = z.object({
408
+ id: z.string().uuid(),
409
+ /** Global Ideas sequence, independent from feature/phase/task numbering. */
410
+ number: z.number().int().positive(),
411
+ shortId: z.string().regex(/^[A-Z2-9]{5}$/),
412
+ title: z.string().min(1),
413
+ description: z.string().default(""),
414
+ promotion: IdeaPromotionSchema.nullable().default(null),
415
+ createdAt: TimestampSchema,
416
+ updatedAt: TimestampSchema,
417
+ });
418
+ export const IdeasDocumentSchema = z.object({
419
+ nextIdeaNumber: z.number().int().positive().default(1),
420
+ ideas: z.array(IdeaSchema).default([]),
421
+ });
358
422
  export const PlanWorkspaceSchema = z.object({
359
423
  manifest: ManifestSchema,
360
424
  project: ProjectSchema,
361
425
  features: FeaturesDocumentSchema,
362
426
  requirements: RequirementsDocumentSchema,
427
+ ideas: IdeasDocumentSchema.default({ nextIdeaNumber: 1, ideas: [] }),
363
428
  phases: z.array(PhaseSchema),
364
429
  });
@@ -27,7 +27,7 @@ export function checkExplicitTaskStart(features, phases, taskId, deviations = []
27
27
  return { eligible: false, reason: `Task is not startable from ${candidate.task.status}.` };
28
28
  const parentHasHardBlock = hardUnavailable.has(candidate.phase.status)
29
29
  || (candidate.feature && hardUnavailable.has(candidate.feature.status));
30
- if (parentHasHardBlock || (!isTemporaryOverride && (unavailable.has(candidate.phase.status) || (candidate.feature && unavailable.has(candidate.feature.status))))) {
30
+ if (parentHasHardBlock) {
31
31
  return { eligible: false, reason: "Task belongs to an unavailable phase or feature." };
32
32
  }
33
33
  const taskById = new Map(candidates.map((entry) => [entry.task.id, entry]));
@@ -91,7 +91,7 @@ export function recommendNextTask(features, phases, deviations = [], currentPhas
91
91
  const ready = candidates.filter(({ feature, phase, task }) => {
92
92
  if (task.status !== "planned")
93
93
  return false;
94
- if (unavailable.has(phase.status) || (feature && unavailable.has(feature.status)))
94
+ if (hardUnavailable.has(phase.status) || (feature && hardUnavailable.has(feature.status)))
95
95
  return false;
96
96
  return task.dependsOn.every((id) => byTaskId.get(id)?.task.status === "done");
97
97
  });
@@ -1,4 +1,4 @@
1
- export declare const TASK_START_ERROR_CODES: readonly ["PLAN_NOT_FOUND", "TASK_NOT_FOUND", "TASK_DONE", "CONTEXT_READ_REQUIRED", "REQUIREMENTS_READ_REQUIRED", "START_NOT_ALLOWED", "ACTIVE_TASK_CONFLICT", "PERSISTENCE_VERIFICATION_FAILED"];
1
+ export declare const TASK_START_ERROR_CODES: readonly ["PLAN_NOT_FOUND", "TASK_NOT_FOUND", "TASK_DONE", "PROJECT_GUIDELINES_READ_REQUIRED", "CONTEXT_READ_REQUIRED", "REQUIREMENTS_READ_REQUIRED", "START_NOT_ALLOWED", "ACTIVE_TASK_CONFLICT", "PERSISTENCE_VERIFICATION_FAILED"];
2
2
  export type TaskStartErrorCode = (typeof TASK_START_ERROR_CODES)[number];
3
3
  export interface TaskStartDeniedOutcome {
4
4
  started: false;
@@ -1 +1 @@
1
- {"version":3,"file":"task-start-outcome.d.ts","sourceRoot":"","sources":["../src/task-start-outcome.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,mMASzB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzE,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,KAAK,CAAC;IACf,SAAS,EAAE,kBAAkB,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,IAAI,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,aAAa,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GAAG,yBAAyB,CAAC;AAElF,wBAAgB,eAAe,CAC7B,SAAS,EAAE,kBAAkB,EAC7B,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,GAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;CAAO,GAC3D,sBAAsB,CASxB;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,cAAc,UAAQ,GAAG,yBAAyB,CAEpG"}
1
+ {"version":3,"file":"task-start-outcome.d.ts","sourceRoot":"","sources":["../src/task-start-outcome.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,uOAUzB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzE,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,KAAK,CAAC;IACf,SAAS,EAAE,kBAAkB,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,IAAI,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,aAAa,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GAAG,yBAAyB,CAAC;AAElF,wBAAgB,eAAe,CAC7B,SAAS,EAAE,kBAAkB,EAC7B,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,GAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;CAAO,GAC3D,sBAAsB,CASxB;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,cAAc,UAAQ,GAAG,yBAAyB,CAEpG"}
@@ -2,6 +2,7 @@ export const TASK_START_ERROR_CODES = [
2
2
  "PLAN_NOT_FOUND",
3
3
  "TASK_NOT_FOUND",
4
4
  "TASK_DONE",
5
+ "PROJECT_GUIDELINES_READ_REQUIRED",
5
6
  "CONTEXT_READ_REQUIRED",
6
7
  "REQUIREMENTS_READ_REQUIRED",
7
8
  "START_NOT_ALLOWED",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-plan/core",
3
- "version": "0.2.24",
3
+ "version": "0.2.26",
4
4
  "private": false,
5
5
  "description": "Harness-agnostic core for Agent Plan: schemas, persistence, ordering, status rollups, and markdown rendering.",
6
6
  "license": "MIT",
@@ -16,6 +16,8 @@
16
16
  "dist/**/*.js",
17
17
  "dist/**/*.d.ts",
18
18
  "dist/**/*.d.ts.map",
19
+ "planner-skill.md",
20
+ "skills/**/*.md",
19
21
  "README.md",
20
22
  "LICENSE"
21
23
  ],
@@ -0,0 +1,210 @@
1
+ ---
2
+ name: agent-plan
3
+ summary: Cross-harness operating guide for Agent Plan projects.
4
+ ---
5
+
6
+ # Agent Plan operating guide
7
+
8
+ This is the canonical, project-local operating guide for Agent Plan. A managed copy lives at `.planner/SKILL.md`. Treat it as agent-only operational context: read it when the planner is explicitly loaded, follow it while working, and do not quote it in the human-facing load recap.
9
+
10
+ ## Activation and ownership
11
+
12
+ - The planner and dashboard are disabled by default. Load them only after an explicit user request: Pi `/planner load` or `planner-load`; MCP `planner-load`.
13
+ - Starting only the dashboard does not enable planner context. Pi uses `planner-web`; MCP uses `planner-web`.
14
+ - Stop Pi planner context and its dashboard with `/planner stop`, `planner-stop`, or `/planner disable`. For MCP, `planner-disable` explains how to disable the server.
15
+ - `.planner/` is the operational source of truth. Keep feature, phase, task, requirement, decision, checklist, handoff, and Project Guidelines state synchronized with completed work.
16
+ - Planner metadata operations are not code edits. Code, configuration, repository, dependency, or environment changes still require the project’s own approval rules.
17
+ - The Web UI is a human-supervisor surface. It may bypass agent-only governance or motivation gates. Agents must not imitate its source header or treat its exemptions as an agent bypass.
18
+
19
+ ## References, discovery, and priority
20
+
21
+ Use human references instead of raw UUIDs:
22
+
23
+ - Feature: `F001`
24
+ - Feature phase: `P001(F001)`
25
+ - Task: `P001(F001)/T001`
26
+ - Global phase/task: `P001` and `P001/T001`
27
+ - Short IDs and exact titles may be accepted when unambiguous, but composite references are safest across projects and sessions.
28
+
29
+ Discover before mutating:
30
+
31
+ 1. List features, phases, or tasks using compact list tools.
32
+ 2. Follow the lowest visible ready priority unless the automatic recommendation or an approved deviation says otherwise.
33
+ 3. Use `task_recommend` / `planner-task-recommend` when choosing the next task.
34
+ 4. Read the exact entity with its full-detail show/get surface when full context is needed.
35
+ 5. Never infer an ambiguous bare reference. Ask for the exact composite reference.
36
+
37
+ Feature and phase statuses are derived from their children. Do not write their status directly; update the relevant child tasks. A `DERIVED_STATUS_READ_ONLY` result is a non-success result.
38
+
39
+ ## Lifecycle-first context protocol
40
+
41
+ Before touching code, call `task_start` / `planner-task-start`, or use `task_switch` / `planner-task-switch` when another task is already active. The lifecycle tool may deny the transition and return typed diagnostics.
42
+
43
+ When denied:
44
+
45
+ 1. Confirm `started` is `false` and read `errorCode` plus `nextActions`.
46
+ 2. Perform only the missing or stale reads listed in `nextActions`. Reads may be completed in any order within the current session.
47
+ 3. If Project Guidelines are listed, call `project_guidelines_show` or `planner-project-guidelines-show` and retain the content while working.
48
+ 4. Read each task on every start or resume. Fresh unchanged feature, phase, and linked-requirement reads may be reused across sibling tasks in the same session.
49
+ 5. Retry the lifecycle operation. Only `started: true` proves work is active.
50
+
51
+ Do not convert a denial into a planner status change merely to bypass the gate. Common typed denials include `PROJECT_GUIDELINES_READ_REQUIRED`, `CONTEXT_READ_REQUIRED`, `REQUIREMENTS_READ_REQUIRED`, `START_NOT_ALLOWED`, `ACTIVE_TASK_CONFLICT`, `TASK_DONE`, and persistence verification failures.
52
+
53
+ ## Project Guidelines
54
+
55
+ `Project Guidelines` is the canonical project section for coding standards, formatting, styling, verification conventions, and other implementation rules.
56
+
57
+ - Read it on planner load when present and whenever lifecycle `nextActions` says it is missing or stale.
58
+ - Update it only through `project_guidelines_update`, `planner-project-guidelines-update`, or Pi `/planner project guidelines`.
59
+ - Explicit planner load automatically and atomically deduplicates legacy `globalRules`, textual `workflowRules`, and project `decisions` into canonical Project Guidelines and Accepted Decisions before recap/context delivery. Ordinary entity reads remain non-mutating. `project_context_migrate` and `planner-project-context-migrate` remain manual preview/recovery diagnostics; repeated applications are idempotent.
60
+ - The Web UI may display the section for the human supervisor, but guideline-read enforcement applies to agents.
61
+
62
+ ## Task execution
63
+
64
+ - Create rich feature, phase, and task descriptions with current state, concrete goals, relevant systems, file/symbol references, behaviors to preserve, and edge cases.
65
+ - Use one task with checklist items for implementation steps. Do not create child tasks merely to scatter the same execution context.
66
+ - Add, remove, and toggle checklist items granularly. Do not encode completion by adding `DONE` to checklist titles.
67
+ - Use `task_pause` / `planner-task-pause` with the reason, work underway, exact resume location, and actionable resume instructions.
68
+ - Use `task_switch` / `planner-task-switch` for temporary detours. It atomically checkpoints the source and preserves a LIFO return target.
69
+ - A temporary task completion can emit `RESUME REQUIRED`. Resume the preserved source or deliberately switch again; do not silently abandon it.
70
+ - Complete a task only after implementation and verification. Supply durable completion evidence, files touched, decisions, remaining or unverified work, and updated code references.
71
+ - Status changes to `blocked`, `canceled`, `rejected`, `deferred`, `waiting`, or back to `planned` require a substantive motivation on agent surfaces.
72
+
73
+ ## Mutation integrity and oversized descriptions
74
+
75
+ Every mutation is success-sensitive:
76
+
77
+ - Treat `isError`, `updated: false`, `started: false`, or a typed failure code as non-success even if text is also returned.
78
+ - Read back important mutations. Confirm the intended fields actually persisted before reporting success.
79
+ - If an update/discuss operation returns `DESCRIPTION_MARKDOWN_FALLBACK_REQUIRED`, create the suggested committed Markdown file under `.planner/docs/`, retry with a concise inline summary plus `descriptionRef`, then read back the entity and verify the reference.
80
+ - If it returns `NO_MUTABLE_FIELDS_RECEIVED`, do not claim an update occurred.
81
+ - Destructive deletes require explicit user confirmation and a data-loss warning.
82
+
83
+ ## Handoff protocol
84
+
85
+ Handoffs are phase-scoped resume documents, not locks. They must be operationally exhaustive, not merely structurally valid.
86
+
87
+ Before writing:
88
+
89
+ 1. Resolve one exact phase reference and obtain user confirmation when required.
90
+ 2. Run `handoff_prepare` / `planner-handoff-prepare` for that exact phase.
91
+ 3. Reconcile every still-relevant detail from an existing handoff; do not append a competing handoff.
92
+ 4. Build the versioned `completenessAudit` returned by prepare. Every required category must appear exactly once as `captured` or `not-applicable`, with concrete detail or a substantive reason. Generic values such as `N/A`, `none`, `unknown`, or `see above` are rejected with `HANDOFF_COMPLETENESS_AUDIT_REQUIRED`.
93
+
94
+ The mandatory categories are: exact focus and resume point; first resume action; completed work; partial work; remaining work; decisions and rationale; rejected alternatives; files and symbols; branch and worktree; commands and tools; completed verification; pending verification; runtime limitations and workarounds; blockers and risks; user-visible behavior; operator actions; project-specific operating notes; and conversation-only facts.
95
+
96
+ Keep the canonical handoff within the tool-reported budget (currently 24,000 characters). Essential focus, resume point, first action, risks, and verification status must remain inline. Put extended logs, large mappings, command transcripts, and deep design detail in committed Markdown files under `.planner/docs/`; pass each through `supportingDocuments` with a substantive description of what it contains and why the next agent needs it. Links supplement rather than replace the inline resume contract.
97
+
98
+ Then call `handoff_write` / `planner-handoff-write` with the preparation token, completeness audit, optional supporting-document manifest, and reconciled task/phase/feature context. Missing categories, oversized bodies, invalid documents, or failed persistence read-back are typed failures and must never be reported as success. Read the persisted handoff back with the exact phase reference and verify its body, content hash, audit metadata, branch, file, command, expected behavior, and next action before stopping. `handoff_list` is a compact paginated summary-only index; use `handoff_show` for one bounded body and its metadata. Clear/archive only after explicit intent or when phase completion makes it obsolete.
99
+
100
+ ## Ideas Inbox and promotion
101
+
102
+ Ideas are independent inbox entries (`I001`, never feature/phase/task children) and do not affect work rollups. Use `planner-idea-list` / `idea_list` to discover and `*-show/create/update/delete` for CRUD. For promotion, first call `planner-idea-promotion-begin` / `idea_promotion_begin`; it loads the project-local `grill-me` instructions only for that discussion. Follow its one-question-at-a-time interview, obtain explicit target confirmation, create the agreed target through normal creation tools, then call `*-promotion-finalize` with `discussionCompleted=true` and `confirmed=true`. Begin never persists a target or promotion; finalize rejects missing confirmation or an unresolved target.
103
+
104
+ ## Pi `/planner` command routing
105
+
106
+ Supported interactive command paths:
107
+
108
+ ### Core and project
109
+
110
+ - `/planner init`
111
+ - `/planner show`
112
+ - `/planner version`
113
+ - `/planner repair`
114
+ - `/planner cleanup-orphans`
115
+ - `/planner load`
116
+ - `/planner stop` or `/planner disable`
117
+ - `/planner project discuss`
118
+ - `/planner project language`
119
+ - `/planner project guidelines`
120
+ - `/planner project migrate-context`
121
+
122
+ ### Ideas Inbox
123
+
124
+ - `/planner idea list`
125
+ - `/planner idea add [title]`
126
+ - `/planner idea show <I00x>`
127
+ - `/planner idea update <I00x>`
128
+ - `/planner idea delete <I00x>`
129
+ - `/planner idea promote <I00x>`
130
+
131
+ ### Features and phases
132
+
133
+ - `/planner feature list`
134
+ - `/planner feature add`
135
+ - `/planner feature show <F00x>`
136
+ - `/planner feature discuss <F00x>`
137
+ - `/planner feature update <F00x>`
138
+ - `/planner feature delete <F00x>`
139
+ - `/planner phase list [F00x]`
140
+ - `/planner phase add <F00x>`
141
+ - `/planner phase show <P00x(F00x)>`
142
+ - `/planner phase discuss <P00x(F00x)>`
143
+ - `/planner phase update <P00x(F00x)>`
144
+ - `/planner phase delete <P00x(F00x)>`
145
+
146
+ ### Tasks and handoffs
147
+
148
+ - `/planner task list <P00x(F00x)>`
149
+ - `/planner task add <P00x(F00x)>`
150
+ - `/planner task show <P00x(F00x)/T00x>`
151
+ - `/planner task discuss <P00x(F00x)/T00x>`
152
+ - `/planner task update <P00x(F00x)/T00x>`
153
+ - `/planner task delete <P00x(F00x)/T00x>`
154
+ - `/planner task start <P00x(F00x)/T00x>`
155
+ - `/planner task complete <P00x(F00x)/T00x>`
156
+ - `/planner task checklist-add <task> <title>`
157
+ - `/planner task checklist-remove <task> <C{n}|id|title>`
158
+ - `/planner task checklist-toggle <task> <C{n}|id|title> [on|off]`
159
+ - `/planner handoff list`
160
+ - `/planner handoff prepare`
161
+ - `/planner handoff show <P00x(F00x)>`
162
+ - `/planner handoff write <P00x(F00x)>`
163
+ - `/planner handoff clear <P00x(F00x)>`
164
+
165
+ Pause, switch, deviation, recommendation, requirement, and decision operations are available through the registered Pi tools below rather than every interactive `/planner` path.
166
+
167
+ ### Dashboard, export, and guard
168
+
169
+ - `/planner web start`
170
+ - `/planner web stop`
171
+ - `/planner web status`
172
+ - `/planner export`
173
+ - `/planner export-full`
174
+ - `/planner bypass [minutes]`
175
+ - `/planner clear-bypass`
176
+
177
+ ## MCP tool inventory
178
+
179
+ The MCP adapter publishes these tools:
180
+
181
+ - Core: `planner-version`, `planner-init`, `planner-show`, `planner-repair`, `planner-cleanup-orphan-phases`, `planner-export`, `planner-authorize-bypass`, `planner-clear-bypass`, `planner-load`, `planner-disable`, `planner-web`.
182
+ - Ideas: `planner-idea-list`, `planner-idea-show`, `planner-idea-create`, `planner-idea-update`, `planner-idea-delete`, `planner-idea-promotion-begin`, `planner-idea-promotion-finalize`.
183
+ - Project: `planner-project-language`, `planner-project-discuss`, `planner-project-guidelines-show`, `planner-project-guidelines-update`, `planner-project-context-migrate`, `planner-requirement-list`, `planner-requirement-create`, `planner-requirement-update`, `planner-requirement-delete`.
184
+ - Features: `planner-feature-list`, `planner-feature-add`, `planner-feature-show`, `planner-feature-discuss`, `planner-feature-update`, `planner-feature-delete`.
185
+ - Phases: `planner-phase-list`, `planner-phase-add`, `planner-phase-show`, `planner-phase-discuss`, `planner-phase-update`, `planner-phase-delete`.
186
+ - Tasks: `planner-task-list`, `planner-task-add`, `planner-task-show`, `planner-task-discuss`, `planner-task-update`, `planner-task-delete`, `planner-task-recommend`, `planner-task-deviation`, `planner-task-pause`, `planner-task-switch`, `planner-task-start`, `planner-task-complete`, `planner-task-checklist-toggle`, `planner-task-checklist-add`, `planner-task-checklist-remove`.
187
+ - Handoffs: `planner-handoff-list`, `planner-handoff-show`, `planner-handoff-prepare`, `planner-handoff-write`, `planner-handoff-clear`.
188
+
189
+ ## Pi tool inventory
190
+
191
+ The Pi adapter registers these tools:
192
+
193
+ - Ideas: `idea_list`, `idea_show`, `idea_create`, `idea_update`, `idea_delete`, `idea_promotion_begin`, `idea_promotion_finalize`.
194
+ - Project and requirements: `project_set_language_preferences`, `project_update`, `project_guidelines_show`, `project_guidelines_update`, `project_context_migrate`, `requirement_list`, `requirement_create`, `requirement_update`, `requirement_delete`.
195
+ - Plan: `plan_init`, `plan_get`, `plan_render`, `plan_repair`, `plan_cleanup_orphan_phases`, `plan_authorize_bypass`, `plan_clear_bypass`.
196
+ - Features: `feature_list`, `feature_get`, `feature_create`, `feature_discuss`, `feature_update`, `feature_delete`.
197
+ - Phases and decisions: `phase_list`, `phase_get`, `phase_create`, `phase_update`, `phase_delete`, `decision_record`.
198
+ - Tasks: `task_list`, `task_get`, `task_create`, `task_update`, `task_delete`, `task_recommend`, `task_deviation`, `task_pause`, `task_switch`, `task_start`, `task_complete`, `task_checklist_toggle`, `task_checklist_add`, `task_checklist_remove`.
199
+ - Handoffs: `handoff_list`, `handoff_show`, `handoff_prepare`, `handoff_write`, `handoff_clear`.
200
+ - Dashboard and lifecycle: `planner-web`, `planner-load`, `planner-stop`.
201
+ - Deprecated compatibility aliases: `plan_get_handoff`, `plan_write_handoff`, `plan_delete_handoff`. Prefer the entity-scoped handoff tools.
202
+
203
+ ## Managed-copy policy
204
+
205
+ Agent Plan owns only uncustomized managed copies of `.planner/SKILL.md`:
206
+
207
+ - New planners receive a deterministic, timestamp-free managed copy.
208
+ - When the canonical skill changes, an unmodified managed copy upgrades automatically on explicit planner load.
209
+ - If project members customize the copy, Agent Plan preserves it and reports actionable drift instead of overwriting it.
210
+ - Resolve drift deliberately by reconciling project customizations with the current canonical guide; never discard custom instructions silently.
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: grill-me
3
+ description: Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".
4
+ ---
5
+
6
+ Interview me relentlessly about every aspect of this plan until we reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one. For each question, provide your recommended answer.
7
+
8
+ Ask the questions one at a time.
9
+
10
+ If a question can be answered by exploring the codebase, explore the codebase instead.