@orderful/droid 0.44.1 → 0.45.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +5 -2
  3. package/.github/workflows/claude-issue-agent.yml +237 -0
  4. package/CHANGELOG.md +30 -0
  5. package/dist/bin/droid.js +53 -23
  6. package/dist/commands/tui.d.ts.map +1 -1
  7. package/dist/integrations/granola/index.d.ts +6 -0
  8. package/dist/integrations/granola/index.d.ts.map +1 -0
  9. package/dist/integrations/granola/index.ts +28 -0
  10. package/dist/tools/brain/.claude-plugin/plugin.json +1 -1
  11. package/dist/tools/brain/TOOL.yaml +1 -1
  12. package/dist/tools/brain/skills/brain/SKILL.md +6 -0
  13. package/dist/tools/coach/.claude-plugin/plugin.json +1 -1
  14. package/dist/tools/coach/TOOL.yaml +5 -1
  15. package/dist/tools/coach/skills/coach/SKILL.md +31 -5
  16. package/dist/tools/code-review/.claude-plugin/plugin.json +1 -1
  17. package/dist/tools/code-review/TOOL.yaml +1 -1
  18. package/dist/tools/code-review/skills/code-review/SKILL.md +6 -0
  19. package/dist/tools/codex/.claude-plugin/plugin.json +1 -1
  20. package/dist/tools/codex/TOOL.yaml +1 -1
  21. package/dist/tools/codex/skills/codex/SKILL.md +6 -0
  22. package/dist/tools/comments/.claude-plugin/plugin.json +1 -1
  23. package/dist/tools/comments/TOOL.yaml +1 -1
  24. package/dist/tools/comments/skills/comments/SKILL.md +6 -0
  25. package/dist/tools/droid/.claude-plugin/plugin.json +1 -1
  26. package/dist/tools/droid/TOOL.yaml +1 -1
  27. package/dist/tools/droid/skills/droid/SKILL.md +1 -0
  28. package/dist/tools/droid/skills/droid-bootstrap/SKILL.md +1 -0
  29. package/dist/tools/edi-schema/.claude-plugin/plugin.json +25 -0
  30. package/dist/tools/edi-schema/TOOL.yaml +29 -0
  31. package/dist/tools/edi-schema/agents/edi-schema-agent.md +97 -0
  32. package/dist/tools/edi-schema/commands/edi-schema.md +33 -0
  33. package/dist/tools/edi-schema/skills/edi-schema/SKILL.md +86 -0
  34. package/dist/tools/meeting/.claude-plugin/plugin.json +1 -1
  35. package/dist/tools/meeting/TOOL.yaml +1 -1
  36. package/dist/tools/meeting/skills/meeting/SKILL.md +6 -0
  37. package/dist/tools/plan/.claude-plugin/plugin.json +1 -1
  38. package/dist/tools/plan/TOOL.yaml +1 -1
  39. package/dist/tools/plan/skills/plan/SKILL.md +6 -0
  40. package/dist/tools/project/.claude-plugin/plugin.json +1 -1
  41. package/dist/tools/project/TOOL.yaml +1 -1
  42. package/dist/tools/project/skills/project/SKILL.md +6 -0
  43. package/dist/tools/project/skills/project/references/loading.md +1 -0
  44. package/dist/tools/release/.claude-plugin/plugin.json +1 -1
  45. package/dist/tools/release/TOOL.yaml +1 -1
  46. package/dist/tools/release/skills/release/SKILL.md +7 -0
  47. package/dist/tools/release/skills/release/references/templates.md +22 -0
  48. package/dist/tools/release/skills/release/references/workflows.md +28 -4
  49. package/dist/tools/share/.claude-plugin/plugin.json +1 -1
  50. package/dist/tools/share/TOOL.yaml +1 -1
  51. package/dist/tools/share/skills/share/SKILL.md +6 -0
  52. package/dist/tools/status-update/.claude-plugin/plugin.json +1 -1
  53. package/dist/tools/status-update/TOOL.yaml +1 -1
  54. package/dist/tools/status-update/skills/status-update/SKILL.md +6 -0
  55. package/dist/tools/tech-design/.claude-plugin/plugin.json +1 -1
  56. package/dist/tools/tech-design/TOOL.yaml +1 -1
  57. package/dist/tools/tech-design/skills/tech-design/SKILL.md +6 -0
  58. package/dist/tools/wrapup/.claude-plugin/plugin.json +1 -1
  59. package/dist/tools/wrapup/TOOL.yaml +6 -2
  60. package/dist/tools/wrapup/skills/wrapup/SKILL.md +25 -2
  61. package/dist/tools/wrapup/skills/wrapup/references/output-schema.md +5 -3
  62. package/dist/tools/wrapup/skills/wrapup/references/subagent-prompts.md +54 -13
  63. package/package.json +1 -1
  64. package/src/commands/tui.tsx +11 -0
  65. package/src/integrations/granola/index.ts +28 -0
  66. package/src/tools/brain/.claude-plugin/plugin.json +1 -1
  67. package/src/tools/brain/TOOL.yaml +1 -1
  68. package/src/tools/brain/skills/brain/SKILL.md +6 -0
  69. package/src/tools/coach/.claude-plugin/plugin.json +1 -1
  70. package/src/tools/coach/TOOL.yaml +5 -1
  71. package/src/tools/coach/skills/coach/SKILL.md +31 -5
  72. package/src/tools/code-review/.claude-plugin/plugin.json +1 -1
  73. package/src/tools/code-review/TOOL.yaml +1 -1
  74. package/src/tools/code-review/skills/code-review/SKILL.md +6 -0
  75. package/src/tools/codex/.claude-plugin/plugin.json +1 -1
  76. package/src/tools/codex/TOOL.yaml +1 -1
  77. package/src/tools/codex/skills/codex/SKILL.md +6 -0
  78. package/src/tools/comments/.claude-plugin/plugin.json +1 -1
  79. package/src/tools/comments/TOOL.yaml +1 -1
  80. package/src/tools/comments/skills/comments/SKILL.md +6 -0
  81. package/src/tools/droid/.claude-plugin/plugin.json +1 -1
  82. package/src/tools/droid/TOOL.yaml +1 -1
  83. package/src/tools/droid/skills/droid/SKILL.md +1 -0
  84. package/src/tools/droid/skills/droid-bootstrap/SKILL.md +1 -0
  85. package/src/tools/edi-schema/.claude-plugin/plugin.json +25 -0
  86. package/src/tools/edi-schema/TOOL.yaml +29 -0
  87. package/src/tools/edi-schema/agents/edi-schema-agent.md +97 -0
  88. package/src/tools/edi-schema/commands/edi-schema.md +33 -0
  89. package/src/tools/edi-schema/skills/edi-schema/SKILL.md +86 -0
  90. package/src/tools/meeting/.claude-plugin/plugin.json +1 -1
  91. package/src/tools/meeting/TOOL.yaml +1 -1
  92. package/src/tools/meeting/skills/meeting/SKILL.md +6 -0
  93. package/src/tools/plan/.claude-plugin/plugin.json +1 -1
  94. package/src/tools/plan/TOOL.yaml +1 -1
  95. package/src/tools/plan/skills/plan/SKILL.md +6 -0
  96. package/src/tools/project/.claude-plugin/plugin.json +1 -1
  97. package/src/tools/project/TOOL.yaml +1 -1
  98. package/src/tools/project/skills/project/SKILL.md +6 -0
  99. package/src/tools/project/skills/project/references/loading.md +1 -0
  100. package/src/tools/release/.claude-plugin/plugin.json +1 -1
  101. package/src/tools/release/TOOL.yaml +1 -1
  102. package/src/tools/release/skills/release/SKILL.md +7 -0
  103. package/src/tools/release/skills/release/references/templates.md +22 -0
  104. package/src/tools/release/skills/release/references/workflows.md +28 -4
  105. package/src/tools/share/.claude-plugin/plugin.json +1 -1
  106. package/src/tools/share/TOOL.yaml +1 -1
  107. package/src/tools/share/skills/share/SKILL.md +6 -0
  108. package/src/tools/status-update/.claude-plugin/plugin.json +1 -1
  109. package/src/tools/status-update/TOOL.yaml +1 -1
  110. package/src/tools/status-update/skills/status-update/SKILL.md +6 -0
  111. package/src/tools/tech-design/.claude-plugin/plugin.json +1 -1
  112. package/src/tools/tech-design/TOOL.yaml +1 -1
  113. package/src/tools/tech-design/skills/tech-design/SKILL.md +6 -0
  114. package/src/tools/wrapup/.claude-plugin/plugin.json +1 -1
  115. package/src/tools/wrapup/TOOL.yaml +6 -2
  116. package/src/tools/wrapup/skills/wrapup/SKILL.md +25 -2
  117. package/src/tools/wrapup/skills/wrapup/references/output-schema.md +5 -3
  118. package/src/tools/wrapup/skills/wrapup/references/subagent-prompts.md +54 -13
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "droid-tech-design",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Technical design authoring tool for engineers. Create structured tech design docs with /tech-design start, iterate in brain, publish to codex. Three-document approach: research doc (codebase discoveries) + thought doc (design workspace) + roll-up (clean summary for review).",
5
5
  "author": {
6
6
  "name": "Orderful",
@@ -1,6 +1,6 @@
1
1
  name: tech-design
2
2
  description: "Technical design authoring tool for engineers. Create structured tech design docs with /tech-design start, iterate in brain, publish to codex. Three-document approach: research doc (codebase discoveries) + thought doc (design workspace) + roll-up (clean summary for review)."
3
- version: 0.3.0
3
+ version: 0.3.1
4
4
  status: beta
5
5
 
6
6
  includes:
@@ -47,6 +47,12 @@ Tech-design has no configuration of its own. It delegates to:
47
47
 
48
48
  **Overrides:** This skill supports user-defined overrides. See `/droid` skill § Skill Overrides.
49
49
 
50
+ ## Custom Instructions
51
+
52
+ Any command accepts a ` -- {instruction}` suffix. Split on the **first** ` -- ` (space-dash-dash-space): left is the command and its args, right is additional context or instruction to carry through the entire execution. Note: flag-style `--from` and similar flags use `--flag` syntax (no surrounding spaces) and are distinct from this separator.
53
+
54
+ Example: `/tech-design draft rollout -- keep it concise, we have limited Ops bandwidth`
55
+
50
56
  ## Four-Document Approach
51
57
 
52
58
  | Document | Created When | Purpose | Location | Audience | Length |
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "droid-wrapup",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Session wrap-up that captures decisions, learnings, and open items to persistent docs.",
5
5
  "author": {
6
6
  "name": "Orderful",
@@ -1,6 +1,6 @@
1
1
  name: wrapup
2
2
  description: "Session wrap-up that captures decisions, learnings, and open items to persistent docs."
3
- version: 0.1.3
3
+ version: 0.1.5
4
4
  status: alpha
5
5
 
6
6
  includes:
@@ -13,4 +13,8 @@ includes:
13
13
 
14
14
  dependencies: []
15
15
 
16
- config_schema: {}
16
+ config_schema:
17
+ persist_recaps:
18
+ type: string
19
+ default: 'false'
20
+ description: 'Persist session recap files to brain vault wrapups folder'
@@ -10,16 +10,25 @@ Session wrap-up that captures decisions, learnings, and open items before closin
10
10
 
11
11
  ## Configuration
12
12
 
13
- Wrapup has no configuration of its own. It reads config from other installed tools:
13
+ Wrapup reads config from other installed tools, plus its own settings:
14
14
 
15
15
  - **Project skill** (optional): `droid config --get tools.project` → `projects_dir` to update project files
16
- - **Brain skill** (optional): `droid config --get tools.brain` → `brain_dir` to update brain docs
16
+ - **Brain skill** (optional): `droid config --get tools.brain` → `brain_dir` and `inbox_folder` to update brain docs
17
17
  - **Codex skill** (optional): `droid config --get tools.codex` → `codex_repo` to suggest codex entries
18
+ - **Wrapup own config** (optional): `droid config --get tools.wrapup` → `persist_recaps` (`'true'` / `'false'`, default `'false'`)
18
19
 
19
20
  If these tools aren't configured, wrapup skips those artifacts and focuses on git state and conversation summary.
20
21
 
22
+ When `persist_recaps` is `'true'` and brain is configured, session briefs are saved to the brain vault in Phase 4 (see below).
23
+
21
24
  **Overrides:** This skill supports user-defined overrides. See `/droid` skill § Skill Overrides.
22
25
 
26
+ ## Custom Instructions
27
+
28
+ Any command accepts a ` -- {instruction}` suffix. Split on the **first** ` -- ` (space-dash-dash-space): left is the command and its args, right is additional context or instruction to carry through the entire execution.
29
+
30
+ Example: `/wrapup -- also capture the tech debt items we discussed`
31
+
23
32
  ## Context Lifeboat Pattern
24
33
 
25
34
  This skill runs at the END of sessions when context pressure is highest.
@@ -98,3 +107,17 @@ Present options using AskUserQuestion:
98
107
  - **"Skip"** → Close without updating
99
108
 
100
109
  On approval, write updates using appropriate format for each destination.
110
+
111
+ **Session recap persistence (if `persist_recaps` is `'true'`):**
112
+
113
+ After writing all other updates, check whether session briefs should be persisted:
114
+
115
+ 1. Run `droid config --get tools.wrapup` and check if `persist_recaps` equals `'true'`. If not, skip.
116
+ 2. Run `droid config --get tools.brain` and parse `brain_dir` and `inbox_folder`.
117
+ - If `brain_dir` is not set, skip.
118
+ 3. Construct the destination path:
119
+ - If `inbox_folder` is non-empty: `{brain_dir}/{inbox_folder}/wrapups/{session-id}.md`
120
+ - If `inbox_folder` is empty or absent: `{brain_dir}/wrapups/{session-id}.md`
121
+ - Avoid double slashes — do not append `inbox_folder` when it is an empty string.
122
+ 4. Create the `wrapups/` directory if it does not exist, then copy the Phase 1 brief from `/tmp/wrapup-{session-id}.md` to the constructed path.
123
+ 5. Inform the user the recap was saved and where.
@@ -28,7 +28,7 @@ Structured format for subagent findings. Main agent uses this to synthesise the
28
28
  ],
29
29
  "suggested_actions": [
30
30
  {
31
- "type": "commit | codex_topic | file_bug | update_docs",
31
+ "type": "commit | codex_topic | codex_update | file_bug | update_docs",
32
32
  "content": "description of suggested action",
33
33
  "priority": "high | medium | low"
34
34
  }
@@ -63,7 +63,8 @@ Item categories:
63
63
 
64
64
  Actions that need user judgment:
65
65
  - `commit`: Git changes ready to commit
66
- - `codex_topic`: Knowledge worth codifying
66
+ - `codex_topic`: Net-new knowledge worth codifying as a new codex entry
67
+ - `codex_update`: Update to an existing codex entry (distinct from `codex_topic` which suggests net-new content)
67
68
  - `file_bug`: Bug discovered but not filed
68
69
  - `update_docs`: Documentation that needs updating
69
70
 
@@ -87,7 +88,8 @@ Actions that need user judgment:
87
88
  ],
88
89
  "suggested_actions": [
89
90
  {"type": "commit", "content": "4 files ready: TOOL.yaml, SKILL.md, wrapup.md, changeset", "priority": "high"},
90
- {"type": "codex_topic", "content": "Context lifeboat pattern for end-of-session tooling", "priority": "medium"}
91
+ {"type": "codex_topic", "content": "Context lifeboat pattern for end-of-session tooling", "priority": "medium"},
92
+ {"type": "codex_update", "content": "Update 'droid' codex entry: add context-lifeboat pattern and subagent parallelisation decision from today's session", "priority": "low"}
91
93
  ]
92
94
  }
