Skip to content

tracking(desktop): evolve WorkHub into a per-Runtime-Host conversational coordinator #3492

Description

@ARE404

Goal

Evolve WorkHub from a transient Session router into a unified conversational entry point backed by one stable WorkHub Coordination Session per Runtime Host.

The user should be able to ask an ordinary question, clarify intent, continue existing work, or create new work from the same conversation. Concrete execution remains in ordinary Sessions.

The approved architecture direction is recorded in Discussion #3286. The exact routing strategy is intentionally left open until the R3 experiment is complete.

Architecture contract

Coordination Session lifecycle

  • Reuse the existing Session, Turn, transcript, model, recovery, and event infrastructure; do not add a second WorkHub database or lifecycle.
  • Lazily create one stable WorkHub Coordination Session for each Runtime Host and reuse it after restart.
  • Hide it from the ordinary Session list and exclude it from routing candidates.
  • Switching Runtime Host switches to that Host's Coordination Session.
  • The first milestone does not coordinate across Runtime Hosts.

Authority boundaries

Concern Durable authority
User messages sent in WorkHub, ordinary Q&A, clarification, coordination decisions, delegation references, and coordination summaries WorkHub Coordination Session
Concrete execution, project/filesystem scope, model and permission mode, root-Turn admission, tools, artifacts, recovery, archive/delete, and the authoritative execution transcript Target ordinary Session
Aggregated WorkHub cards, filters, status summaries, and navigation aids Rebuildable projection; no durable authority

The Coordination Session is a special role of Session, not a new authority outside the Session substrate. It owns only the coordination conversation; it never takes ownership of another Session's execution facts.

Coordination outcomes

Every ordinary routing input resolves to one of four dispositions:

answer_here
delegate_existing
create_new
clarify
  • answer_here: answer inside the Coordination Session.
  • delegate_existing: send concrete work to one bounded, valid ordinary Session.
  • create_new: create an ordinary Session, then delegate the work to it.
  • clarify: continue the clarification in the Coordination Session without guessing or creating.

Routing dispositions and linked operations

Intent, routing disposition, and linked operation describe three different things:

  • Intent describes what the user wants. It does not choose a target or authorize an effect.
  • A routing disposition decides how to handle a new coordination request. The routing disposition set remains closed over answer_here, delegate_existing, create_new, and clarify.
  • A linked operation acts on a delegation that WorkHub has already created. correct, stop, and resume are linked operations, not additional routing dispositions.
                         user input
                             |
                       Intent analysis
                             |
               +-------------+-------------+
               |                           |
        routing intent                linked intent
   discuss / execute / create      correct / stop / resume
          / continue                      |
               |                           |
        Session Resolver          linked-target resolution
               |             delegation -> Session -> Turn lineage
               +-------------+-------------+
                             |
                       Action Policy
                             |
               +-------------+-------------+
               |                           |
     routing disposition             linked operation
   answer_here / delegate_existing    correct / stop / resume
        create_new / clarify                 |
               +-------------+-------------+
                             |
                        Action Gate
                             |
                  owning Host / Session

The two resolver paths have different evidence:

  • SessionResolver recalls and ranks bounded existing ordinary Sessions for a new routing decision. It never creates a Session or grants execution authority.
  • Linked-target resolution starts from a bounded WorkHub-owned delegation and follows its durable lineage to the authoritative Session and Turn. It must not approximate a target by selecting a similarly named Session.

For correction, the replacement must retain the source relationship (replaces / replacedBy) instead of appearing as an unrelated second delegation. Stop and resume must follow the linked delegation and continuation lineage, with expected-Turn ownership and current Runtime state revalidated by the Action Gate. Missing, stale, or ambiguous linkage must fail closed through clarification or an actionable rejection.

This clarification does not widen the four-disposition routing protocol. It makes the subsequently delivered Slice 5 correction, Stop, and resume operations explicit alongside that protocol while preserving target-Session execution authority.

Delegation and safety

Delegation links the coordination and execution transcripts instead of copying execution history into WorkHub. The minimum linkage is:

