autoworkflow 3.6.0 → 3.6.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.
- package/.claude/settings.local.json +2 -1
- package/README.md +10 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -88,10 +88,11 @@ guardrails:
|
|
|
88
88
|
┌─────────────────────────────────────────────────────────────┐
|
|
89
89
|
│ HOOKS (Automatic) │
|
|
90
90
|
│ │
|
|
91
|
-
│ UserPromptSubmit → session-check.sh (resume,
|
|
92
|
-
│ PreToolUse → pre-edit.sh (
|
|
91
|
+
│ UserPromptSubmit → session-check.sh (resume, turn reset) │
|
|
92
|
+
│ PreToolUse → pre-edit.sh (3 gates: approval, │
|
|
93
|
+
│ suggestions, one-fix-at-a-time) │
|
|
93
94
|
│ PreToolUse → pre-commit-check.sh (BLOCKS bad code) │
|
|
94
|
-
│ PostToolUse → post-edit.sh (
|
|
95
|
+
│ PostToolUse → post-edit.sh (multi-lang verify) │
|
|
95
96
|
│ PostToolUse → post-commit.sh (BLUEPRINT reminder) │
|
|
96
97
|
│ │
|
|
97
98
|
│ Hooks ENFORCE workflow - they physically block actions │
|
|
@@ -140,9 +141,9 @@ ANALYZE → PLAN → CONFIRM → IMPLEMENT → VERIFY → AUDIT → COMMIT → U
|
|
|
140
141
|
|
|
141
142
|
| Hook | Trigger | Action |
|
|
142
143
|
|------|---------|--------|
|
|
143
|
-
| `session-check.sh` | Every user message | Resume
|
|
144
|
-
| `pre-edit.sh` | Before Write/Edit | **BLOCK if
|
|
145
|
-
| `post-edit.sh` | After Write/Edit |
|
|
144
|
+
| `session-check.sh` | Every user message | Resume session, reset turn counter |
|
|
145
|
+
| `pre-edit.sh` | Before Write/Edit | **BLOCK** if: no approval, no suggestions, or multiple fixes |
|
|
146
|
+
| `post-edit.sh` | After Write/Edit | Detect project type, run verification |
|
|
146
147
|
| `pre-commit-check.sh` | Before git commit | **BLOCK if TODO/console.log/errors** |
|
|
147
148
|
| `post-commit.sh` | After git commit | Remind to update BLUEPRINT.md |
|
|
148
149
|
|
|
@@ -153,7 +154,9 @@ ANALYZE → PLAN → CONFIRM → IMPLEMENT → VERIFY → AUDIT → COMMIT → U
|
|
|
153
154
|
| Gate | Blocks If | Enforced By |
|
|
154
155
|
|------|-----------|-------------|
|
|
155
156
|
| Plan Approval | User hasn't approved the plan | `pre-edit.sh` (exit 1) |
|
|
156
|
-
|
|
|
157
|
+
| Suggestions | Feature task without 3-tier suggestions shown | `pre-edit.sh` (exit 1) |
|
|
158
|
+
| One-Fix-At-A-Time | Multiple edits in FIX phase per turn | `pre-edit.sh` (exit 1) |
|
|
159
|
+
| Verify | TypeScript/ESLint/language-specific errors | `post-edit.sh` loop |
|
|
157
160
|
| Audit | Orphan features or circular dependencies | Required before commit |
|
|
158
161
|
| Pre-Commit | TODO/FIXME, console.log, bad format | `pre-commit-check.sh` (exit 1) |
|
|
159
162
|
|