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,57 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "contribute",
4
+ "title": "Contribute to WTF-P",
5
+ "description": "Guide a bounded WTF-P contribution from branch creation through a reviewable change request.",
6
+ "alias": "wtfp:contribute",
7
+ "surface": {
8
+ "kind": "operations",
9
+ "operation": "product-operations"
10
+ },
11
+ "requirements": {
12
+ "capabilities": [
13
+ "external.issue",
14
+ "filesystem.read",
15
+ "network.fetch",
16
+ "user.interaction",
17
+ "vcs.branch",
18
+ "vcs.commit"
19
+ ],
20
+ "conditions": [
21
+ "The user has selected a repository and explicitly requested contribution guidance"
22
+ ]
23
+ },
24
+ "reads": [
25
+ "package://contributing",
26
+ "project://materials/{artifact}"
27
+ ],
28
+ "produces": [],
29
+ "delegation": [],
30
+ "tools": [],
31
+ "effects": [
32
+ {
33
+ "id": "external.issue",
34
+ "scope": "the selected repository change-request service"
35
+ },
36
+ {
37
+ "id": "filesystem.read",
38
+ "scope": "package://contributing, project://materials/{artifact}"
39
+ },
40
+ {
41
+ "id": "network.fetch",
42
+ "scope": "selected repository metadata"
43
+ },
44
+ {
45
+ "id": "user.gate",
46
+ "scope": "branch, commit, publication, and change-request decisions"
47
+ },
48
+ {
49
+ "id": "vcs.branch",
50
+ "scope": "selected contribution repository"
51
+ },
52
+ {
53
+ "id": "vcs.commit",
54
+ "scope": "user-approved contribution changes"
55
+ }
56
+ ]
57
+ }
@@ -0,0 +1,84 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "create-outline",
4
+ "title": "Create the paper outline",
5
+ "description": "Build the section structure, argument map, dependencies, and word budgets.",
6
+ "alias": "wtfp:create-outline",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-start-project"
10
+ },
11
+ "workflow": "wtfp://workflows/create-outline",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "agent.delegate",
15
+ "filesystem.read",
16
+ "filesystem.write",
17
+ "user.interaction"
18
+ ],
19
+ "conditions": [
20
+ "Portable project state has been initialized"
21
+ ]
22
+ },
23
+ "reads": [
24
+ "project://manifest",
25
+ "project://config",
26
+ "project://state",
27
+ "project://decisions",
28
+ "project://structure/outline",
29
+ "project://sources/{source}",
30
+ "project://evidence/{evidence}"
31
+ ],
32
+ "produces": [
33
+ {
34
+ "uri": "project://structure/outline",
35
+ "mode": "update"
36
+ },
37
+ {
38
+ "uri": "project://sections/{section}",
39
+ "mode": "create"
40
+ },
41
+ {
42
+ "uri": "project://decisions",
43
+ "mode": "update"
44
+ },
45
+ {
46
+ "uri": "project://state",
47
+ "mode": "update"
48
+ },
49
+ {
50
+ "uri": "project://validations/{validation}",
51
+ "mode": "create"
52
+ }
53
+ ],
54
+ "delegation": [
55
+ {
56
+ "role": "outliner",
57
+ "mode": "required",
58
+ "purpose": "Design a coherent section and argument structure from the project evidence"
59
+ }
60
+ ],
61
+ "tools": [],
62
+ "effects": [
63
+ {
64
+ "id": "agent.delegate",
65
+ "scope": "role://outliner"
66
+ },
67
+ {
68
+ "id": "filesystem.create",
69
+ "scope": "project://sections/{section}, project://validations/{validation}"
70
+ },
71
+ {
72
+ "id": "filesystem.read",
73
+ "scope": "project://manifest, project://config, project://state, project://decisions, project://structure/outline, project://sources/{source}, project://evidence/{evidence}"
74
+ },
75
+ {
76
+ "id": "filesystem.write",
77
+ "scope": "project://structure/outline, project://sections/{section}, project://decisions, project://state, project://validations/{validation}"
78
+ },
79
+ {
80
+ "id": "user.gate",
81
+ "scope": "project://structure/outline, project://sections/{section}, project://decisions, project://state, project://validations/{validation}"
82
+ }
83
+ ]
84
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "create-poster",
4
+ "title": "Create a research poster",
5
+ "description": "Transform the paper's argument, methods, and findings into a concise academic poster.",
6
+ "alias": "wtfp:create-poster",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-deliver-research"
10
+ },
11
+ "workflow": "wtfp://workflows/create-poster",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "A sufficiently complete paper or milestone is available",
20
+ "A contained host-provided poster renderer is configured when rendering is requested"
21
+ ]
22
+ },
23
+ "reads": [
24
+ "project://manifest",
25
+ "project://structure/outline",
26
+ "project://paper/{artifact}"
27
+ ],
28
+ "produces": [
29
+ {
30
+ "uri": "project://deliverables/poster/{artifact}",
31
+ "mode": "create"
32
+ }
33
+ ],
34
+ "delegation": [],
35
+ "tools": [],
36
+ "effects": [
37
+ {
38
+ "id": "filesystem.create",
39
+ "scope": "project://deliverables/poster/{artifact}"
40
+ },
41
+ {
42
+ "id": "filesystem.read",
43
+ "scope": "project://manifest, project://structure/outline, project://paper/{artifact}"
44
+ },
45
+ {
46
+ "id": "filesystem.write",
47
+ "scope": "poster source and generated assets"
48
+ },
49
+ {
50
+ "id": "user.gate",
51
+ "scope": "poster format and content emphasis"
52
+ }
53
+ ]
54
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "create-slides",
4
+ "title": "Create presentation slides",
5
+ "description": "Transform the paper's argument, evidence, and findings into an audience-appropriate presentation.",
6
+ "alias": "wtfp:create-slides",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-deliver-research"
10
+ },
11
+ "workflow": "wtfp://workflows/create-slides",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "A sufficiently complete paper or milestone is available",
20
+ "A contained host-provided slide renderer is configured when rendering is requested"
21
+ ]
22
+ },
23
+ "reads": [
24
+ "project://manifest",
25
+ "project://structure/outline",
26
+ "project://paper/{artifact}"
27
+ ],
28
+ "produces": [
29
+ {
30
+ "uri": "project://deliverables/slides/{artifact}",
31
+ "mode": "create"
32
+ }
33
+ ],
34
+ "delegation": [],
35
+ "tools": [],
36
+ "effects": [
37
+ {
38
+ "id": "filesystem.create",
39
+ "scope": "project://deliverables/slides/{artifact}"
40
+ },
41
+ {
42
+ "id": "filesystem.read",
43
+ "scope": "project://manifest, project://structure/outline, project://paper/{artifact}"
44
+ },
45
+ {
46
+ "id": "filesystem.write",
47
+ "scope": "slide source and generated assets"
48
+ },
49
+ {
50
+ "id": "user.gate",
51
+ "scope": "audience, duration, and presentation format"
52
+ }
53
+ ]
54
+ }
@@ -0,0 +1,76 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "discuss-section",
4
+ "title": "Discuss a section",
5
+ "description": "Capture the researcher's intended purpose, essential content, voice, and boundaries before planning.",
6
+ "alias": "wtfp:discuss-section",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-plan-section"
10
+ },
11
+ "workflow": "wtfp://workflows/discuss-section",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "A target section is identifiable"
20
+ ]
21
+ },
22
+ "reads": [
23
+ "project://manifest",
24
+ "project://decisions",
25
+ "project://structure/outline",
26
+ "project://sections/{section}",
27
+ "project://sections/{section}/context",
28
+ "project://sections/{section}/summary"
29
+ ],
30
+ "produces": [
31
+ {
32
+ "uri": "project://sections/{section}/context",
33
+ "mode": "create"
34
+ },
35
+ {
36
+ "uri": "project://sections/{section}/context",
37
+ "mode": "update"
38
+ },
39
+ {
40
+ "uri": "project://checkpoints/{checkpoint}",
41
+ "mode": "create"
42
+ },
43
+ {
44
+ "uri": "project://sections/{section}",
45
+ "mode": "update"
46
+ },
47
+ {
48
+ "uri": "project://decisions",
49
+ "mode": "update"
50
+ }
51
+ ],
52
+ "delegation": [],
53
+ "tools": [],
54
+ "effects": [
55
+ {
56
+ "id": "filesystem.create",
57
+ "scope": "project://sections/{section}/context, project://checkpoints/{checkpoint}"
58
+ },
59
+ {
60
+ "id": "filesystem.modify",
61
+ "scope": "project://decisions, project://sections/{section}, project://sections/{section}/context"
62
+ },
63
+ {
64
+ "id": "filesystem.read",
65
+ "scope": "project://manifest, project://decisions, project://structure/outline, project://sections/{section}, project://sections/{section}/context, project://sections/{section}/summary"
66
+ },
67
+ {
68
+ "id": "filesystem.write",
69
+ "scope": "declared discussion records"
70
+ },
71
+ {
72
+ "id": "user.gate",
73
+ "scope": "section intent and boundaries"
74
+ }
75
+ ]
76
+ }
@@ -0,0 +1,116 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "execute-outline",
4
+ "title": "Execute the outline",
5
+ "description": "Draft independent section waves in parallel and verify cross-section coherence.",
6
+ "alias": "wtfp:execute-outline",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-write-section"
10
+ },
11
+ "workflow": "wtfp://workflows/execute-outline",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "agent.delegate",
15
+ "agent.parallel",
16
+ "filesystem.read",
17
+ "filesystem.write",
18
+ "user.interaction"
19
+ ],
20
+ "conditions": [
21
+ "project://structure/outline defines executable section waves",
22
+ "Each scheduled section has an approved plan"
23
+ ]
24
+ },
25
+ "reads": [
26
+ "project://manifest",
27
+ "project://config",
28
+ "project://state",
29
+ "project://decisions",
30
+ "project://structure/outline",
31
+ "project://sections/{section}",
32
+ "project://sections/{section}/plans/{plan}",
33
+ "project://sections/{section}/summary",
34
+ "project://sources/{source}",
35
+ "project://evidence/{evidence}",
36
+ "project://checkpoints/{checkpoint}",
37
+ "project://paper/{artifact}"
38
+ ],
39
+ "produces": [
40
+ {
41
+ "uri": "project://paper/{artifact}",
42
+ "mode": "update"
43
+ },
44
+ {
45
+ "uri": "project://sections/{section}/summary",
46
+ "mode": "create"
47
+ },
48
+ {
49
+ "uri": "project://sections/{section}/summary",
50
+ "mode": "update"
51
+ },
52
+ {
53
+ "uri": "project://checkpoints/{checkpoint}",
54
+ "mode": "create"
55
+ },
56
+ {
57
+ "uri": "project://checkpoints/{checkpoint}",
58
+ "mode": "update"
59
+ },
60
+ {
61
+ "uri": "project://sections/{section}",
62
+ "mode": "update"
63
+ },
64
+ {
65
+ "uri": "project://state",
66
+ "mode": "update"
67
+ },
68
+ {
69
+ "uri": "project://validations/{validation}",
70
+ "mode": "create"
71
+ }
72
+ ],
73
+ "delegation": [
74
+ {
75
+ "role": "section-writer",
76
+ "mode": "parallel",
77
+ "purpose": "Draft independent sections within each declared execution wave"
78
+ },
79
+ {
80
+ "role": "coherence-checker",
81
+ "mode": "required",
82
+ "purpose": "Check terminology, transitions, argument flow, and duplication after drafting"
83
+ }
84
+ ],
85
+ "tools": [],
86
+ "effects": [
87
+ {
88
+ "id": "agent.delegate",
89
+ "scope": "role://coherence-checker"
90
+ },
91
+ {
92
+ "id": "agent.parallel",
93
+ "scope": "role://section-writer per outline wave"
94
+ },
95
+ {
96
+ "id": "filesystem.create",
97
+ "scope": "project://sections/{section}/summary, project://checkpoints/{checkpoint}, project://validations/{validation}"
98
+ },
99
+ {
100
+ "id": "filesystem.modify",
101
+ "scope": "project://paper/{artifact}, project://sections/{section}/summary, project://checkpoints/{checkpoint}, project://sections/{section}, project://state"
102
+ },
103
+ {
104
+ "id": "filesystem.read",
105
+ "scope": "project://manifest, project://config, project://state, project://decisions, project://structure/outline, project://sections/{section}, project://sections/{section}/plans/{plan}, project://sections/{section}/summary, project://sources/{source}, project://evidence/{evidence}, project://checkpoints/{checkpoint}, project://paper/{artifact}"
106
+ },
107
+ {
108
+ "id": "filesystem.write",
109
+ "scope": "declared manuscript, summary, checkpoint, validation, section, and state resources"
110
+ },
111
+ {
112
+ "id": "user.gate",
113
+ "scope": "blocking checkpoints between execution waves"
114
+ }
115
+ ]
116
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "export-latex",
4
+ "title": "Export LaTeX",
5
+ "description": "Export the manuscript and bibliography to portable LaTeX source with declared formatting.",
6
+ "alias": "wtfp:export-latex",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-deliver-research"
10
+ },
11
+ "workflow": "wtfp://workflows/export-latex",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "tool.execute",
17
+ "user.interaction"
18
+ ],
19
+ "conditions": [
20
+ "Manuscript source is available",
21
+ "A contained host-provided LaTeX syntax checker or compiler is configured when compilation is requested"
22
+ ]
23
+ },
24
+ "reads": [
25
+ "project://manifest",
26
+ "project://config",
27
+ "project://structure/outline",
28
+ "project://sources/{source}",
29
+ "project://evidence/{evidence}",
30
+ "project://paper/{artifact}"
31
+ ],
32
+ "produces": [
33
+ {
34
+ "uri": "project://deliverables/latex/{artifact}",
35
+ "mode": "create"
36
+ }
37
+ ],
38
+ "delegation": [],
39
+ "tools": [
40
+ "bibliography.format",
41
+ "bibliography.index"
42
+ ],
43
+ "effects": [
44
+ {
45
+ "id": "filesystem.create",
46
+ "scope": "project://deliverables/latex/{artifact}"
47
+ },
48
+ {
49
+ "id": "filesystem.read",
50
+ "scope": "project://manifest, project://config, project://structure/outline, project://sources/{source}, project://evidence/{evidence}, project://paper/{artifact}"
51
+ },
52
+ {
53
+ "id": "filesystem.write",
54
+ "scope": "portable LaTeX and bibliography outputs"
55
+ },
56
+ {
57
+ "id": "tool.execute",
58
+ "scope": "wtfp://tools/bibliography/** through tools/wtfp-tool.js"
59
+ },
60
+ {
61
+ "id": "user.gate",
62
+ "scope": "venue template and destructive output replacement"
63
+ }
64
+ ]
65
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "help",
4
+ "title": "Show WTF-P help",
5
+ "description": "Render the stable WTF-P action reference from the canonical catalog.",
6
+ "alias": "wtfp:help",
7
+ "surface": {
8
+ "kind": "operations",
9
+ "operation": "product-operations"
10
+ },
11
+ "requirements": {
12
+ "capabilities": [
13
+ "filesystem.read"
14
+ ],
15
+ "conditions": []
16
+ },
17
+ "reads": [
18
+ "protocol://catalog.json",
19
+ "protocol://actions/{action}.json"
20
+ ],
21
+ "produces": [],
22
+ "delegation": [],
23
+ "tools": [],
24
+ "effects": [
25
+ {
26
+ "id": "filesystem.read",
27
+ "scope": "protocol://catalog.json, protocol://actions/{action}.json"
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "insert-section",
4
+ "title": "Insert a section",
5
+ "description": "Insert a newly discovered section while preserving established numbering and dependencies.",
6
+ "alias": "wtfp:insert-section",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-plan-section"
10
+ },
11
+ "workflow": "wtfp://workflows/insert-section",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "The insertion point exists in project://structure/outline"
20
+ ]
21
+ },
22
+ "reads": [
23
+ "project://structure/outline",
24
+ "project://state",
25
+ "project://sections/{section}"
26
+ ],
27
+ "produces": [
28
+ {
29
+ "uri": "project://structure/outline",
30
+ "mode": "update"
31
+ },
32
+ {
33
+ "uri": "project://sections/{section}",
34
+ "mode": "create"
35
+ },
36
+ {
37
+ "uri": "project://state",
38
+ "mode": "update"
39
+ }
40
+ ],
41
+ "delegation": [],
42
+ "tools": [],
43
+ "effects": [
44
+ {
45
+ "id": "filesystem.create",
46
+ "scope": "project://structure/outline, project://sections/{section}, project://state"
47
+ },
48
+ {
49
+ "id": "filesystem.modify",
50
+ "scope": "project://structure/outline, project://sections/{section}, project://state"
51
+ },
52
+ {
53
+ "id": "filesystem.read",
54
+ "scope": "project://structure/outline, project://state, project://sections/{section}"
55
+ },
56
+ {
57
+ "id": "user.gate",
58
+ "scope": "section insertion and renumbering"
59
+ }
60
+ ]
61
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "list-assumptions",
4
+ "title": "List section assumptions",
5
+ "description": "Preview the intended approach and assumptions for a section without changing project files.",
6
+ "alias": "wtfp:list-assumptions",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-plan-section"
10
+ },
11
+ "workflow": "wtfp://workflows/list-assumptions",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read"
15
+ ],
16
+ "conditions": [
17
+ "A target section is identifiable"
18
+ ]
19
+ },
20
+ "reads": [
21
+ "project://manifest",
22
+ "project://decisions",
23
+ "project://structure/outline",
24
+ "project://sections/{section}"
25
+ ],
26
+ "produces": [],
27
+ "delegation": [],
28
+ "tools": [],
29
+ "effects": [
30
+ {
31
+ "id": "filesystem.read",
32
+ "scope": "project://manifest, project://decisions, project://structure/outline, project://sections/{section}"
33
+ }
34
+ ]
35
+ }