Repository navigation
Commit c6e98ea
feat(droid): add --no-model-invocation integration option (#5116)
* feat(droid): add --no-model-invocation integration option
Droid skills are always written with `disable-model-invocation: false`.
`specify init --integration droid --integration-options="--no-model-invocation"`
now writes `true` for the core command skills (and preset overrides of
them) so Droid does not invoke them automatically; they stay available as
`/speckit-<command>`. The default is unchanged (#2654).
Mirrors the Claude option from #4919: setup() records the option, and
post_process_skill_content() applies it only to `speckit-<core>` skills in
CORE_COMMAND_NAMES, so extension skills stay model-invocable for mandatory
hooks. The option persists in .specify/integration.json and is reapplied by
`specify integration upgrade droid`. Commands that rewrite skills without
calling setup() (preset add/remove/update, integration use/switch) keep the
default; the docs say so and point at `upgrade droid --force`.
Assisted-by: Claude Code (model: claude-sonnet-5-5, autonomous)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J3taepmtmjGTxTn4W1xb7q
* docs(droid): note skills are model-invocable by default
The post_process_skill_content() docstring said skills are always both
user- and Droid-invocable, which is no longer true once
--no-model-invocation is set.
Assisted-by: Claude Code (model: claude-opus-5-5, autonomous)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015w5WirGUspLsYEpCkaHWxV
* docs(droid): record observed --no-model-invocation behaviour
Validated against Droid 1.0.0: flagged core skills drop out of the model's
skill listing, /speckit-<command> and workflow dispatch still run them, and
the model can still invoke them via its Skill tool when a prompt names one.
Assisted-by: Claude Code (model: claude-opus-5-5, autonomous)
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>1 parent 7370e59 commit c6e98ea
3 files changed
Lines changed: 365 additions & 5 deletions
File tree
- docs/integrations
- src/specify_cli/integrations/droid
- tests/integrations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
27 | 62 | | |
28 | 63 | | |
29 | 64 | | |
| |||
32 | 67 | | |
33 | 68 | | |
34 | 69 | | |
35 | | - | |
| 70 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
39 | 82 | | |
40 | 83 | | |
41 | 84 | | |
| |||
75 | 118 | | |
76 | 119 | | |
77 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
78 | 145 | | |
79 | 146 | | |
80 | 147 | | |
81 | 148 | | |
82 | 149 | | |
83 | 150 | | |
84 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
85 | 157 | | |
86 | 158 | | |
87 | 159 | | |
88 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
89 | 166 | | |
90 | 167 | | |
91 | 168 | | |
| |||
0 commit comments