@trespies-source/dojo-genesis-plugin 1.0.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 (209) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/LICENSE +21 -0
  3. package/README.md +204 -0
  4. package/dist/hooks/after-tool-call/handler.d.ts +4 -0
  5. package/dist/hooks/after-tool-call/handler.d.ts.map +1 -0
  6. package/dist/hooks/after-tool-call/handler.js +37 -0
  7. package/dist/hooks/after-tool-call/handler.js.map +1 -0
  8. package/dist/hooks/agent-end/handler.d.ts +4 -0
  9. package/dist/hooks/agent-end/handler.d.ts.map +1 -0
  10. package/dist/hooks/agent-end/handler.js +16 -0
  11. package/dist/hooks/agent-end/handler.js.map +1 -0
  12. package/dist/hooks/before-agent-start/handler.d.ts +4 -0
  13. package/dist/hooks/before-agent-start/handler.d.ts.map +1 -0
  14. package/dist/hooks/before-agent-start/handler.js +81 -0
  15. package/dist/hooks/before-agent-start/handler.js.map +1 -0
  16. package/dist/index.d.ts +18 -0
  17. package/dist/index.d.ts.map +1 -0
  18. package/dist/index.js +35 -0
  19. package/dist/index.js.map +1 -0
  20. package/dist/src/commands/archive.d.ts +4 -0
  21. package/dist/src/commands/archive.d.ts.map +1 -0
  22. package/dist/src/commands/archive.js +20 -0
  23. package/dist/src/commands/archive.js.map +1 -0
  24. package/dist/src/commands/init.d.ts +4 -0
  25. package/dist/src/commands/init.d.ts.map +1 -0
  26. package/dist/src/commands/init.js +57 -0
  27. package/dist/src/commands/init.js.map +1 -0
  28. package/dist/src/commands/list.d.ts +4 -0
  29. package/dist/src/commands/list.d.ts.map +1 -0
  30. package/dist/src/commands/list.js +9 -0
  31. package/dist/src/commands/list.js.map +1 -0
  32. package/dist/src/commands/router.d.ts +3 -0
  33. package/dist/src/commands/router.d.ts.map +1 -0
  34. package/dist/src/commands/router.js +83 -0
  35. package/dist/src/commands/router.js.map +1 -0
  36. package/dist/src/commands/skill-invoke.d.ts +4 -0
  37. package/dist/src/commands/skill-invoke.d.ts.map +1 -0
  38. package/dist/src/commands/skill-invoke.js +26 -0
  39. package/dist/src/commands/skill-invoke.js.map +1 -0
  40. package/dist/src/commands/status.d.ts +4 -0
  41. package/dist/src/commands/status.d.ts.map +1 -0
  42. package/dist/src/commands/status.js +42 -0
  43. package/dist/src/commands/status.js.map +1 -0
  44. package/dist/src/commands/switch.d.ts +4 -0
  45. package/dist/src/commands/switch.d.ts.map +1 -0
  46. package/dist/src/commands/switch.js +20 -0
  47. package/dist/src/commands/switch.js.map +1 -0
  48. package/dist/src/orchestration/tool-registry.d.ts +18 -0
  49. package/dist/src/orchestration/tool-registry.d.ts.map +1 -0
  50. package/dist/src/orchestration/tool-registry.js +153 -0
  51. package/dist/src/orchestration/tool-registry.js.map +1 -0
  52. package/dist/src/skills/catalog.d.ts +9 -0
  53. package/dist/src/skills/catalog.d.ts.map +1 -0
  54. package/dist/src/skills/catalog.js +251 -0
  55. package/dist/src/skills/catalog.js.map +1 -0
  56. package/dist/src/state/manager.d.ts +19 -0
  57. package/dist/src/state/manager.d.ts.map +1 -0
  58. package/dist/src/state/manager.js +114 -0
  59. package/dist/src/state/manager.js.map +1 -0
  60. package/dist/src/state/migrations.d.ts +3 -0
  61. package/dist/src/state/migrations.d.ts.map +1 -0
  62. package/dist/src/state/migrations.js +8 -0
  63. package/dist/src/state/migrations.js.map +1 -0
  64. package/dist/src/state/types.d.ts +62 -0
  65. package/dist/src/state/types.d.ts.map +1 -0
  66. package/dist/src/state/types.js +2 -0
  67. package/dist/src/state/types.js.map +1 -0
  68. package/dist/src/ui/chat-formatter.d.ts +11 -0
  69. package/dist/src/ui/chat-formatter.d.ts.map +1 -0
  70. package/dist/src/ui/chat-formatter.js +39 -0
  71. package/dist/src/ui/chat-formatter.js.map +1 -0
  72. package/dist/src/utils/file-ops.d.ts +6 -0
  73. package/dist/src/utils/file-ops.d.ts.map +1 -0
  74. package/dist/src/utils/file-ops.js +38 -0
  75. package/dist/src/utils/file-ops.js.map +1 -0
  76. package/dist/src/utils/markdown.d.ts +2 -0
  77. package/dist/src/utils/markdown.d.ts.map +1 -0
  78. package/dist/src/utils/markdown.js +11 -0
  79. package/dist/src/utils/markdown.js.map +1 -0
  80. package/dist/src/utils/validation.d.ts +7 -0
  81. package/dist/src/utils/validation.d.ts.map +1 -0
  82. package/dist/src/utils/validation.js +29 -0
  83. package/dist/src/utils/validation.js.map +1 -0
  84. package/dist/tests/__mocks__/openclaw-types.d.ts +54 -0
  85. package/dist/tests/__mocks__/openclaw-types.d.ts.map +1 -0
  86. package/dist/tests/__mocks__/openclaw-types.js +29 -0
  87. package/dist/tests/__mocks__/openclaw-types.js.map +1 -0
  88. package/hooks/after-tool-call/HOOK.md +7 -0
  89. package/hooks/after-tool-call/handler.ts +41 -0
  90. package/hooks/agent-end/HOOK.md +7 -0
  91. package/hooks/agent-end/handler.ts +18 -0
  92. package/hooks/before-agent-start/HOOK.md +7 -0
  93. package/hooks/before-agent-start/handler.ts +133 -0
  94. package/openclaw.plugin.json +19 -0
  95. package/package.json +61 -0
  96. package/skills/agent-teaching/SKILL.md +583 -0
  97. package/skills/agent-teaching/claw.json +12 -0
  98. package/skills/compression-ritual/SKILL.md +136 -0
  99. package/skills/compression-ritual/claw.json +12 -0
  100. package/skills/context-ingestion/SKILL.md +109 -0
  101. package/skills/context-ingestion/claw.json +12 -0
  102. package/skills/decision-propagation/SKILL.md +130 -0
  103. package/skills/decision-propagation/claw.json +12 -0
  104. package/skills/documentation-audit/SKILL.md +146 -0
  105. package/skills/documentation-audit/claw.json +12 -0
  106. package/skills/era-architecture/SKILL.md +166 -0
  107. package/skills/era-architecture/claw.json +12 -0
  108. package/skills/file-management/SKILL.md +127 -0
  109. package/skills/file-management/claw.json +12 -0
  110. package/skills/frontend-from-backend/SKILL.md +127 -0
  111. package/skills/frontend-from-backend/claw.json +12 -0
  112. package/skills/handoff-protocol/SKILL.md +168 -0
  113. package/skills/handoff-protocol/claw.json +12 -0
  114. package/skills/health-audit/SKILL.md +123 -0
  115. package/skills/health-audit/claw.json +12 -0
  116. package/skills/implementation-prompt/SKILL.md +361 -0
  117. package/skills/implementation-prompt/claw.json +12 -0
  118. package/skills/iterative-scouting/SKILL.md +106 -0
  119. package/skills/iterative-scouting/claw.json +12 -0
  120. package/skills/memory-garden/SKILL.md +470 -0
  121. package/skills/memory-garden/claw.json +12 -0
  122. package/skills/multi-surface-strategy/SKILL.md +288 -0
  123. package/skills/multi-surface-strategy/claw.json +12 -0
  124. package/skills/parallel-tracks/SKILL.md +152 -0
  125. package/skills/parallel-tracks/claw.json +12 -0
  126. package/skills/patient-learning-protocol/SKILL.md +438 -0
  127. package/skills/patient-learning-protocol/claw.json +12 -0
  128. package/skills/planning-with-files/SKILL.md +139 -0
  129. package/skills/planning-with-files/claw.json +12 -0
  130. package/skills/pre-implementation-checklist/SKILL.md +156 -0
  131. package/skills/pre-implementation-checklist/claw.json +12 -0
  132. package/skills/process-extraction/SKILL.md +148 -0
  133. package/skills/process-extraction/claw.json +12 -0
  134. package/skills/process-extraction/references/process_example_template.md +40 -0
  135. package/skills/product-positioning/SKILL.md +293 -0
  136. package/skills/product-positioning/claw.json +12 -0
  137. package/skills/project-exploration/SKILL.md +168 -0
  138. package/skills/project-exploration/claw.json +12 -0
  139. package/skills/release-specification/SKILL.md +645 -0
  140. package/skills/release-specification/claw.json +12 -0
  141. package/skills/repo-context-sync/SKILL.md +362 -0
  142. package/skills/repo-context-sync/claw.json +12 -0
  143. package/skills/repo-context-sync/references/file_hierarchy_patterns.md +186 -0
  144. package/skills/repo-context-sync/references/zenflow_repo_patterns.md +328 -0
  145. package/skills/repo-context-sync/scripts/context_mapper.py +251 -0
  146. package/skills/repo-context-sync/scripts/diff_tracker.py +187 -0
  147. package/skills/repo-context-sync/scripts/smart_clone.sh +52 -0
  148. package/skills/repo-context-sync/templates/context_summary.md +58 -0
  149. package/skills/repo-status/SKILL.md +240 -0
  150. package/skills/repo-status/claw.json +12 -0
  151. package/skills/repo-status/references/semantic-clusters.md +159 -0
  152. package/skills/repo-status/references/status-template.md +214 -0
  153. package/skills/research-modes/SKILL.md +515 -0
  154. package/skills/research-modes/claw.json +12 -0
  155. package/skills/research-synthesis/SKILL.md +110 -0
  156. package/skills/research-synthesis/claw.json +12 -0
  157. package/skills/retrospective/SKILL.md +152 -0
  158. package/skills/retrospective/claw.json +12 -0
  159. package/skills/seed-extraction/SKILL.md +419 -0
  160. package/skills/seed-extraction/claw.json +12 -0
  161. package/skills/seed-library/SKILL.md +424 -0
  162. package/skills/seed-library/claw.json +12 -0
  163. package/skills/seed-library/references/seed_catalog.md +171 -0
  164. package/skills/seed-library/scripts/apply_seed.py +129 -0
  165. package/skills/seed-library/scripts/suggest_seeds.py +183 -0
  166. package/skills/seed-library/seeds/01_three_tiered_governance.md +90 -0
  167. package/skills/seed-library/seeds/02_harness_trace.md +135 -0
  168. package/skills/seed-library/seeds/03_context_iceberg.md +120 -0
  169. package/skills/seed-library/seeds/04_agent_connect.md +106 -0
  170. package/skills/seed-library/seeds/05_go_live_bundles.md +40 -0
  171. package/skills/seed-library/seeds/06_cost_guard.md +40 -0
  172. package/skills/seed-library/seeds/07_safety_switch.md +41 -0
  173. package/skills/seed-library/seeds/08_implicit_perspective_extraction.md +41 -0
  174. package/skills/seed-library/seeds/09_mode_based_complexity_gating.md +46 -0
  175. package/skills/seed-library/seeds/10_shared_infrastructure.md +75 -0
  176. package/skills/seed-library/seeds/11_voice_before_structure.md +74 -0
  177. package/skills/seed-library/seeds/12_pointer_directories.md +81 -0
  178. package/skills/seed-library/seeds/13_granular_visibility.md +82 -0
  179. package/skills/seed-library/seeds/meta_governance_multiplies_velocity.md +43 -0
  180. package/skills/seed-to-skill-converter/SKILL.md +113 -0
  181. package/skills/seed-to-skill-converter/claw.json +12 -0
  182. package/skills/semantic-clusters/SKILL.md +246 -0
  183. package/skills/semantic-clusters/claw.json +12 -0
  184. package/skills/semantic-clusters/references/verb-catalog.md +267 -0
  185. package/skills/skill-audit-upgrade/SKILL.md +427 -0
  186. package/skills/skill-audit-upgrade/claw.json +12 -0
  187. package/skills/skill-creation/LICENSE.txt +202 -0
  188. package/skills/skill-creation/SKILL.md +252 -0
  189. package/skills/skill-creation/claw.json +12 -0
  190. package/skills/skill-creation/references/output-patterns.md +82 -0
  191. package/skills/skill-creation/references/progressive-disclosure-patterns.md +79 -0
  192. package/skills/skill-creation/references/workflows.md +28 -0
  193. package/skills/skill-creation/scripts/init_skill.py +305 -0
  194. package/skills/skill-creation/scripts/quick_validate.py +134 -0
  195. package/skills/skill-maintenance/SKILL.md +413 -0
  196. package/skills/skill-maintenance/claw.json +12 -0
  197. package/skills/spec-constellation-to-prompt-suite/SKILL.md +174 -0
  198. package/skills/spec-constellation-to-prompt-suite/claw.json +12 -0
  199. package/skills/status-template/SKILL.md +211 -0
  200. package/skills/status-template/claw.json +12 -0
  201. package/skills/status-template/references/complete-template.md +191 -0
  202. package/skills/status-writing/SKILL.md +161 -0
  203. package/skills/status-writing/claw.json +12 -0
  204. package/skills/strategic-scout/SKILL.md +163 -0
  205. package/skills/strategic-scout/claw.json +12 -0
  206. package/skills/strategic-to-tactical-workflow/SKILL.md +391 -0
  207. package/skills/strategic-to-tactical-workflow/claw.json +12 -0
  208. package/skills/workspace-navigation/SKILL.md +622 -0
  209. package/skills/workspace-navigation/claw.json +12 -0
