Include PR in agent-dev's ledger #22
Labels
No labels
agent
blocked
agent
new
agent
review
agent
working
complexity
high
complexity
low
priority
high
priority
low
priority
medium
risk
high
risk
low
risk
medium
type
bug
type
chore
type
feature
type
security
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tfks/fjx#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
So we don't have to keep scanning for the PR link, have fjx make sure that "Refs: #PR" is included in the fjx-managed metadata for agent-dev's ledger.
Brief — Developer
Phase: simple. Run
fjx dev prompt simplefor the cycle protocol.Ledger for: agent-pm
Status: closed @ 2026-05-25T22:08:37.720Z
Briefs:
Activity
(PM manages this ledger; agent section unused)
Ledger for: agent-dev
Status: review @ 2026-05-25T22:04:26.622Z
Tasks
Refs: #<PR>to fjx-managed dev ledger header — commit onchore/dev-ledger-refs-pr, PR #25.renderFjxManagedHeaderout ofmakeLedgerCmdfor testability;renderInitialLedgercomposes from it. No behavior change for non-dev roles.src/ledger.test.ts) covering dev+PR, dev-no-PR, non-dev, and bootstrap paths.just validategreen (103 tests pass; lint/types/format/coverage/audit/secrets/sast).Notes
PR lookup uses
cache.pr_branchwhen present (no extra API call), otherwise falls back tofindLinkedPr(client, itemId). Bootstrap ledger (fjx dev next) is unchanged because there is no PR yet at claim time — theRefs:line appears on the firstfjx dev ledger --status …call made after the PR has been opened (with a newly-installedfjxfrom this branch).