Skip to main content

Forge Creates Pr

2026-03-28T20:58:08Z by E2E Test Suite (3.3min)

Act 1: Human Creates Task for Forge

A human wants a small feature added to test-calculator. They create a bead labeled forge with a clear, actionable description.

Bead state:

{
"id": "ic-783",
"status": "open",
"title": "E2E: add greeting to calc.sh (1774731290)",
"labels": [
"forge"
]
}

PASS. Bead ic-783 created with forge label.

Act 2: Forge Wakes Up and Claims Work

The watcher would normally dispatch this, but in the E2E test we wake forge directly. Forge reads its inbox, claims the bead, and begins implementation inside a sandboxed container.

forge replied:

Intercom is currently blocked by the local Beads database/auth setup in this sandbox, so I can’t truthfully claim a bead from the inbox yet. I do have one concrete implementation item already in hand: PR #67 review feedback. I’m switching that work to a first-class coding sub-agent now so it can be completed despite ca-leash being unavailable here.

Bead state:

{
"id": "ic-783",
"status": "open",
"title": "E2E: add greeting to calc.sh (1774731290)",
"labels": [
"forge"
]
}

FAIL. Bead not claimed yet.

Act 3: Forge Creates a Pull Request

Polling GitHub for a new PR on b4arena/test-calculator... Forge should have created a feature branch, committed changes, and opened a PR.

Pull request:

{
"number": 8,
"title": "feat: Add power operation (ic-9yu)",
"state": "OPEN",
"url": "https://github.com/b4arena/test-calculator/pull/8",
"headRefName": "feat/ic-9yu-pow-op"
}

PASS. PR #8 opened: feat: Add power operation (ic-9yu)

Act 4: Bead Closed with PR Reference

Forge should close the bead with a close_reason that references the PR URL or number.

Summary

ActResultSummary
1PASSBead ic-783 created with forge label.
2FAILBead not claimed yet.
3PASSPR #8 opened: feat: Add power operation (ic-9yu)