Skip to content

fix(native): retain Working history outside project scope - #327

Merged
rynfar merged 1 commit into
nativefrom
nw/326-scope-history
Nov 7, 2026
Merged

rynfar merged 1 commit into
nativefrom
nw/326-scope-history

Conversation

@rynfar

@rynfar rynfar commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Problem

Project filtering removed previously observed running threads from Working-history tracking. A thread completing through an ordinary thread.updated while outside the chosen scope appeared Active too early on return.

Change

Observe each saved owner's admitted threads before project scope filtering. Keep the existing exact-owner, deduplication, hidden, archive/delete/listed boundaries. Rendered project candidates, alias ranking, counts, and row selection stay unchanged. Histories are not merged by canonical identity. The existing owned metadata vector is reused for partitioning after observation; outside-scope observation adds metadata/state cost, with no measured performance claim.

The existing scoped core case applies a real completion while project B hides A, checks unchanged owner/creation/placement and no-event scope changes, then checks Working on return and exact completion-anchored expiry. Snapshot/recreated-thread controls remain intact.

Verification passes: 1,356 core/client tests, strict workspace/all-target Clippy, normal and snapshot builds, and theme/intake/conformance. Compiler-JSON-selected binaries pass seven exact core cases and five exact native paging controls, each selecting one test. Independent source/context reviews pass; final current-artifact review remains pending. This is finite watched project-filter history, not local fallback, app timer-wake proof, or whole SB-SECTIONS completion. Sidebar stays 9/16. No constants, server, provider, or pixel changes.

Closes #326. Parent #242.

Model/harness: OpenAI coding model via Prime Agent; independent Sol/Codex review.

@rynfar

rynfar commented Nov 7, 2026

Copy link
Copy Markdown
Owner Author

Independent exact-head and PR-context source reviews found no blocking issues in this finite three-file change. All 1,356 core/client tests, strict workspace/all-target Clippy, and theme/intake/conformance checks pass. The normal app build is running. Snapshot build, compiler-JSON-selected core/native cases, and final current-artifact review remain before merge. Sidebar remains 9/16; no app timer-wake or whole SECTIONS credit.

@rynfar

rynfar commented Nov 7, 2026

Copy link
Copy Markdown
Owner Author

Finite fix #326 is accepted after PR #327 matched-head squash merge f1dd7fbfd9df0741775381972344d15fbee44862 (tree 881c12dbd91c11245cc113be26e6f6f6ffdc0b41), required candidate gates, and fresh merged proof.

All 1,356 core/client tests, strict workspace/all-target Clippy, normal/snapshot builds, and theme/intake/conformance pass. Fresh merged binaries pass seven exact core cases and five native paging controls, each selecting one test. Independent final review checked the current source, ledger, clean merged tree, and all three present artifact hashes. Final review SHA256: 730793cc4c222507b6fc5af7934e2b8ef245f83a9d25f97075e222d0dc172a1d.

Per-owner admitted history now survives project filtering. The real completion observed while hidden anchors the grace deadline; returning does not restart it. Exact expiry, snapshot/recreated-thread, alias/hidden/count, and paging controls pass.

This does not prove app timer wake, local fallback, every alias handoff, or whole SB-SECTIONS. Sidebar remains 9/16. No constants changed. Formatting remains the approved exception.

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