forge-workflow 1.3.1 → 1.4.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/commands/check.md +8 -0
- package/.claude/commands/dev.md +8 -0
- package/.claude/commands/plan.md +8 -0
- package/.claude/commands/rollback.md +724 -0
- package/.claude/settings.json +10 -0
- package/.claude/settings.local.json +14 -1
- package/README.md +217 -761
- package/bin/forge.js +704 -1
- package/docs/EXAMPLES.md +750 -0
- package/docs/README-v1.3.md +860 -0
- package/docs/SETUP.md +723 -0
- package/docs/WORKFLOW.md +23 -0
- package/package.json +1 -1
|
@@ -76,6 +76,14 @@ npm run test # or: bun run test, jest, vitest, etc.
|
|
|
76
76
|
- Includes security test scenarios
|
|
77
77
|
- TDD tests from /dev phase
|
|
78
78
|
|
|
79
|
+
> **💭 Plan-Act-Reflect Checkpoint**
|
|
80
|
+
> Before declaring validation complete:
|
|
81
|
+
> - Are all security test scenarios from your research doc actually implemented and passing?
|
|
82
|
+
> - Did you verify OWASP Top 10 mitigations, not just check a box?
|
|
83
|
+
> - Are there edge cases or integration scenarios you haven't tested?
|
|
84
|
+
>
|
|
85
|
+
> **If unsure**: Re-read the "Security Analysis" and "TDD Test Scenarios" sections in research doc
|
|
86
|
+
|
|
79
87
|
### Step 6: Handle Failures
|
|
80
88
|
|
|
81
89
|
If any check fails:
|
package/.claude/commands/dev.md
CHANGED
|
@@ -39,6 +39,14 @@ CO-DEPENDENT (Must Sequence):
|
|
|
39
39
|
Decision: Parallel tracks possible after types created
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
+
> **💭 Plan-Act-Reflect Checkpoint**
|
|
43
|
+
> Before choosing your execution strategy:
|
|
44
|
+
> - Is the parallelization complexity worth the time savings?
|
|
45
|
+
> - Do you have clear boundaries between tracks, or will they collide?
|
|
46
|
+
> - Have you identified the true "shared foundation" that must come first?
|
|
47
|
+
>
|
|
48
|
+
> **If unsure**: Start sequential. Refer to your OpenSpec `tasks.md` for dependency guidance.
|
|
49
|
+
|
|
42
50
|
### Step 2: Create TodoWrite (TDD Pattern)
|
|
43
51
|
|
|
44
52
|
**TESTS WRITTEN UPFRONT** - Before implementation
|
package/.claude/commands/plan.md
CHANGED
|
@@ -35,6 +35,14 @@ cat docs/research/<feature-slug>.md
|
|
|
35
35
|
- Then create Beads issue
|
|
36
36
|
- Multi-session or parallel work
|
|
37
37
|
|
|
38
|
+
> **💭 Plan-Act-Reflect Checkpoint**
|
|
39
|
+
> Before proceeding, reflect on this scope decision:
|
|
40
|
+
> - Does this change affect system architecture, APIs, or data models?
|
|
41
|
+
> - Will future features depend on getting this design right now?
|
|
42
|
+
> - Would a team discussion reveal concerns or better alternatives?
|
|
43
|
+
>
|
|
44
|
+
> **If unsure**: Review your research doc (`docs/research/<feature-slug>.md`) for complexity signals
|
|
45
|
+
|
|
38
46
|
### Step 3A: If Tactical
|
|
39
47
|
|
|
40
48
|
```bash
|