Objective
Make annotated traces easy to find and gather into dataset-friendly JSON without scraping the UI, so annotations can support self-improvement, skill development, evaluation, and fine-tuning workflows.
Context
Scope
Implementation Notes
The export workflow should include enough context to be useful outside Beacon:
- session metadata;
- ordered events/messages used by the annotation target;
- annotation records with structured fields and note text;
- source/runtime/provider/model/project fields where available;
- stable schema version marker.
Possible surfaces include JSON API endpoints, CLI subcommands, and/or MCP read tools. Choose the smallest cohesive surface that satisfies dataset collection without duplicating logic. If a CLI command is added, keep it local and deterministic.
Dashboard/session lists should expose annotation counts or filters where practical so users can discover annotated sessions. The transcript UI should remain the primary authoring surface from #303.
Acceptance Criteria
Required Validation
make generate-check
make fmt-check
make test
npm run test:frontend if frontend discovery controls change
- targeted API/CLI/MCP export tests depending on chosen surface
PR Expectations
Open a focused PR against feature/trace-annotations. Include example export output, documented schema notes, and exact validation results. If UI discovery controls are added, include screenshots.
Objective
Make annotated traces easy to find and gather into dataset-friendly JSON without scraping the UI, so annotations can support self-improvement, skill development, evaluation, and fine-tuning workflows.
Context
Scope
feature/trace-annotations.Implementation Notes
The export workflow should include enough context to be useful outside Beacon:
Possible surfaces include JSON API endpoints, CLI subcommands, and/or MCP read tools. Choose the smallest cohesive surface that satisfies dataset collection without duplicating logic. If a CLI command is added, keep it local and deterministic.
Dashboard/session lists should expose annotation counts or filters where practical so users can discover annotated sessions. The transcript UI should remain the primary authoring surface from #303.
Acceptance Criteria
Required Validation
make generate-checkmake fmt-checkmake testnpm run test:frontendif frontend discovery controls changePR Expectations
Open a focused PR against
feature/trace-annotations. Include example export output, documented schema notes, and exact validation results. If UI discovery controls are added, include screenshots.