Skip to content

Make Codex and Claude Code subscriptions go further: a local model router that gives routine agent work to economical models and keeps your strongest model for the hard parts.

11.7 KB
Raw Blame

Observation repair during the decision-routing experiments

The two executors paused at native-turn boundaries after the writing lane found missing HiRoute content captures. No article quality grading or blind mapping disclosure preceded the repair. The parent owns product changes, deployment and CU verification; executors resume only after the shared release record is ready.

The original running product was 63af75ce. At 7d69fa59, the parent bounded background index selection under the ingestion lock and derived content completeness per request and required direction. An unscored native turn with 139,911 input tokens and six output tokens then captured both directions completely. This used the sixteenth and final reserved preflight turn. Historical gaps remain gaps; successful later capture does not recover earlier missing text.

CU then exposed two read-side defects on the accumulated history: text search scanned and sorted historical content before applying its page limit, and a successful first-title preview could overwrite a session's incomplete badge. 62e8f504 bounds search directory work, carries known index gaps across the existing cursor, and exposes authorized request completeness in session summaries. It also makes legacy status gap-detail truncation explicit instead of treating more than 200 gaps as an unavailable store. 4daf1d81 aligns the regression fixtures with the current query and UI contracts. 9daf621a adds a covering index for the status query's byte total, avoiding historical blob-table reads that exceeded the same query deadline. The private release record binds actual deployed binaries, validation and CU evidence to their source revision; this document alone does not establish a passing deployment.

These repairs change observation, not the experimental model requests. Published plans, decision prompts and service revision, native effort controls, task files, stage order and independent grading stay frozen. The user's unlimited token budget and 272k context settings remained in effect at this checkpoint, including the then-existing twelve-minute per-turn interruption guard. The later user amendment removes that guard; it is not the current execution policy.

Continue only never-executed stages in the same native conversations: the audit lane resumes M-2 stages 3–6, then S-2 and F-2; the writing lane resumes GH-1 stages 3–4, then the remaining registered pipelines. Recovery of GH-1 stage 2 uses its already completed native result without a model replay; retain the fact that four of its six gateway requests lack exact prompt capture. Earlier partial or interrupted work and the invalid primary F-1 remain in the accounting. This continuation follows the user's resource amendment rather than restarting matched blocks from the original protocol.

Mark every subsequent native stage with the actual product revision. Keep paused wall time, shared-load execution and revisions visible in results; do not pool these timings into an isolated model-speed claim. No extra paid preflights or quality-driven retries are introduced. Preserve raw prompts, responses, logs, private identifiers and credentials outside the repository. Later public claims must include these observation limitations and protocol amendments.

Native tool continuation discovered after resumption

The audit lane's S-2 emitted a Responses function call with an empty name and argument string. The native client recorded an unsupported-tool result, then HiRoute rejected every continuation at canonical request parsing. The same protocol response projector preserves the provider's name; the native rollout and the parser regression establish the failing boundary. No private upstream wire dump exists, so the precise provider event origin is not independently reconstructed from observation content.

All six S-2 native turns remain frozen. Only the first reached the model; stages 2–6 inherited the poisoned history and made no additional gateway attempt. Its zero final assertions cannot be used as an isolated model-quality measurement. The private executor stops after a newly executed structured gateway error and preserves that result before starting another stage. This includes canonical parsing, authentication, authorization, routing and upstream-contract errors, including a typed body prefixed by the native HTTP diagnostic. The same guard applies if the registered transport-only retry encounters a product error. Completed turns, the registered interruption guard and the existing bounded transport-only retry rule remain unchanged. This does not introduce a retry, erase a failed turn, or alter the task prompts.

The product repair accepts empty model-generated names only in Responses tool history on the native protocol path. It preserves failed history while still rejecting invalid tool declarations, call IDs and cross-protocol use. The regression first fails with InvalidField("name") on the pre-repair candidate; the existing authenticated listener journey also covers receiving the failed call and returning its result. The private release record identifies the repair candidate and evidence before further model work.

After this hold, the audit lane has only F-2 left. The writing lane continues QH-2 stage 4 in its existing conversation, followed by GM-2, XH-2 and QM-2. Earlier completed or interrupted stages are not replayed. Existing resource, blind evaluation, cost and revision limitations continue to apply.

Host restart and persistent runtime recovery

A host restart removed the temporary HiRoute runtime. The user confirmed that it had not been moved elsewhere and requested a persistent runtime directory. Native conversations, subject workspaces, article snapshots and 62 saved stage results survived in the experiment's HOME evidence directory. The parent did not replay any completed or interrupted stage or reconstruct a complete observation history from an older diagnostic database.

