feat(mentor): editorial chat voice for the transcript (#155)
CI / ci (push) Canceled after 0s
CI / ci (push) Canceled after 0s
Wayfinder map #153, build slice 1 of the #154 contract: the shared SessionTranscriptView speaks the two-color editorial voice — speaker prefixes map onto serif agent prose (markdown at flush, verbatim streaming), right-aligned terracotta user capsules, and the mono status box on the fg-wash card; ThinkingBlock port; composer restyle with one Send/Stop button, floating liveness chip, and the Debug toggle moved to its trailing edge (Sessions pane inherits the same surface). Finish-audit fanout hardened it: interpreted markdown opens http(s) only (openURL gate at the sink — engine prose echoes imported content; pinned via the pure linkVerdict seam), Caps Lock no longer turns Shift+Return into a send (pinned), the plain-Button toggles speak state to VoiceOver, and the dead GeometryReader wrapper is gone. Suite 584/584 (xcresult count), flip-verified pins, swiftformat + swiftlint clean at the error tier.
This commit is contained in:
1 parent
ef246e3f27
commit
2aa8bdabd8
8 files changed
+542
-101
No files matched your search
@@ -6,6 +6,8 @@ All notable changes to this project will be documented in this file. The format
|
||||
|
||||
### Changed
|
||||
|
||||
- **mentor:** Editorial chat voice on the shared transcript (#155, wayfinder map #153 — the #154 contract's build slice 1) — the Mentor and Sessions panes' shared conversation surface now speaks the two-color editorial voice. The model's speaker prefixes map onto three render voices (`speaker(of:)`, pinned): "Mentor:" turns render as full-width serif 15/1.6 prose (markdown parsed at flush, verbatim while streaming — the Vivarium #97 pattern), "You:" turns as right-aligned terracotta-wash capsules (radius 12/12/2/12, capped at 85% of the live column width), and everything else (refusals, pass kick-off labels, Blind Read reveals) as the quiet mono status box on the fg-wash card. ThinkingBlock port: mono-11 toggle over serif-13 muted on the recessed card, open with a spinner while live, collapsed when flushed; research-note cards inherit the wash family. The composer restyles per contract — surface-fill input, ONE accent Send flipping to a terracotta-outlined Stop (plain Return sends, Shift+Return breaks the line — the composer previously sent the draft on Return with no way to type a newline at all), a floating thinMaterial liveness chip above the composer while streaming, and the Debug toggle seated at its trailing edge (the header checkbox is gone; the header keeps title + engine status + session chip). Finish-audit (3 reviewers) hardened it: interpreted markdown opens http(s) ONLY — an `openURL` gate at the sink (engine prose echoes imported content, so a lying label-over-scheme link can never reach a registered handler; pinned via the pure `linkVerdict` seam), Caps Lock no longer turns Shift+Return into a send (pinned), and the two plain-Button toggles speak their state to VoiceOver. Suite 584, flip-verified pins (issue #155)
|
||||
|
||||
- **launch:** Gateless launch (#151, wayfinder map #148) — every launch opened a blocking EngineGate sheet over a placeholder logo, ran `hermes acp --check` behind it, and only handed over the workspace on pass + Start Writing; a provisioning failure then raised a second modal sheet (`ProvisioningFailureCard`). Now the workspace IS the first frame: the posts scan starts immediately, the engine check runs async beside it (`AppGateState.startLaunchCheck` from `ContentView.task` — the gate era's exact auto-fire chain moved verbatim: provisioning ×3 then the daily backup on pass, once per app-launch, first window only, no-op under hosted tests), and engine state never interrupts — a 44×44 rail pill above Archive (pulsing accent dot while checking, warning glyph on an accent wash when failed, nothing at all once healthy — the slot collapses and the rail spacing closes) plus mono-10 mentor-pane header states ("checking the engine…" / "engine missing" / "setup failed" / `hermes <base>` once ready — the BASE version, not the gate's derived string; session chip renders only once ready). Failure auto-expands an anchored floating card at the rail's bottom-left (340pt, accent border — floats, never blocks): engine-missing carries #40's install steps with the gateless correction ("Passes and Sessions need it — the editor keeps working"), Copy, Installation guide, Re-check (disabled-while-checking, "Checking…"), and Technical details (stderr + probed path); provisioning failure rides the same card (failing profile named, Retry inline — a successful retry dismisses it). Panes spawn the engine the moment the check lands (`.task(id: binaryPath)` on the nil→value arrival). `state.json` semantics unchanged (About still reads it). The gate sheet, placeholder screen, `EngineGateView`, and `ProvisioningFailureCard` are deleted; #38's no-silent-degradation AC survives, carried by the pill. New pins in `GatelessLaunchTests` (hosted-test no-op, chain armed, pill + mentor-header visibility mappings); `EngineGateTests` untouched and green. Finish-audit pass: the Sessions pane gains the same honest missing-engine notice (never an eternal "Starting…" spinner), focus mode recesses the fail card with the rail (deep work uninterrupted; exiting focus restores it), and the dead `deferFailure` (#48's Not-Now) is deleted with its test. Suite 582 (issues #148–#151)
|
||||
|
||||
### Added
|
||||
|
||||
Reference in new issue
Block a user