93
95
  ```
@@ -76,20 +76,61 @@ Output:
76
76
  **Subagent type:** Explore
77
77
 
78
78
  ```
79
- Read {session_brief_path} for session context.
80
-
81
- Run `droid config --get tools.codex` and check if `codex_repo` is set.
82
- If not configured, skip codex analysis.
83
-
84
- If the session involved:
85
- - Deep research on a topic
86
- - Discovering patterns or best practices
87
- - Solving a non-trivial problem with reusable insights
88
-
89
- Then suggest potential codex topics:
90
- - Topic name
79
+ Read {session_brief_path} for session context. Pay particular attention to the
80
+ "Decisions Made" and "Key Learnings" sections — these are the primary signals
81
+ for both new codex topics and updates to existing entries.
82
+
83
+ Run `droid config --get tools.codex` and parse the JSON output for `codex_repo`.
84
+ If `codex_repo` is not set, output "No codex suggestions (codex not configured)" and stop.
85
+
86
+ --- Discover existing codex content ---
87
+
88
+ 1. Attempt to read `{codex_repo}/.codex/manifest.yaml` to get an inventory of
89
+ existing entries and projects.
90
+ - If the manifest does not exist, fall back: list the top-level directories
91
+ inside `{codex_repo}` to infer project names.
92
+ 2. Skim entry names, titles, and tags — you do NOT need to read full entry bodies
93
+ at this stage. Goal is a compact list of what already exists.
94
+
95
+ --- Compare session against existing codex content ---
96
+
97
+ 3. For each decision or learning in the session brief, check whether it relates
98
+ to an existing codex entry or project:
99
+ - A decision "relates to" an entry if the topic, technology, or system name
100
+ overlaps (e.g., a decision about the droid project file format relates to
101
+ a codex entry named "droid" or "tool-configuration").
102
+ - Threshold: if 2 or more session decisions/learnings relate to the same
103
+ existing codex entry, emit a `codex_update` suggestion for that entry.
104
+ - For a single related decision/learning, use your judgment — only suggest
105
+ an update if the insight is clearly additive and not already captured.
106
+
107
+ 4. Read the full content of any existing entries flagged in step 3 to confirm
108
+ the insight is genuinely new (avoid duplicate suggestions).
109
+
110
+ --- Identify net-new codex topics ---
111
+
112
+ 5. For decisions/learnings that do NOT relate to any existing entry, consider
113
+ whether they merit a brand-new codex topic:
114
+ - Deep research findings
115
+ - Discovered patterns or best practices
116
+ - Non-trivial problems solved with reusable insights
117
+
118
+ --- Output ---
119
+
120
+ Produce two buckets:
121
+
122
+ **Suggested updates to existing codex entries (codex_update):**
123
+ For each:
124
+ - Entry name (as it appears in the codex)
125
+ - What to add or amend (specific content, not vague)
126
+ - Which session decisions/learnings drove this suggestion
127
+ - Why the existing entry is incomplete without this update
128
+
129
+ **Suggested new codex topics (codex_topic):**
130
+ For each:
131
+ - Proposed topic name
91
132
  - Brief description of what to capture
92
133
  - Why it's worth codifying (reusable, non-obvious, hard-won knowledge)
93
134
 
94
- Output: List of suggested codex topics, or "No codex suggestions" if session was routine.
135
+ If neither bucket has entries, output "No codex suggestions".
95
136
  ```