wtf-p 0.9.0 → 0.9.1

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 (114) hide show
  1. package/README.md +5 -2
  2. package/bin/lib/adapter-compiler.js +65 -18
  3. package/package.json +1 -1
  4. package/pancode/extension/.wtfp-generated.json +8 -4
  5. package/pancode/extension/pancode-extension.yaml +1 -1
  6. package/pancode/extension/runtime/extension.test.ts +89 -2
  7. package/pancode/extension/runtime/extension.ts +110 -24
  8. package/pancode/extension/runtime/help.json +82 -0
  9. package/pancode/plugin/.wtfp-generated.json +27 -27
  10. package/pancode/plugin/dev.pancode/agents/wtfp-argument-verifier.md +4 -0
  11. package/pancode/plugin/dev.pancode/agents/wtfp-citation-expert.md +4 -0
  12. package/pancode/plugin/dev.pancode/agents/wtfp-citation-formatter.md +4 -0
  13. package/pancode/plugin/dev.pancode/agents/wtfp-coherence-checker.md +4 -0
  14. package/pancode/plugin/dev.pancode/agents/wtfp-outliner.md +4 -0
  15. package/pancode/plugin/dev.pancode/agents/wtfp-plan-checker.md +4 -0
  16. package/pancode/plugin/dev.pancode/agents/wtfp-prose-polisher.md +4 -0
  17. package/pancode/plugin/dev.pancode/agents/wtfp-research-synthesizer.md +4 -0
  18. package/pancode/plugin/dev.pancode/agents/wtfp-section-planner.md +4 -0
  19. package/pancode/plugin/dev.pancode/agents/wtfp-section-reviewer.md +4 -0
  20. package/pancode/plugin/dev.pancode/agents/wtfp-section-writer.md +4 -0
  21. package/pancode/plugin/dev.pancode/playbooks/wtfp-draft-review.md +1 -1
  22. package/pancode/plugin/dev.pancode/playbooks/wtfp-plan-section.md +2 -0
  23. package/pancode/plugin/dev.pancode/prompts/wtfp/contribute.md +3 -0
  24. package/pancode/plugin/dev.pancode/prompts/wtfp/create-outline.md +1 -1
  25. package/pancode/plugin/dev.pancode/prompts/wtfp/help.md +1 -1
  26. package/pancode/plugin/dev.pancode/prompts/wtfp/insert-section.md +1 -1
  27. package/pancode/plugin/dev.pancode/prompts/wtfp/pause-writing.md +1 -1
  28. package/pancode/plugin/dev.pancode/prompts/wtfp/remove-section.md +3 -0
  29. package/pancode/plugin/dev.pancode/prompts/wtfp/report-bug.md +3 -0
  30. package/pancode/plugin/dev.pancode/prompts/wtfp/request-feature.md +3 -0
  31. package/pancode/plugin/dev.pancode/prompts/wtfp/update.md +3 -0
  32. package/pancode/plugin/plugin.json +1 -1
  33. package/pancode/plugin/workflows/create-outline.md +1 -1
  34. package/pancode/plugin/workflows/insert-section.md +1 -1
  35. package/pancode/plugin/workflows/pause-writing.md +1 -1
  36. package/protocol/workflows/create-outline.md +1 -1
  37. package/protocol/workflows/insert-section.md +1 -1
  38. package/protocol/workflows/pause-writing.md +1 -1
  39. package/vendors/antigravity/.wtfp-generated.json +8 -8
  40. package/vendors/antigravity/plugin.json +2 -2
  41. package/vendors/antigravity/skills/wtfp-create-outline/SKILL.md +1 -1
  42. package/vendors/antigravity/skills/wtfp-insert-section/SKILL.md +1 -1
  43. package/vendors/antigravity/skills/wtfp-pause-writing/SKILL.md +1 -1
  44. package/vendors/antigravity/workflows/create-outline.md +1 -1
  45. package/vendors/antigravity/workflows/insert-section.md +1 -1
  46. package/vendors/antigravity/workflows/pause-writing.md +1 -1
  47. package/vendors/claude/.claude-plugin/marketplace.json +2 -2
  48. package/vendors/claude/.claude-plugin/plugin.json +1 -1
  49. package/vendors/claude/.wtfp-generated.json +33 -33
  50. package/vendors/claude/commands/create-outline.md +1 -1
  51. package/vendors/claude/commands/insert-section.md +1 -1
  52. package/vendors/claude/commands/pause-writing.md +1 -1
  53. package/vendors/claude/dev.pancode/agents/wtfp-argument-verifier.md +4 -0
  54. package/vendors/claude/dev.pancode/agents/wtfp-citation-expert.md +4 -0
  55. package/vendors/claude/dev.pancode/agents/wtfp-citation-formatter.md +4 -0
  56. package/vendors/claude/dev.pancode/agents/wtfp-coherence-checker.md +4 -0
  57. package/vendors/claude/dev.pancode/agents/wtfp-outliner.md +4 -0
  58. package/vendors/claude/dev.pancode/agents/wtfp-plan-checker.md +4 -0
  59. package/vendors/claude/dev.pancode/agents/wtfp-prose-polisher.md +4 -0
  60. package/vendors/claude/dev.pancode/agents/wtfp-research-synthesizer.md +4 -0
  61. package/vendors/claude/dev.pancode/agents/wtfp-section-planner.md +4 -0
  62. package/vendors/claude/dev.pancode/agents/wtfp-section-reviewer.md +4 -0
  63. package/vendors/claude/dev.pancode/agents/wtfp-section-writer.md +4 -0
  64. package/vendors/claude/dev.pancode/fleets/wtfp-draft-review.md +1 -1
  65. package/vendors/claude/dev.pancode/fleets/wtfp-plan-section.md +2 -0
  66. package/vendors/claude/dev.pancode/prompts/wtfp/advance.md +3 -0
  67. package/vendors/claude/dev.pancode/prompts/wtfp/contribute.md +3 -0
  68. package/vendors/claude/dev.pancode/prompts/wtfp/create-outline.md +1 -1
  69. package/vendors/claude/dev.pancode/prompts/wtfp/help.md +1 -1
  70. package/vendors/claude/dev.pancode/prompts/wtfp/insert-section.md +1 -1
  71. package/vendors/claude/dev.pancode/prompts/wtfp/pause-writing.md +1 -1
  72. package/vendors/claude/dev.pancode/prompts/wtfp/remove-section.md +3 -0
  73. package/vendors/claude/dev.pancode/prompts/wtfp/report-bug.md +3 -0
  74. package/vendors/claude/dev.pancode/prompts/wtfp/request-feature.md +3 -0
  75. package/vendors/claude/dev.pancode/prompts/wtfp/update.md +3 -0
  76. package/vendors/claude/plugin.json +1 -1
  77. package/vendors/claude/workflows/create-outline.md +1 -1
  78. package/vendors/claude/workflows/insert-section.md +1 -1
  79. package/vendors/claude/workflows/pause-writing.md +1 -1
  80. package/vendors/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
  81. package/vendors/codex/plugins/wtfp/.wtfp-generated.json +6 -6
  82. package/vendors/codex/plugins/wtfp/plugin.json +1 -1
  83. package/vendors/codex/plugins/wtfp/workflows/create-outline.md +1 -1
  84. package/vendors/codex/plugins/wtfp/workflows/insert-section.md +1 -1
  85. package/vendors/codex/plugins/wtfp/workflows/pause-writing.md +1 -1
  86. package/vendors/copilot/.wtfp-generated.json +6 -6
  87. package/vendors/copilot/marketplace.json +2 -2
  88. package/vendors/copilot/plugins/wtfp/.claude-plugin/plugin.json +1 -1
  89. package/vendors/copilot/plugins/wtfp/.wtfp-generated.json +8 -8
  90. package/vendors/copilot/plugins/wtfp/commands/wtfp-create-outline.md +1 -1
  91. package/vendors/copilot/plugins/wtfp/commands/wtfp-insert-section.md +1 -1
  92. package/vendors/copilot/plugins/wtfp/commands/wtfp-pause-writing.md +1 -1
  93. package/vendors/copilot/plugins/wtfp/workflows/create-outline.md +1 -1
  94. package/vendors/copilot/plugins/wtfp/workflows/insert-section.md +1 -1
  95. package/vendors/copilot/plugins/wtfp/workflows/pause-writing.md +1 -1
  96. package/vendors/copilot/project/.github/prompts/wtfp-pause-writing.prompt.md +1 -1
  97. package/vendors/copilot/project/.github/wtfp/workflows/create-outline.md +1 -1
  98. package/vendors/copilot/project/.github/wtfp/workflows/insert-section.md +1 -1
  99. package/vendors/copilot/project/.github/wtfp/workflows/pause-writing.md +1 -1
  100. package/vendors/gemini/.wtfp-generated.json +8 -8
  101. package/vendors/gemini/commands/wtfp/create-outline.toml +1 -1
  102. package/vendors/gemini/commands/wtfp/insert-section.toml +1 -1
  103. package/vendors/gemini/commands/wtfp/pause-writing.toml +1 -1
  104. package/vendors/gemini/gemini-extension.json +1 -1
  105. package/vendors/gemini/workflows/create-outline.md +1 -1
  106. package/vendors/gemini/workflows/insert-section.md +1 -1
  107. package/vendors/gemini/workflows/pause-writing.md +1 -1
  108. package/vendors/opencode/.wtfp-generated.json +7 -7
  109. package/vendors/opencode/commands/wtfp/create-outline.md +1 -1
  110. package/vendors/opencode/commands/wtfp/insert-section.md +1 -1
  111. package/vendors/opencode/commands/wtfp/pause-writing.md +1 -1
  112. package/vendors/opencode/workflows/create-outline.md +1 -1
  113. package/vendors/opencode/workflows/insert-section.md +1 -1
  114. package/vendors/opencode/workflows/pause-writing.md +1 -1
@@ -25,7 +25,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
25
25
  2. Reconcile only choices the author explicitly resolves during the outline interview. Preserve every unrelated decision unchanged. For each explicitly resolved item whose current disposition is `deferred`, preserve the prior item unchanged except for setting its disposition to `superseded`; append a new replacement whose ID is fresh and unique in the ledger, whose authority is `author`, whose disposition is `locked`, and whose `supersedes` field names the prior item. Set the replacement's `recorded_at` to the actual resolution time, increment the decision-record revision, and set the record's `updated_at` to that same actual resolution time. Never supersede a locked choice or treat an agent suggestion or approval of an unrelated outline detail as authority to resolve a decision. If the author resolves no choice, do not rewrite the decision record.
26
26
  3. Present the complete outline and decision diffs at the confirm_outline gate. If the proposed outline contradicts a locked decision, preserve that decision as locked and unchanged. If it assumes a choice that was already deferred and the author did not resolve it, preserve that choice as deferred. In either case, record a non-passing validation and stop before downstream planning.
27
27
  4. Balance the budget before the gate: Every write to `project://structure/outline` must leave `sections[*].word_target` summing exactly to `target_words`. Reallocate across the affected sections and, where the author changed the overall length, restate `target_words` in the same write. Present the reallocation in the approval preview and refuse to publish an outline whose budgets do not balance.
28
- 5. After approval, atomically publish the decision update when one is required together with the outline, one section record per entry, state update, and validation. Preserve stable record and section IDs and verify the complete approved set after writing.
28
+ 5. After approval, atomically publish the decision update when one is required together with the outline, one section record per entry, state update, and validation. A new section record starts at status `not-started` with `artifacts` holding only empty `plans` and `reviews` lists; the action that writes a context, research, plan, review, summary, or handoff file links it. Give every claim an ID that no other claim in the project holds. Preserve stable record and section IDs and verify the complete approved set after writing.
29
29
 
30
30
  ## Safety and completion
31
31
 
@@ -23,7 +23,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
23
23
 
24
24
  1. Resolve the insertion point and propose a stable new section ID, goal, dependencies, wave, claims, and word budget.
25
25
  2. Preview impacts on outline ordering, dependencies, section totals, and current position; require approval. Every write to `project://structure/outline` must leave `sections[*].word_target` summing exactly to `target_words`. Reallocate across the affected sections and, where the author changed the overall length, restate `target_words` in the same write. Present the reallocation in the approval preview and refuse to publish an outline whose budgets do not balance.
26
- 3. Create the section record and atomically update outline and state. Do not renumber stable IDs or move manuscript files implicitly.
26
+ 3. Create the section record at status `not-started` with `artifacts` holding only empty `plans` and `reviews` lists and claim IDs no other claim in the project holds, and atomically update outline and state. Do not renumber stable IDs or move manuscript files implicitly.
27
27
 
28
28
  ## Safety and completion
29
29
 
@@ -22,7 +22,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
22
22
  ## Procedure
