feat(runtime): align host and doctor truth - #34
Merged
Conversation
Adopt host-native role identity and current Claude plugin guidance, enforce physical reviewability accounting, split doctor source and installed scopes, and bump the release to 0.12.3.
beefiker
marked this pull request as ready for review
July 23, 2026 09:55
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
doctor --scope source|installedselection with strict argument validation0.12.3Why
The downloaded runtime-truth ledger contained a small set of useful fixes, but also included stale and inactive sidecars. This PR applies only the four current-main slices that improve runtime truth without importing unrelated provenance, evaluator, registry, filesystem, wrapper, or Windows-native machinery.
A deep pre-PR review also found and fixed two minor gaps: the standalone audit test now reuses the production reviewability helpers, and doctor’s dispatch-coherence comment now describes the host-owned role model accurately.
Impact
Codex and Claude callbacks now use exact host-specific identities, doctor can distinguish source health from installed health, documentation matches the current Claude plugin update flow, and reviewability checks no longer undercount physical lines or omit
.mjs,.cjs, and.ymlfiles.Validation
npm test— 664 passed, 0 failednode --test test/audit.test.js test/doctor.test.js— 30 passed, 0 failednode src/cli.js doctor --scope source --json—ok: truedoctor --scope installed --root . --json—ok: truenode scripts/sync-version.mjs— 0 updates; all manifests already0.12.3npm pack --dry-run --json --ignore-scripts—superloopy@0.12.3, 507 filesgit diff --check