Skip to content

fix(native): keep project menu actions on captured groups - #313

Merged
rynfar merged 1 commit into
nativefrom
nw/307-project-menu
Nov 6, 2026
Merged

rynfar merged 1 commit into
nativefrom
nw/307-project-menu

Conversation

@rynfar

@rynfar rynfar commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

Problem

Project menus could act on stale grouped project identity or out-of-date project organization capability. A watched activation could finish a New thread/Settings action after its representative was replaced or read access changed.

Fix

Recheck captured group membership, physical owner, project creation/root and current capability/grants. Route project navigation with the captured group through the existing scoped activation path and recheck the same action planner at completion. Keep pending project navigation until activation installs its client, so a denied action does not fall through to home. Preserve group Pin/Unpin and ordinary generic navigation.

The real folder header supports keyboard context entry, cancellation/focus restoration and child activation without accidentally toggling or retargeting.

Verification

Tests-first actual actor failures and offscreen GPUI interaction evidence are retained. Independent whole-row exact-head source review approves de07a71b546de39f19f41b2a1f10b3c65bcb92ac, tree 70419556034ade6eccb1a7c1bf56e499069f85b8 (report SHA256 7a24e67e1ff231896d3d801c518fd024877645a9c13ceef5ae42b2910ff6ea55). Theme, intake and conformance checks pass. All isolated candidate gates pass: 1356 tests, strict workspace/all-target Clippy, normal and snapshot app builds, theme, intake and conformance. Three compiler-selected exact-candidate GPUI cases pass with stable source and hashed binaries. Whole-row acceptance still awaits matched-head merge and fresh merged proof. No clipboard, live server/provider, real AppKit input/AX or performance claim. Formatting stays RED under the explicit exception. No constants changed.

Model: GPT-6.1 Sol / Codex. Harness: Prime Agent.

Closes #307.

Offscreen evidence

Uploaded to a GitHub draft evidence release (owner-authenticated access; not a product release): https://github.com/rynfar/t3code/releases/tag/untagged-33d7cd25b12aa53a0af4

Before: actual Shift-F10 assertion failed because no menu opened. After: the actual header menu opens; dark right-click and child focus are shown. These are synthetic offscreen fixtures, not real AppKit input/AX or a live-provider test. Required default strict Clippy passes; snapshot-only test compilation reports two unused-import warnings, disclosed without suppression.

@rynfar

rynfar commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Independent exact-head whole-row source review APPROVE for de07a71b546de39f19f41b2a1f10b3c65bcb92ac, tree 70419556034ade6eccb1a7c1bf56e499069f85b8.

Reviewed all eight changed files against base aa30fe46826549099066df3d1e7fb4c1bab1cbb2, current web behavior, issue #307, native AGENTS and design-system guidance. No applicable source blocker. Report SHA256: 7a24e67e1ff231896d3d801c518fd024877645a9c13ceef5ae42b2910ff6ea55.

Actual isolated candidate gates so far: 1356 tests and strict workspace/all-target Clippy pass; theme, intake and conformance checks pass. Normal build is running. Exact candidate GPUI proof and fresh merged proof remain required; the proposed ledger done is not acceptance yet.

Existing combined-lane meaningful proof passes three cases: held activation table (unchanged/read revoked/replaced representative), captured actor/menu operations, and real offscreen GPUI header/context/child interaction. Fresh captures: 26 files, including 23 PNGs. Global Tab-key/AX, clipboard, real AppKit input, live providers and performance are not claimed. Formatting remains RED under the explicit exception; no constants changed.

@rynfar
rynfar merged commit 9da5da0 into native Nov 6, 2026
@rynfar

rynfar commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Matched-head squash merge complete: 9da5da0fa2615c39b707f85effe0f9417c684657, with the same reviewed tree 70419556034ade6eccb1a7c1bf56e499069f85b8 as candidate de07a71b546de39f19f41b2a1f10b3c65bcb92ac.

All isolated required gates pass: 1356 default tests, strict Clippy, normal/snapshot builds, theme/intake/conformance. Exact-candidate pending activation, captured actor and real offscreen header/child cases each pass (3 actual tests, not zero-test smoke). Before/after images and their hashes are uploaded to the linked draft evidence release; no assets were committed.

Fresh merged main build and compiler-selected meaningful proof are running. No whole-row acceptance credit yet. Global Tab-key/AX remains source-only, and no real AppKit input, clipboard, live-provider or performance claim is made.

@rynfar

rynfar commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

SB-PROJMENU accepted. Sidebar: 9/16.

Merged 9da5da0fa2615c39b707f85effe0f9417c684657 has exactly reviewed tree 70419556034ade6eccb1a7c1bf56e499069f85b8. Required isolated gates passed (1356 tests, strict Clippy, normal/snapshot builds, theme/intake/conformance). Exact candidate and fresh merged pending-activation, captured-actor and real offscreen header/child cases each passed: three actual nonzero tests at each boundary. Fresh merged captures include 23 PNGs, with light/dark/child frames independently inspected.

Final independent acceptance review: 663bedaeeeb69916e16b4c110d688ab5778687d90423a2520a0d17ebde06e953; cleanup-custody addendum: 8faffd7f35e086d619142e48e8c1500db357a7182eb2b050901047c643b348bd. Owned shared-target package artifacts were deliberately removed after all proof completed to prevent stale cross-worktree metadata. Historical compiler JSON, full binary hashes and actual command/JOIN records remain; no present-binary rehash is claimed.

Parent #242 and the merged ledger now record acceptance. #307 is closed. The other seven partial rows remain open. All approved limits still apply: offscreen/synthetic only; global Tab-key/AX source-only; no real AppKit Input/IME, clipboard, live server/provider or performance proof. Formatting remains RED under the explicit exception. No constants changed.

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