fix(paseo-omp): correlate terminal events by request - #81
Conversation
685dd02 to
302088d
Compare
302088d to
eb8ff1d
Compare
eb8ff1d to
5ced640
Compare
|
Tested this branch against the fault it targets. Short version: it fixes the second-prompt failure when paired with an OMP build that carries can1357/oh-my-pi#12331, and it does not change the outcome on any published OMP (18.2.1 and 18.2.4 both still fail). What we see in productionPaseo 0.8.0, MethodNo daemon. I reused the shape of
Result (prompt 1 / 2 / 3)
(Prompt 3 is "–" where prompt 2 failed because the harness uses Focused suites on this branch: Why published OMP still failsOn an ordinary later turn the only sources of Two suggestions, take or leave:
Happy to share the three-prompt test file if useful. |
Summary
agent_endonly when its RPCrequestIdmatches the active promptCompanion OMP protocol change: can1357/oh-my-pi#12331
Evidence
Today’s daemon logs contained 12
OMP terminal ownership could not be confirmedfailures across six persisted sessions. Each was followed by a native OMPSIGTERMat the two-second ownership deadline. Request identity on the terminal itself removes that ambiguity without trusting branch text, idle state, or event timing.Verification
npm test -- tests/provider.test.ts tests/omp-rpc.test.ts: 359 passednpm run typecheck: passednpm run check: passednpm test: 684 passed, 3 skippedRelease Please owns
CHANGELOG.mdand package versions, so neither is changed.