forge-workflow 1.3.1 → 1.4.0
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 +7 -0
- package/.claude/settings.local.json +8 -1
- package/bin/forge.js +704 -1
- package/docs/WORKFLOW.md +23 -0
- package/package.json +1 -1
package/docs/WORKFLOW.md
CHANGED
|
@@ -237,6 +237,29 @@ bd sync && git push
|
|
|
237
237
|
|
|
238
238
|
---
|
|
239
239
|
|
|
240
|
+
## Recovery: Rollback
|
|
241
|
+
|
|
242
|
+
If something goes wrong, use rollback to safely revert changes:
|
|
243
|
+
|
|
244
|
+
```bash
|
|
245
|
+
npx forge rollback
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
**Rollback methods**:
|
|
249
|
+
|
|
250
|
+
- **Last commit**: Quick undo of most recent change
|
|
251
|
+
- **Specific commit**: Target any commit by hash
|
|
252
|
+
- **Merged PR**: Revert an entire PR merge
|
|
253
|
+
- **Specific files**: Restore only certain files
|
|
254
|
+
- **Branch range**: Revert multiple commits
|
|
255
|
+
- **Dry run**: Preview changes without executing
|
|
256
|
+
|
|
257
|
+
All USER sections and custom commands are preserved during rollback.
|
|
258
|
+
|
|
259
|
+
See [.claude/commands/rollback.md](../.claude/commands/rollback.md) for complete documentation.
|
|
260
|
+
|
|
261
|
+
---
|
|
262
|
+
|
|
240
263
|
## Tips & Best Practices
|
|
241
264
|
|
|
242
265
|
1. **Always TDD**: Write tests BEFORE implementation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "forge-workflow",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "9-stage TDD workflow for ALL AI coding agents (Claude, Cursor, Windsurf, Kilo, OpenCode, Copilot, Cline, Roo, Aider, Continue, Antigravity)",
|
|
5
5
|
"bin": {
|
|
6
6
|
"forge": "bin/forge.js"
|