The parent restored the three-model Bailian Token Plan source, OpenRouter Jev service and the five plans needed by the remaining stages through ordinary Desktop Computer Use. The runtime, configuration backup and pinned native executable now live under ~/HiRoute-experiments/decision-20261006. Public readback confirms identical model capabilities, task prompts, branch conditions, competence criteria, effort profiles, fallback choice and request limits after normalizing regenerated internal identifiers. Model aliases stay unchanged. The native catalog retains the default 272,000-token context; its display order can differ because only the five still-needed plans were recreated.

The local port and grant were rotated in the five isolated native profiles. Read restrictions and the single-local-listener network boundary were rechecked for each subject, including child processes. The installed app's native client had updated to 0.160.1; a locally available 0.160.0 executable was pinned for continuation, matching the version recorded in the earlier native conversations. Its hash is now recorded; the deleted app version's executable hash was not available for a byte-for-byte comparison. No new paid preflight was added.

Continue only F-2 and the writing sequence QH-2 stage 4, GM-2, XH-2, QM-2. QH-2 keeps its native thread, prior article files and stage results, but the old gateway session and competence state are lost. Its last stage is therefore a separate post-restart observation segment, not evidence of an uninterrupted routing lifecycle. Historical receipts and screenshots remain valid at their recorded revisions, while missing live observations stay missing. The private recovery report binds semantic comparisons, rotated identifiers, unchanged result hashes, isolation checks and backups. Subsequent stages use production revision f507db30; the later dfa9438f change corrects only the new regression fixture. These recovery and version limits must accompany any eventual comparison or public claim.

Live capture memory and history bursts

The recovered runtime completed all six F-2 coding stages, but ordinary Desktop CU correctly showed incomplete observation. Persisted abort receipts identified the capture memory limit; producer feedback separately recorded a full content queue followed by missing-prerequisite NACKs. The writer stopped after XH-2 stage 3 reached its existing 720-second guard. Its result remains partial with an unknown usage tail, and only five never-executed writing stages remain.

A no-model-cost gateway regression reproduced the memory failure: a delivered 32 KiB answer split into 4,000 small deltas exhausted the former cumulative wire reservation after roughly 2,685 canonical appends. Capture now reuses the existing shared stream budget for live decoder/projector state, queued copies and unaccepted correlation content; processed transport copies release their charge. Hard-limit, concurrent-state and cancellation tests accompany the real gateway regression. The daemon's lazy bounded queues increase from 4 to 16 MiB to absorb representative two-request history bursts; overflow remains explicit and never blocks execution. This does not restore previous missing content.

Resume only XH-2 stage 4 and QM-2 stages 1–4 after candidate checks, persistent deployment and CU startup verification. The private report records exact tested and deployed revisions and the remaining formal requests provide the next real capture evidence. There is no additional paid preflight, replay or quality retry.

The private executor now accepts an explicit stage boundary. For QM-2, invoke stages 1 through 4 separately, checking each completed stage's persisted content before starting the next. Resumption loads earlier frozen results; it neither replays them nor prematurely finalizes the four-stage replicate. Nine offline boundary controls and the twelve existing gateway-error controls cover this zero-model-call harness change. The already running XH-2 final review keeps its previous loaded executor; task prompts, retry allowance and stage order stay fixed.

Completed product continuation and final CU

The selected final candidate is d704c03f. Four subsequent naturally completed native stages (XH-2 stage 4 and QM-2 stages 2–4) contain 31 real requests. Request-scoped audits find complete request input and delivered response capture for every one, with zero capture aborts and zero request-scoped content gaps. QM-2 stage 1 is separate: its old 720-second interruption cancelled its final request; 19 other requests completed. That expected abort is retained, not counted as complete capture. The user removed the turn limit before stages 3–4; stage 3 then naturally completed in 1,090.896 seconds without an additional paid probe.

After freezing article scores and review diagnoses, parent Computer Use checked ordinary Desktop plan performance and live session observations. QM-2 Writing ordinal 3 shows raw competence 0.935 (displayed 0.94), matching both views, while Review remains separate and its last stage remains unscored without a later feedback trigger. Historical partial evidence in GM-2 and XH-2 remains explicit; the post-restart QH-2 observation does not recreate missing earlier stages. The deployment restart also starts a new in-memory ordinal interval for XH-2; do not equate those ordinals with a continuous four-turn experiment counter.

The private final addendum links screenshots, accessibility states, per-request capture audit hashes and exact candidate validation. Original failures and intermediate reports retain their recorded revisions. The consolidated experiment results distinguish functional delivery, capture completeness, routing competence and independent editorial quality. No paid replay or extra editorial turn was introduced to fill historical evidence gaps.