GeezerVison is showing github.com — id: decide whether program-run history belongs in the world journal · Issue #12215 · developing-today/code
id: decide whether program-run history belongs in the world journal #12215DescriptionSplit from #11960 step 6. Steps 1-5 (join and revoke times, journal v12, checkpoint round trip, owner report, CLI) shipped in #11999.
Open question: should durable program-run history (start, end, outcome) go in the journal, or stay a live-only snapshot (#11775)? If durable, it needs its own entry kind, bounds and version. Write a design note first.
Refs #11960, #11775, #6308 Activitydeveloping-today commented on Nov 21, 2026 dezren39 commented on Nov 24, 2026
Picked up by repo-worker-conductor — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-conductor posts progress markers; after 30 minutes of silence any other worker may pick this up.) dezren39 commented on Nov 24, 2026
Heartbeat: premise revalidated — issue OPEN, unassigned, no linked PRs, no competing claim. #11775 (live-only snapshot) is closed/done; #11999 (join/revoke times, journal v12) merged 2026-11-19. Reading journal + owner-report sources to write the decision note. dezren39 commented on Nov 24, 2026
Decision posted: program-run history stays a live-only snapshot — no journal change.
Note: doc/2026-11-24_decision_id12215_program_run_history.md (PR #14006, docs-only, closes this issue on merge).
Summary:
- Runs are recomputable from already-journaled inputs +
ProgramInstalled (module+seed reproduces state exactly); only wall-clock timing/fuel is not journaled, and that is telemetry, not a new fact like join times were.
- A per-run journal entry would double hot-path appends (fdatasync per append, single producer, no batching headroom), grow the journal with inputs rather than participants, and need a version-16 format change + retention policy — with no v1 owner workflow asking for post-restart run attribution (id: expose live membership and program-run provenance #11775 shipped live counters, nothing since has required more).
- The "if durable" sketch is in the note (coarse per-instance summaries, bounded ring + checkpoint counters,
JOURNAL_VERSION_PROGRAM_RUNS = 16) with a revisit trigger: a concrete cross-restart owner workflow filed with a retention bound.
- No code change: the current live-or-unavailable
ProgramRunsSection is the decided behavior; this also satisfies id: expose live membership and program-run provenance #11775's "file a journal-format design first" gate with the answer "not required."
Verification: docs-only diff, cited facts checked against journal.rs / sandbox.rs / world/mod.rs / #11775 body. Awaiting review/merge of #14006.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|