Repository navigation
fix(omp): deliver transcript paths through status metadata - #19529
brennanb2025 wants to merge 2 commits into
Conversation
brennanb2025
left a comment
There was a problem hiding this comment.
Independent review of exact head ff72735b0181285c3b8a55e888cb61315fee2fec (local HEAD, remote branch and draft head matched).
SCOPED CLEAN: no issues found in OMP transcript metadata delivery. This is not merge approval, full STA-3650 closure or plain-SSH enablement.
- Functional correctness: independently reproduced 171/171 tests across eight files, scoped lint, and all three sequential node/web/CLI typechecks. Removing either producer delivery or extractor retention caused the same four expected failures (both modes: existing custom-path resolution and delayed creation), with seven controls passing; cp restoration compared byte-for-byte and tracked source stayed clean.
- Architectural fit: both producers already had the provider-owned path, and the extractor separately discarded it. Delivering the optional field through the existing owner removes both omissions. A parallel locator, scan retry or file-based OMP resume would add a new mechanism without addressing another demonstrated failure. ID resume, explicit resume-file override, ephemeral suppression and the SSH availability gate remain intact.
- Concrete precedent / deviations: inspected Claude/Codex optional path extraction, Pi's session_file extraction, the existing exact-path resolver and metadata fanout/path invalidation. Pi requires a persisted path for resume; OMP intentionally remains ID-resumable before file creation. No external provider-source alignment is claimed.
- Observed manual validation / gaps: four real loopback HTTP cases exercised current and pinned pre-change generated producers in both modes against current/pinned extraction; optional-path compatibility and resume identity held. A fresh isolated hidden Electron build matched the child/branch and actual preload/main native-chat IPC returned both independent synthetic custom-transcript messages. The uncropped renderer screenshot showed onboarding with OMP listed, not the changed chat view. Actual persistent provider turn, provider-to-rendered-chat journey, Windows/WSL runtime, full mixed-peer runtime, SSH and mobile remain unverified; no inference or real profiles were used.
The performance oracle passed: existing custom paths resolve with zero directory walks; absent/delayed paths retain fallback and cancellation controls. The patch adds one optional string per event, with no new polling, scan or subprocess. The standalone PR body accurately limits its scope and validation claims. Owned Electron processes were command-verified before termination, ports cleared, and source/HEAD preserved.
Adopt #19529 on the child-session ownership fence. Preserve id-based resume and execution-host transcript boundaries. Co-authored-by: Brennan Benson <[email protected]>
* fix(omp): publish owning session transcript paths Adopt #19529 on the child-session ownership fence. Preserve id-based resume and execution-host transcript boundaries. Co-authored-by: Brennan Benson <[email protected]> * test(omp): render authoritative transcript reader output --------- Co-authored-by: Brennan Benson <[email protected]>
|
Superseded by #20615 (OMP transcript path publication), which contains the current implementation and verification on . Closing this stale duplicate so review stays on the maintained PR. |
|
Superseded by #20615. |
ELI5
OMP already knows where it stores a conversation. Orca now receives that path so native chat can open an existing custom-directory transcript directly.
What Changed
Both the dedicated OMP extension and the Pi extension running under OMP publish
session_file. The existing provider-session extractor retains it as optionaltranscriptPath, feeding the existing execution-host resolver. Session-ID resume, explicit resume-file overrides, ephemeral-session suppression, and the SSH availability gate retain their behavior.Why
The path was lost at both the producer and extractor boundaries. Delivering it through the existing metadata owner removes those omissions without introducing another transcript locator.
Linked Issue
Addresses the metadata-delivery portion of STA-3650. Plain-SSH native-chat enablement remains separate and is not claimed complete.
Visual Proof
Hidden Electron startup was inspected in an isolated profile. The real native-chat IPC reader returned both expected messages from a synthetic custom-directory OMP transcript; the chat view itself was not exercised, so no before/after rendered transcript proof is claimed.
Testing
Review
Independent architecture review pending. This is a scoped draft, not full-ticket closure or merge approval.
Agent skill upstream boundary