delegationId
coordinationTurnId
targetSessionId
targetTurnId
disposition
status

All strategy output is advisory. A shared deterministic Action Gate validates the target and operation before any write: current Runtime Host, target existence, archive/waiting state, self-routing, expected-Turn ownership for Stop, explicit create_new, risk confirmation, and existing tool/permission ceilings.

Evolution from the current MVP

Session projection + deterministic router (R2.3/R2.4)
                         ↓
stable per-Host Coordination Session and persistent WorkHub transcript
                         ↓
typed dispositions + deterministic Action Gate
                         ↓
linked delegation to ordinary Sessions
                         ↓
R2.4 vs R3-A vs R3-B experiment
                         ↓
evidence-based production strategy and gradual cleanup

The existing work remains useful:

Delivery slices

Slices and PRs are intentionally not one-to-one. A PR may deliver multiple tightly coupled checklist items when they form one reviewable, usable loop.

Current status (2026-09-13): Slices 1–5 have shipped incrementally; #4924 merged the Slice 6 component/comparison foundation and Slice 8 navigation enhancements. #5198 has merged conversation identity/status/filtering and Host-owned target selection through the default Coordination tool path. Three subsequent P2 findings remain to be independently verified and addressed below. Slice 7 comparative real-model evaluation, strategy selection and rollout remain open. The Coordination Turn-admission gap was closed by #4993.

Slice 0 — Close and preserve the deterministic baseline

Exit: R2.4 is mergeable, reproducible, and safe to retain behind the new coordination layer.

Slice 1 — Record the architecture decision and ubiquitous language

Delivered by #3742.

  • Add an ADR for one WorkHub Coordination Session per Runtime Host.
  • Define Coordination Session, ordinary Session, disposition, delegation, Action Gate, and projection in the domain language.
  • Record the authority table and the no-transcript-copying rule.
  • Record that Work identity/cardinality and cross-Host coordination are deferred decisions.

Exit: code and review can use one unambiguous authority and lifecycle vocabulary.

Slice 2 — Coordination Session lifecycle

Delivered by #3764.

  • Introduce a special Session role/kind using the existing Session substrate.
  • Lazily create and durably resolve exactly one Coordination Session per Runtime Host.
  • Reuse it across renderer/app/Runtime Host restarts.
  • Hide it from ordinary Session navigation and exclude it from all route candidates.
  • Define recovery, feature-disable, Host-switch, archive/delete, and missing/corrupt-session behavior without losing ordinary Sessions.
  • Cover uniqueness, reuse, self-route exclusion, Host switching, and recovery with integration tests.

Exit: WorkHub always opens the correct persistent coordination conversation for the active Runtime Host.

Slice 3 — Persistent unified conversation and answer_here

Delivered by #3798.

  • Render WorkHub from the Coordination Session transcript while continuing to project ordinary Session status read-only.
  • Persist user messages, assistant answers, clarification turns, and coordination summaries in that transcript.
  • Support ordinary Q&A through answer_here without creating or selecting an ordinary Session.
  • Preserve the conversation across navigation into an ordinary Session, return to WorkHub, and restart.
  • Keep bounded UI projections and fail-open transcript reads so one unavailable ordinary Session cannot hide the rest.

Exit: WorkHub is a real reusable conversation even when no concrete work is delegated.

Slice 4 — Typed coordination actions and deterministic Action Gate

