Skip to content

feat(workbench): [5/5] add Discovery Dossiers stream UI, inline DossierThread, and 12-locale i18n - #7269

Draft
sunrioa wants to merge 8 commits into
apache:mainfrom
sunrioa:feat/discovery-ui-dossiers-stream
Draft

sunrioa wants to merge 8 commits into
apache:mainfrom
sunrioa:feat/discovery-ui-dossiers-stream

Conversation

@sunrioa

@sunrioa sunrioa commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Split PR Series (from overview #7200)

Order PR Status Scope Incremental Commit
Independent #7264 Merged Independent — Scheduler stateful script runtime (#7264, merged in 78cc3ec783) 78cc3ec783
1/5 #7265 Draft Discovery 1/5 — Core Dossiers schema (0056), tools, RPCs (47 files, +4,995 / -454) 4200ec8e62
2/5 (on 1/5) #7266 Draft Discovery 2/5 — ChangeTracker (0057), delta header, elastic stopping (30 files, +2,355 / -155) 7b87090438
3/5 (on 2/5) #7267 Draft Discovery 3/5 — Staging sandbox (0058), Wander mode, preferences.md (37 files, +1,809 / -86) 37f2e88111
4/5 (on 3/5) #7268 Draft Discovery 4/5 — WatchRunner (0059), PendingActions, WatchScope, WorkspaceMap (64 files, +7,839 / -735) 18b56fff0b
5/5 (on 4/5) #7269 ← this PR Draft Discovery 5/5 — Pure Frontend Workbench UI & 12-locale i18n (44 files, +4,994 / -281) 21737054c3

Review tip for stacked PRs (2/5–5/5): Because cross-fork PRs target main, click the Incremental Commit link above to review only that PR's isolated diff until its predecessor is merged and rebased.


Summary

Part 5 of 5 of the Proactive Discovery Dossiers stack (stacked on PR #7268). Pure frontend Workbench UI & i18n layer.

  • Inline Discovery Dossiers workbench view: Render dossiers directly in the main workbench surface with signal status badges, recent/priority sorting, drop-lead input (text + drag/drop files), reactive staged artifact preview/copy (tracking sha256 changes), pending action confirm/dismiss controls, and watches/activity disclosure.
  • Continuous revision stream & ChoiceCards: Display dossier revisions inline with collapsible historical entries anchored to the latest finding by default, plus one-click A/B/C/D decision cards.
  • Inline DossierThread & native tool cards: Support direct replies, live tool-execution progress summaries (dossierThreadActivity), one-click in-place elevation on the same thread, and localized nativeToolPresentations in toolNativeActivity.ts for all 10 Discovery builtin tools (ListDossiers, ReadDossier, UpsertDossier, FinishNoChange, StageArtifact, RegisterWatch, StagePendingAction, UpdateDiscoveryPreferences, UpdateWatchScope, UpdateWorkspaceMap).
  • Desktop interrupt notifications & 12-locale i18n: Route discovery interrupt clicks straight to the target dossier and localize all new UI & tool strings across all 12 workbench locales (en, zh-CN, zh-TW, zh-HK, ja, ko, es, fr, de, pt-BR, ru, it).

Verification

  • node scripts/i18n/check.mjs — passed (12 locales, 4 catalogs, 1 doc sets)
  • node scripts/ci.mjs check format licenses migrations — passed
  • node --test products/maka/workbench/tests/*.test.mjs — 293/293 passed
  • cargo test -p maka-workbench discovery — 5/5 passed

AI use

Select exactly one:

  • No generative tool made a substantive contribution
  • Generative tooling made a substantive contribution

Tool(s) and scope: AI coding assistant helped draft/review portions of the implementation, tests, and multi-locale translations; all diffs and tests were locally verified.

Checklist

  • Tests cover the change and fail without it
  • Format, typecheck and the affected suites pass locally

Does this PR entail a breaking change or persisted-data migration?

  • Yes — describe user/data impact, in-place migration, and upgrade_compat.rs coverage under Summary above
  • No

Does this PR entail a change in behavior?

  • Yes — described under Summary above
  • No

…ols, RPCs, and thread elevation (M1)

Generated-by: OpenAI Codex
…stic stopping (M2)

Generated-by: OpenAI Codex
…nd preferences.md (M3)

Generated-by: OpenAI Codex
…kspaceMap, and in-place thread elevation

Generated-by: OpenAI Codex
@sunrioa
sunrioa force-pushed the feat/discovery-ui-dossiers-stream branch from e7d9ca1 to 55e1c96 Compare November 26, 2026 08:33
…ad, and 12-locale i18n

Generated-by: OpenAI Codex
@sunrioa
sunrioa force-pushed the feat/discovery-ui-dossiers-stream branch from 55e1c96 to 77b667c Compare November 26, 2026 08:59
sunrioa and others added 3 commits November 27, 2026 23:06
…, and dossiers UI

- Redesign Discovery Dossiers stream UI with reversible unfollow, DiscoveryRuns panel, and scroll/layout fixes
- Add zero-model pre-worker admission Skip gate, unified Onboard, atomic entity_key dedup, fact-based material_change, and adaptive Alert/Briefing prose across 12 locales
- Replace tight per-run token hard-kills with 2-tier step soft wrap-up (12/18 steps), 1.5M safety breaker, Plan A 10KB head+tail output truncation, and cost-weighted 4M daily budget with 2h/4h tiered pacing (migration 0061)
- Expose UpdateWorkspaceMap, UpdateWatchScope, and RegisterWatch as DirectOnly top-level tools in Code Mode so Onboard wrap-up can finalize mark_ready
…openings

Track user conversation activity alongside file deltas and commit watermarks with worker admission. Cover private sessions, tool grants, scoped watches, retries, retirement and upgrade compatibility.

Generated-by: OpenAI Codex
Integrate the updated session navigation, memory projections and compressed state reads. Move the five unpublished discovery migrations after the locked upstream ledger.

Generated-by: OpenAI Codex

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort/XXL Over 2500 readable lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant