wtf-p 0.7.4 → 0.8.0

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 (109) hide show
  1. package/README.md +10 -10
  2. package/bin/commands/install-logic.js +1 -1
  3. package/bin/lib/adapter-compiler.js +163 -55
  4. package/bin/lib/clio-registration.js +127 -36
  5. package/bin/lib/manifest.js +11 -3
  6. package/bin/uninstall.js +3 -2
  7. package/package.json +1 -1
  8. package/vendors/antigravity/.wtfp-generated.json +2 -2
  9. package/vendors/antigravity/plugin.json +1 -1
  10. package/vendors/claude/.claude-plugin/marketplace.json +2 -2
  11. package/vendors/claude/.claude-plugin/plugin.json +1 -1
  12. package/vendors/claude/.wtfp-generated.json +5 -5
  13. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/help.md +1 -1
  14. package/vendors/claude/plugin.json +1 -1
  15. package/vendors/clio-extension/.wtfp-generated.json +228 -0
  16. package/vendors/clio-extension/actions/add-todo.json +52 -0
  17. package/vendors/clio-extension/actions/analyze-bib.json +97 -0
  18. package/vendors/clio-extension/actions/audit-milestone.json +63 -0
  19. package/vendors/clio-extension/actions/check-refs.json +80 -0
  20. package/vendors/clio-extension/actions/check-todos.json +52 -0
  21. package/vendors/clio-extension/actions/checkpoint.json +76 -0
  22. package/vendors/clio-extension/actions/contribute.json +57 -0
  23. package/vendors/clio-extension/actions/create-outline.json +84 -0
  24. package/vendors/clio-extension/actions/create-poster.json +54 -0
  25. package/vendors/clio-extension/actions/create-slides.json +54 -0
  26. package/vendors/clio-extension/actions/discuss-section.json +76 -0
  27. package/vendors/clio-extension/actions/execute-outline.json +116 -0
  28. package/vendors/clio-extension/actions/export-latex.json +65 -0
  29. package/vendors/clio-extension/actions/help.json +30 -0
  30. package/vendors/clio-extension/actions/insert-section.json +61 -0
  31. package/vendors/clio-extension/actions/list-assumptions.json +35 -0
  32. package/vendors/clio-extension/actions/map-project.json +71 -0
  33. package/vendors/clio-extension/actions/new-paper.json +70 -0
  34. package/vendors/clio-extension/actions/pause-writing.json +71 -0
  35. package/vendors/clio-extension/actions/plan-milestone-gaps.json +57 -0
  36. package/vendors/clio-extension/actions/plan-revision.json +58 -0
  37. package/vendors/clio-extension/actions/plan-section.json +100 -0
  38. package/vendors/clio-extension/actions/polish-prose.json +69 -0
  39. package/vendors/clio-extension/actions/progress.json +51 -0
  40. package/vendors/clio-extension/actions/quick.json +70 -0
  41. package/vendors/clio-extension/actions/remove-section.json +63 -0
  42. package/vendors/clio-extension/actions/report-bug.json +47 -0
  43. package/vendors/clio-extension/actions/request-feature.json +47 -0
  44. package/vendors/clio-extension/actions/research-gap.json +102 -0
  45. package/vendors/clio-extension/actions/resume-writing.json +65 -0
  46. package/vendors/clio-extension/actions/review-section.json +83 -0
  47. package/vendors/clio-extension/actions/settings.json +47 -0
  48. package/vendors/clio-extension/actions/submit-milestone.json +77 -0
  49. package/vendors/clio-extension/actions/update.json +42 -0
  50. package/vendors/clio-extension/actions/verify-work.json +63 -0
  51. package/vendors/clio-extension/actions/write-section.json +115 -0
  52. package/vendors/clio-extension/clio-coder-extension.yaml +53 -0
  53. package/vendors/clio-extension/compatibility/action-availability.json +295 -0
  54. package/vendors/clio-extension/project/schemas/checkpoint.schema.json +102 -0
  55. package/vendors/clio-extension/project/schemas/common.schema.json +33 -0
  56. package/vendors/clio-extension/project/schemas/config.schema.json +69 -0
  57. package/vendors/clio-extension/project/schemas/decisions.schema.json +31 -0
  58. package/vendors/clio-extension/project/schemas/evidence.schema.json +48 -0
  59. package/vendors/clio-extension/project/schemas/manifest.schema.json +102 -0
  60. package/vendors/clio-extension/project/schemas/outline.schema.json +67 -0
  61. package/vendors/clio-extension/project/schemas/section.schema.json +95 -0
  62. package/vendors/clio-extension/project/schemas/source.schema.json +73 -0
  63. package/vendors/clio-extension/project/schemas/state.schema.json +58 -0
  64. package/vendors/clio-extension/project/schemas/validation.schema.json +74 -0
  65. package/vendors/clio-extension/runtime/extension.test.ts +248 -0
  66. package/vendors/clio-extension/runtime/extension.ts +1321 -0
  67. package/vendors/clio-extension/runtime/json-schema.cjs +304 -0
  68. package/vendors/clio-extension/runtime/package.json +3 -0
  69. package/vendors/clio-extension/runtime/write-guard.json +21 -0
  70. package/vendors/clio-extension/skins/wtfp.json +20 -0
  71. package/vendors/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
  72. package/vendors/codex/plugins/wtfp/.wtfp-generated.json +3 -3
  73. package/vendors/codex/plugins/wtfp/plugin.json +1 -1
  74. package/vendors/copilot/.wtfp-generated.json +2 -2
  75. package/vendors/copilot/marketplace.json +2 -2
  76. package/vendors/copilot/plugins/wtfp/.claude-plugin/plugin.json +1 -1
  77. package/vendors/copilot/plugins/wtfp/.wtfp-generated.json +2 -2
  78. package/vendors/gemini/.wtfp-generated.json +2 -2
  79. package/vendors/gemini/gemini-extension.json +1 -1
  80. package/vendors/plugin/.wtfp-generated.json +30 -30
  81. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/add-todo.md +6 -12
  82. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +7 -19
  83. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +7 -25
  84. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-refs.md +7 -15
  85. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-todos.md +9 -13
  86. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/checkpoint.md +7 -27
  87. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-outline.md +7 -25
  88. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/discuss-section.md +7 -17
  89. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/execute-outline.md +8 -27
  90. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/help.md +2 -2
  91. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/insert-section.md +7 -13
  92. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/map-project.md +6 -14
  93. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/new-paper.md +7 -17
  94. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/pause-writing.md +6 -18
  95. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +7 -15
  96. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-section.md +7 -27
  97. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/polish-prose.md +8 -15
  98. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/quick.md +8 -15
  99. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/research-gap.md +7 -21
  100. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/resume-writing.md +7 -23
  101. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/review-section.md +7 -19
  102. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/settings.md +7 -9
  103. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +7 -25
  104. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/verify-work.md +7 -15
  105. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/write-section.md +8 -28
  106. package/vendors/plugin/compatibility/action-availability.json +16 -1
  107. package/vendors/plugin/plugin.json +7 -7
  108. /package/vendors/plugin/ai.iowarp.clio/{fleets → playbooks}/wtfp-draft-review.md +0 -0
  109. /package/vendors/plugin/ai.iowarp.clio/{fleets → playbooks}/wtfp-plan-section.md +0 -0