@@ -0,0 +1,136 @@
1
+ ---
2
+ name: compression-ritual
3
+ description: Distill long conversation histories into potent memory artifacts using semantic compression. Use at end of sessions to preserve wisdom while reducing context load. Trigger phrases: "compress this context", "distill this conversation", "create a memory artifact", "condense this history", "extract key wisdom".
4
+ ---
5
+
6
+ > **OpenClaw Integration:** This skill is invoked by the Dojo Genesis plugin via `/dojo run compression-ritual`.
7
+ > The agent receives project context automatically via the `before_agent_start` hook.
8
+ > Use `dojo_get_context` for full state, `dojo_save_artifact` to persist outputs,
9
+ > and `dojo_update_state` to record phase transitions and decisions.
10
+
11
+ # Context Compression Ritual Skill
12
+
13
+ **Version:** 1.0
14
+ **Created:** 2026-02-04
15
+ **Author:** Manus AI
16
+ **Purpose:** To provide a mindful, repeatable ritual for compressing long conversation histories into smaller, more potent memory artifacts, thus preserving wisdom while preventing context window overload.
17
+
18
+ ---
19
+
20
+ ## I. The Philosophy: The Art of Letting Go
21
+
22
+ An agent's context window is like a working memory. It is finite and precious. To fill it with raw, unprocessed history is to invite distraction and confusion. The Context Compression Ritual is the **Art of Letting Go**—a conscious practice of choosing what is essential to keep and what can be respectfully released.
23
+
24
+ This is not a destructive act, but a creative one. We are not deleting history; we are distilling it. We transform the raw material of conversation into the refined artifacts of wisdom: philosophical reflections, key decisions, and reusable seeds of practice. This ritual ensures that our memory remains potent and relevant, a source of clarity rather than noise.
25
+
26
+ ---
27
+
28
+ ## II. When to Use This Skill
29
+
30
+ - **After a long and complex conversation:** (e.g., more than 20-30 turns).
31
+ - **At the end of a major work session or sprint.**
32
+ - **When the context feels "heavy" or "noisy."**
33
+ - **Before handing off a project to another agent.**
34
+ - As a regular, scheduled practice (e.g., end of day) to maintain cognitive hygiene.
35
+
36
+ ---
37
+
38
+ ## III. The Compression Workflow
39
+
40
+ ### Step 1: Signal the Intent
41
+
42
+ Announce the intention to perform the ritual. This frames the activity as a deliberate and mindful practice.
43
+
44
+ **Example:** "This has been a long and fruitful conversation. To preserve the wisdom we've generated, I will now perform the Context Compression Ritual."
45
+
46
+ ### Step 2: Review the Transcript
47
+
48
+ Read through the recent conversation history with a specific intention: to identify the moments of significance. Look for:
49
+
50
+ - **Key Decisions:** Moments where a choice was made that altered the course of the project.
51
+ - **Profound Insights:** "Aha!" moments, new understandings, or philosophical reflections.
52
+ - **Actionable Learnings:** Concrete lessons that should inform future behavior.
53
+ - **Reusable Patterns:** Ideas or workflows that could be generalized into seeds or skills.
54
+ - **Unresolved Questions:** Important questions that were raised but not yet answered.
55
+
56
+ ### Step 3: Choose the Right Vessel
57
+
58
+ For each significant moment identified, determine the appropriate "vessel" to hold its essence. Not all wisdom takes the same form.
59
+
60
+ | Artifact Type | Location | Purpose |
61
+ | :--- | :--- | :--- |
62
+ | **Philosophical Reflection** | `thinking/` | To explore the "why" behind our work, the deeper meanings and patterns. |
63
+ | **Conversation Summary** | `conversations/` | To document the key decisions and outcomes of a specific discussion. |
64
+ | **Dojo Seed** | `seeds/` | To capture a reusable pattern of thinking or problem-solving. |
65
+ | **Documentation Update** | `docs/` or `README.md` | To integrate a key decision or learning into the project's official record. |
66
+
67
+ ### Step 4: Write the Artifacts
68
+
69
+ Create the new markdown files in their appropriate locations. Write with the intention of distillation—capture the essence, not the raw transcript. Link between artifacts where appropriate (e.g., a reflection might reference a specific conversation summary).
70
+
71
+ ### Step 5: Create a Compression Log (Optional but Recommended)
72
+
73
+ Create a log file that documents what was compressed and where it was stored. This provides a meta-record of the compression itself.
74
+
75
+ **Example:** `thinking/2026-02-04_compression_log.md`
76
+
77
+ ### Step 6: Commit to AROMA
78
+
79
+ Commit the new artifacts to the repository with a clear commit message.
80
+
81
+ **Commit Message Convention:**
82
+ `feat(memory): Compress conversation from [Date]`
83
+
84
+ ---
85
+
86
+ ## IV. Compression Log Template
87
+
88
+ ```markdown
89
+ # Compression Log: [Date]
90
+
91
+ **Source:** Conversation history from [Start Time] to [End Time]
92
+ **Purpose:** To distill key insights and reduce context window load.
93
+
94
+ ---
95
+
96
+ ## Artifacts Created
97
+
98
+ | Type | Path | Description |
99
+ | :--- | :--- | :--- |
100
+ | **Reflection** | `thinking/[...].md` | [A summary of the philosophical reflection.] |
101
+ | **Seed** | `seeds/[...].md` | [The name and purpose of the new seed.] |
102
+ | **Decision** | `conversations/[...].md` | [The key decision that was documented.] |
103
+ | **Doc Update** | `docs/[...].md` | [The documentation that was updated.] |
104
+
105
+ ---
106
+
107
+ ## Key Insights Preserved
108
+
109
+ - [Insight 1]
110
+ - [Insight 2]
111
+
112
+ ## Context Released
113
+
114
+ - [e.g., Raw conversational turns, intermediate steps, dead-end explorations]
115
+ ```
116
+
117
+ ---
118
+
119
+ ## V. Best Practices
120
+
121
+ - **Be Ruthless, But Respectful:** The goal is to reduce noise, but do so with care. Don't discard something that might be important later.
122
+ - **Favor Wisdom Over Data:** Prioritize the "why" and the "how" over the raw "what."
123
+ - **Link, Don't Repeat:** If a concept is already documented, link to it rather than rewriting it.
124
+ - **The Shorter, The Better:** A compressed artifact should be significantly shorter than the source conversation.
125
+ - **Perform the Ritual Regularly:** The more frequently you do this, the less daunting it becomes.
126
+ ---
127
+
128
+ ## OpenClaw Tool Integration
129
+
130
+ When running inside the Dojo Genesis plugin:
131
+
132
+ 1. **Start** by calling `dojo_get_context` to retrieve full project state, history, and artifacts
133
+ 2. **During** the skill, follow the workflow steps documented above
134
+ 3. **Save** outputs using `dojo_save_artifact` with the `artifacts` output directory
135
+ 4. **Update** project state by calling `dojo_update_state` to record skill completion and any phase transitions
136
+
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "dojo-genesis-plugin-compression-ritual",
3
+ "version": "1.0.0",
4
+ "description": "Distill conversation history into memory artifacts",
5
+ "author": "dojo-genesis",
6
+ "license": "MIT",
7
+ "permissions": [],
8
+ "entry": "SKILL.md",
9
+ "tags": ["dojo-genesis", "orchestration", "garden", "memory"],
10
+ "models": ["claude-*", "gpt-*", "gemini-*"],
11
+ "minOpenClawVersion": "2026.1.0"
12
+ }
@@ -0,0 +1,109 @@
1
+ ---
2
+ name: context-ingestion
3
+ description: Create actionable plans deeply grounded in uploaded files. Use when creating plans from specs, docs, code, or research. Trigger phrases: 'create a plan from this spec', 'analyze these files', 'plan the refactoring', 'what's next from these docs', 'extract action items'.
4
+ ---
5
+
6
+ > **OpenClaw Integration:** This skill is invoked by the Dojo Genesis plugin via `/dojo run context-ingestion`.
7
+ > The agent receives project context automatically via the `before_agent_start` hook.
8
+ > Use `dojo_get_context` for full state, `dojo_save_artifact` to persist outputs,
9
+ > and `dojo_update_state` to record phase transitions and decisions.
10
+
11
+ # Context Ingestion Workflow
12
+
13
+ **Version:** 1.0
14
+ **Created:** 2026-02-08
15
+ **Author:** Manus AI
16
+ **Purpose:** To create plans that are deeply informed by uploaded content, ensuring that recommendations are specific, actionable, and aligned with the provided context.
17
+
18
+ ---
19
+
20
+ ## I. The Philosophy: Grounding is Everything
21
+
22
+ The quality of a plan is directly proportional to how well it is grounded in the available context. This skill transforms file uploads from passive attachments into active participants in the planning process, ensuring that every recommendation is rooted in the specifics of the provided files.
23
+
24
+ ---
25
+
26
+ ## II. When to Use This Skill
27
+
28
+ - **When you have 1-2 files** and a general planning request (e.g., "create a plan from this spec").
29
+ - **When you need to refactor a codebase** and have uploaded the relevant files.
30
+ - **When you want to create action items** from meeting notes or a design document.
31
+ - **When the `planning-with-files` meta-skill routes to this mode.**
32
+
33
+ ---
34
+
35
+ ## III. The Workflow
36
+
37
+ This is a 5-step workflow for creating grounded plans from uploaded files.
38
+
39
+ ### Step 1: File Ingestion and Cataloging
40
+
41
+ **Goal:** Read all uploaded files and create a structured catalog of their content.
42
+
43
+ 1. **Read Files:** Use the `file` tool to read each uploaded file (use `view` for images/PDFs).
44
+ 2. **Extract Content:** For PDFs, extract text. For code, identify structure. For images, describe visual content.
45
+ 3. **Create Catalog:** Create an internal catalog document listing all files and their key content.
46
+
47
+ ### Step 2: Context Synthesis
48
+
49
+ **Goal:** Synthesize the file content into a coherent understanding of the current state.
50
+
51
+ 1. **Identify Patterns:** Look for recurring themes, architectural decisions, and coding conventions across files.
52
+ 2. **Extract Constraints:** Note any explicit or implicit constraints (e.g., "must maintain backward compatibility").
53
+ 3. **Identify Opportunities:** Note areas for improvement or refactoring.
54
+ 4. **Note Contradictions:** If files contradict each other, call this out explicitly.
55
+
56
+ ### Step 3: Plan Creation
57
+
58
+ **Goal:** Create a detailed plan grounded in the synthesized context.
59
+
60
+ 1. **Define Phases:** Break the plan into clear phases with estimated durations.
61
+ 2. **Specify Actions:** For each phase, list specific actions grounded in the uploaded files (reference file names and line numbers where relevant).
62
+ 3. **Define Deliverables:** Specify concrete deliverables for each phase.
63
+ 4. **Set Success Criteria:** Define binary, testable success criteria.
64
+ 5. **Identify Risks:** List potential risks and their mitigations.
65
+
66
+ ### Step 4: Validation and Refinement
67
+
68
+ **Goal:** Ensure the plan is complete, actionable, and aligned with the user's intent.
69
+
70
+ 1. **Review for Completeness:** Check that all phases have clear deliverables and success criteria.
71
+ 2. **Verify Grounding:** Ensure that all recommendations are directly tied to the uploaded files.
72
+ 3. **Check for Actionability:** Verify that the plan can be executed immediately without needing additional context.
73
+
74
+ ### Step 5: Delivery
75
+
76
+ **Goal:** Deliver the plan to the user with clear next steps.
77
+
78
+ 1. **Send Plan:** Use the `message` tool to send the plan as an attachment.
79
+ 2. **Summarize:** Briefly summarize the key phases and deliverables.
80
+ 3. **Offer Refinement:** Offer to answer questions or refine the plan based on feedback.
81
+
82
+ ---
83
+
84
+ ## IV. Best Practices
85
+
86
+ - **Reference Specifics:** Always reference specific files, functions, or sections in the plan.
87
+ - **Make Constraints Explicit:** If you find constraints in the files, list them in the plan.
88
+ - **Write Actionable Plans:** Use clear phases, concrete deliverables, and binary success criteria.
89
+ - **Synthesize Before Planning:** Create an internal synthesis document before writing the plan to ensure deep understanding.
90
+
91
+ ---
92
+
93
+ ## V. Quality Checklist
94
+
95
+ - [ ] Does the plan reference specific files and line numbers?
96
+ - [ ] Does the plan explicitly list any constraints found in the files?
97
+ - [ ] Does the plan have clear phases with concrete deliverables and binary success criteria?
98
+ - [ ] Is the plan actionable without needing additional context?
99
+ ---
100
+
101
+ ## OpenClaw Tool Integration
102
+
103
+ When running inside the Dojo Genesis plugin:
104
+
105
+ 1. **Start** by calling `dojo_get_context` to retrieve full project state, history, and artifacts
106
+ 2. **During** the skill, follow the workflow steps documented above
107
+ 3. **Save** outputs using `dojo_save_artifact` with the `artifacts` output directory
108
+ 4. **Update** project state by calling `dojo_update_state` to record skill completion and any phase transitions
109
+
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "dojo-genesis-plugin-context-ingestion",
3
+ "version": "1.0.0",
4
+ "description": "Create plans grounded in uploaded files",
5
+ "author": "dojo-genesis",
6
+ "license": "MIT",
7
+ "permissions": [],
8
+ "entry": "SKILL.md",
9
+ "tags": ["dojo-genesis", "orchestration", "workflow", "process"],
10
+ "models": ["claude-*", "gpt-*", "gemini-*"],
11
+ "minOpenClawVersion": "2026.1.0"
12
+ }
@@ -0,0 +1,130 @@
1
+ ---
2
+ name: decision-propagation
3
+ description: Record architectural decisions at source and propagate their effects through all dependent documents. Use when decisions arrive that answer open questions or change scope. Trigger phrases: 'propagate this decision through the system', 'trace where this decision echoes', 'update the status file last', 'this decision changes the scope—where else must it flow'.
4
+ ---
5
+
6
+ > **OpenClaw Integration:** This skill is invoked by the Dojo Genesis plugin via `/dojo run decision-propagation`.
7
+ > The agent receives project context automatically via the `before_agent_start` hook.
8
+ > Use `dojo_get_context` for full state, `dojo_save_artifact` to persist outputs,
9
+ > and `dojo_update_state` to record phase transitions and decisions.
10
+
11
+ # Decision-Propagation Protocol
12
+
13
+ ## I. The Philosophy
14
+
15
+ Architectural decisions are not isolated events. When a decision arrives—especially to an open question in an existing document—it creates ripples across an entire ecosystem of interdependent files. A decision like "auth bypass" doesn't just answer one scout's question; it changes scope in the master plan, triggers deferrals in other scouts, and reshapes the STATUS file's summary of the architecture.
16
+
17
+ Without a propagation protocol, decisions become stranded. A spec answers a question, but the master plan still lists it as open. A scout defers work, but the dependency graph hasn't updated. The system becomes incoherent—different documents contradict each other about what is decided and when.
18
+
19
+ This skill prevents that dissonance by treating decision-propagation as a deliberate, multi-document process. The human provides the decision once, in one place. Your job is to trace where that decision echoes and update each location.
20
+
21
+ ## II. When to Use This Skill
22
+
23
+ Use the decision-propagation protocol when:
24
+
25
+ - A human provides answers to open questions in a scout or specification
26
+ - An architectural decision changes the scope of a release or work track
27
+ - A decision in one document affects the content, sequencing, or priorities of others
28
+ - You need to defer work from one release to a later one based on new information
29
+ - The STATUS file or master tracking document is out of sync with the decisions living in specs and scouts
30
+ - Any time a decision made in one place must be reflected in many places
31
+
32
+ ## III. The Workflow: Five Steps
33
+
34
+ ### Step 1: Record Decisions at Source
35
+
36
+ Locate the document where the decision was made (scout, spec, or master plan section).
37
+
38
+ Replace the "Open Questions" section with "Decisions ([Name], [Date])". Number each decision:
39
+
40
+ ```
41
+ ## Decisions (Cruz, 2026-02-11)
42
+
43
+ 1. Entity Backend is v0.2.0 Priority
44
+ - Decision: Build entity-centric backend first, before other subsystems.
45
+ - Reasoning: Reduces scope of v0.2.1 and focuses team on core abstraction.
46
+ - Implication: Defers non-entity tasks to v0.2.1; reshuffles parallel track allocation.
47
+
48
+ 2. Auth Bypass
49
+ - Decision: Skip production auth layer in v0.2.0; ship with debug token instead.
50
+ - Reasoning: Unblocks frontend integration work; auth hardening moves to v0.2.2.
51
+ - Implication: Changes v0.2.0 scope (removes auth), changes v0.2.2 scope (adds auth).
52
+ ```
53
+
54
+ For each decision, capture the exact words, the reasoning (why the human chose this), and any stated implications. If the decision adds or removes scope, note it explicitly.
55
+
56
+ ### Step 2: Trace Document Dependencies
57
+
58
+ Before editing anything, make the complete list of documents affected. Common dependency patterns:
59
+
60
+ - **Master plan** → typically affected in: scope blocks, dependency graph, constraints, parallel track allocation, next steps
61
+ - **Other scouts** → may be promoted (dependencies now met), deferred (dependencies removed or pushed later), or need content updates
62
+ - **Implementation specs or prompts** → may need regeneration if scope changed
63
+ - **STATUS.md** → always needs updating; it's the coherence checkpoint
64
+
65
+ Walk through each document and ask: "Does this reference the decision I just recorded?" If yes, it's dependent.
66
+
67
+ ### Step 3: Propagate to Each Dependent Document
68
+
69
+ For each dependent document, make surgical edits. Do not rewrite entire sections unless necessary.
70
+
71
+ **In master plans:** Update scope tables, dependency graph (remove/add edges), constraint lists, parallel track allocation.
72
+
73
+ **In other scouts:** If a decision defers work, add a new section noting the deferral, the reasoning (reference the decision), and the proposed timeline. If a decision enables a scout, promote it in priority or scheduling.
74
+
75
+ **In STATUS.md:** Add a "Key Architecture Decisions" block and list all decisions with their implications. Update any summary statements about scope or sequencing.
76
+
77
+ **In implementation prompts:** If scope changed, the prompt may need regeneration to reflect new boundaries.
78
+
79
+ ### Step 4: Update Master Tracking
80
+
81
+ Update STATUS.md last. It's the summary of everything else. Include:
82
+
83
+ - The new decisions block (attribution, date, full text)
84
+ - Any tables listing specs, scouts, or prompts (update affected rows)
85
+ - "Next Steps" section (reorder if sequencing changed)
86
+ - Summary statement about architecture or scope (refresh if affected)
87
+
88
+ ### Step 5: Sync Copies
89
+
90
+ If documents exist in multiple locations (e.g., thinking/ at repo root AND docs/v0.2.x/thinking/), sync them. Compare file sizes or use `diff` to verify.
91
+
92
+ ## IV. Document Dependency Patterns
93
+
94
+ Understanding these patterns helps you trace dependencies quickly:
95
+
96
+ - **Decisions flow upward:** A scout decision affects the master plan above it
97
+ - **Decisions cascade sideways:** A decision in one scout defers or enables tasks in other scouts
98
+ - **Scope is bidirectional:** Adding scope to v0.2.0 removes it from v0.2.1; changes must be reflected in both
99
+ - **Deferrals create cross-references:** When a scout says "deferred to v0.2.3," the v0.2.3 master plan must acknowledge the deferred item
100
+
101
+ ## V. Best Practices
102
+
103
+ - **Record verbatim.** Capture the human's exact words, not your paraphrase. Paraphrasing introduces interpretation and drift.
104
+ - **Trace before editing.** Make the full list of dependent documents first. This prevents missed updates and duplicated effort.
105
+ - **Surgical over wholesale.** Change only the specific sections affected. Rewriting entire documents introduces risk and obscures what actually changed.
106
+ - **Always update STATUS.md last.** It's the final coherence checkpoint. If STATUS.md is current, the whole system is current.
107
+ - **Document deferrals clearly.** When work is pushed to a later release, add a note explaining why and when it should be reconsidered.
108
+
109
+ ## VI. Quality Checklist
110
+
111
+ Before considering the decision propagated:
112
+
113
+ - [ ] Decision recorded at source with human name, date, and full reasoning
114
+ - [ ] All dependent documents identified (master plan, related scouts, STATUS.md, implementation prompts)
115
+ - [ ] Each dependent document updated in specific affected sections (not blanket rewrites)
116
+ - [ ] STATUS.md reflects all changes and serves as a coherence checkpoint
117
+ - [ ] Document copies synced across locations if they exist in multiple places
118
+ - [ ] No orphaned references to old scope or pre-decision state remain in any document
119
+ - [ ] Cross-references between documents are consistent (if one document says "deferred to v0.2.3," the v0.2.3 plan acknowledges it)
120
+ ---
121
+
122
+ ## OpenClaw Tool Integration
123
+
124
+ When running inside the Dojo Genesis plugin:
125
+
126
+ 1. **Start** by calling `dojo_get_context` to retrieve full project state, history, and artifacts
127
+ 2. **During** the skill, follow the workflow steps documented above
128
+ 3. **Save** outputs using `dojo_save_artifact` with the `artifacts` output directory
129
+ 4. **Update** project state by calling `dojo_update_state` to record skill completion and any phase transitions
130
+
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "dojo-genesis-plugin-decision-propagation",
3
+ "version": "1.0.0",
4
+ "description": "Propagate decisions across document ecosystem",
5
+ "author": "dojo-genesis",
6
+ "license": "MIT",
7
+ "permissions": [],
8
+ "entry": "SKILL.md",
9
+ "tags": ["dojo-genesis", "orchestration", "agents", "coordination"],
10
+ "models": ["claude-*", "gpt-*", "gemini-*"],
11
+ "minOpenClawVersion": "2026.1.0"
12
+ }
@@ -0,0 +1,146 @@
1
+ ---
2
+ name: documentation-audit
3
+ description: Audit project documentation to identify and correct drift, ensuring all documents are accurate and reflect current codebase state. Use when documentation feels stale, after major releases, before onboarding new team members, or to combat documentation drift. Trigger phrases: 'docs seem out of date', 'audit the documentation', 'is the README accurate', 'check for broken links and outdated info', 'review docs for accuracy'.
4
+ ---
5
+
6
+ > **OpenClaw Integration:** This skill is invoked by the Dojo Genesis plugin via `/dojo run documentation-audit`.
7
+ > The agent receives project context automatically via the `before_agent_start` hook.
8
+ > Use `dojo_get_context` for full state, `dojo_save_artifact` to persist outputs,
9
+ > and `dojo_update_state` to record phase transitions and decisions.
10
+
11
+ # Documentation Auditor Skill
12
+
13
+ **Version:** 1.0
14
+ **Created:** 2026-02-04
15
+ **Author:** Manus AI
16
+ **Purpose:** To provide a structured, repeatable process for auditing project documentation, combating "documentation drift" and ensuring all documents remain a reliable source of truth.
17
+
18
+ ---
19
+
20
+ ## I. The Philosophy: Tending the Garden of Knowledge
21
+
22
+ Project documentation is a garden. When tended with care, it is a source of clarity, guidance, and shared understanding. When neglected, it becomes overgrown with outdated information, broken links, and misleading instructions—a phenomenon known as **documentation drift**. This drift erodes trust and creates confusion.
23
+
24
+ The Documentation Auditor skill is the practice of **tending the garden**. It is a recurring ritual where we mindfully walk through our documentation, pulling the weeds of inaccuracy and pruning the branches of irrelevance. It is an act of stewardship, ensuring that our shared garden of knowledge remains a welcoming and reliable resource for all agents and collaborators.
25
+
26
+ ---
27
+
28
+ ## II. When to Use This Skill
29
+
30
+ - **After a major release:** To ensure all documentation reflects the new features and changes.
31
+ - **Before a new team member or agent is onboarded:** To ensure they are given accurate information.
32
+ - **As a scheduled, recurring task:** (e.g., on the first day of each month) to maintain a regular cadence of review.
33
+ - **When you have a feeling that the documentation is out of sync with the code.**
34
+
35
+ ---
36
+
37
+ ## III. The Audit Workflow
38
+
39
+ ### Step 1: Initiate the Audit
40
+
41
+ Announce the intention to perform a documentation audit. Define the scope of the audit (e.g., "a full audit of the Dojo Genesis repo" or "a targeted audit of the AROMA README").
42
+
43
+ ### Step 2: Create an Audit Log
44
+
45
+ Create a new markdown file to log the findings of the audit (e.g., `docs/audits/2026-02-04_documentation_audit.md`). Use the template from Section IV.
46
+
47
+ ### Step 3: Systematically Review Each Document
48
+
49
+ Using the checklist in Section V, go through each key document in the repository. For each document, check for:
50
+
51
+ - **Accuracy:** Does the information reflect the current state of the code?
52
+ - **Completeness:** Is anything missing?
53
+ - **Clarity:** Is the language clear, concise, and easy to understand?
54
+ - **Broken Links:** Do all internal and external links still work?
55
+
56
+ For each issue found, create an entry in the audit log.
57
+
58
+ ### Step 4: Prioritize and Address the Issues
59
+
60
+ Once the review is complete, review the audit log and prioritize the issues. Address the high-priority issues immediately by creating pull requests to update the documentation.
61
+
62
+ ### Step 5: Commit and Share the Findings
63
+
64
+ Commit the audit log and all documentation fixes to the repository. Share a summary of the findings, highlighting the key improvements made.
65
+
66
+ ---
67
+
68
+ ## IV. Audit Log Template
69
+
70
+ ```markdown
71
+ # Documentation Audit: [Project Name]
72
+
73
+ **Date:** [YYYY-MM-DD]
74
+ **Auditor:** [Your Name]
75
+ **Scope:** [e.g., Full repository audit]
76
+
77
+ ---
78
+
79
+ ## Audit Findings
80
+
81
+ | File | Line(s) | Issue | Severity | Action Taken |
82
+ | :--- | :--- | :--- | :--- | :--- |
83
+ | `README.md` | 25-30 | The installation instructions are outdated and refer to a deprecated package. | High | Updated instructions in PR #123. |
84
+ | `docs/ARCHITECTURE.md` | 45 | The diagram does not include the new caching service. | Medium | Created issue #124 to update the diagram. |
85
+ | `CONTRIBUTING.md` | - | The link to the code of conduct is broken. | High | Fixed link in PR #125. |
86
+ | `SKILLS/retrospective.md` | 15 | A typo in the philosophy section. | Low | Corrected typo in PR #126. |
87
+
88
+ ---
89
+
90
+ ## Summary
91
+
92
+ - **Total Issues Found:** [Number]
93
+ - **Issues Resolved:** [Number]
94
+ - **New Issues Created:** [Number]
95
+
96
+ [A brief summary of the overall health of the documentation and any recurring themes that were identified.]
97
+ ```
98
+
99
+ ---
100
+
101
+ ## V. Core Documentation Checklist
102
+
103
+ **`README.md`**
104
+ - [ ] Is the project purpose clear?
105
+ - [ ] Are the installation and quickstart instructions accurate and functional?
106
+ - [ ] Does it link to other key documents (e.g., `CONTRIBUTING.md`, `ARCHITECTURE.md`)?
107
+ - [ ] Is the status badge (if any) correct?
108
+
109
+ **`CONTRIBUTING.md`**
110
+ - [ ] Are the guidelines for contributing clear?
111
+ - [ ] Is the process for submitting a pull request well-defined?
112
+ - [ ] Does it link to the code of conduct?
113
+
114
+ **`ARCHITECTURE.md`**
115
+ - [ ] Does the high-level overview reflect the current system architecture?
116
+ - [ ] Are all major components and their interactions documented?
117
+ - [ ] Are diagrams up-to-date?
118
+
119
+ **`docs/` Directory**
120
+ - [ ] Are all specifications for past releases present?
121
+ - [ ] Are all retrospective documents present?
122
+ - [ ] Is there any outdated information in the guides or tutorials?
123
+
124
+ **`SKILLS/` Directory**
125
+ - [ ] Does each skill have a clear `SKILL.md` file?
126
+ - [ ] Is the description and purpose of each skill accurate?
127
+
128
+ ---
129
+
130
+ ## VI. Best Practices
131
+
132
+ - **Audit in Small, Regular Batches:** It is less daunting to audit one section of the documentation each week than to audit the entire repository once a year.
133
+ - **Automate Where Possible:** Use tools like `lychee` to check for broken links automatically.
134
+ - **Link, Don't Copy:** When information needs to exist in multiple places, link to a single source of truth rather than copying and pasting it. This makes updates much easier.
135
+ - **Every Fix is a Good Fix:** Even fixing a small typo improves the quality of the garden.
136
+ ---
137
+
138
+ ## OpenClaw Tool Integration
139
+
140
+ When running inside the Dojo Genesis plugin:
141
+
142
+ 1. **Start** by calling `dojo_get_context` to retrieve full project state, history, and artifacts
143
+ 2. **During** the skill, follow the workflow steps documented above
144
+ 3. **Save** outputs using `dojo_save_artifact` with the `artifacts` output directory
145
+ 4. **Update** project state by calling `dojo_update_state` to record skill completion and any phase transitions
146
+
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "dojo-genesis-plugin-documentation-audit",
3
+ "version": "1.0.0",
4
+ "description": "Audit documentation for drift and accuracy",
5
+ "author": "dojo-genesis",
6
+ "license": "MIT",
7
+ "permissions": [],
8
+ "entry": "SKILL.md",
9
+ "tags": ["dojo-genesis", "orchestration", "research", "analysis"],
10
+ "models": ["claude-*", "gpt-*", "gemini-*"],
11
+ "minOpenClawVersion": "2026.1.0"
12
+ }