Skip to content

fix: preserve source and business identity in stateful UI captures - #84

Merged
Narrator merged 6 commits into
mainfrom
codex/stateful-handoff
Oct 27, 2026
Merged

Narrator merged 6 commits into
mainfrom
codex/stateful-handoff

Conversation

@Narrator

Copy link
Copy Markdown
Member

Hoppscotch exposed three broken handoff paths: initialization failed alongside application Zod3, source queries captured shared-button wrapper props, and a portable Generate Token locator also resolved in another collection's dialog.

Pin browser-shared schemas to Zod4 and declare React/Vue injected dependencies before Vite optimization. Capture the proved Vue source owner through ancestry, label fallback context, and pin the instance across asynchronous manifest lookup. Require a stable non-secret data-ds-context per enclosing dialog; unscoped and legacy dialog locators refuse replay. Preserve useful refusal reasons through HTTP/WS/MCP. Redact OAuth client-secret fields and marked-secret records before serialization limits can discard their marker.

Validation:

  • Fresh uncached configured lint/test/build/typecheck: 2,174 tests across 123 files; root audit clean.
  • Real browser local-tarball React/npm/Vite7, Vue/pnpm/Vite8 adapter-only, Vue/pnpm/Vite5 with raw-runtime exclusion, Next16/pnpm, and overlay-disabled Vue initialization passed. Full replay cases cover fresh-session persisted evidence, intended-entity assertions and production stripping.
  • Original Hoppscotch starts without optimizer workaround; captures OAuth2 owner and Alpha environment context, refuses Beta/fresh-session unscoped replay, and retires old handles.
  • Independent review resolved functional Vue owner, refusal propagation and truncation/redaction findings with regressions. CI adds mixed-schema/transitive-only and overlay-disabled coverage.

Source-owner matching is Vue-specific and depends on exact dev metadata. Other adapters label nearest/unavailable context. Dialog replay requires an application context key; it does not infer business identity or restore backend/auth state. These capabilities remain unpublished until a separately authorized release.

@nx-cloud

nx-cloud Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit d76e51d

Command Status Duration Result
nx run domscribe-test-fixtures:integration--web... ✅ Succeeded 2m 52s View ↗
nx run domscribe-test-fixtures:integration--web... ✅ Succeeded 2m 53s View ↗
nx run domscribe-test-fixtures:integration--web... ✅ Succeeded 1m 35s View ↗
nx run domscribe-test-fixtures:integration--web... ✅ Succeeded 1m 27s View ↗
nx run domscribe-test-fixtures:install-fixture-... ✅ Succeeded 43s View ↗
nx run domscribe-test-fixtures:install-fixture-... ✅ Succeeded 38s View ↗
nx run domscribe-test-fixtures:install-fixture-... ✅ Succeeded 21s View ↗
nx run domscribe-test-fixtures:install-fixture-... ✅ Succeeded 20s View ↗
Additional runs (18) ✅ Succeeded ... View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-10-27 05:30:05 UTC

@Narrator
Narrator merged commit 677f627 into main Oct 27, 2026
47 checks passed
@Narrator
Narrator deleted the codex/stateful-handoff branch October 27, 2026 05:38
@Narrator Narrator mentioned this pull request Oct 27, 2026
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