Delivered by #3818. The merged protocol is intentionally closed over answer_here, delegate_existing, create_new, and clarify; it rejects replace and exposes no Stop effect.

  • Add a typed result contract for answer_here, delegate_existing, create_new, and clarify.
  • Expose only bounded valid Session candidates; a model must not invent Session IDs.
  • Centralize non-destructive admission checks for current Runtime Host, target existence, archive/waiting state, self-routing, creation context, bounded candidate references, and conflicting action replay.
  • Keep tool and permission ceilings owned by the target ordinary Session; the closed WorkHub protocol cannot widen either ceiling.
  • Add linked replacement and expected-Turn Stop after durable linkage (feat(workhub): add linked delegation correction #4242, feat(workhub): add direct stop coordination #4439). Shared-Turn collateral-impact confirmation remains a separate follow-up under Discussion Where should WorkHub delegation liveness live? #4868.
  • Make create_new the only disposition allowed to create an ordinary Session.
  • Return safe clarification or an actionable error when the proposed action is rejected.
  • Test rejected-action paths independently of model behavior.

Historical Slice 4 scope was non-destructive. Production linked correction and direct Stop subsequently shipped in Slice 5; their admission remains owned by the Host and target Session.

Exit: no routing/model strategy can directly acquire execution authority or bypass Runtime safety for the non-destructive Slice 4 action set. The subsequently delivered destructive actions retain Slice 5 linkage and target ownership checks.

Slice 5 — Linked delegation and execution feedback

Delivered incrementally by #3935, #4115, #4242, #4439 and #4713; #4699 removes full Coordination-history replay on open/reconnect (fixes #4647).

Delivered behavior: delegate, observe, correct, stop and resume from WorkHub. Coordination Turn admission was later repaired by #4993; queue/shared-Turn design follow-ups remain open below.

Slice 6 — Composable routing experiment foundation

Delivered by #4924 as an incremental foundation, with broader semantic/orchestration migration explicitly deferred in review.

  • Define a strategy as one independently replaceable Intent implementation plus one independently replaceable Resolver; share controller Policy composition and Host Action Gate.
  • Retain R2.4 deterministic Intent + Resolver as the baseline at the feat(workhub): add composable routing experiments and filtered anchor rail #4924 milestone. This is historical delivery evidence, not a claim that it remains the current default production entry path.
  • Provide R3-A model-assisted Intent + Resolver and R3-B model-assisted Intent + deterministic Resolver. These components do not return the final Policy decision or authorize execution.
  • Keep creation under Policy/Host admission rather than an implicit Resolver effect.
  • Compare arms through the same real controller fixture with fresh Session snapshots, hydrated Coordination transcript, candidate-set state and repeated inputs. Bound model-facing text at the adapter boundary while retaining full trusted text for deterministic components and Policy.
  • Run reproducible comparisons with real models through the production WorkHub/Host path, recording model/reasoning settings and repeated-run consistency (Slice 7).

Evidence boundary: the comparison fixture stubs coordination.act; it proves controller composition and proposal behavior, not real Host admission, model quality or a production winner. The unused production experiment shell was removed.

Current production boundary: the Coordination model can use bounded Session-management tools directly. The additional routing-model hook remains optional; #5198 does not enable the experiment by default. Its Host-owned target Form is available through tasks.select_and_delegate, independently of that hook. This delivery does not select a winner for Slice 7.

Architecture direction: Intent → Resolver → Policy → Gate remains the vocabulary; it does not require separate serial model calls before every Coordination Turn. The current Policy seam is not a decision to freeze language heuristics permanently. Evaluate LLM-driven semantic/orchestration decisions and retire redundant deterministic language rules when evidence supports replacement; Runtime retains structured identity, ownership, permission and admission constraints, and only Gate allow authorizes effects.

Slice 7 — Evaluation, strategy selection, and rollout

  • Include the direct Coordination-model + bounded management-tools path as a comparison baseline alongside R2.4 and staged Intent/Resolver strategies, following the routing tradeoff discussion. Use the same Host/Action Gate authority boundaries.

  • Cover ordinary Q&A, explicit names, semantic references, current/previous work, ambiguity, explicit creation, first-time correction, in-work content edits, archived/running/waiting state, cross-Work questions, navigation/restart, and adversarial candidate text.

  • Report disposition accuracy and target accuracy separately.

  • Report unsafe/wrong-target action rate, unnecessary clarification/creation, correction recovery, ordinary-answer quality, multi-turn consistency, complete task outcomes, total model calls, end-to-end latency, tokens, and monetary cost, including retries and clarification.

  • Keep routing failures separate from downstream target-model execution failures.

  • Select the production strategy from evidence and record the choice as an ADR amendment / Discussion follow-up.

  • Roll out behind the existing feature flag with telemetry and a rollback path that does not delete Sessions or transcripts.

  • Remove obsolete transient router state only after parity and rollback verification.

Exit: the default strategy is evidence-backed, observable, and safely reversible.

Slice 8 — Rebuildable WorkHub projection enhancements

Delivered by #4924; Session navigation and conversation prompt anchors are distinct features.

Exit delivered: filters, Session navigation and current-conversation anchors are available. This is not a claim that all future card/status UX work is complete.

Next work (ordered follow-up plan)

1. Coordination Turn admission and transcript semantics — delivered by #4993

Follow up the reported lifecycle gap and commitment to a separate PR. This was delivered by #4993.

  • Inspect current main and coordinate with the RuntimeEvent transcript migration referenced in the report; route Coordination actions through real Session/Turn admission, preserving atomic delegation assignment and unchanged target Message admission.
  • Remove the remaining workhub.coordination.record/renderer-authored synthetic assistant and terminal path; represent coordination acknowledgements as the proper action/Turn records.
  • Test admission, replay/idempotency, restart, failure cuts and resume acknowledgement; coordinate removal of the dedicated legacy Coordination transcript reader once its prerequisite is met.

2. Build Slice 7 evaluation on the production path

  • Capture the direct Coordination/tool baseline through the existing maka eval path; compare it with additional routing stages before deciding whether their reliability benefit justifies extra serial calls and maintenance. Keep default-path acceptance separate from comparative evaluation.

  • Capture a reproducible R2.4 baseline and versioned scenarios; run the same WorkHub controller → Host admission path used by the product through maka eval.

  • Compare multiple Intent implementations, Resolver implementations and model/reasoning configurations independently and in combinations. Repeat runs; keep snapshots, inputs and context budgets comparable and record configuration differences.

  • Report the Slice 7 quality/safety/latency/token/cost metrics above; separate intent errors, target-resolution errors, Policy/Gate rejections and downstream execution failures.

  • Include real-model answer_here and delegation, navigation/restart, correction/Stop/resume, ambiguity, long inputs and adversarial candidate content. Fixture/browser passes alone do not close this gate.

3. Use evaluation evidence to migrate semantics and select a default

  • Move semantic/orchestration decisions toward the evaluated LLM components; identify and explicitly retire superseded deterministic language rules. R2.4 is a temporary comparison/rollback baseline, not the final language authority.
  • Record selection and trade-offs in the existing ADR/Discussion, then roll out with observability and a tested rollback preserving Sessions/transcripts.
  • Preserve structured Runtime/target-Session constraints and Gate-only effect authorization throughout migration.

4. Track delegation queue/liveness refinements separately

  • Continue Discussion #4868: target-owned execution liveness, queue placement/promotion and shared-Turn Stop impact/confirmation. Verify current implementation before defining its next PR; do not count this design work as delivered by feat(workhub): add composable routing experiments and filtered anchor rail #4924.
  • Keep any remaining card/status or pre-first-Turn feedback UX work scoped against the now-shipped filters, Session navigation and prompt anchors to avoid duplicating them.

5. Close post-merge #5198 review findings

#5198 delivered shared conversation identity, per-prompt status, stripe/rail filtering, keyboard choices, Host-owned target confirmation and Main-owned native interaction presentation. It reuses existing Forms, interaction persistence and Action Gate; target Sessions retain execution authority.

The following P2 reports target the merged PR head. Reviewer reproductions are recorded; they have not yet been independently reproduced or fixed by the implementation follow-up:

These are label, shared-component and projection follow-ups; they do not close Slice 7 or change the deferred Work identity/cardinality decision.

Release gates

  • Focused policy, lifecycle, Action Gate, controller, and UI interaction tests pass.
  • Full desktop tests, typecheck, production build, lint, format check, and affected knip workspaces pass.
  • Navigation/restart and real-model end-to-end tests cover both answer_here and delegation.
  • Adversarial review finds no second authority, transcript-copying path, self-route, unsafe Stop, implicit create, stale async overwrite, or model-bypass path.
  • UI changes include current before/after evidence or a recording.

Deferred decisions / non-goals for the first milestone

  • Whether Work is 1:1 with Session, 1:N over Sessions, or an independent durable entity.
  • A new Work database, event store, or lifecycle.
  • Replacing ordinary Sessions as execution authorities.
  • A single global Coordination Session across Runtime Hosts.
  • Cross-Runtime-Host orchestration.
  • Copying complete target transcripts into WorkHub.
  • Letting a model output directly authorize creation, Stop, tools, permissions, or arbitrary Session IDs.
  • Full cross-Work dependency planning or large-scale semantic recall/indexing.

Existing evidence

Slice 6/8 merge evidence — 2026-09-07

  • feat(workhub): add composable routing experiments and filtered anchor rail #4924 merged at 8c8ad2744. CI test passed on PR head 24bb31595: run 34118154658.
  • Integration head: clean Desktop suite 2390/2390; eight browser runs across both rails, wide/narrow × light/dark; bubble and composer both measured 28px. Build/typecheck/lint/format/architecture/locale/header/inventory/budget checks passed. Updated screenshots are in the PR.
  • Seven original inline findings were resolved. The approval covered 61a8b3068; the subsequent main-conflict integration was validated separately as recorded above.
  • Real-model comparative evaluation and real Host admission are not proven by the controller fixture; no Slice 7 result or production strategy selection is claimed.

Default-path interaction and native acceptance — 2026-09-13

  • feat(workhub): unify work identity and Host-owned target selection #5198 merged; CI test passed on PR head d2ad3262a.
  • Local validation recorded in the PR: full build and Desktop typecheck; 2,584 Desktop tests, 438 shared UI tests, 199 affected Host tests, 16 WorkHub Storybook interactions and six native Electron tests passed.
  • Real-provider native acceptance exercised same-name target selection, keyboard confirmation, execution only in the selected target, pending-Form reload, passive floating-window display and cancellation. Selection/execution was repeated after rebasing. This establishes those observed paths, not comparative model quality or complete in-flight transcript recovery.
  • Target selection now binds the exact Host-offered identity and passes it directly to Action Gate. The old renderer waiting Promise and dedicated pre-admission selector path were removed. Main owns the complete native expansion; fresh submission/rejected Retry remain separate from unknown-admission reconciliation and read refresh.
  • This supersedes the earlier statement that a dedicated selector required production wiring of the optional routing experiment. The experiment remains optional by design; no R2.4 vs direct-tool vs staged-routing winner is claimed.

Activity

  1. added
    enhancement
    on Aug 23, 2026
  2. changed the title [-]tracking(desktop): ship the session-authoritative WorkHub routing MVP[/-] [+]tracking(desktop): evolve WorkHub into a per-Runtime-Host conversational coordinator[/+] on Aug 24, 2026
  3. 0xMudit commented on Aug 25, 2026

    @0xMudit

    I'd like to contribute to this tracking issue.

    How I can help

    I'm interested in working on the smaller, self-contained sub-tasks within this tracking issue, such as:

    • Individual integration points or lifecycle hooks
    • Documentation of the new coordinator pattern
    • Tests for per-Host session isolation

    Please let me know which specific sub-tasks would be most helpful to pick up first.

  4. Astro-Han commented on Sep 3, 2026

    @Astro-Han
    Contributor

    Hi @ARE404, I'd like to take the experience layer of WorkHub while you drive the R3 routing experiment. Concretely, three sub-items under this tracker, each as its own PR against the current Coordination Session design and without touching the disposition logic:

    1. Coordination transcript performance: WorkHub Coordination transcript is replayed in full on every open and every reconnect #4647 (full replay on every open/reconnect) — bounded projection like ordinary Sessions.
    2. Card and status projection: aggregated WorkHub cards, filters and status summaries on the Astryx List/Item idiom with StatusDot, matching the shell work in tracking(desktop): align shell chrome and settings with Astryx and DESIGN.md #4679.
    3. Delegation feedback: what the user sees between delegate_existing/create_new and the first Turn of the target Session (today the gap reads as nothing happening).

    If any of these collide with what R3 changes, tell me which and I'll wait. Otherwise I'll add them as checkboxes here and start with #4647.

  5. Astro-Han commented on Sep 5, 2026

    @Astro-Han
    Contributor

    Opened a Discussion on where WorkHub delegation liveness should live: #4868

    It comes out of finishing #4699 and touches three things in the Slice 5 shape: the three terminal record kinds, liveness being derived from Coordination rather than from the target Session, and stop resolving its own delegation where replace names one. No change is proposed to #4699 itself — I'd like to check the authority reading before any of it becomes work.

  6. Astro-Han commented on Sep 7, 2026

    @Astro-Han
    Contributor

    WorkHub Coordination actions do not admit a Turn, and the ADR says they should

    #4791 moves every Session transcript onto the RuntimeEvent ledger. Doing that surfaced something in the Coordination Session that is worth fixing on its own terms, independently of that PR.

    Almost no Coordination action admits a Turn. workhub.coordination.answer is the only path that calls startWorkHubCoordinationMessage and mints a root Turn admission, and nothing in the renderer calls it. Everything else appends rows under a turnId that equals the action id and that no admission ever created:

    • act / assignWorkHubMessage — admits a Turn on the target Session; on the Coordination side it only appends delegation_assigned.
    • prepareStop, prepareReplacement, abort — #commitCoordinationFact takes an admission lease and appends a row; no Turn.
    • record — refuses to write unless hasRootTurnAdmission is false.

    So the Coordination Session's transcript is a set of Turns that the runtime never ran.

    record also fabricates the shape of a model Turn. Its summary triplet is user + assistant + turn_state, where the assistant text is a string the renderer composed (submitAndRecordWorkHubSurfaceInput's input.summary(result) — "routed to X"), persisted with modelId: 'maka-workhub-coordination' and a self-authored turn_state: 'completed'. Every consumer of assistant messages — usage attribution, search, export, recap, model-history projections — now cannot tell that text from model output, and the terminal did not come from the runtime's terminal authority.

    The ADR already decided against this. docs/architecture/workhub-coordination-session-adr.md (#3742):

    The Coordination Session is a special role of the existing Session, not a new durable entity type or storage system. It reuses the existing Session, Turn, transcript, model, recovery, and event infrastructure.

    and, right after the delegation_assigned transaction:

    The delegation_assigned record itself projects the visible WorkHub turn; the renderer does not append a second summary.

    Part of this was already walked back: workhub-surface.tsx carries the comment "Delegations project directly from the Host's atomic delegation_assigned record. Only local clarification still needs the generic summary path." — so the delegation path was brought back in line and record was left alive for the remaining dispositions. It looks like a generic path that outlived its callers rather than a decision.

    Why it matters beyond tidiness. A ledger row must hang on a real invocation. Because these Turns have none, the Coordination transcript cannot be expressed in the ledger at all, and #4791 has to keep a dedicated reader that serves this one Session from session_messages. That reader is written to be deleted: once every Coordination action goes through a root Turn admission, the Coordination Session reads like every other Session and it can go.

    Suggested shape, entirely inside WorkHub:

    1. Delete workhub.coordination.record. Its only remaining live caller is the resume outcome.
    2. Route every Coordination action through the admission answer already uses, so delegation_assigned and the stop/replacement records land on a Turn that exists. The delegation_assigned transaction keeps its current atomicity — the Coordination Turn admission is on the Coordination Session, and the target Message admission is unchanged.
    3. The routing summary then stops being a fake assistant message: it is the Coordination Turn's own record.

    Filing this here rather than as a new issue since it is the Slice 2/3 lifecycle this tracking issue owns. Happy to hand over the reader-deletion side once (2) lands.

    Not a conflict with #4924, but it lands in the same files: that PR changes workhub-controller.ts and workhub-surface.tsx for Slice 6/8 and extends the ADR with the routing-experiment section, while leaving recordConversationTurn and the admission model untouched. Whichever goes first, the other rebases.

    cc @ARE404

  7. ARE404 commented on Sep 7, 2026

    @ARE404
    ContributorAuthor

    Thanks for flagging this. I’ve noted the Coordination Turn admission issue and will open a separate follow-up PR to fix it.

  8. Astro-Han commented on Sep 12, 2026

    @Astro-Han
    Contributor

    Hi @ARE404, thanks for the real-provider acceptance on #5198 and for clearly documenting what it does and does not cover. It helped me understand the relationship with #5152 better. I thought this tracker would be a good place to discuss the broader routing tradeoff.

    I may have been picturing a simpler WorkHub shape: one Coordination Session with tools to find and manage other Sessions. Its model understands the request, queries bounded candidates when needed, asks through AskUserQuestion when uncertain, and proposes an action. Runtime Host still checks target identity, permissions, current state, idempotency and exact-Turn ownership.

    Could that be the baseline for the routing comparison? I understand the motivation for separating Intent and Recall: it gives each stage a bounded input and makes errors easier to distinguish. What I am less sure about is whether running those stages before the main coordination model provides enough additional benefit over letting that model use the management tools directly.

    One concern is the cost the user would experience. #5152 reuses the Session's saved model, so this is not about introducing a smaller model, but the proposed path can still add one or two serial LLM calls. It would be useful to compare the complete task outcome alongside total calls, tokens, monetary cost and elapsed time, including retries and clarification. Wrong-target actions and unnecessary clarification or Session creation would also help explain the tradeoff.

    My preference would be to establish that benefit in a bounded experiment through the existing maka eval path before adopting the extra stages as the production design. If the simpler approach works just as well, I would lean toward keeping it. If the additional stages materially improve reliability at a reasonable cost, that would be useful evidence to discuss. I previously supported the opt-in foundation; this is me revisiting whether that was the right sequence, rather than saying the implementation failed to follow the earlier plan.

    For #5198, I think the verified AskUserQuestion and native window improvements are valuable independently. Could we clarify how those fit with the dedicated selector while the routing comparison remains open? I would like to avoid expanding a dependency before the tradeoff is settled, but I do not want this discussion to unnecessarily hold up the usable improvements.

    I am happy with a larger coherent refactor when it makes the overall system simpler. PR size matters less to me than whether the result has fewer concepts and maintenance points. It would be helpful to hear what concrete cases the separate routing stages handle better, and whether the same guarantees could live in the existing tool and Host boundaries. Thanks for walking through this with me.

    中文

    谢谢你补充 #5198 的真实模型验收,也明确说明了覆盖范围。我想在这个 tracker 里一起讨论一下路由取舍。

    我原先理解的 WorkHub 更接近一个主 Session 加管理其他 Session 的工具:模型理解请求、按需查询候选、不确定就 AskUserQuestion,然后提交明确动作;Host 保留身份、权限、状态、幂等和准确 Turn 的校验。能否把这个方案作为比较基线?

    我理解拆分 Intent 和 Recall 有输入范围更清楚、错误更容易归因的好处,但还不确定它相比主模型直接调用管理工具,是否有足够的额外收益。尤其是额外一到两次串行模型调用会带来真实费用和等待时间,比较时最好一起看完整任务成功率、误投递、不必要的澄清/创建,以及包含重试在内的总调用、token、金额和耗时。

    我的倾向是先通过现有 maka eval 做小范围比较,再决定生产架构。如果简单方案效果相当,就保留简单方案;如果拆分确实以合理成本提高可靠性,也很值得拿证据一起讨论。此前我也支持了 opt-in 基础代码,这里是在重新考虑推进顺序,不是在指责实现偏离了当时的计划。

    #5198 的通用问答和已验证窗口交互本身有价值,也想一起明确它们与专用选择器的范围,尽量不让讨论拖住已经可用的改进。我可以接受规模更大但整体更简单的重构;更关心最终减少了哪些概念和维护点。也请你讲讲哪些具体场景确实需要独立路由阶段,以及能否用已有工具和 Host 边界实现相同保证。

  9. added
    tracking
    on Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementtracking

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions