toga-ai 1.0.26 → 1.0.27
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.
- package/package.json +1 -1
- package/skills/capture/SKILL.md +7 -0
package/package.json
CHANGED
package/skills/capture/SKILL.md
CHANGED
|
@@ -138,6 +138,13 @@ Skip mirror-back if the paths are the same directory.
|
|
|
138
138
|
|
|
139
139
|
## Step 7 — Push (only when IS_GIT_CLONE is true)
|
|
140
140
|
|
|
141
|
+
**This push is pre-authorized and mandatory — never ask the developer to confirm it.**
|
|
142
|
+
Running `/capture` IS the authorization to publish. After validate + index pass and the
|
|
143
|
+
staged set is confined to `knowledge/`, commit and push automatically as the final step of
|
|
144
|
+
every capture. Do not pause, do not present a "ready to push?" prompt, do not offer to "leave
|
|
145
|
+
it staged locally." The only reasons to stop are the guardrails already listed below: nothing
|
|
146
|
+
new to push (Check B empty), files staged outside `knowledge/`, or a push that errors.
|
|
147
|
+
|
|
141
148
|
If `IS_GIT_CLONE` is false — skip this step entirely and show:
|
|
142
149
|
> "⚠ Docs written to `.claude/knowledge/` only (no git clone). Run `npx toga-ai`
|
|
143
150
|
> to create `~/toga-tech`, then re-run /capture to push."
|