Skip to content

fix(desk): recover stale chunks and correct M1 catalog guidance - #127

Merged
SSFSKIM merged 5 commits into
masterfrom
desk-m1-fixes
Oct 22, 2026
Merged

SSFSKIM merged 5 commits into
masterfrom
desk-m1-fixes

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 22, 2026

Copy link
Copy Markdown
Owner

Summary

Fix the four M1 live-walk findings without deploying or changing command routing.

  • Recover deploy-lost lazy chunks by reloading the current URL once. Every rejected import and Vite preload-error event triggers the same guard, with at most one automatic reload per hashed entry URL in this tab; success never rearms a broken build. All lazy surfaces use it, including depth/diff; persistent failures leave a visible manual reload action.
  • Consume the additive Catalog.skills?: string[] field from sminos 1.8.1 and use native MAWS grouping. A 1.8.0 catalog with no field keeps its existing grouping.
  • Name sminos, not doperpowers, in upgrade guidance; show the minimum-version prefix only for an older machine, not an already-updated machine's stale session.
  • Record the interface and dated decisions in the desk control-surface spec.

Engine evidence and known limit

The live 2.1.308 mod API's local summary exposes fully qualified skill names through context.breakdown.skills.skillFrontmatter; command sources alone do not identify skills. A temporary-HOME/SMINOS_HOME probe with 116 listed skills and 70,245 estimated context tokens measured summary reads at 11/4/3/3/3 ms and zero requests to a local API trap. Manual-only skills (disable-model-invocation: true) are absent from that listing and retain their prior group; the orchestrator approved this documented limit.

Validation

Final committed head 7243dffc4db110b51d8328f4f3cef99d1b4e3e48 is GREEN: static, all four unit shards, e2e:desk-web, plus a second independent e2e:desk-web run. Browser gate 2/2 green on the final head.

Paired machine PR: SSFSKIM/doperpowers#355, sminos 1.8.1 at d172adfc, all eight selected gates green.

Focused RED/GREEN regressions cover chunk failure and its persistent loop guard, supported/legacy grouping, membership cache validation, and both capability wordings. Built-browser tests serve an obsolete entry whose module gets HTML, then the current index on recovery. They verify network revalidation, retained routing and the no-loop fallback in Chromium and WebKit.

G1 acceptance investigation and separate helper fix

The earlier uninstrumented candidate ffec9f39e failed the existing G1 report scroll case in 0/2 green remote runs (first, retry): one 120-window miss, then an explicitly detached target during scrollIntoViewIfNeeded. All new M1 tests passed.

Before changing the helper:

  • Pinned baseline c4b8a639c: 2/2 remote browser gates green (one, two).
  • Local G1 comparison, serial under one load slot: baseline 5/5, candidate 5/5.
  • Instrumented candidate: 1/1 remote browser gate green, with zero replacements and zero removals of ProjectView, SessionView and the transcript scroller through the suspect prefix, and no preload error (diagnostic). That diagnostic was on a throwaway branch and is not in this PR.

The coordinator concluded that timing exposed the helper's count-then-scroll race against recycled virtual rows, rather than a user-facing remount. Separate commit 7243dffc4 resolves the live target and scrolls it in the same browser evaluation; a missing/recycled match retries inside the existing 120-window search budget. No extra wait or production scrolling change was added. The helper passed five focused local runs. Its remaining sister helper is recorded in docs/tech-debt-tracker.md for the next test-hygiene wave.

The orchestrator owns e2e:desk-web-hub, merge, deployment and the live acceptance walk. Tabs that have never loaded this fix still need one manual reload to acquire it.

Sminos-Session: desk-sminos-orchestrator#b4948247 (doperpowers on macbook)

Recover deploy-lost lazy modules once with a persistent loop guard and a visible manual recovery. Group engine-listed skills while retaining older bridge behavior. Distinguish stale sessions from machines needing a sminos update.

Sminos-Session: desk-sminos-orchestrator#b4948247 (doperpowers on macbook)
…tures

Sminos-Session: desk-sminos-orchestrator#b4948247 (doperpowers on macbook)
Same-document routing also emits framenavigated; count actual navigation requests to distinguish reloads from in-app route changes.

Sminos-Session: desk-sminos-orchestrator#b4948247 (doperpowers on macbook)
Use rejected imports and vite:preloadError instead of browser error wording. Keep one durable guard per hashed entry URL. Prove a retained tab fetches the new index with the notification worker enabled in Chromium and WebKit.

Sminos-Session: desk-sminos-orchestrator#b4948247 (doperpowers on macbook)
Remove the count-then-scroll handle race without adding a delay or changing the existing 120-window budget. Record the remaining sister helper as test-hygiene debt.

Sminos-Session: desk-sminos-orchestrator#b4948247 (doperpowers on macbook)
@SSFSKIM
SSFSKIM merged commit 1cea5bc into master Oct 22, 2026
SSFSKIM added a commit that referenced this pull request Oct 24, 2026
…ci-kit #127); a ci-kit-ec2-* job whose ledger reads preempted is rerun, not a code failure

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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