23
23
 
24
24
  1. Reconcile current state, decisions, outline revision, section plan, manuscript, summary, reviews, and validations; identify completed work, pending work, blockers, and the next action.
25
- 2. Write a Markdown handoff artifact for narrative continuity plus a human-action checkpoint for machine-readable resumption.
25
+ 2. Write a Markdown handoff artifact for narrative continuity plus a blocking human-action checkpoint for machine-readable resumption. Give the checkpoint an option with id `resume`, which returns `state.status` to `active` when the author selects it, and an option with id `expire`, which closes the checkpoint and leaves the project paused.
26
26
  3. Link the handoff from `section.artifacts.handoff` and the checkpoint from `section.checkpoint_uris`, then set `state.status` to `paused` and link the checkpoint from `state.active_checkpoint_uris`. Preserve `state.phase`, progress, and current section; pausing changes status, checkpoint linkage, revision, and timestamp only. `paused` is a status and is never a phase. Do not commit automatically.
27
27
 
28
28
  ## Safety and completion
@@ -2,7 +2,7 @@
2
2
  "schema": "wtfp.generated-adapter/v1",
3
3
  "generatorVersion": 5,
4
4
  "target": "antigravity",
5
- "sourceHash": "3cf82a19dba25ee8499d81246a035a4c8067f113dc32e6eebb1670d3dfbeda51",
5
+ "sourceHash": "c1a701c1cc4dbeda1f57d0905229646d0722fc75c20ff2ebd68b120657e3fb98",
6
6
  "files": [
7
7
  {
8
8
  "path": "actions/add-todo.json",
@@ -222,7 +222,7 @@
222
222
  },
223
223
  {
224
224
  "path": "plugin.json",
225
- "sha256": "2600898ec3cf1a0688089262a4c4d2aaf6617a74509c422d5c52a6a92f218a43"
225
+ "sha256": "1ba2bb20b0998331082063cf5aa13f17add7809393ab573cd272151503013aa5"
226
226
  },
227
227
  {
228
228
  "path": "project/README.md",
@@ -430,7 +430,7 @@
430
430
  },
431
431
  {
432
432
  "path": "skills/wtfp-create-outline/SKILL.md",
433
- "sha256": "ff7675b181c42eb6859b11f7cad2d2f645b1bb324a2ab4a377b0486cdd8d72eb"
433
+ "sha256": "f1519c549eb1f9b6d2ed9b8862e139326be633b345561ee9b7b432f201fa87eb"
434
434
  },
435
435
  {
436
436
  "path": "skills/wtfp-create-poster/SKILL.md",
@@ -470,7 +470,7 @@
470
470
  },
471
471
  {
472
472
  "path": "skills/wtfp-insert-section/SKILL.md",
473
- "sha256": "0a15d4635690cc88d30a458db8cdc6defc6551b46f846a1e67f4dcc36711b8aa"
473
+ "sha256": "3c7bb2fa7b0baca8db72e5640bd3bcd8c1557b5f06626f15a0ad5c79294f3690"
474
474
  },
475
475
  {
476
476
  "path": "skills/wtfp-list-assumptions/SKILL.md",
@@ -498,7 +498,7 @@
498
498
  },
499
499
  {
500
500
  "path": "skills/wtfp-pause-writing/SKILL.md",
501
- "sha256": "c9f231b31a34e2b833c30beade4e79b73abb0e9238f59de46f73e3949e53d53b"
501
+ "sha256": "d66743d3b690e3d7486b054f599a6b0d9f0f1b9b3fe6e28c1711d28a235b1ee4"
502
502
  },
503
503
  {
504
504
  "path": "skills/wtfp-plan-milestone-gaps/SKILL.md",
@@ -722,7 +722,7 @@
722
722
  },
723
723
  {
724
724
  "path": "workflows/create-outline.md",
725
- "sha256": "a04d0f25a64d5963c890162399e26de2aad593408491c68871832f5c96a6e90e"
725
+ "sha256": "41ffcf7fafb9496686318d5852569eecfe85bb80d9f101da20ec8ae6599b936e"
726
726
  },
727
727
  {
728
728
  "path": "workflows/create-poster.md",
@@ -750,7 +750,7 @@
750
750
  },
751
751
  {
752
752
  "path": "workflows/insert-section.md",
753
- "sha256": "4a0856be3e3165b2bfb6e16a459ccdc04798f21e78178b2c8a24fbbc321cdc70"
753
+ "sha256": "eb0c313fd2eed6809c86384b9cb8fb842c0225cc0c3b33f180131d6b5de0de26"
754
754
  },
755
755
  {
756
756
  "path": "workflows/list-assumptions.md",
@@ -766,7 +766,7 @@
766
766
  },
767
767
  {
768
768
  "path": "workflows/pause-writing.md",
769
- "sha256": "5925c00a573e65c99a34e19984804f6407373e560621874cff29dbff4080fd0a"
769
+ "sha256": "ac40a7b7520e07e94c1f45dbdd6bc443ba7bae63def58e08e80d36081be3710a"
770
770
  },
771
771
  {
772
772
  "path": "workflows/plan-milestone-gaps.md",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://antigravity.google/schemas/v1/plugin.json",
3
3
  "name": "wtfp",
4
- "version": "0.9.0",
5
- "description": "Portable academic research and writing workflows (WTF-P 0.9.0)."
4
+ "version": "0.9.1",
5
+ "description": "Portable academic research and writing workflows (WTF-P 0.9.1)."
6
6
  }
@@ -34,7 +34,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
34
34
  2. Reconcile only choices the author explicitly resolves during the outline interview. Preserve every unrelated decision unchanged. For each explicitly resolved item whose current disposition is `deferred`, preserve the prior item unchanged except for setting its disposition to `superseded`; append a new replacement whose ID is fresh and unique in the ledger, whose authority is `author`, whose disposition is `locked`, and whose `supersedes` field names the prior item. Set the replacement's `recorded_at` to the actual resolution time, increment the decision-record revision, and set the record's `updated_at` to that same actual resolution time. Never supersede a locked choice or treat an agent suggestion or approval of an unrelated outline detail as authority to resolve a decision. If the author resolves no choice, do not rewrite the decision record.
35
35
  3. Present the complete outline and decision diffs at the confirm_outline gate. If the proposed outline contradicts a locked decision, preserve that decision as locked and unchanged. If it assumes a choice that was already deferred and the author did not resolve it, preserve that choice as deferred. In either case, record a non-passing validation and stop before downstream planning.
36
36
  4. Balance the budget before the gate: Every write to `project://structure/outline` must leave `sections[*].word_target` summing exactly to `target_words`. Reallocate across the affected sections and, where the author changed the overall length, restate `target_words` in the same write. Present the reallocation in the approval preview and refuse to publish an outline whose budgets do not balance.
37
- 5. After approval, atomically publish the decision update when one is required together with the outline, one section record per entry, state update, and validation. Preserve stable record and section IDs and verify the complete approved set after writing.
37
+ 5. After approval, atomically publish the decision update when one is required together with the outline, one section record per entry, state update, and validation. A new section record starts at status `not-started` with `artifacts` holding only empty `plans` and `reviews` lists; the action that writes a context, research, plan, review, summary, or handoff file links it. Give every claim an ID that no other claim in the project holds. Preserve stable record and section IDs and verify the complete approved set after writing.
38
38
 
39
39
  ## Safety and completion
40
40
 
@@ -31,7 +31,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
31
31
 
32
32
  1. Resolve the insertion point and propose a stable new section ID, goal, dependencies, wave, claims, and word budget.
33
33
  2. Preview impacts on outline ordering, dependencies, section totals, and current position; require approval. Every write to `project://structure/outline` must leave `sections[*].word_target` summing exactly to `target_words`. Reallocate across the affected sections and, where the author changed the overall length, restate `target_words` in the same write. Present the reallocation in the approval preview and refuse to publish an outline whose budgets do not balance.
34
- 3. Create the section record and atomically update outline and state. Do not renumber stable IDs or move manuscript files implicitly.
34
+ 3. Create the section record at status `not-started` with `artifacts` holding only empty `plans` and `reviews` lists and claim IDs no other claim in the project holds, and atomically update outline and state. Do not renumber stable IDs or move manuscript files implicitly.
35
35
 
36
36
  ## Safety and completion
37
37
 
@@ -29,7 +29,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
29
29
  ## Procedure
30
30
 
31
31
  1. Reconcile current state, decisions, outline revision, section plan, manuscript, summary, reviews, and validations; identify completed work, pending work, blockers, and the next action.
32
- 2. Write a Markdown handoff artifact for narrative continuity plus a human-action checkpoint for machine-readable resumption.
32
+ 2. Write a Markdown handoff artifact for narrative continuity plus a blocking human-action checkpoint for machine-readable resumption. Give the checkpoint an option with id `resume`, which returns `state.status` to `active` when the author selects it, and an option with id `expire`, which closes the checkpoint and leaves the project paused.
33
33
  3. Link the handoff from `section.artifacts.handoff` and the checkpoint from `section.checkpoint_uris`, then set `state.status` to `paused` and link the checkpoint from `state.active_checkpoint_uris`. Preserve `state.phase`, progress, and current section; pausing changes status, checkpoint linkage, revision, and timestamp only. `paused` is a status and is never a phase. Do not commit automatically.
34
34
 
35
35
  ## Safety and completion
@@ -25,7 +25,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
25
25
  2. Reconcile only choices the author explicitly resolves during the outline interview. Preserve every unrelated decision unchanged. For each explicitly resolved item whose current disposition is `deferred`, preserve the prior item unchanged except for setting its disposition to `superseded`; append a new replacement whose ID is fresh and unique in the ledger, whose authority is `author`, whose disposition is `locked`, and whose `supersedes` field names the prior item. Set the replacement's `recorded_at` to the actual resolution time, increment the decision-record revision, and set the record's `updated_at` to that same actual resolution time. Never supersede a locked choice or treat an agent suggestion or approval of an unrelated outline detail as authority to resolve a decision. If the author resolves no choice, do not rewrite the decision record.
26
26
  3. Present the complete outline and decision diffs at the confirm_outline gate. If the proposed outline contradicts a locked decision, preserve that decision as locked and unchanged. If it assumes a choice that was already deferred and the author did not resolve it, preserve that choice as deferred. In either case, record a non-passing validation and stop before downstream planning.
27
27
  4. Balance the budget before the gate: Every write to `project://structure/outline` must leave `sections[*].word_target` summing exactly to `target_words`. Reallocate across the affected sections and, where the author changed the overall length, restate `target_words` in the same write. Present the reallocation in the approval preview and refuse to publish an outline whose budgets do not balance.
28
- 5. After approval, atomically publish the decision update when one is required together with the outline, one section record per entry, state update, and validation. Preserve stable record and section IDs and verify the complete approved set after writing.
28
+ 5. After approval, atomically publish the decision update when one is required together with the outline, one section record per entry, state update, and validation. A new section record starts at status `not-started` with `artifacts` holding only empty `plans` and `reviews` lists; the action that writes a context, research, plan, review, summary, or handoff file links it. Give every claim an ID that no other claim in the project holds. Preserve stable record and section IDs and verify the complete approved set after writing.
29
29
 
30
30
  ## Safety and completion
31
31
 
@@ -23,7 +23,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
23
23
 
24
24
  1. Resolve the insertion point and propose a stable new section ID, goal, dependencies, wave, claims, and word budget.
25
25
  2. Preview impacts on outline ordering, dependencies, section totals, and current position; require approval. Every write to `project://structure/outline` must leave `sections[*].word_target` summing exactly to `target_words`. Reallocate across the affected sections and, where the author changed the overall length, restate `target_words` in the same write. Present the reallocation in the approval preview and refuse to publish an outline whose budgets do not balance.
26
- 3. Create the section record and atomically update outline and state. Do not renumber stable IDs or move manuscript files implicitly.
26
+ 3. Create the section record at status `not-started` with `artifacts` holding only empty `plans` and `reviews` lists and claim IDs no other claim in the project holds, and atomically update outline and state. Do not renumber stable IDs or move manuscript files implicitly.
27
27
 
28
28
  ## Safety and completion
29
29
 
@@ -22,7 +22,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
22
22
  ## Procedure
23
23
 
24
24
  1. Reconcile current state, decisions, outline revision, section plan, manuscript, summary, reviews, and validations; identify completed work, pending work, blockers, and the next action.
25
- 2. Write a Markdown handoff artifact for narrative continuity plus a human-action checkpoint for machine-readable resumption.
25
+ 2. Write a Markdown handoff artifact for narrative continuity plus a blocking human-action checkpoint for machine-readable resumption. Give the checkpoint an option with id `resume`, which returns `state.status` to `active` when the author selects it, and an option with id `expire`, which closes the checkpoint and leaves the project paused.
26
26
  3. Link the handoff from `section.artifacts.handoff` and the checkpoint from `section.checkpoint_uris`, then set `state.status` to `paused` and link the checkpoint from `state.active_checkpoint_uris`. Preserve `state.phase`, progress, and current section; pausing changes status, checkpoint linkage, revision, and timestamp only. `paused` is a status and is never a phase. Do not commit automatically.
27
27
 
28
28
  ## Safety and completion
@@ -5,14 +5,14 @@
5
5
  },
