forge-cc 0.1.18 → 0.1.19

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": "forge-cc",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "Pre-PR verification harness for Claude Code agents — gate runner + CLI + MCP server",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -425,6 +425,18 @@ After `gh pr create` succeeds, poll for Codex review comments:
425
425
 
426
426
  5. **Timeout:** If no Codex comments appear after 8 minutes, proceed — Codex may not be configured for this repository.
427
427
 
428
+ **Merge and cleanup:**
429
+
430
+ After Codex review completes (or times out with no comments), merge the PR and clean up:
431
+
432
+ ```bash
433
+ gh pr merge --squash --delete-branch
434
+ git checkout main
435
+ git pull origin main
436
+ ```
437
+
438
+ This merges the PR, deletes the remote branch, switches back to main, and pulls the merged result.
439
+
428
440
  Then shut down the agent team and print:
429
441
 
430
442
  ```
@@ -314,6 +314,18 @@ 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.
328
+
317
329
  ### Step 11 — Summary
318
330
 
319
331
  Print a summary of everything that was created or updated: