Skip to content

feat(journal): add export command and API to compile Journal cases and Board items - #634

Open
cagdasyurekli wants to merge 1 commit into
andrewyng:mainfrom
cagdasyurekli:feat/issue-617-journal-export
Open

feat(journal): add export command and API to compile Journal cases and Board items#634
cagdasyurekli wants to merge 1 commit into
andrewyng:mainfrom
cagdasyurekli:feat/issue-617-journal-export

Conversation

@cagdasyurekli

Copy link
Copy Markdown

Resolves #617

Summary

This PR implements the export capability for Journal cases and linked Board items into standalone deliverable reports:

  • Core Engine (coworker/teams/journal.py): Added format_case_report and JournalStore.export to compile journal cases and referenced work items into Markdown (Executive Summary, Findings, Decisions, Evidence, Linked Items table, Chronological Log) or JSON.
  • Dialect Protocol (coworker/teams/dialect.py): Added journal_export across BoardDialect, LocalDialect, and RemoteDialect.
  • REST API (coworker/server/app.py): Exposed GET /v1/board/journal/export.
  • CLI (coworker/teams/cli.py): Added ocw journal export <case> [--format markdown|json] [-o/--out <path>].
  • Agent Tools (coworker/teams/tools.py): Added export_journal_report to journal_tools.
  • Tests: Comprehensive unit tests in tests/test_team_journal.py and tests/test_team_open_surface.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Add export command to compile Journal cases and Board items into a standalone Markdown deliverable

1 participant