owflow 0.3.0 → 0.4.2

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 (45) hide show
  1. package/README.md +22 -0
  2. package/dist/agents/information-gatherer.md +691 -691
  3. package/dist/agents/research-planner.md +450 -447
  4. package/dist/agents/research-synthesizer.md +403 -401
  5. package/dist/agents/solution-brainstormer.md +257 -257
  6. package/dist/agents/solution-designer.md +372 -372
  7. package/dist/commands/goal-research.md +33 -0
  8. package/dist/commands/research-brainstorm.md +33 -0
  9. package/dist/commands/research-converge.md +33 -0
  10. package/dist/commands/research-design.md +33 -0
  11. package/dist/commands/research-finalize.md +33 -0
  12. package/dist/commands/research-fork.md +40 -0
  13. package/dist/commands/research-gather.md +33 -0
  14. package/dist/commands/research-plan.md +37 -0
  15. package/dist/commands/research-quick.md +37 -0
  16. package/dist/commands/research-synthesize.md +33 -0
  17. package/dist/commands/research.md +55 -36
  18. package/dist/commands/work.md +3 -3
  19. package/dist/configuration/skills-config.js +1 -1
  20. package/dist/index.js +5 -2
  21. package/dist/skills/goal-research/SKILL.md +118 -0
  22. package/dist/skills/orchestrator-framework/references/dispatcher-handoff.md +8 -1
  23. package/dist/skills/orchestrator-framework/references/gate-contract.md +112 -104
  24. package/dist/skills/research/SKILL.md +249 -495
  25. package/dist/skills/research-brainstorm/SKILL.md +120 -0
  26. package/dist/skills/{research → research-brainstorm}/references/brainstorming-techniques.md +1 -1
  27. package/dist/skills/research-converge/SKILL.md +130 -0
  28. package/dist/skills/research-design/SKILL.md +146 -0
  29. package/dist/skills/{research → research-design}/references/design-techniques.md +1 -1
  30. package/dist/skills/research-finalize/SKILL.md +125 -0
  31. package/dist/skills/research-fork/SKILL.md +190 -0
  32. package/dist/skills/research-gather/SKILL.md +133 -0
  33. package/dist/skills/research-plan/SKILL.md +141 -0
  34. package/dist/skills/research-quick/SKILL.md +139 -0
  35. package/dist/skills/research-synthesize/SKILL.md +127 -0
  36. package/dist/templates/orchestrator-state-research.yml +19 -13
  37. package/dist/tools/fork_task.js +36 -0
  38. package/dist/tools/verify_template.js +10 -31
  39. package/dist/utils/file-util.js +1 -1
  40. package/dist/utils/fork-task.js +74 -0
  41. package/dist/utils/plugin-info.js +20 -0
  42. package/dist/utils/yaml-structure.js +32 -0
  43. package/package.json +1 -1
  44. package/dist/constants.js +0 -4
  45. /package/dist/skills/{research → research-plan}/references/research-methodologies.md +0 -0
package/README.md CHANGED
@@ -139,6 +139,13 @@ You can always be explicit when you prefer - arguments and flags simply override
139
139
 
140
140
  Task type (feature/bug/enhancement) is auto-detected from context. Override with `--type=feature|bug|enhancement` if needed. Or use `/owflow:work` as a single entry point that routes to the right workflow.
141
141
 
142
+ ### Research Utility
143
+
144
+ | Command | Use When |
145
+ | ----------------------------- | -------------------------------------------------------------------------------- |
146
+ | `/owflow:research-quick "<description>"` | Condensed research: brief → plan → gather → synthesis in one pass |
147
+ | `/owflow:research-fork <task-path> ["<what this fork should explore>"]` | Branch a research task and re-run from the fork point with different choices |
148
+
142
149
  ### Quick Commands
143
150
 
144
151
  For smaller tasks that don't need a full workflow:
@@ -221,6 +228,21 @@ You can also append additional instructions to narrow scope or guide the workflo
221
228
  /owflow:development .owflow/tasks/research/2026-01-12-oauth-research Implement only phase 1
222
229
  ```
223
230
 
231
+ **Fork a research task to diverge from it.** If you want to re-run part of a completed research with different choices while keeping the original intact, fork it. Passing the task path is enough — the skill reads that research, then asks what the fork should explore, where it should diverge, and what to call it, with suggestions drawn from the research itself:
232
+
233
+ ```bash
234
+ /owflow:research-fork .owflow/tasks/research/2026-01-12-oauth-research
235
+ ```
236
+
237
+ Answer the three questions (or supply the answers up front — each one then gets skipped):
238
+
239
+ ```bash
240
+ /owflow:research-fork .owflow/tasks/research/2026-01-12-oauth-research "compare scoping alternatives" \
241
+ --from=synthesis-complete --name="compare-scoping-alternatives"
242
+ ```
243
+
244
+ The copy is verbatim (all artifacts, including those from after the fork point) and only the fork's `completed_phases` is trimmed at the fork point, so the fork resumes at the step after it. The source task is never modified.
245
+
224
246
  ## Known Issues
225
247
 
226
248
  **Orchestrator may stall after long phases.** After context compaction (which typically happens after lengthy phases like implementation), the main agent may stop progressing automatically. If you notice it's idle, just type something like "continue" or "proceed" — it will pick up where it left off. You can also re-invoke the workflow in resume mode to reload the orchestrator state: