agy-superpowers 5.1.1 → 5.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agy-superpowers",
3
- "version": "5.1.1",
3
+ "version": "5.1.2",
4
4
  "description": "Superpowers skills library for Google Antigravity agent — scaffold .agent/ with one command",
5
5
  "type": "module",
6
6
  "bin": {
@@ -72,3 +72,23 @@ inline comments). The code should work without platform-specific annotations.
72
72
  - If `auto_commit: false`: skip commit and staging entirely. Print: "Skipping commit (auto_commit: false in .agent/config.yml). Files left as modified for manual commit."
73
73
  Update any diagram labels that mention "commits" to reflect this conditionality
74
74
  (e.g. "commits (if auto_commit: true)").
75
+
76
+ ---
77
+
78
+ ## Patch: auto_commit flag — writing-plans task template
79
+
80
+ **File:** `writing-plans/SKILL.md`
81
+ **Intent:** Make the commit step in the plan task template conditional on `.agent/config.yml`:
82
+ - Step 5 should be titled "Commit (if auto_commit enabled)" instead of just "Commit"
83
+ - Before the `git add`/`git commit` block, add: Check `.agent/config.yml` for `auto_commit` setting
84
+ - If `auto_commit: true` (default): run the git add + git commit as normal
85
+ - If `auto_commit: false`: skip commit and staging. Print: "Skipping commit (auto_commit: false)."
86
+
87
+ ---
88
+
89
+ ## Patch: auto_commit flag — implementer-prompt
90
+
91
+ **File:** `subagent-driven-development/implementer-prompt.md`
92
+ **Intent:** Make the "Commit your work" step in the implementer's job list conditional:
93
+ - Change "4. Commit your work" to "4. Commit your work (if auto_commit is enabled)"
94
+ - Add sub-steps: read `.agent/config.yml`, if `auto_commit: true` (or not set): `git add` + `git commit`, if `auto_commit: false`: skip commit and staging entirely, print skip message.
@@ -32,7 +32,10 @@ Task tool (general-purpose):
32
32
  1. Implement exactly what the task specifies
33
33
  2. Write tests (following TDD if task says to)
34
34
  3. Verify implementation works
35
- 4. Commit your work
35
+ 4. Commit your work (if auto_commit is enabled)
36
+ - Read `.agent/config.yml` to check the `auto_commit` setting
37
+ - If `auto_commit: true` (or not set): `git add` changed files + `git commit`
38
+ - If `auto_commit: false`: skip commit and staging entirely. Print: "Skipping commit (auto_commit: false in .agent/config.yml). Files left as modified for manual commit."
36
39
  5. Self-review (see below)
37
40
  6. Report back
38
41
 
@@ -95,12 +95,15 @@ def function(input):
95
95
  Run: `pytest tests/path/test.py::test_name -v`
96
96
  Expected: PASS
97
97
 
98
- - [ ] **Step 5: Commit**
98
+ - [ ] **Step 5: Commit (if auto_commit enabled)**
99
99
 
100
+ Check `.agent/config.yml` for `auto_commit` setting:
101
+ - If `auto_commit: true` (default):
100
102
  ```bash
101
103
  git add tests/path/test.py src/path/file.py
102
104
  git commit -m "feat: add specific feature"
103
105
  ```
106
+ - If `auto_commit: false`: skip commit and staging. Print: "Skipping commit (auto_commit: false)."
104
107
  ````
105
108
 
106
109
  ## Remember