You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
id: protocol v1 phase 4 — retention and compaction for the event store (#2036) #3797
Phase 4 of the #2036 protocol v1 synthesis, from the #2034 investigation (§7): pkgs/id event_store today keeps every verified event forever (event_store/mod.rs:4-23 — no TTL/compaction/GC). Implement the first per-class retention/compaction path: live-class segments compact to their checkpoint residue (checkpoint events + hashes remain), durable classes untouched, per the class table in doc/2026-10-29T10-45-00Z_investigation_ephemeral_live_data_retention §3/§7. Hard constraints: compaction must preserve fork proofs and waiting-pool after resolution (event_store/mod.rs:12-22). Acceptance: compaction tests per class; a compacted store still verifies chains and resolves fork proofs; durable-class events are never compacted.
Disposition: Parked 30 minutes before implementation. The requested checkpoint residue format and class-aware compaction depend on id: protocol v1 phase 1 — session header + segment checkpoint event kind (#2036) #3794; implementing against the current free-form kind field would invent the wire/storage contract and risk conflicting with phase 1. No source changes; resume on branch in .
agent-note:v1 — holder: repo-worker-code (OpenChamber scheduled lane), at 2026-11-02T13:45:04Z. event: parked; task: 5787; queue: repo-health-code-pilot. Blocked on #3794's signed session.checkpoint event contract landing; preserve the defined checkpoint residue rather than inventing one. Revalidate #3797/#3794 and ownership before resuming; no source or worktree changes this run.
agent-note:v1
state: reviewed (coverage loop-back)
Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 5787 (small_fix, queued, priority 50) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
Found via: coverage loop-back 2026-11-03
Resuming task 5787 from the prior verified dependency-gate checkpoint. Fresh GitHub state: #3797 is OPEN with no hard-stop labels; prerequisite #3794 is CLOSED and its implementation PR #4627 is MERGED. This lane will fetch/fast-forward main, verify the checkpoint schema/golden vectors are present, then continue only if the gate is satisfied. Current labels already reflect the claimed state: queue/claimed, status/in-progress, and work/assigned.
Packet defect: phase 4 cannot safely choose events to compact yet. Fresh origin/main (a51be0e) contains the #3794session.checkpoint schema and pinned golden-vector test, and #3794/PR #4627 are closed/merged. However, the #2036 design §4.6 requires compaction to use the channel/session retention policy and phase-2/3-declared metadata. Current ChainExt/SessionCheckpoint contain no retention class, policy, or expiry. Issues #3795 and #3796 are still OPEN with no linked PRs (#3795 is user/escalated); there is no safe eligible-event classifier. No source edits or tests were made.
Disposition: task 5787 blocked as packet_defect; current lane labels reflect blocked state. Resume after the packet names the retention classifier/policy/expiry contract and dependencies on phases 2/3 are satisfied, then revalidate fresh. Task worktree /home/user/git/fleet/5787 is clean on queue/5787-3797-event-store-retention at a51be0e.
Activity
developing-today commentedon Nov 1, 2026
CODE-1536
dezren39 commentedon Nov 2, 2026
🤖 Agent note · state: picked up
dezren39 commentedon Nov 2, 2026
🤖 Agent note · parked
dezren39 commentedon Nov 2, 2026
🤖 Agent note · parked (clarification)
dezren39 commentedon Nov 2, 2026
agent-note:v1 — holder: repo-worker-code (OpenChamber scheduled lane), at 2026-11-02T13:44:59Z. event: picked-up; task: 5787; queue: repo-health-code-pilot.
dezren39 commentedon Nov 2, 2026
agent-note:v1 — holder: repo-worker-code (OpenChamber scheduled lane), at 2026-11-02T13:45:04Z. event: parked; task: 5787; queue: repo-health-code-pilot. Blocked on #3794's signed session.checkpoint event contract landing; preserve the defined checkpoint residue rather than inventing one. Revalidate #3797/#3794 and ownership before resuming; no source or worktree changes this run.
114 remaining items
dezren39 commentedon Nov 3, 2026
agent-note:v1
state: reviewed (coverage loop-back)
Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 5787 (small_fix, queued, priority 50) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
Found via: coverage loop-back 2026-11-03
dezren39 commentedon Nov 4, 2026
agent-note:v1
kind: picked-up
task: 5787
worker: repo-worker-code
lane: 02cafe76-eafd-4d0b-aaa6-2b7a737d68dc
at: 2026-11-04T01:06:00Z
Resuming task 5787 from the prior verified dependency-gate checkpoint. Fresh GitHub state: #3797 is OPEN with no hard-stop labels; prerequisite #3794 is CLOSED and its implementation PR #4627 is MERGED. This lane will fetch/fast-forward main, verify the checkpoint schema/golden vectors are present, then continue only if the gate is satisfied. Current labels already reflect the claimed state:
queue/claimed,status/in-progress, andwork/assigned.dezren39 commentedon Nov 4, 2026
agent-note:v1
kind: blocked
task: 5787
worker: repo-worker-code
lane: 02cafe76-eafd-4d0b-aaa6-2b7a737d68dc
at: 2026-11-04T01:22:00Z
Packet defect: phase 4 cannot safely choose events to compact yet. Fresh origin/main (a51be0e) contains the #3794
session.checkpointschema and pinned golden-vector test, and #3794/PR #4627 are closed/merged. However, the #2036 design §4.6 requires compaction to use the channel/session retention policy and phase-2/3-declared metadata. CurrentChainExt/SessionCheckpointcontain no retention class, policy, or expiry. Issues #3795 and #3796 are still OPEN with no linked PRs (#3795 is user/escalated); there is no safe eligible-event classifier. No source edits or tests were made.Disposition: task 5787 blocked as
packet_defect; current lane labels reflect blocked state. Resume after the packet names the retention classifier/policy/expiry contract and dependencies on phases 2/3 are satisfied, then revalidate fresh. Task worktree/home/user/git/fleet/5787is clean onqueue/5787-3797-event-store-retentionat a51be0e.