feat: split ledger format (fjx-managed / agent-managed sections) #8

Merged
erik merged 1 commit from feat/ledger-format-split into main 2026-05-14 09:13:25 +00:00
Member

Summary

Split ledger comments into two sections:

  • fjx-managed: Metadata (Status, Briefs, Activity, Notes) that fjx controls
  • agent-managed: Content that agents provide, separated by ---

This simplifies agent prompts by removing ledger metadata management.

Changes

  • Ledger commands now require --status arg; fjx computes checkpoint
  • Agents provide only agent-managed section; fjx reconstructs the full ledger
  • Updated PM ledger to include separator and unused agent section marker
  • Updated dev bootstrap prompt with new command format
  • Added extractAgentManagedSection() utility for parsing

Test plan

  • All 85 unit tests pass
  • Type checking passes
  • Linting and formatting pass
  • Security audits pass
  • Coverage maintained

🤖 Generated with Claude Code

## Summary Split ledger comments into two sections: - **fjx-managed**: Metadata (Status, Briefs, Activity, Notes) that fjx controls - **agent-managed**: Content that agents provide, separated by `---` This simplifies agent prompts by removing ledger metadata management. ## Changes - Ledger commands now require `--status` arg; fjx computes checkpoint - Agents provide only agent-managed section; fjx reconstructs the full ledger - Updated PM ledger to include separator and unused agent section marker - Updated dev bootstrap prompt with new command format - Added `extractAgentManagedSection()` utility for parsing ## Test plan - [x] All 85 unit tests pass - [x] Type checking passes - [x] Linting and formatting pass - [x] Security audits pass - [x] Coverage maintained 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat: split ledger format (fjx-managed / agent-managed sections)
All checks were successful
Validate / validate (pull_request) Successful in 20s
5dd35e6461
- Add --- separator between fjx-managed metadata and agent-managed content
- Ledger commands now require --status arg; fjx computes checkpoint
- Agents provide only agent-managed section; fjx reconstructs full ledger
- Update PM ledger to include separator and agent section marker
- Update dev bootstrap prompt to use new ledger command format
- Add extractAgentManagedSection() utility for ledger parsing

Closes #4.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
erik merged commit fbef47e5fd into main 2026-05-14 09:13:25 +00:00
erik deleted branch feat/ledger-format-split 2026-05-14 09:13:25 +00:00
Sign in to join this conversation.
No description provided.