Skip to content
Merged
13 changes: 13 additions & 0 deletions .llm/runs/fix-garnet-persistence--issue-2636/context-pack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Context pack

Issue2636, branch fix/garnet-persistence from fresh origin/main b0eb07957. Bootstrap first, draft PR opens immediately. Add red tests before generator changes. DataPath enables AOF/recovery plus commit-freq0/commit-wait, log and checkpoints under bound /data or resolved executable path. No-path unchanged. Pinned2.2.1 lacks newer checkpoint-freq; use native on-demand checkpoint semantics. Runtime oracle must enqueue real jobs and prove checkpoint+AOF-tail recovery across container restart using emitted argv. Full scaffold.runtime required at end plus separate straightforward evaluator. No Streams, saga transports, dependencies/locks or unrelated lifecycle changes.

Red baseline proved before source modification: no-path3pass; DataPath3missing-AOF failures; real AOF-only restart loses both ready jobs after server readiness. Native checkpoint alignment failure is separate upstream/pinned behavior, addressed by native FileStream+storage-tier configuration in durable mode. Docker port rediscovery/native TCP fixture corrections are excluded from finding evidence. No test-owned containers/volumes remain. Next minimal generator implementation.

Implementation and generated consumers complete:33/33 generator/persistence tests pass, including actual hard-container-restart AOF-only and checkpoint+AOF-tail job delivery. Scoped static/quality/preflight/accuracy/JSR/doc-lint/freshness gates pass (CLI doc lint zero base/head,25 existing JSR warnings). Supported final source-head full workflow43940698080 succeeds for Postgres, SQLite, static and native. Local one-pass partial due unavailable local Docker/Postgres, cleanup passes, ownership preview zero owned commands. Source head3ab21381d unchanged by evidence-only followup. Four issue boxes checked with linked IMPL proof; closing keyword/evidence block in body. Final independent straightforward IMPL-EVAL is required; retain draft until PASS and current required checks green/policy-skipped.

Independent IMPL-EVAL PASS at1e16cc31d, comment6927774411; no blocking findings. evaluate.md retained. Ready transition and final required-head check/thread verification next. No product source changes since supported green source head3ab21381d.

Ready-for-review quality:cli required canonical formatting on the changed generator. Legacy-style decision superseded. Owned generator is now canonically normalized, verified exactly equal to canonical formatter output of evaluated source. Test adds deterministic20-second readiness/phase diagnostics after a transient pre-delivery boot failure; actual recovery delivery oracle unchanged. All33runtime/generator tests and full quality:cli pass. Need independent follow-up for this delta, then final current head checks.

Cycle2 IMPL-EVAL PASS at7cbcfbd3a, comment6928484888; independent33/33 live tests, canonical equivalence and resource hygiene verified. Required quality green/deps-report policy skip, review threads0/0. Retain verdict artifact, complete body checklist and confirm required checks at final evidence-only head. No merge/ready-merge/publication.
12 changes: 12 additions & 0 deletions .llm/runs/fix-garnet-persistence--issue-2636/drift.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Drift

rtk/rg absent; direct commands run as node. Pinned Deno2.9.7 via mise. Current maint:leak-check/maint:teardown and check:review-threads task names replace older agentic aliases. Public artifacts omit actual operator paths, hostnames/ports and session identities.

- Runtime research found a pinned native checkpoint alignment failure before any generator change. Original checkpoint probe failure is excluded as proof of the reported missing-AOF finding. Added an AOF-only restart oracle to isolate data loss. Durable launch policy now includes FileStream plus storage-tier, following the confirmed upstream configuration workaround for4K-sector storage, with both directories sharing the configured data path. This is native provider configuration within the existing contract; no version bump or unsupported scheduler.

- Preserved the existing semicolon-free generator style rather than adding broad mechanical punctuation churn. Structured formatting uses CLI quality settings with the sole per-file temporary semicolon override, measured passing on base and head; the new test uses canonical CLI settings. No shared formatter changes.


## Required CI formatter correction

Required ready-for-review quality:cli compares changed files against canonical CLI style and rejected the legacy-style generator. This supersedes the earlier temporary-config decision; that decision was insufficient for the required gate. Canonically format only the owned generator. Formatting the evaluated source through the canonical formatter yields exactly the current file, proving the generator delta is formatter-only. No launch policy changes. A repeated live test exposed a readiness-window fixture failure (connection refused before delivery assertions), so readiness now has deterministic20seconds instead of jittered ~5seconds and reports its phase; hard-restart delivery still has its original5-second bound. All33tests pass again and full quality:cli passes. No repo formatter policy edits, no gate waiver. Independent follow-up evaluation required.
Loading
Loading