Skip to content

fix(runs): don't mistake execution-kernel artifacts for sprint runs - #77

Merged
quantum-osiris merged 1 commit into
mainfrom
claude/run-resolve-kernel-dirs
Nov 22, 2026
Merged

quantum-osiris merged 1 commit into
mainfrom
claude/run-resolve-kernel-dirs

Conversation

@quantum-osiris

Copy link
Copy Markdown
Owner
  • fix(runs): don't mistake execution-kernel artifacts for sprint runs

The exec kernel writes run-/output.jsonl into ~/.osiris/runs,
the same directory as sprint runs (run--). Those names sort
after every timestamped id, so '[1] Last run' picked a kernel artifact and
failed with 'unreadable run record (FileNotFoundError ... run.json)', and
/runs reported them as orphaned sprint runs ('16 not in the ledger').
resolve() now only considers directories with a run.json; orphans() and the
status count skip run-<32 hex> directories without one, so empty or partial
sprint directories are still reported. The home card offers 'Last run' only
when a sprint run exists.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Tests: branch tests pass (run_record_resolve 4/4; bench_calibration_horizon 3/3, run against a merge with current main).

🤖 Generated with Claude Code

The exec kernel writes run-<uuid hex>/output.jsonl into ~/.osiris/runs,
the same directory as sprint runs (run-<timestamp>-<hex>). Those names sort
after every timestamped id, so '[1] Last run' picked a kernel artifact and
failed with 'unreadable run record (FileNotFoundError ... run.json)', and
/runs reported them as orphaned sprint runs ('16 not in the ledger').
resolve() now only considers directories with a run.json; orphans() and the
status count skip run-<32 hex> directories without one, so empty or partial
sprint directories are still reported. The home card offers 'Last run' only
when a sprint run exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@quantum-osiris
quantum-osiris merged commit 7522d4e into main Nov 22, 2026
12 checks passed
@quantum-osiris
quantum-osiris deleted the claude/run-resolve-kernel-dirs branch November 22, 2026 13:37
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