Repository navigation
fix(native): retain Working grace across shell snapshots - #325
Conversation
|
Independent exact-head and PR-context source review found no blocking issues in this finite four-file change. Core/client tests (1,356), strict workspace/all-target Clippy, and theme/intake/conformance checks pass. The normal app build is running. Snapshot build, selected core/native runtime cases, and final current-artifact review remain pending before merge. No app timer/wake or whole SECTIONS credit. |
|
Finite core fix #324 is accepted after PR #325 matched-head squash merge
The same-incarnation tracker retains Working exit grace across authoritative snapshots. Recreated thread and replacement environment histories stay separate. The return-order fixture now preserves creation identity; its assertion and timestamps are unchanged. This accepts pure state/deadline behavior only. It does not prove actual app timer wake, complete project-filter history, or finish SB-SECTIONS. Sidebar acceptance remains 9/16. No constants changed. Formatting remains the approved exception. |
Problem
An authoritative shell snapshot discarded the same thread's Working exit grace because the watched sidebar tracker key included the shell revision.
Change
Keep the existing tracker under the saved/canonical environment incarnation. Reuse the thread's parsed creation time to clear recreated-thread state and return timestamps. The shared local tracker gets the same recreation protection. Unchanged identities retain their behavior; no extra registry, API, or per-row string allocation is added.
The existing core case applies a real snapshot and checks unchanged placement/identity, the grace deadline, and seeded-history controls for replacement environments and recreated threads. A return-order fixture now keeps creation time constant across running/completed observations; its assertion and times are unchanged.
Verification
This is a finite core state fix, not app timer/wake verification or whole SB-SECTIONS completion. Sidebar remains 9/16. No constants, server, provider, or pixel changes. No live-provider, native-input, restart, or performance proof is claimed.
Closes #324. Parent #242.
Model/harness: OpenAI coding model via Prime Agent; independent Sol/Codex review.