Skip to content

Nested key layout for archive manifests and reports#307

Merged
probably-jaden merged 2 commits into
mainfrom
feat/nested-archive-keys
Jul 6, 2026
Merged

Nested key layout for archive manifests and reports#307
probably-jaden merged 2 commits into
mainfrom
feat/nested-archive-keys

Conversation

@probably-jaden

@probably-jaden probably-jaden commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Manifests and reports are now written into nested folders instead of one flat directory: daily-YYYY-MM-DD runs go under daily/<YYYY-MM>/, an explicit --group pins a folder (e.g. sprints/myrun), and everything else lands in adhoc/. Existing flat files keep working — readers list recursively, and exact-key reads fall back to the legacy path.

probably-jaden and others added 2 commits July 2, 2026 09:15
Flat manifests/<run_id>.jsonl and reports/<run_id>.json keys pile every
run into one folder. Add a small layout helper that nests new writes:
an explicit --group (e.g. sprints/myrun) pins the folder, daily-YYYY-MM-DD
run ids nest under daily/<YYYY-MM>/, everything else under adhoc/.

Writers (capture --upload-manifest, ingest-traces --upload,
write_run_report, write_cost_report) use the helper and gain a group
parameter; the capture and ingest-traces commands gain --group.
Prefix-listing readers (catalog, coverage, viewer) pick up both layouts
already; exact-key manifest reads now try the nested key first and fall
back to the legacy flat key, so existing archives keep working.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@probably-jaden probably-jaden merged commit 1fa3062 into main Jul 6, 2026
2 checks passed
@probably-jaden probably-jaden deleted the feat/nested-archive-keys branch July 6, 2026 13:07
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.

1 participant