Repository navigation
Conversation
before_agent_start no longer awaits a Python spawn. A missing Kerdoios interpreter returns without a subprocess. Groq quota projects without kerdoios.quota. Nous OAuth resolves in the Hermes venv so the bridge interpreter does not import ruamel. Tracks #139.
kvnloo
marked this pull request as draft
October 8, 2026 16:57
…lt hook spawn-free Operator-enabled OMP automatic specialization retains its prior model-visible context and delivery receipt; the default-disabled path stays nonblocking with resident shadow scheduling. Add a real TS extension + Python automatic-adapter loopback regression exercising the original OMP hook surface. Tracks #139.
4 tasks
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.
Summary
before_agent_startno longer awaits a freshpython -m z0int.automaticspawn. Receipts defer to the resident bridge worker. Hook RTT is recorded.kerdoios planstays off this path.kerdoios.quotais missing.ruamel.Tracks #139.
Validation
PYTHONPATH=src python3 -m pytest tests/test_hot_path.py tests/test_free_fanout.py— 8 passed on this branch.scheduleOmpAutomaticp50 0 ms,spawn: false. Prior warm spawn was 478 ms.ruamel_imported False. The key was not printed.Not in this PR
OMP skill-compression 402 storms, TSP credit stalls, and parent-model inheritance for task subagents. Those are tracked on #139 and are not this repo.
2026-10-08 exact-head CI repair
tests/test_bridge_worker.pyruntime stubs now restore after each unittest; previously they contaminatedtest_hot_path.pyin the combined suite.automatic-client.mjsfrom the checked-out repository rather than a machine-specific/mnt/zer0modelspath.quota.dimensionsresponse shape, with explicit sources and reset windows. Added fallback assertions.c9f79af: 5 failed / 956 passed / 8 skipped / 5 live deselected. Failure log. Exact-head core unit CI 37815538738 completed successfully; the prior evidence receipt failed solely because this repository's minimal YAML parser does not strip quotes from SHA fields.Promotion hold
Removing
before_agent_start's old context response must not silently remove model-visible z0 context injection. Before default activation, verify a real OMP turn receives the intended evidence (or explicitly document the change as a separate opt-in behavior), and compare end-to-end outcome/cost, not just hook RTT. CI does not establish that runtime acceptance.Evidence receipt
Context-delivery correction (2026-10-08)
The first hot-path implementation silently changed operator-enabled OMP automatic specialization:
before_agent_startreturnedundefinedeven whenautomatic.pyproducedaction=context; the deferred bridge op records a receipt but cannot inject into the active turn. This would have made the hook look faster by dropping model-visible work.Commit
2f96041restores the previous explicit opt-in context path. Default-disabled sessions retain the spawn-free fast path. The newtests/test_omp_hook_context.pyexercises the registered TS OMP hook through the real Pythonautomatic.pysubprocess and a loopback fixture: disabled returns native/no provider call; enabled emits the model-visible specialized context and a consumption receipt.Tradeoff: operator-enabled specialization still incurs the previous blocking Python call; this PR does not claim a 0 ms hook for enabled specialization. A future resident, synchronous delivery contract requires separate measured work. Exact-head core unit run 37815538738 passed, and receipt run 37834154703 passed. The new real-hook test is committed but installed OMP runtime acceptance and outcome-based latency comparison remain unverified. Retain draft until then.