feat(hosts): omp and hermes cli; transcript format sniffing - #27
Merged
Conversation
Oh My Pi writes pi's format under ~/.omp/agent/sessions and reuses pi's override variables; the omp module is pi's reader over that root. Timestamp formatting moves to a shared time module. refs #24
Hermes keeps conversations in ~/.hermes/state.db (WAL); messages_for_session opens it read-only (mode=ro, immutable=1 fallback) and reads the newest active rows of a session id with one indexed query. rusqlite 0.31 with the bundled feature. refs #25
Host::Omp and Host::Hermes in the host table and detection chain (OMPCODE selects omp last, AI_AGENT=omp before pi's flag). A --session path given without a host is recognised by its first lines. --session-id addresses hosts without transcript files. README and decision 14 updated. refs #24 refs #25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Second half of #24 / #25.
omphost: pi's format under~/.omp/agent(delegates to the pi reader).hermeshost:~/.hermes/state.db(HERMES_HOME), session id from Herdr or--session-id; opened read-only (mode=ro, falling back toimmutable=1), never writes; test proves a live WAL db is read without creating -wal/-shm/-journal files. Addsrusqlite(bundled) to the hosts crate.sniff(): a session path without a known host is recognised by its first lines (pi/omp, Copilot, Codex, Droid, Claude).PLANNOTATOR_TUI_SESSION_IDthrough.Not verified against real omp/Hermes data (none on this machine); the reporter offered to test. Windows: the bundled SQLite build could not be cross-checked from macOS — the post-merge Windows job is the real check.