Repository navigation
feat(mecatui): add comfort transcript presentation - #2375
Conversation
Add accent speaker headings and dark/light transcript styles, collapse settled tool groups in comfort view, and preserve per-call details, copy provenance, and reading anchors. Omit proven internal harness control continuations from reloaded human transcripts without altering model history. Co-authored-by: Mecatl <noreply@mecatl.dev>
Implementation plan archive: transcript visual language
This is the approved design and verification plan, including the later reload-note fix. Historical planning-state statements below describe the drafting checkpoint; implementation and delivery were separately authorized. Actual completed checks are recorded in the PR body, not inferred from this plan's intended verification. Publication note: the private interactive-study source location is omitted. All behavior, interfaces, tasks, acceptance checks, deferrals, and the reload-note amendment are retained. Transcript visual language and outline rollout
Goal and scopeShip accent speaker headings in comfort (non-F9) and detailed (F9), settled-tool aggregation in comfort, individual per-call summary lines in detailed, one blank row between response blocks/tool groups, and dark/light support. Make useful progress before canonical tool identity, execution telemetry and durable history work. PR 1 now changes presentation grouping as well as styling. A group is consecutive visible top-level tool-family cards, NOT an authoritative dispatcher batch or claim of concurrency. PR 2 still owns connected outline rails/enclosures. No new durable state, execution identifiers, hook store, events, wire/schema changes, measured timing or generalized tree renderer. Preserve existing work
Grounded current behavior and approachPaths abbreviated ui/ below are under cmd/mecatui/ui.
Confirmed PR 1 contractAccent headings and themes
Tool presentation groups
Spacing, copy, anchors and cache lifetime
Bite-sized implementation tasks
Tasks 3–5 are one integration group: don't ship aggregates without cache/provenance/anchor behavior. Task 2 can be developed separately after inventory; do not lose uncommitted edits in isolated delegation. Acceptance and verification
Larger rollout and ownership
Other effort owns compatibility preflight -> canonical ToolCallID/provider replay separation/migration -> typed hook/review lifecycle -> TUI canonical correlation. Reconfirm landing before dependent work without touching that checkout. Nested Subagent/Team historical fidelity and grouped stylesheet inheritance/public customization are separate follow-ons. Preserve experiment detail-closure/Markdown provenance evidence; no opportunistic reducer/history redesign. Decisions and review record
Authorized reload-note follow-upAfter manual inspection, Joe explicitly requested fixing internal harness control notes showing as Implement at the existing common server snapshot projection, with a fresh outer message slice and existing immutable-message semantics; no new wire fields or engine APIs. Verify filtering/preservation/order/empty completion/storage invariants and real persisted embedded/connect restart -> client -> Model rendering. Update transcript contract comments through generators and owning resume docs. This is a narrow display bug fix, not the deferred durable-history/identity roadmap. Delivery authority remains local-only; evidence and final gates are in the run note. |
Co-authored-by: Mecatl <noreply@mecatl.dev>
Summary
Groups reflect visible transcript adjacency, not dispatcher batches or concurrency. This does not add connected outline rails, measured timing, new identity, public theme settings, or durable-history machinery.
Verification
Passed locally on the committed candidate:
task generatetask testtask test:racetask linttask docstask site:buildtask buildgo run ./cmd/mecademo(tool result, permission ask/approval, final result)Four-axis review plus scoped incremental rechecks found no remaining findings. Focused coverage includes mixed active/settled/failing/delegated calls, rebinding and modal routing, selection/anchors, light-mode cache replacement, persisted embedded/connect restart, and legacy/provenance preservation guards. A 4 MiB Write regression proves warm lifecycle render passes allocate zero; restoring the old full projection fails the test.
An isolated natural Shell → saved session → server/client/startup UI comparison reproduced the harness-note attribution on the pristine branch baseline and styling-only candidate; the new projection omits it. This does not establish why it was first noticed in a particular prior installation.
Limitations
Plan
Full approved implementation plan, including the reload-note follow-up. The private design-study source location is omitted; all behavioral requirements and verification intentions are retained.