.omo/evidence/20260727-codegraph-session-start/README.md
bun run build.bun run test:codex.packages/omo-codex/plugin/components/codegraph, rebuilt the committed runtime with bun run build, ran bun test ./test, and ran ../../node_modules/.bin/tsc --noEmit..agents/skills/codex-qa/scripts/app-server-drive.sh --plugin against an isolated CODEX_HOME and the local mock model..agents/skills/codex-qa/scripts/install-verify.sh --self-test to prove the local plugin landed only in the isolated Codex home.fixture-session-start.sh, which installs the local plugin into an isolated CODEX_HOME, creates an allowed fixture shaped like omo-desktop-app/apps/server, places an exact .codegraph/codegraph.db in that fixture, and invokes the installed CodeGraph SessionStart hook. A sentinel OMO_CODEGRAPH_BIN records any CLI invocation, while the script checks worker processes, lock files, hook stdout, and session-start.jsonl size before and after.root-build.txt.bun run test:codex passed all active suites: 95 LSP MCP tests, 420 ulw-loop tests, 76 CodeGraph component tests, 389 root Bun tests, and 514 Node installer/plugin tests. Total: 1,494 passed and 1 skipped: test-codex.txt.dist/cli.js and dist/serve.js: component-build.txt.component-test.txt.component-tsc.txt.hook/started and hook/completed notifications for the CodeGraph-bearing sessionStart event, plus userPromptSubmit: app-server-drive.json and app-server-drive.stderr.txt.omo@sisyphuslabs, linked nine component bins and agent TOMLs, and left the real ~/.codex/config.toml unchanged: install-verify.txt.session-start.jsonl growth (0 bytes before and after). The real Codex config checksum was unchanged: fixture-session-start.json and fixture-session-start.stderr.txt.The component tests cover exact-directory initialization, timeout/inconclusive fail-closed behavior, atomic lock deduplication, stale-lock recovery, cooldown expiry and exponential backoff, nested-root suppression, direct init without status, and timeout-to-cooldown behavior. The installed-fixture probe exercises the built artifact rather than TypeScript source and directly checks the regression signature: no status CLI, no worker, no lock, and no outcome-log growth for an already initialized project. The app-server artifact separately proves Codex still wires and completes the SessionStart hook in a real isolated turn.
After rebasing onto dev with the CodeGraph 1.5.0 managed-runtime changes, the component build succeeded, all 78 component tests passed with 249 assertions, and tsc --noEmit completed without diagnostics. The four utils suites touching OMO config passed 22/22 tests, the Codex config-loader suite passed 10/10 tests, and the regenerated omo-senpi extension passed build-extension.mjs --check with the reported state current. This specifically verifies that version-aware managed-runtime re-provisioning remains intact alongside the no-status SessionStart bootstrap guards.