Skip to content

fix(flow): guard frontier trace actions and clear stale anchors - #449

Merged
byronwall merged 2 commits into
mainfrom
fix/ux006-frontier-inspection
Nov 22, 2026
Merged

byronwall merged 2 commits into
mainfrom
fix/ux006-frontier-inspection

Conversation

@byronwall

Copy link
Copy Markdown
Owner

Verified defect (UX-006)

On main a4d2a8e, the rendered inspector offers both Trace from here and Add to the trace for a synthetic frontier box. Both handlers serialize its display ID as a program element. A component regression failed on the old implementation by finding the invalid trace button.

Change

  • Share a frontier guard between inspector actions and both navigation handlers; keep the named frontier and its working source link, with an explicit explanation of how to select a real expression.
  • Opt anchor requests into clearing the previous result on a new request/retry, rather than redisplaying a prior graph after an error. Other fetch consumers retain existing behavior.
  • Invalidate queued layouts even when the model disappears.
  • Add rendered inspector/positive action coverage, pending/failure/late-reply/retry tests, and a browser regression for failed request → empty canvas → Back recovery.

Verification

  • scripts/check.sh client: passed, TypeScript + 496 tests.
  • Production Vite build during browser setup: passed.
  • Full browser suite attempted: blocked before test-page execution. Bundled Chromium download denied by CDN; system Chromium aborts on process-singleton socket() failed: Operation not permitted, also on an escalated retry. Browser CI must pass before merge; no local end-to-end pass claimed.
  • No analysis/engine changes, corpus changes, raw study artifacts, or UX-007 repository-switch changes included. UX-007 remains separate in Clear or restore Flow context by repository when switching roots #446.

No merge performed.

@byronwall
byronwall marked this pull request as ready for review November 22, 2026 20:20
@byronwall
byronwall enabled auto-merge (squash) November 22, 2026 20:20
@byronwall
byronwall merged commit e18d84f into main Nov 22, 2026
6 checks passed
@byronwall
byronwall deleted the fix/ux006-frontier-inspection branch November 22, 2026 20:45
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