@@ -0,0 +1,71 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "map-project",
4
+ "title": "Map an existing project",
5
+ "description": "Index existing drafts, data, figures, and references into portable project state.",
6
+ "alias": "wtfp:map-project",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-start-project"
10
+ },
11
+ "workflow": "wtfp://workflows/map-project",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write"
16
+ ],
17
+ "conditions": [
18
+ "The project contains material to inventory"
19
+ ]
20
+ },
21
+ "reads": [
22
+ "project://manifest",
23
+ "project://state",
24
+ "project://materials/{artifact}",
25
+ "project://paper/{artifact}",
26
+ "project://sources/{source}",
27
+ "project://evidence/{evidence}"
28
+ ],
29
+ "produces": [
30
+ {
31
+ "uri": "project://sources/{source}",
32
+ "mode": "create"
33
+ },
34
+ {
35
+ "uri": "project://evidence/{evidence}",
36
+ "mode": "create"
37
+ },
38
+ {
39
+ "uri": "project://state",
40
+ "mode": "update"
41
+ },
42
+ {
43
+ "uri": "project://sources/{source}",
44
+ "mode": "update"
45
+ },
46
+ {
47
+ "uri": "project://evidence/{evidence}",
48
+ "mode": "update"
49
+ },
50
+ {
51
+ "uri": "project://manifest",
52
+ "mode": "update"
53
+ }
54
+ ],
55
+ "delegation": [],
56
+ "tools": [],
57
+ "effects": [
58
+ {
59
+ "id": "filesystem.create",
60
+ "scope": "project://sources/{source}, project://evidence/{evidence}"
61
+ },
62
+ {
63
+ "id": "filesystem.read",
64
+ "scope": "project://manifest, project://state, project://materials/{artifact}, project://paper/{artifact}, project://sources/{source}, project://evidence/{evidence}"
65
+ },
66
+ {
67
+ "id": "filesystem.write",
68
+ "scope": "project://sources/{source}, project://evidence/{evidence}, project://state, project://manifest"
69
+ }
70
+ ]
71
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "new-paper",
4
+ "title": "Start a new paper",
5
+ "description": "Interview the researcher and initialize a portable WTF-P project.",
6
+ "alias": "wtfp:new-paper",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-start-project"
10
+ },
11
+ "workflow": "wtfp://workflows/new-paper",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "The selected project root is writable",
20
+ "Existing project state is preserved unless the user approves reuse"
21
+ ]
22
+ },
23
+ "reads": [
24
+ "project://manifest",
25
+ "project://materials/{artifact}",
26
+ "project://paper/{artifact}"
27
+ ],
28
+ "produces": [
29
+ {
30
+ "uri": "project://manifest",
31
+ "mode": "create"
32
+ },
33
+ {
34
+ "uri": "project://config",
35
+ "mode": "create"
36
+ },
37
+ {
38
+ "uri": "project://state",
39
+ "mode": "create"
40
+ },
41
+ {
42
+ "uri": "project://decisions",
43
+ "mode": "create"
44
+ },
45
+ {
46
+ "uri": "project://structure/outline",
47
+ "mode": "create"
48
+ }
49
+ ],
50
+ "delegation": [],
51
+ "tools": [],
52
+ "effects": [
53
+ {
54
+ "id": "filesystem.create",
55
+ "scope": "project://manifest, project://config, project://state, project://decisions, project://structure/outline"
56
+ },
57
+ {
58
+ "id": "filesystem.read",
59
+ "scope": "project://manifest, project://materials/{artifact}, project://paper/{artifact}"
60
+ },
61
+ {
62
+ "id": "filesystem.write",
63
+ "scope": "project://manifest, project://config, project://state, project://decisions, project://structure/outline"
64
+ },
65
+ {
66
+ "id": "user.gate",
67
+ "scope": "project initialization decisions"
68
+ }
69
+ ]
70
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "pause-writing",
4
+ "title": "Pause writing",
5
+ "description": "Record an exact context handoff so another session can resume without reconstructing intent.",
6
+ "alias": "wtfp:pause-writing",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-manage-project"
10
+ },
11
+ "workflow": "wtfp://workflows/pause-writing",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write"
16
+ ],
17
+ "conditions": [
18
+ "Portable project state has been initialized"
19
+ ]
20
+ },
21
+ "reads": [
22
+ "project://state",
23
+ "project://decisions",
24
+ "project://structure/outline",
25
+ "project://sections/{section}",
26
+ "project://sections/{section}/plans/{plan}",
27
+ "project://sections/{section}/reviews/{review}",
28
+ "project://sections/{section}/summary",
29
+ "project://sections/{section}/handoff",
30
+ "project://validations/{validation}",
31
+ "project://paper/{artifact}"
32
+ ],
33
+ "produces": [
34
+ {
35
+ "uri": "project://sections/{section}/handoff",
36
+ "mode": "create"
37
+ },
38
+ {
39
+ "uri": "project://sections/{section}/handoff",
40
+ "mode": "update"
41
+ },
42
+ {
43
+ "uri": "project://checkpoints/{checkpoint}",
44
+ "mode": "create"
45
+ },
46
+ {
47
+ "uri": "project://sections/{section}",
48
+ "mode": "update"
49
+ },
50
+ {
51
+ "uri": "project://state",
52
+ "mode": "update"
53
+ }
54
+ ],
55
+ "delegation": [],
56
+ "tools": [],
57
+ "effects": [
58
+ {
59
+ "id": "filesystem.create",
60
+ "scope": "project://sections/{section}/handoff, project://checkpoints/{checkpoint}"
61
+ },
62
+ {
63
+ "id": "filesystem.modify",
64
+ "scope": "project://sections/{section}/handoff, project://sections/{section}, project://state"
65
+ },
66
+ {
67
+ "id": "filesystem.read",
68
+ "scope": "project://state, project://decisions, project://structure/outline, project://sections/{section}, project://sections/{section}/plans/{plan}, project://sections/{section}/reviews/{review}, project://sections/{section}/summary, project://sections/{section}/handoff, project://validations/{validation}, project://paper/{artifact}"
69
+ }
70
+ ]
71
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "plan-milestone-gaps",
4
+ "title": "Plan milestone gap fixes",
5
+ "description": "Convert milestone audit failures into targeted, verifiable fix plans.",
6
+ "alias": "wtfp:plan-milestone-gaps",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-review-manuscript"
10
+ },
11
+ "workflow": "wtfp://workflows/plan-milestone-gaps",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "A milestone audit contains unresolved gaps"
20
+ ]
21
+ },
22
+ "reads": [
23
+ "project://validations/{validation}",
24
+ "project://structure/outline",
25
+ "project://sections/{section}"
26
+ ],
27
+ "produces": [
28
+ {
29
+ "uri": "project://sections/{section}/plans/{plan}",
30
+ "mode": "create"
31
+ },
32
+ {
33
+ "uri": "project://checkpoints/{checkpoint}",
34
+ "mode": "create"
35
+ }
36
+ ],
37
+ "delegation": [],
38
+ "tools": [],
39
+ "effects": [
40
+ {
41
+ "id": "filesystem.create",
42
+ "scope": "project://sections/{section}/plans/{plan}, project://checkpoints/{checkpoint}"
43
+ },
44
+ {
45
+ "id": "filesystem.read",
46
+ "scope": "project://validations/{validation}, project://structure/outline, project://sections/{section}"
47
+ },
48
+ {
49
+ "id": "filesystem.write",
50
+ "scope": "targeted milestone fix plans"
51
+ },
52
+ {
53
+ "id": "user.gate",
54
+ "scope": "fix priorities and deferred gaps"
55
+ }
56
+ ]
57
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "plan-revision",
4
+ "title": "Plan a revision",
5
+ "description": "Turn prioritized review findings into a bounded, testable revision plan.",
6
+ "alias": "wtfp:plan-revision",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-plan-section"
10
+ },
11
+ "workflow": "wtfp://workflows/plan-revision",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "Review issues exist for the selected section"
20
+ ]
21
+ },
22
+ "reads": [
23
+ "project://manifest",
24
+ "project://decisions",
25
+ "project://sections/{section}",
26
+ "project://sections/{section}/plans/{plan}",
27
+ "project://sections/{section}/reviews/{review}",
28
+ "project://sections/{section}/summary",
29
+ "project://validations/{validation}",
30
+ "project://paper/{artifact}"
31
+ ],
32
+ "produces": [
33
+ {
34
+ "uri": "project://sections/{section}/plans/{plan}",
35
+ "mode": "create"
36
+ }
37
+ ],
38
+ "delegation": [],
39
+ "tools": [],
40
+ "effects": [
41
+ {
42
+ "id": "filesystem.create",
43
+ "scope": "project://sections/{section}/plans/{plan}"
44
+ },
45
+ {
46
+ "id": "filesystem.read",
47
+ "scope": "project://manifest, project://decisions, project://sections/{section}, project://sections/{section}/plans/{plan}, project://sections/{section}/reviews/{review}, project://sections/{section}/summary, project://validations/{validation}, project://paper/{artifact}"
48
+ },
49
+ {
50
+ "id": "filesystem.write",
51
+ "scope": "project://sections/{section}/plans/{plan}"
52
+ },
53
+ {
54
+ "id": "user.gate",
55
+ "scope": "revision priorities"
56
+ }
57
+ ]
58
+ }
@@ -0,0 +1,100 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "plan-section",
4
+ "title": "Plan a section",
5
+ "description": "Create and independently check a detailed writing plan for one section.",
6
+ "alias": "wtfp:plan-section",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-plan-section"
10
+ },
11
+ "workflow": "wtfp://workflows/plan-section",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "agent.delegate",
15
+ "filesystem.read",
16
+ "filesystem.write",
17
+ "user.interaction"
18
+ ],
19
+ "conditions": [
20
+ "A target section exists in project://structure/outline and has a matching v1 section record",
21
+ "Exactly one applicable current validation exists with subject_uri project://structure/outline, action_id create-outline, and executed_at greater than or equal to the outline updated_at, and that validation has status passed",
22
+ "project://structure/outline and the target project://sections/{section} record are consistent with all current locked and deferred choices in project://decisions"
23
+ ]
24
+ },
25
+ "reads": [
26
+ "project://manifest",
27
+ "project://config",
28
+ "project://state",
29
+ "project://decisions",
30
+ "project://structure/outline",
31
+ "project://validations/*",
32
+ "project://sections/{section}",
33
+ "project://sections/{section}/context",
34
+ "project://sections/{section}/research",
35
+ "project://sections/{section}/summary",
36
+ "project://sources/{source}",
37
+ "project://evidence/{evidence}"
38
+ ],
39
+ "produces": [
40
+ {
41
+ "uri": "project://sections/{section}/plans/{plan}",
42
+ "mode": "create"
43
+ },
44
+ {
45
+ "uri": "project://validations/{validation}",
46
+ "mode": "create"
47
+ },
48
+ {
49
+ "uri": "project://checkpoints/{checkpoint}",
50
+ "mode": "create"
51
+ },
52
+ {
53
+ "uri": "project://sections/{section}",
54
+ "mode": "update"
55
+ },
56
+ {
57
+ "uri": "project://state",
58
+ "mode": "update"
59
+ }
60
+ ],
61
+ "delegation": [
62
+ {
63
+ "role": "section-planner",
64
+ "mode": "required",
65
+ "purpose": "Create an executable plan grounded in project intent and evidence"
66
+ },
67
+ {
68
+ "role": "plan-checker",
69
+ "mode": "required",
70
+ "purpose": "Check plan completeness, traceability, and feasibility before approval"
71
+ }
72
+ ],
73
+ "tools": [],
74
+ "effects": [
75
+ {
76
+ "id": "agent.delegate",
77
+ "scope": "role://section-planner, role://plan-checker"
78
+ },
79
+ {
80
+ "id": "filesystem.create",
81
+ "scope": "project://sections/{section}/plans/{plan}, project://validations/{validation}, project://checkpoints/{checkpoint}"
82
+ },
83
+ {
84
+ "id": "filesystem.modify",
85
+ "scope": "project://sections/{section}, project://state"
86
+ },
87
+ {
88
+ "id": "filesystem.read",
89
+ "scope": "project://manifest, project://config, project://state, project://decisions, project://structure/outline, project://validations/*, project://sections/{section}, project://sections/{section}/context, project://sections/{section}/research, project://sections/{section}/summary, project://sources/{source}, project://evidence/{evidence}"
90
+ },
91
+ {
92
+ "id": "filesystem.write",
93
+ "scope": "project://sections/{section}/plans/{plan}, project://validations/{validation}, project://checkpoints/{checkpoint}, project://sections/{section}, project://state"
94
+ },
95
+ {
96
+ "id": "user.gate",
97
+ "scope": "plan approval, verifier exceptions, and recovery checkpoint approval after complete preview"
98
+ }
99
+ ]
100
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "polish-prose",
4
+ "title": "Polish prose",
5
+ "description": "Improve clarity, flow, precision, and academic voice without changing supported claims.",
6
+ "alias": "wtfp:polish-prose",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-review-manuscript"
10
+ },
11
+ "workflow": "wtfp://workflows/polish-prose",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "agent.delegate",
15
+ "filesystem.read",
16
+ "filesystem.write",
17
+ "user.interaction"
18
+ ],
19
+ "conditions": [
20
+ "The selected prose target exists"
21
+ ]
22
+ },
23
+ "reads": [
24
+ "project://manifest",
25
+ "project://config",
26
+ "project://decisions",
27
+ "project://paper/{artifact}"
28
+ ],
29
+ "produces": [
30
+ {
31
+ "uri": "project://paper/{artifact}",
32
+ "mode": "update"
33
+ },
34
+ {
35
+ "uri": "project://validations/{validation}",
36
+ "mode": "create"
37
+ }
38
+ ],
39
+ "delegation": [
40
+ {
41
+ "role": "prose-polisher",
42
+ "mode": "required",
43
+ "purpose": "Revise prose while preserving factual content, citations, and author voice"
44
+ }
45
+ ],
46
+ "tools": [],
47
+ "effects": [
48
+ {
49
+ "id": "agent.delegate",
50
+ "scope": "role://prose-polisher"
51
+ },
52
+ {
53
+ "id": "filesystem.create",
54
+ "scope": "project://validations/{validation}"
55
+ },
56
+ {
57
+ "id": "filesystem.modify",
58
+ "scope": "project://paper/{artifact}"
59
+ },
60
+ {
61
+ "id": "filesystem.read",
62
+ "scope": "project://manifest, project://config, project://decisions, project://paper/{artifact}"
63
+ },
64
+ {
65
+ "id": "user.gate",
66
+ "scope": "proposed substantive changes"
67
+ }
68
+ ]
69
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "progress",
4
+ "title": "Show project progress",
5
+ "description": "Summarize writing progress, surface blockers, and recommend the next compatible action.",
6
+ "alias": "wtfp:progress",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-manage-project"
10
+ },
11
+ "workflow": "wtfp://workflows/progress",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "user.interaction"
16
+ ],
17
+ "conditions": [
18
+ "Portable project state has been initialized"
19
+ ]
20
+ },
21
+ "reads": [
22
+ "project://manifest",
23
+ "project://config",
24
+ "project://state",
25
+ "project://decisions",
26
+ "project://structure/outline",
27
+ "project://sections/{section}",
28
+ "project://sections/{section}/plans/{plan}",
29
+ "project://sections/{section}/reviews/{review}",
30
+ "project://sections/{section}/summary",
31
+ "project://sections/{section}/handoff",
32
+ "project://sources/{source}",
33
+ "project://evidence/{evidence}",
34
+ "project://checkpoints/{checkpoint}",
35
+ "project://validations/{validation}",
36
+ "project://paper/{artifact}"
37
+ ],
38
+ "produces": [],
39
+ "delegation": [],
40
+ "tools": [],
41
+ "effects": [
42
+ {
43
+ "id": "filesystem.read",
44
+ "scope": "project://manifest, project://config, project://state, project://decisions, project://structure/outline, project://sections/{section}, project://sections/{section}/plans/{plan}, project://sections/{section}/reviews/{review}, project://sections/{section}/summary, project://sections/{section}/handoff, project://sources/{source}, project://evidence/{evidence}, project://checkpoints/{checkpoint}, project://validations/{validation}, project://paper/{artifact}"
45
+ },
46
+ {
47
+ "id": "user.gate",
48
+ "scope": "selection of the recommended next action"
49
+ }
50
+ ]
51
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "quick",
4
+ "title": "Make a quick writing change",
5
+ "description": "Apply a small, bounded writing fix with minimal planning overhead and state tracking.",
6
+ "alias": "wtfp:quick",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-write-section"
10
+ },
11
+ "workflow": "wtfp://workflows/quick",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "agent.delegate",
15
+ "filesystem.read",
16
+ "filesystem.write",
17
+ "user.interaction"
18
+ ],
19
+ "conditions": [
20
+ "The requested change is small and has a clear target"
21
+ ]
22
+ },
23
+ "reads": [
24
+ "project://manifest",
25
+ "project://state",
26
+ "project://decisions",
27
+ "project://sections/{section}",
28
+ "project://paper/{artifact}"
29
+ ],
30
+ "produces": [
31
+ {
32
+ "uri": "project://paper/{artifact}",
33
+ "mode": "update"
34
+ },
35
+ {
36
+ "uri": "project://sections/{section}",
37
+ "mode": "update"
38
+ },
39
+ {
40
+ "uri": "project://state",
41
+ "mode": "update"
42
+ }
43
+ ],
44
+ "delegation": [
45
+ {
46
+ "role": "section-writer",
47
+ "mode": "optional",
48
+ "purpose": "Handle a bounded change that still benefits from a fresh writing context"
49
+ }
50
+ ],
51
+ "tools": [],
52
+ "effects": [
53
+ {
54
+ "id": "agent.delegate",
55
+ "scope": "role://section-writer when needed"
56
+ },
57
+ {
58
+ "id": "filesystem.modify",
59
+ "scope": "the user-approved writing target and project state"
60
+ },
61
+ {
62
+ "id": "filesystem.read",
63
+ "scope": "project://manifest, project://state, project://decisions, project://sections/{section}, project://paper/{artifact}"
64
+ },
65
+ {
66
+ "id": "user.gate",
67
+ "scope": "ambiguous target or change intent"
68
+ }
69
+ ]
70
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "remove-section",
4
+ "title": "Remove a section",
5
+ "description": "Remove an unwritten future section and repair numbering and dependencies.",
6
+ "alias": "wtfp:remove-section",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-plan-section"
10
+ },
11
+ "workflow": "wtfp://workflows/remove-section",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.delete",
15
+ "filesystem.read",
16
+ "filesystem.write",
17
+ "user.interaction"
18
+ ],
19
+ "conditions": [
20
+ "The selected section exists",
21
+ "The selected section has not been drafted"
22
+ ]
23
+ },
24
+ "reads": [
25
+ "project://structure/outline",
26
+ "project://state",
27
+ "project://sections/{section}"
28
+ ],
29
+ "produces": [
30
+ {
31
+ "uri": "project://structure/outline",
32
+ "mode": "update"
33
+ },
34
+ {
35
+ "uri": "project://state",
36
+ "mode": "update"
37
+ },
38
+ {
39
+ "uri": "project://sections/{section}",
40
+ "mode": "delete"
41
+ }
42
+ ],
43
+ "delegation": [],
44
+ "tools": [],
45
+ "effects": [
46
+ {
47
+ "id": "filesystem.delete",
48
+ "scope": "selected unwritten section artifacts"
49
+ },
50
+ {
51
+ "id": "filesystem.modify",
52
+ "scope": "project://structure/outline, project://state, project://sections/{section}"
53
+ },
54
+ {
55
+ "id": "filesystem.read",
56
+ "scope": "project://structure/outline, project://state, project://sections/{section}"
57
+ },
58
+ {
59
+ "id": "user.gate",
60
+ "scope": "section deletion and renumbering"
61
+ }
62
+ ]
63
+ }