6
6
  "metadata": {
7
7
  "description": "WTF-P evidence-grounded academic workflow plugin.",
8
- "version": "0.9.0"
8
+ "version": "0.9.1"
9
9
  },
10
10
  "plugins": [
11
11
  {
12
12
  "name": "wtfp",
13
13
  "source": "./",
14
14
  "description": "Portable academic research and writing workflows.",
15
- "version": "0.9.0",
15
+ "version": "0.9.1",
16
16
  "author": {
17
17
  "name": "akougkas"
18
18
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wtfp",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Portable academic research and writing workflows with stable wtfp actions.",
5
5
  "author": {
6
6
  "name": "akougkas",
@@ -2,15 +2,15 @@
2
2
  "schema": "wtfp.generated-adapter/v1",
3
3
  "generatorVersion": 5,
4
4
  "target": "claude",
5
- "sourceHash": "5d2a49e8c5a9fb471351f5843451184b4d83de34ff3c8e0d4f6775b5d15ea5c6",
5
+ "sourceHash": "3231e9fb9e894fefc94e162826225348523abd5435494d6e16be9cf6f1803b87",
6
6
  "files": [
7
7
  {
8
8
  "path": ".claude-plugin/marketplace.json",
9
- "sha256": "cb4bf19708cabd0fe5dc0d66d967588d89ebfb900d89728ac18060d448ae97f6"
9
+ "sha256": "bfd80dea277d9b1f7a0b13383ae0798b87b924165fa9593c743a7f80dffebf09"
10
10
  },
11
11
  {
12
12
  "path": ".claude-plugin/plugin.json",
13
- "sha256": "933d5adec91b3b2b6034b186afec1c348505b354ea52fac35059bb956991d3d6"
13
+ "sha256": "c31519c16bcfd0ff09b5ea65542621fb6750d713204a6375248564fc00564847"
14
14
  },
15
15
  {
16
16
  "path": "actions/add-todo.json",
@@ -246,7 +246,7 @@
246
246
  },
247
247
  {
248
248
  "path": "commands/create-outline.md",
249
- "sha256": "041070ffe511c0a2732a93ef99f94a14390c4261767494d193468734f78e1af4"
249
+ "sha256": "3218ec725f6a52d41fc44e441a3b7b94925c2d5f8465c769568b3954b651f981"
250
250
  },
251
251
  {
252
252
  "path": "commands/create-poster.md",
@@ -274,7 +274,7 @@
274
274
  },
275
275
  {
276
276
  "path": "commands/insert-section.md",
277
- "sha256": "2d5f6dc70440f10fc12e842aa441b7549c8af448f1148a786ad171786279bf0e"
277
+ "sha256": "d7ffca773363c7d316bfc936897af967da1e832b035be19cf53c2c7ca47c0756"
278
278
  },
279
279
  {
280
280
  "path": "commands/list-assumptions.md",
@@ -290,7 +290,7 @@
290
290
  },
291
291
  {
292
292
  "path": "commands/pause-writing.md",
293
- "sha256": "81ef7a89a578a005d419d77ab0c537e985909fb0f78c64880e600a543a8712b6"
293
+ "sha256": "287160925648382453e58c8569c8281a4c64ea76b340eb9ecbb51f7dbbcb22b7"
294
294
  },
295
295
  {
296
296
  "path": "commands/plan-milestone-gaps.md",
@@ -366,55 +366,55 @@
366
366
  },
367
367
  {
368
368
  "path": "dev.pancode/agents/wtfp-argument-verifier.md",
369
- "sha256": "e21ef30e3cc102f77bc39cbb14b69b6777a73934c6af4e80604646d03f90cb0f"
369
+ "sha256": "04b67f6595f13ebe09ff290119cb2d3e69570de1046907fcbbe51da9401d2bec"
370
370
  },
371
371
  {
372
372
  "path": "dev.pancode/agents/wtfp-citation-expert.md",
373
- "sha256": "afda45e56a6b85a356f67727bdab8f39662a54f43ad4a3a562e056d28f85f192"
373
+ "sha256": "ef159352be4c755676ac8f50112085bc1f927bcbc8701430e7fe4b2e51fd6d23"
374
374
  },
375
375
  {
376
376
  "path": "dev.pancode/agents/wtfp-citation-formatter.md",
377
- "sha256": "19673234b575139df82c985cd598c9df3326df1b473e1ae7ca5d67e052c4b1b4"
377
+ "sha256": "f15c2791a9ce994aee8347723d1b2b687ec3ed61b66717a3145e46d27e0ed7f0"
378
378
  },
379
379
  {
380
380
  "path": "dev.pancode/agents/wtfp-coherence-checker.md",
381
- "sha256": "049a9d6068eeb07e543af652ec9e2050b4f530520420c9193c0ceac0fcdb44b2"
381
+ "sha256": "d5ca16880b95bffc3b1f3f120475fd79df8ccf91a6ea3a15d6117e5cfb6da582"
382
382
  },
383
383
  {
384
384
  "path": "dev.pancode/agents/wtfp-outliner.md",
385
- "sha256": "f8640481a15acd8ffef35a760d73456a842e6d0eb80f7688ddd2daf93e85b7e7"
385
+ "sha256": "c4bf18993f9012818f57dbde8655c8e752efcfcd3899fcbc54660dadf40bca67"
386
386
  },
387
387
  {
388
388
  "path": "dev.pancode/agents/wtfp-plan-checker.md",
389
- "sha256": "0e1d5bc389926d1bbdccc86b0a8db6572c228acf700f1e7f1ef576870a365f8b"
389
+ "sha256": "9749e2294344a1a8b4b3bd5e8eea9a0674a351409f9b5a0d1ca54f6a3522dbf4"
390
390
  },
391
391
  {
392
392
  "path": "dev.pancode/agents/wtfp-prose-polisher.md",
393
- "sha256": "a222af680df82a3974fa5f09329597d1693c80d6bfc858db232a224cbe3e5b92"
393
+ "sha256": "0d5de65569ed4efd2d303b976d005a7a8721a1e62227ad89609a511d8620a619"
394
394
  },
395
395
  {
396
396
  "path": "dev.pancode/agents/wtfp-research-synthesizer.md",
397
- "sha256": "9b1e065556dbc108f59d13285130809f6a9217c760cb1a49f6078d0a7c33efc8"
397
+ "sha256": "cf05c0ca182b0dbbb366c7fb4b87c59766c29791f50a2306ceadc4ed5de87884"
398
398
  },
399
399
  {
400
400
  "path": "dev.pancode/agents/wtfp-section-planner.md",
401
- "sha256": "5036c4350696f8cb534244fd8e55f2020a91de86fd63679fc5dd60f4566e50e1"
401
+ "sha256": "b9601d6819fe7c13f3dede850329e52becf20325b516bc3398c413f75f0ddb4d"
402
402
  },
403
403
  {
404
404
  "path": "dev.pancode/agents/wtfp-section-reviewer.md",
405
- "sha256": "de4f76888c9ce72f6747c0ab4014f2d080fc77cef0e521b1b2c7ef5bcddb89cc"
405
+ "sha256": "6ed9d9e66810ed7113cc65aa5008c02be821f478f6fc440cfc5a3f274d152d3a"
406
406
  },
407
407
  {
408
408
  "path": "dev.pancode/agents/wtfp-section-writer.md",
409
- "sha256": "a47efd949d3292e12bd3081c44d9e7b6aea9d8172119b9ca501965a088babd40"
409
+ "sha256": "a9cf607c3157cd0b3b5531a7860d38f5f7d9eae0b9303ce0abe5422b43267847"
410
410
  },
411
411
  {
412
412
  "path": "dev.pancode/fleets/wtfp-draft-review.md",
413
- "sha256": "2616b843bd20004ca85ce9bdcfe41e2181b3eca9db21153db8d7891eedeff519"
413
+ "sha256": "97c7d6cacda215ffed15091560a5e84ac0903fe429cb1da5356cd87f807e4ff4"
414
414
  },
415
415
  {
416
416
  "path": "dev.pancode/fleets/wtfp-plan-section.md",
417
- "sha256": "414be527ea74218dd09487eff2aa9531c9a21ca1db229a4b792324fc7850b0e5"
417
+ "sha256": "aaf47207881bc982c19430d66827d11a4fa3ac454807969f4c1528165eb0bfd6"
418
418
  },
419
419
  {
420
420
  "path": "dev.pancode/prompts/wtfp/add-todo.md",
@@ -422,7 +422,7 @@
422
422
  },
423
423
  {
424
424
  "path": "dev.pancode/prompts/wtfp/advance.md",
425
- "sha256": "efa984df48e1ea9711b2751e5775f7d93f3d5b63a5b8d9c6b742a975dad4b5cd"
425
+ "sha256": "d344a3f00e8088ad57c3d924f0cf9d5145d2755293228e506e4cf9fa2e6c61eb"
426
426
  },
427
427
  {
428
428
  "path": "dev.pancode/prompts/wtfp/analyze-bib.md",
@@ -446,11 +446,11 @@
446
446
  },
447
447
  {
448
448
  "path": "dev.pancode/prompts/wtfp/contribute.md",
449
- "sha256": "c6f0c031087f1dd38cc8d23440a794c40611455e11f7656d5a97358bbade9b9e"
449
+ "sha256": "7195cf97bc6a802aac4b696ddca0af001137d2cee47d5b1d9dbe46d4b89fbf13"
450
450
  },
451
451
  {
452
452
  "path": "dev.pancode/prompts/wtfp/create-outline.md",
453
- "sha256": "8bd3ba1c0f7eb5254fa99645ae962c4be2e67672ecb0513691c4ecd83399a69e"
453
+ "sha256": "2ad343eae3a590076dfd27640b796d965e6f84dd19af0c968350950622c883f2"
454
454
  },
455
455
  {
456
456
  "path": "dev.pancode/prompts/wtfp/create-poster.md",
@@ -474,11 +474,11 @@
474
474
  },
475
475
  {
476
476
  "path": "dev.pancode/prompts/wtfp/help.md",
477
- "sha256": "d673baf3e6272f9aca74df6ce884a866570707880a9eee6e84b74eb3b95a55d1"
477
+ "sha256": "720191bbb9cf0dd7a6b0633a79b05a0e4479bdf77875313e7b2f25e07364ad40"
478
478
  },
479
479
  {
480
480
  "path": "dev.pancode/prompts/wtfp/insert-section.md",
481
- "sha256": "235a3f3cfca0c07ffbfe14eca2ab520ea57d0d75d3df8c71b3d0a23f95bdd11e"
481
+ "sha256": "5ea0eab3fef7f073300bc008365611b110e9681a21254ef73e3cd8471670b149"
482
482
  },
483
483
  {
484
484
  "path": "dev.pancode/prompts/wtfp/list-assumptions.md",
@@ -494,7 +494,7 @@
494
494
  },
495
495
  {
496
496
  "path": "dev.pancode/prompts/wtfp/pause-writing.md",
497
- "sha256": "e413fbfc4a48ed3bc0451f6a0b36f959a38b082ff45db4e691ba41e56e682938"
497
+ "sha256": "7a7435740edbacb3e782875f5ee287d8af6353bfe7078a8cd26ffb0742c1ab27"
498
498
  },
499
499
  {
500
500
  "path": "dev.pancode/prompts/wtfp/plan-milestone-gaps.md",
@@ -522,15 +522,15 @@
522
522
  },
523
523
  {
524
524
  "path": "dev.pancode/prompts/wtfp/remove-section.md",
525
- "sha256": "af931e21802234176acfbf27b992148514ec6ce3ec5224e7c9f9a25a460b69f4"
525
+ "sha256": "cdbab09418b5c6d79949c4748d289d066e3a8aebe244bd8b463c4e7d1f4f598a"
526
526
  },
527
527
  {
528
528
  "path": "dev.pancode/prompts/wtfp/report-bug.md",
529
- "sha256": "3c73a45725aad73824f112ab6c3dc8f1de4299d4d66b5f8d2a326dc326f1de02"
529
+ "sha256": "fdb43e78a233932548e546cbfb54fb9501a1f6780b4186dc59ed459c35c642c2"
530
530
  },
531
531
  {
532
532
  "path": "dev.pancode/prompts/wtfp/request-feature.md",
533
- "sha256": "7af242b0883e253be16ec1189348e90fe2a8bdd723b28d6a574190e9cbc1fb97"
533
+ "sha256": "972b7ce39e2a53a9b33ccdc3f50c940a417d5451528d3b97aaf7c81babed97c8"
534
534
  },
535
535
  {
536
536
  "path": "dev.pancode/prompts/wtfp/research-gap.md",
@@ -554,7 +554,7 @@
554
554
  },
555
555
  {
556
556
  "path": "dev.pancode/prompts/wtfp/update.md",
557
- "sha256": "b82ac4cb1a135543f1914f5e53540940c048d57c5649d63ae19067aec6d5bce0"
557
+ "sha256": "571c8c85e4ef33893d5077ce9d220ddc9c8f20b4ebfdc031a9feccde75b33dc2"
558
558
  },
559
559
  {
560
560
  "path": "dev.pancode/prompts/wtfp/verify-work.md",
@@ -586,7 +586,7 @@
586
586
  },
587
587
  {
588
588
  "path": "plugin.json",
589
- "sha256": "a569b4b5d2b8ccf0483914d39a223f2aadc66cefc04e84c178e79f247420d246"
589
+ "sha256": "8838123fdb317cfe3f7d27205c1a9bb0bac1b8fdb71a016669346d92038c8e06"
590
590
  },
591
591
  {
592
592
  "path": "project/README.md",
@@ -950,7 +950,7 @@
950
950
  },
951
951
  {
952
952
  "path": "workflows/create-outline.md",
953
- "sha256": "a04d0f25a64d5963c890162399e26de2aad593408491c68871832f5c96a6e90e"
953
+ "sha256": "41ffcf7fafb9496686318d5852569eecfe85bb80d9f101da20ec8ae6599b936e"
954
954
  },
955
955
  {
956
956
  "path": "workflows/create-poster.md",
@@ -978,7 +978,7 @@
978
978
  },
979
979
  {
980
980
  "path": "workflows/insert-section.md",
981
- "sha256": "4a0856be3e3165b2bfb6e16a459ccdc04798f21e78178b2c8a24fbbc321cdc70"
981
+ "sha256": "eb0c313fd2eed6809c86384b9cb8fb842c0225cc0c3b33f180131d6b5de0de26"
982
982
  },
983
983
  {
984
984
  "path": "workflows/list-assumptions.md",
@@ -994,7 +994,7 @@
994
994
  },
995
995
  {
996
996
  "path": "workflows/pause-writing.md",
997
- "sha256": "5925c00a573e65c99a34e19984804f6407373e560621874cff29dbff4080fd0a"
997
+ "sha256": "ac40a7b7520e07e94c1f45dbdd6bc443ba7bae63def58e08e80d36081be3710a"
998
998
  },
999
999
  {
1000
1000
  "path": "workflows/plan-milestone-gaps.md",
@@ -32,7 +32,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
32
32
  2. Reconcile only choices the author explicitly resolves during the outline interview. Preserve every unrelated decision unchanged. For each explicitly resolved item whose current disposition is `deferred`, preserve the prior item unchanged except for setting its disposition to `superseded`; append a new replacement whose ID is fresh and unique in the ledger, whose authority is `author`, whose disposition is `locked`, and whose `supersedes` field names the prior item. Set the replacement's `recorded_at` to the actual resolution time, increment the decision-record revision, and set the record's `updated_at` to that same actual resolution time. Never supersede a locked choice or treat an agent suggestion or approval of an unrelated outline detail as authority to resolve a decision. If the author resolves no choice, do not rewrite the decision record.
33
33
  3. Present the complete outline and decision diffs at the confirm_outline gate. If the proposed outline contradicts a locked decision, preserve that decision as locked and unchanged. If it assumes a choice that was already deferred and the author did not resolve it, preserve that choice as deferred. In either case, record a non-passing validation and stop before downstream planning.
34
34
  4. Balance the budget before the gate: Every write to `project://structure/outline` must leave `sections[*].word_target` summing exactly to `target_words`. Reallocate across the affected sections and, where the author changed the overall length, restate `target_words` in the same write. Present the reallocation in the approval preview and refuse to publish an outline whose budgets do not balance.
35
- 5. After approval, atomically publish the decision update when one is required together with the outline, one section record per entry, state update, and validation. Preserve stable record and section IDs and verify the complete approved set after writing.
35
+ 5. After approval, atomically publish the decision update when one is required together with the outline, one section record per entry, state update, and validation. A new section record starts at status `not-started` with `artifacts` holding only empty `plans` and `reviews` lists; the action that writes a context, research, plan, review, summary, or handoff file links it. Give every claim an ID that no other claim in the project holds. Preserve stable record and section IDs and verify the complete approved set after writing.
36
36
 
37
37
  ## Safety and completion
38
38
 
@@ -29,7 +29,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
29
29
 
30
30
  1. Resolve the insertion point and propose a stable new section ID, goal, dependencies, wave, claims, and word budget.
31
31
  2. Preview impacts on outline ordering, dependencies, section totals, and current position; require approval. Every write to `project://structure/outline` must leave `sections[*].word_target` summing exactly to `target_words`. Reallocate across the affected sections and, where the author changed the overall length, restate `target_words` in the same write. Present the reallocation in the approval preview and refuse to publish an outline whose budgets do not balance.
32
- 3. Create the section record and atomically update outline and state. Do not renumber stable IDs or move manuscript files implicitly.
32
+ 3. Create the section record at status `not-started` with `artifacts` holding only empty `plans` and `reviews` lists and claim IDs no other claim in the project holds, and atomically update outline and state. Do not renumber stable IDs or move manuscript files implicitly.
33
33
 
34
34
  ## Safety and completion
35
35
 
@@ -27,7 +27,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
27
27
  ## Procedure
28
28
 
29
29
  1. Reconcile current state, decisions, outline revision, section plan, manuscript, summary, reviews, and validations; identify completed work, pending work, blockers, and the next action.
30
- 2. Write a Markdown handoff artifact for narrative continuity plus a human-action checkpoint for machine-readable resumption.
30
+ 2. Write a Markdown handoff artifact for narrative continuity plus a blocking human-action checkpoint for machine-readable resumption. Give the checkpoint an option with id `resume`, which returns `state.status` to `active` when the author selects it, and an option with id `expire`, which closes the checkpoint and leaves the project paused.
31
31
  3. Link the handoff from `section.artifacts.handoff` and the checkpoint from `section.checkpoint_uris`, then set `state.status` to `paused` and link the checkpoint from `state.active_checkpoint_uris`. Preserve `state.phase`, progress, and current section; pausing changes status, checkpoint linkage, revision, and timestamp only. `paused` is a status and is never a phase. Do not commit automatically.
32
32
 
33
33
  ## Safety and completion
@@ -57,6 +57,10 @@ Verify that completed section text actually delivers the claims, evidence, const
57
57
  - Do not directly prompt a human; represent irreducible expert judgment as `needs_input` with an exact question for the orchestrator.
58
58
  - Never commit, delete, rename, publish, or apply mutations. `effects_applied` must always be empty.
59
59
 
60
+ ## PanCode project paths
61
+
62
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
63
+
60
64
  ## PanCode result contract
61
65
 
62
66
  Your entire final response must be one compact JSON object and nothing else: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each evidence value to one short sentence that cites the artifact and location, keep the complete UTF-8 response at or below 4096 bytes, and emit no Markdown, code fence, analysis, or text outside the object. Where the procedure asks for findings, a status or a summary, the checks and the verdict are that result: a failed check is a finding, and fail means revise. Example: {"verdict":"fail","checks":[{"name":"claim coverage","passed":true,"evidence":"All five claims map to paragraphs P2-P6 of plan-01."},{"name":"word budget","passed":false,"evidence":"Units sum to 830 words, above the 805 ceiling."}]}
@@ -56,6 +56,10 @@ Find a precise, defensible set of sources for explicit manuscript claims and ana
56
56
  - Do not commit, delete, rename, publish, or perform destructive operations unless the exact action effect authorizes them.
57
57
  - Do not directly prompt a human. Report ambiguous target claims or access limits through the result.
58
58
 
59
+ ## PanCode project paths
60
+
61
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
62
+
59
63
  ## PanCode result contract
60
64
 
61
65
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
@@ -56,6 +56,10 @@ Audit bibliography integrity and produce deterministic corrections without touch
56
56
  - Do not commit, delete, rename, publish, or perform destructive operations unless the exact effect is authorized.
57
57
  - Do not prompt a human directly; route ambiguous identity or style choices through the structured result.
58
58
 
59
+ ## PanCode project paths
60
+
61
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
62
+
59
63
  ## PanCode result contract
60
64
 
61
65
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
@@ -56,6 +56,10 @@ Evaluate the manuscript as a connected argument rather than a set of individuall
56
56
  - Route author-owned factual resolutions through the orchestrator; do not prompt a human directly.
57
57
  - Never commit, delete, rename, publish, or apply mutations. `effects_applied` must always be empty.
58
58
 
59
+ ## PanCode project paths
60
+
61
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
62
+
59
63
  ## PanCode result contract
60
64
 
61
65
  Your entire final response must be one compact JSON object and nothing else: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each evidence value to one short sentence that cites the artifact and location, keep the complete UTF-8 response at or below 4096 bytes, and emit no Markdown, code fence, analysis, or text outside the object. Where the procedure asks for findings, a status or a summary, the checks and the verdict are that result: a failed check is a finding, and fail means revise. Example: {"verdict":"fail","checks":[{"name":"claim coverage","passed":true,"evidence":"All five claims map to paragraphs P2-P6 of plan-01."},{"name":"word budget","passed":false,"evidence":"Units sum to 830 words, above the 805 ceiling."}]}
@@ -61,6 +61,10 @@ If document type, thesis, or a hard venue constraint is irreducibly ambiguous, d
61
61
  - Do not commit, delete, rename, publish, or perform any destructive operation unless that exact effect is authorized by `invocation://action`.
62
62
  - Do not solicit a human directly. Express missing decisions through the structured result so the orchestrator can manage interaction.
63
63
 
64
+ ## PanCode project paths
65
+
66
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
67
+
64
68
  ## PanCode result contract
65
69
 
66
70
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
@@ -57,6 +57,10 @@ Determine whether proposed section plans are likely to produce the intended acad
57
57
  - Do not request input from a human directly; report missing controlling information to the orchestrator.
58
58
  - Never commit, delete, rename, publish, or apply mutation effects. `effects_applied` must always be empty.
59
59
 
60
+ ## PanCode project paths
61
+
62
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
63
+
60
64
  ## PanCode result contract
61
65
 
62
66
  Your entire final response must be one compact JSON object and nothing else: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each evidence value to one short sentence that cites the artifact and location, keep the complete UTF-8 response at or below 4096 bytes, and emit no Markdown, code fence, analysis, or text outside the object. Where the procedure asks for findings, a status or a summary, the checks and the verdict are that result: a failed check is a finding, and fail means revise. Example: {"verdict":"fail","checks":[{"name":"claim coverage","passed":true,"evidence":"All five claims map to paragraphs P2-P6 of plan-01."},{"name":"word budget","passed":false,"evidence":"Units sum to 830 words, above the 805 ceiling."}]}
@@ -56,6 +56,10 @@ Improve clarity, rhythm, concision, and authorial voice without changing technic
56
56
  - Do not commit, delete, rename, publish, or perform destructive operations unless the exact effect is authorized.
57
57
  - Do not prompt a human directly; report ambiguous voice or meaning choices through the result.
58
58
 
59
+ ## PanCode project paths
60
+
61
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
62
+
59
63
  ## PanCode result contract
60
64
 
61
65
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
@@ -59,6 +59,10 @@ Investigate the literature needed to plan and write a specific section well. The
59
59
  - Do not commit, delete, rename, publish, or perform destructive operations unless the exact effect is authorized.
60
60
  - Do not contact a human directly. Return `needs_input` for a missing scope choice and `blocked` for capability or access failure, preserving partial findings.
61
61
 
62
+ ## PanCode project paths
63
+
64
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
65
+
62
66
  ## PanCode result contract
63
67
 
64
68
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
@@ -58,6 +58,10 @@ Convert one approved section goal into small, executable writing plans. A plan i
58
58
  - Do not commit, delete, rename, publish, or perform destructive operations unless the action effect contract explicitly authorizes the exact operation.
59
59
  - Do not prompt a human. Return `needs_input` and a minimal decision request for orchestrator handling.
60
60
 
61
+ ## PanCode project paths
62
+
63
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
64
+
61
65
  ## PanCode result contract
62
66
 
63
67
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.