forge-cc 0.1.22 → 0.1.23

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/README.md CHANGED
@@ -52,7 +52,6 @@ Four commands take you from raw idea to production-ready, merged code.
52
52
  │ ┌────────────────┐ │
53
53
  │ │ VERIFY + PR │ │
54
54
  │ │ + CODE REVIEW │ │
55
- │ │ + AUTO-MERGE │ │
56
55
  │ └────────────────┘ │
57
56
  │ │
58
57
  └──────────────────────────────────────────────────────────────────────────────────┘
@@ -96,7 +95,7 @@ This is the engine. Each milestone is executed by an autonomous agent team:
96
95
  └─ Parallel builder agents execute independent tasks
97
96
  ```
98
97
 
99
- After the final wave passes all gates + review, forge creates the PR, waits for Codex review comments, spawns fix agents for any findings, and auto-merges when clean.
98
+ After the final wave passes all gates + review, forge creates the PR, waits for Codex review comments, and spawns fix agents for any findings. The PR is left for the user to merge.
100
99
 
101
100
  ### `npx forge run` -- Auto-Chain Everything
102
101
 
@@ -145,9 +144,9 @@ Forge manages your Linear project lifecycle end-to-end. Every state transition h
145
144
  ```
146
145
  Linear State: Backlog ──► Planned ──► In Progress ──► In Review ──► Done
147
146
  │ │ │ │ │
148
- Forge Action: triage /forge:spec /forge:go PR created PR merged
149
- creates generates PRD, executes after final auto-merge
150
- projects syncs milestones milestone verification completes
147
+ Forge Action: triage /forge:spec /forge:go PR created user merges
148
+ creates generates PRD, executes after final when ready
149
+ projects syncs milestones milestone verification
151
150
  ```
152
151
 
153
152
  Set `FORGE_LINEAR_API_KEY` in your environment to enable. Forge creates projects, milestones, and issues during spec, transitions them through states during execution, and marks them done when the PR merges.
@@ -260,7 +259,7 @@ Expose gates as MCP tools for programmatic access:
260
259
  | Without forge | With forge |
261
260
  |--------------|-----------|
262
261
  | Agent writes code, you review everything | Agent teams build, verify, review, and fix their own code |
263
- | Manual git branching, PRs, merges | Automatic branches, worktrees, PRs, and auto-merge |
262
+ | Manual git branching, PRs, merges | Automatic branches, worktrees, and PRs |
264
263
  | "Tests pass" = done | 8 gates including visual regression, PRD compliance, and AI code review |
265
264
  | One agent, one task, serial | Parallel agent teams with wave-based execution |
266
265
  | Context rot across long sessions | Fresh session per milestone, no degradation |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forge-cc",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "description": "Pre-PR verification harness for Claude Code agents — gate runner + CLI + MCP server",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -429,24 +429,12 @@ After `gh pr create` succeeds, poll for Codex review comments:
429
429
 
430
430
  5. **Timeout:** If no Codex comments appear after 8 minutes, proceed — Codex may not be configured for this repository.
431
431
 
432
- **Merge and cleanup:**
433
-
434
- After Codex review completes (or times out with no comments), merge the PR and clean up:
435
-
436
- ```bash
437
- gh pr merge --squash --delete-branch
438
- git checkout main
439
- git pull origin main
440
- ```
441
-
442
- This merges the PR, deletes the remote branch, switches back to main, and pulls the merged result.
443
-
444
432
  Then shut down the agent team and print:
445
433
 
446
434
  ```
447
435
  ## All Milestones Complete!
448
436
 
449
- **PR created:** {PR URL}
437
+ **PR:** {PR URL}
450
438
 
451
439
  - {N} milestones completed
452
440
  - {total files} files created/modified
@@ -456,6 +444,8 @@ Then shut down the agent team and print:
456
444
  The PR is ready for review.
457
445
  ```
458
446
 
447
+ **IMPORTANT:** Do NOT merge the PR automatically. Merging is a hard-to-reverse action that requires explicit user confirmation. Always stop here and let the user decide when to merge.
448
+
459
449
  ```
460
450
  Send shutdown_request to all team members via SendMessage.
461
451
  Wait for shutdown confirmations.
@@ -314,17 +314,7 @@ After `gh pr create` succeeds, poll for Codex review comments:
314
314
 
315
315
  4. **Timeout:** If no comments appear after 8 minutes, proceed — Codex may not be configured for this repository.
316
316
 
317
- **Merge and cleanup:**
318
-
319
- After Codex review completes (or times out with no comments), merge the PR and clean up:
320
-
321
- ```bash
322
- gh pr merge --squash --delete-branch
323
- git checkout main
324
- git pull origin main
325
- ```
326
-
327
- This merges the PR, deletes the remote branch, switches back to main, and pulls the merged result. The `--delete-branch` flag handles remote cleanup; git will also remove the local tracking branch on pull.
317
+ **IMPORTANT:** Do NOT merge the PR automatically. Merging is a hard-to-reverse action that requires explicit user confirmation. Always stop here and let the user decide when to merge.
328
318
 
329
319
  ### Step 11 — Summary
330
320