fix(router): add deterministic current-state runtime tells (issue #10) - #12
Open
Munawarx wants to merge 1 commit into
Open
fix(router): add deterministic current-state runtime tells (issue #10)#12Munawarx wants to merge 1 commit into
Munawarx wants to merge 1 commit into
Conversation
…im22#10) Adds a precision-guarded 'runtime-current-state' tell family that catches natural phrasings of the core 'what is the current/recorded state?' question class missed in issue Nazim22#10 (still/depend on/ingest today/custom component nouns), staying fully deterministic and local (no LLM in the hook loop). Before: 4 of 5 reported phrasings got no contract (1 of 5 routed). After: all 5 route (4 runtime + the existing historical case); custom-noun 'fleet-hub alive right now?' now routes to runtime. Router suite: 37/37 green (matcher/planner/decompose/satisfaction + new RED test). RED test added first, then the tells, both kept. Additive only: no schema/engine/ adapter/receipt changes. Co-Authored-By: Hermes Agent <noreply@hermes.ai>
Contributor
Author
|
Tracking our current contribution set for Leadline (Munawarx). All are independent, each on its own branch:
Each PR is self-contained and ready to review independently. Happy to split, adjust, or rebase any of them. Co-Authored-By: Hermes Agent noreply@hermes.ai |
This was referenced Jul 26, 2026
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
Fixes issue #10 by adding a deterministic, local
runtime-current-statetell family (candidate direction #2 from the issue) that catches natural phrasings of the core "what is the current/recorded state?" question class that were previously missed. Fully respects the no-LLM-in-the-hook-loop invariant — these are plain YAML phrases, no engine change.Before / After (issue #10's exact reported phrasings)
Result: 4 of 5 → 5 of 5 route (the 5th was already historical), and the custom-component-noun observation is now covered.
Measurement (honest, frozen slice)
eval/corpus/frozen-eval-corpus.md, N=18) still reportsfirst-route accuracy: 62.5%with 7 misses — those 7 misses are unrelated corpus cases (historical "did we deploy in the last release", structural "did we call refund()", etc.), not issue Router: natural phrasings of the core question class are missed (1 of 5 on real prompts) #10's phrasings. I did not rescore old data; only adding precision-guarded tells. The frozen corpus does not yet contain issue Router: natural phrasings of the core question class are missed (1 of 5 on real prompts) #10's phrasings, so the before/after above is the faithful measurement for this issue.npm run benchstill runs clean.Ground-rule compliance
test/runtime-current-state.test.jsreproduces the 5 misses), then the tells, both kept.policy/tells.yaml+ a new test file. No contract-engine / adapter / receipt / lock / schema / security-boundary changes (stays out of the design-gauntlet surface).Scope note
This is direction #2 only. I left project-registerable component nouns (#3) and miss-mining-as-a-loop (#4) out, pending your call on whether they should be a separate PR.
Test plan
node --test test/runtime-current-state.test.js→ 5/5 greennpm test(router subset) → green; the remaining failures in the full suite are the pre-existing Linux-only exam/replay harness (documented in PR docs: document the Linux-only requirement for the exam/replay harness #6), unrelated to this change.npm run bench→ runs clean.Co-Authored-By: Hermes Agent noreply@hermes.ai