Skip to content

feat: add the universal working set - #112

Merged
wolfiesch merged 4 commits into
mainfrom
codex/universal-working-set
Jul 21, 2026
Merged

feat: add the universal working set#112
wolfiesch merged 4 commits into
mainfrom
codex/universal-working-set

Conversation

@wolfiesch

Copy link
Copy Markdown
Collaborator

What this changes

T4 can now collect reviewed material from files, transcript messages, review diffs, selected terminal text, and browser accessibility snapshots in one working set beside the composer.

Every source uses the shared action registry and the existing composer settlement path. Items stay scoped to one session, remain in renderer memory, can be inspected or removed before sending, and are compiled into one ordinary OMP prompt. Existing redaction and byte limits apply across all sources; browser capture excludes form values and strips URL credentials, queries, and fragments.

ADR 018 records the source-specific authority and safety boundaries. The T3-derived provenance checksums were refreshed for the adapted transcript and terminal files.

How you verified it

  • pnpm --filter @t4-code/web test — 1,192 tests passed
  • pnpm exec playwright test e2e/remote-app.spec.ts — 19 tests passed, including the working-set flow and soak cases
  • pnpm build:web — production build passed
  • pnpm lint — passed
  • pnpm check:release — passed
  • pnpm check:provenance — 5 manifests checked, 0 failures
  • node --test scripts/check-adr-numbering.test.mjs — passed
  • pnpm exec vp run --filter '@t4-code/*' --filter '!@t4-code/root' --filter '!@t4-code/flutter' typecheck — all 13 non-Flutter packages passed

The combined Flutter-inclusive type check cannot start in this Codex environment because the Flutter executable is not installed. No Flutter files changed.

Checklist

  • pnpm check passes (Flutter executable unavailable locally; every non-Flutter check above passes)
  • pnpm test passes (Flutter executable unavailable locally; full web and desktop/browser suites pass)
  • New behavior has focused and end-to-end coverage
  • Any pasted logs or screenshots are redacted: no secrets, tokens, pairing codes, or private paths
  • Ported code follows the provenance rules; pnpm check:provenance passes

## Context
Let users keep useful workspace material beside the composer instead of copying it between windows or losing source boundaries.

## Changes
- capture reviewed file, transcript, review, terminal-selection, and browser-page material through shared actions
- keep every item session-scoped, bounded, redacted, inspectable, and removable before prompt submission
- add source-aware prompt packets, safety documentation, provenance updates, and end-to-end coverage

## Impact
T4 can now assemble one ordinary OMP prompt from explicit workspace sources without adding a second runtime authority or a new protocol field.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

## Context
The working-set browser button called a metadata-only snapshot route, so real pages could not be staged. The live accessibility route also needed a tighter visible-content boundary.

## Changes
- route page capture through the owner-scoped accessibility snapshot
- exclude hidden DOM, form controls, and values from staged context
- use per-surface refresh identity and propagate metadata redaction flags
- cover the page producer, desktop dispatch, source admission, and inactive-session guard

## Impact
Browser context now works in the desktop runtime without exposing hidden or entered form content. Tabs at the same URL remain distinct, with no new protocol authority.
@wolfiesch
wolfiesch merged commit 676dd8b into main Jul 21, 2026
8 checks passed
@wolfiesch
wolfiesch deleted the codex/universal-working-set branch July 21, 2026 05:10
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