Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

80.3 KB
Raw Blame

Model Hub engine reasoning-intent assessment

Status: locally SOURCE-qualified seventh-round inactive source, unshipped; final-byte qualification and a conditional LOCAL commit remain ahead. Exact5abe's historical source acceptance and renewed review exposed writable host RNG authority. The original four-file construction-only release covered finite device subtraction, connected HOST regressions and bounded qualification. After independent source inspection and checks, root accepted those dirty bytes and released final prose qualification followed by one conditional local commit. Remote delivery, clean review, seven-thread closure, OS and merge acceptance remain held. The orchestrator accepted the earlier configured-storage/preparation and nested private-context functionality only for its exact historical snapshot: 1,076 pure tests, one bounded Linux context diagnostic and independent native original-file readback. Those results and the successful CI on e2d9c6361350 do not validate the new recipe bytes. The orchestrator independently inspected the sixth-head correction and accepted its bounded source mechanisms for renewed review. Neither that acceptance nor its exact5abe tests validate the seventh-round device subtraction. The orchestrator explicitly adjusted its supplementary source-evidence criterion; the old Watch's raw outer streams remain unavailable and complete original transport accounting remains UNMET. No new recipe Linux/privileged/ Go/build/wire/fullphase or selected-engine-build execution is claimed. The preceding second-round recipe's 361 pure tests and separate complete lane/orchestrator Linux arm64 test/build/wire runs remain historical, as do the macOS, watcher-only failure and earlier receipt qualifications. Fresh exact-head Codex/CI gates and zero unresolved threads remain required. Shipping additionally needs separate provenance/publication authority. No Avibe runtime code, config, manifest, guard or workflow changed; the installed engine behavior is unchanged.

Owner: lane D, Session sesm5hv4yk5c8; orchestrator: Session sesvmgbdub2gp.

Delivery: the owner's independent-PR decision at 752c1def8 supersedes the earlier no-lane-push/combined-PR plan. This lane submits one Avibe PR containing only its inactive source/test candidate and assessment, plus the shared root-owned contract. The orchestrator independently verifies exact-head review, CI and source acceptance, and alone executes any gated merge. An Avibe PR merge does not ship the engine change or authorize engine publication.

Recommendation

The pinned engine cannot express the requested policy through its existing configuration. A small source change is necessary. For example, a native Responses request with reasoning.effort: none reaches a mock upstream as low for the pinned gpt-5.4 catalog row, or as high when the configured levels are [high, low]. A custom model without metadata loses the entire reasoning object. These are actual HTTP observations, not adapter simulations.

Keep Avibe's Source/model registration and identity intact. Change the engine's shared thinking boundary to distinguish native wire intent from conversion: preserve native controls independently of catalog metadata, preserve explicit disable through conversion, and use capability-free conversion when the selected model has no thinking metadata. Continue using known metadata for genuine cross-protocol positive-intent conversion.

Maintain the candidate source/test patch against the exact upstream commit, with a reproducible local build and HTTP fixture. Do not ship an Avibe manifest change until an authorized, truthful source/release route exists and all required assets are published and verified.

Seventh reviewed-head correction — finite device subtraction; OS gates UNMET

Terminal review 5162069141 binds exact5abe and original 3974966709. The complete circuit contains seven findings-bearing heads/nineteen originals, twelve resolved/seven unresolved; eighteen empty owner envelopes and the Completed summary are not passes. Sole exact5abe lint 34429289014, attempt1, and all seventeen jobs succeeded, but OPEN/non-draft/CLEAN does not override the repeated external-resource-authority family or unresolved review gates.

The existing finite system owner subtracts /dev/random and /dev/urandom; only null/zero retain their original type, exact major/minor, root ownership, O_PATH/no-follow admission and FD custody. Identity admission and O_PATH acquisition alone do not constrain a later writable device bind, and a readonly label is not substituted for removing RNG authority. No replacement device, descriptor, provider, service, syscall filter or fallback is introduced. Syscall randomness remains unchanged; consumers needing an absent RNG path must fail startup closed. Pinned Go/Python source references do not establish compatibility of every unexecuted diagnostic consumer.

Connected regressions pass actual pin output through the existing parent, fixed handoff and private mount owner, covering the full positive device/ directory/alias set, non-ASCII input/output labels, exact bind/remount flags, NODEV on non-device resources, state/output-only writable directories and received-FD closure after success or partial failure. Admission rejects wrong device identities/types and unexpected aliases. Only task-owned regular backing and intercepted host metadata/effects are used; no real RNG device, mount, unshare, keyring or chroot operation runs. Existing private-rootfs, NODEV, descriptor-closure and capability-drop premises remain source-level companions against alternate paths/handles, not kernel enforcement.

The preceding final bytes passed the lane's 1,457-case pure run in 18.32 seconds, Ruff 0.4.9 and syntax/whitespace checks before the local5abe commit. Root then independently passed 1,457 cases in 17.34 seconds on exact5abe before source acceptance and bounded delivery. Those results and all earlier failures remain bound to their original bytes. The seventh-round construction handoff returned unstaged/uncommitted source: lane checks passed 279 focused cases in 3.13 seconds and 1,482 complete cases in 19.20 seconds, with Ruff 0.4.9 and static/whitespace checks. Root inspected that exact candidate and independently passed 1,482 cases in 18.62 seconds before accepting its inactive source. These checks precede this final prose freeze, not the separately released final-byte qualification and conditional local commit. New outcomes belong only in the external return; no maintained prose changes follow validation. Root must independently accept any resulting committed bytes before later delivery. All OS/startup and publication gates, content-custody prerequisites and OLD Watch transport UNMET persist.

Historical sixth reviewed-head correction — source inspected; OS gates UNMET

The September 10, 2026 Asia/Shanghai root circuit decision first released a bounded local source correction and finite HOST qualification, then independent source inspection accepted that candidate for final prose qualification and a conditional local-only commit. Reviewed head 90cfc9b3dc99d54607561eb91783c69690c4888e has terminal findings review 5160886376: macOS service IPC (3973908442) and multiply-linked source closure (3973908447). The complete history contains six findings-bearing heads and eighteen originals: twelve resolved, six unresolved. The four preceding findings remain open. All seventeen exact90 CI jobs succeeded; there is no clean Codex verdict, closure, merge or OS acceptance.

The existing macOS policy owner now starts from default-deny. Its only positive non-file operations are process-exec and process-fork; no Mach/XPC, POSIX/System V IPC, IOKit, job, signal or sysctl grants are introduced. Explicit network/file denies and finite task/input file grants retain the same original StorageContext and home/protected/alias exclusions. Process grants do not grant file paths. Missing startup operations fail closed: constructed policy and intercepted argv do not demonstrate kernel enforcement, inherited-port confinement or a supported startup closure.

The existing execution-input regular-file owner admits a single-link regular inode via no-follow/nonblocking descriptor, reads those bytes and checks observed pathname/descriptor and metadata continuity on entry and completion, closing partial acquisitions and failed reads. Source/fixture/recipe digests and verify's actual input/candidate reads reuse it; public apply also admits the complete source closure before a patch write. Sorted relative names, kind tags, length-prefixed encoding and supported internal symlink rules are unchanged; normal single-link trees keep their original digests and pins. Preexisting writable hardlink aliases and observed drift are refused, not repaired. This is not an atomic snapshot or protection against an unconstrained outside writer creating a later alias or changing bytes. Trusted preparation and content custody throughout the interval, and the intended readonly mount boundary, remain explicit independent prerequisites.

New consuming regressions cover policy grants/argv/refusals, real task-only hardlinks, direct source/candidate reads, complete apply admission, phase pre-command and wire pre-import refusal, observed replacement/link-count/type changes, nonblocking FIFO rejection and descriptor closure. Before this final prose update, the lane passed 1,001 focused cases in 24.27 seconds and 1,457 complete pure cases in 17.63 seconds; the orchestrator independently passed 1,457 in 17.54 seconds. Each run exited zero without skips, warnings or deselections. Lane Ruff 0.4.9 checked all fifteen Python files; fifteen ASTs, all ten fenced blocks, nine shell and six embedded Python syntax checks reconciled. Precisely scoped whitespace checks had empty diagnostic streams; their raw content-difference exits remain one, not rewritten zero. These are overlapping source checks on the inspected pre-final-prose bytes, using the CURRENT readonly 23-file layout described below, not OS evidence. The later exact5abe final-prose qualification, local commit and bounded delivery have separate external records, summarized above; thread closure and OS acceptance were never established by those source results. The namespace/filter/bootstrap/ownership-fixture contracts and native patch remain unchanged.

The preceding final exact90 source separately passed lane/root 1,420-case pure runs (17.16/16.15 seconds), Ruff 0.4.9 and static/whitespace checks before inactive-source acceptance and renewed review. These and the earlier pre-document 1,420/335 results below remain historical, not validation of this correction. Both failed macOS routes, all Linux execution gates, provenance/four-platform limits and OLD Watch raw transport UNMET persist.

Historical fifth reviewed-head candidate — pure HOST evidence; OS gates UNMET

The September 10, 2026 Asia/Shanghai circuit decision permits one local candidate directly after 10b1bdd80e20eea300c97baeda9fb120522e9a33, not delivery or execution acceptance. The complete pre-edit nine-collection inventory equals the independently consumed root snapshot root-1961-snapshot-10b1bdd80e20-20260909T191307308457Z.json (SHA256 3140fa9a88e8eef0dc6fc7d0e8fa1af1290d35a8877105df33291e26f681dfdd). There are five findings-bearing heads, sixteen original findings, seventeen review envelopes, twenty-eight inline objects, four issue comments and sixteen complete threads: twelve resolved, four unresolved. Twelve empty owner envelopes are not findings or clean passes. Review 5158126460 is terminal with findings on 10b1; no pending review or genuine exact-head clean verdict exists. Sole lint 34380925809, attempt 1, and all seventeen expected jobs succeeded. OPEN/non-draft/CLEAN does not establish readiness.

Fifth-head original Thread Boundary
3971583274 PRRT_kwDOPbFPYs6gxv_t Invoking UID's kernel keyrings
3971583287 PRRT_kwDOPbFPYs6gxv_2 Shared host IPC namespace
3971583298 PRRT_kwDOPbFPYs6gxv_6 Child bind-source and last privileged-effect custody
3971583305 PRRT_kwDOPbFPYs6gxwAA Complete captured-home macOS read isolation

These are namespace/storage owner corrections, not changes to prepared native intent, explicit disable, source-aware unknown conversion, xAI catalog-filter removal, Kimi native-object distinction or routing/auth/registration authority. The native patch, exact engine base, pins, fixture/apply implementations, budgets and execution-input/wire consumers remain frozen.

The candidate uses the exact inspected native Linux AArch64 little-endian64 11-instruction/88-byte BPF program (SHA256 196f5affb55a9d30299561255adb1027f9a985aba9762b9c66624ed5cded604d). It rejects foreign architecture/high-number compatibility paths, denies only add_key/request_key/keyctl with EPERM and allows other native low syscalls. A typed stdlib ctypes/prctl adapter retains the actual program/array through NNP installation, filter installation and ordered NNP1/Seccomp2 readback. Success alone supplies the immutable marker's exact ABI/program identity. The marker precedes readonly-remount/chroot and both dropped preflight and candidate; all actual evidence consumers require live zero capabilities, NNP1/Seccomp2 and complete mnt/net/pid/ipc identities bound to that marker. An anonymous session keyring or Seccomp2 by itself is not accepted proof.

One parent ExitStack, the existing unnamed handoff and private supervisor retain custody through reaping. Names after admission are diagnostic/mount labels, not resource reselection:

Resource Admission and retained consumer
Caller root Canonical original-storage admission, caller UID/directory/exact0700, one no-follow descriptor; rechecked before parent allocations/launch
Source, frozen fixture, inspected recipe, toolchain, Python environment Component-relative no-follow/nonblocking/close-on-exec directory pins, admitted dev/ino/type/uid/mode; direct libc bind from source FD, readonly/nosuid/nodev
Go archive Same component walk, regular-file pin, readonly FD bind; never treat a directory/device as an archive
Writable state Caller-UID directory pin and original-storage admission; writable/nosuid/nodev bind
Exclusive output Actual allocate_output descriptor retained; caller ownership/mode and parent receipt output identity; writable bind
Selected prior build Pinned beneath parent-owned runs; exact identity matches the successful prior parent-owned receipt; readonly bind
Rootfs/control Exclusive rootfs child of retained root-owned receipts/control FD; after tmpfs, reopen that protected child as the distinct overmount view
Target topology/metadata/marker Create and retain protected target-parent FDs and metadata files before any caller bind; remount via parent/component; marker written only after filter success
Bootstrap modules Authenticate bounded unnamed root-owned control first; pread only pinned budgets/isolation/namespace, verify all actual bytes against inspected digests before any module execution
System trees and four devices (historical) Explicit installed-system trust; finite pinned system directories/aliases; null/zero/random/urandom used Linux O_PATH/no-follow and exact character-device identities. The current seventh correction removes both RNG devices.
Chroot/closure/cleanup fchdir(new overmount view), chroot("."), chdir("/"); close host/input/setup FDs before preflight, unnamed proof before candidate; parent removes only original empty rootfs identity relative to retained control FD

Pinning a directory does not freeze mutable contents. Fixture/toolchain and inspected recipe/interpreter/standard-library/system content prerequisites remain separate. The candidate uses an explicitly typed direct libc mount adapter, not mount(8) configuration/helpers. HOST target strings and fake view replacement are not evidence of actual Linux proc-FD bind or remount semantics.

The macOS helper remains a finite pure-source diagnostic API. It requires explicit staged task/recipe/source/interpreter/system inputs, rejects every home/protected/alias overlap and broad home/project/system ancestor, and applies the same StorageContext admission to EVERY grant, including tools and system inputs. Its policy denies network, global reads and production writes; only admitted finite reads and task writes are granted. There is no global metadata permission, credential-name denylist, arbitrary fragment or unsandboxed fallback. The exact startup input closure is still unmeasured.

After the fixture's per-inode synthetic ownership correction, the lane passed 335 focused HOST cases (926 deselected). The orchestrator independently passed the complete seven-file pure suite: 1,420 passed in 25.07 seconds, exit 0, empty stderr and no skips, warnings or deselections. All 2,410 maintained entries and all 23 input-view files were unchanged before/after that run. It consumed hash-admitted CURRENT bytes in a readonly relative layout outside real homes: files 0444, directories 0555, separate task-writable execution and fresh HOME/XDG/product/temp roots. The independent outer HOST policy denied network, production writes and all real-home reads/metadata, without home-input exceptions. This admitted layout let strict README resolution reach its intended storage-refusal assertions without changing production or test code.

These tests consume emitted bytes, intercepted typed libc adapters, component/ancestor replacement, old/new overmount ordering, verified bootstrap bytes, finite unprivileged HOST FD/import children, marker/probe/parent receipts and synthetic macOS policy refusal. The emitted-program case's 5,140 decode assertions are internal to ONE test, not separate result rows or Linux execution. Pure passes are not lint/static qualification, independent source acceptance, OS enforcement or delivery.

Earlier lane originals remain failures: the complete run exited 1 with 1,071 passed/one failed when README strict resolution hit denied home ancestors before the intended refusal; the prior focused run exited 1 with 120 passed/ one failed/1,027 deselected on inconsistent synthetic GID metadata; the initial collection attempt exited 2 with zero tests. Their commands and streams remain unmodified. No Linux syscall, proc, mount, namespace, keyring, IPC, sudo/chroot, engine, network listener or candidate macOS sandbox execution is claimed.

Historical fourth-round 10b1 source acceptance included 1,190 HOST cases, pinned Ruff 0.4.9 and static/whitespace checks; root independently ran the same 1,190 without skips/warnings. Historical scratch mechanism evidence is 51 passing HOST tests and 5,140 executed decode assertions. Its original stdout contains program hex/digest, the count and 51-test summary, NOT 5,140 individual result records. Neither result validates this candidate's new bytes.

Both macOS mechanism attempts remain failures. The lane's nested command returned inner 71, empty stdout and sandbox-exec: sandbox_apply: Operation not permitted, outer 1; only five synthetic admission refusals ran. Root's separate single-profile child returned -6 with empty stdout/stderr and outer 1. All positive/negative child read/write assertions are UNMET. Root's earlier extra non-group-writable interpreter assumption failed preparation; the later identity correction retained the same root-owned0775 Python and access ceiling, without changing installed modes. No failure is relabeled or rerun here.

Remaining execution gates are native ABI/kernel filter support, actual fork/exec inheritance and harmless task-owned-key denial, IPC identity/resource separation, proc-FD mount/overmount/remount/chroot/cleanup continuity, and the macOS startup closure plus enforced synthetic positive/negative access. No new driver, synthetic kernel object, dependency or installed-state change was prepared by that candidate. At that checkpoint, independent root source inspection was still required; root alone can release later OS work or delivery.

All historical Linux/fullphase/Go/338/macOS/uv/watcher, raw-versus-tracked/cache, observer-versus-verifier and publication/four-platform qualifications below remain attached to their original bytes. OLD Watch raw outer transport remains permanently UNMET. The stale twelve-original root gate is not invoked or updated here. Original lane/root forever Watches and distinct cursor lineages remain enabled until a later explicit post-merge removal decision.

Historical fourth reviewed-head pre-envelope authority correction

The complete review inventory at the recorded scope decision contains four findings-bearing heads and twelve original findings: eight resolved historical threads and four unresolved threads. Review 5155993490 on e2d9c6361350c65929039338bc23a05ac720f8b7 is terminal with three real findings, not a clean pass. They concern caller root custody at the privileged writer (3969819318), ambient Python executable/import startup (3969819326), and ambient Git configuration/templates/hooks (3969819339). The older configured- storage finding 3965522776 remains unresolved/outdated. All seventeen matching CI jobs succeeded on that reviewed head; green CI does not override this repeated pre-effect authority circuit.

The same orchestrator independently diagnosed the complete inventory and authorized correction at the existing owners, without another lifecycle owner or engine-intent change. Directory topology and an earlier preparation check cannot grant custody to a later privileged writer. Body-only Python tests cannot validate interpreter startup, and a sanitized test environment cannot establish the real documented Git boundary.

The privileged parent now binds its admitted canonical root to one no-follow descriptor, verifies caller UID, directory type and exact mode 0700 before any receipt/run/rootfs allocation, and rechecks that identity at the actual allocation consumers. Rootfs creation and removal use the same held descriptor; pathname replacement refuses without repairing a supplied root or discarding prior evidence. Existing original-storage admission, parent receipt/private handoff ownership and finite phase budgets remain controlling.

Every pre-envelope README Python entry selects trusted absolute Python with isolated startup before explicitly importing the inspected canonical recipe. Original HOME/XDG/Avibe/Codex/Claude storage variables remain available for the shared original-context capture. The public direct-sudo parent and phase caller use the same bootstrap shape; failed context/export command substitutions stop their shell rather than continuing with an invalid value.

One command-local Git boundary is reused by preparation, fixture export and verify/apply. It uses the trusted executable and an empty init template, disables ambient/global/system configuration, hooks and executable helpers, and refuses non-bookkeeping local configuration before operational commands. This includes local includes, filters, fsmonitor, external diff, worktree redirection and alternate transport settings. Source/fixture pins and dirty/untracked/identity refusals remain unchanged. No installed Git setting is modified; prerequisite networking remains separately authorized future work.

The existing pure consumers retain the earlier assertions and add actual mocked-parent allocation/descriptor failures, real shell/isolated-interpreter startup with task-only shadows, and real task-only Git repositories exercising the maintained callers. Linux privilege/process/kernel seams remain mocked; the startup tests explicitly adapt only the trusted HOST Python path and omit sudo when invoking a finite fake parent import. No live guest or engine test is implied. New measured HOST results belong to the exact returned local proposal and its retained commands, not to the historical recipe below.

The README is intentionally changed by this separately authorized fourth-round repair. The earlier recipe tree e024eb07cff6df2db9caea0b400e171317b380d4 is historical. Its accepted then-unexecuted README notice and later bounded diagnostic remain distinct evidence; neither is silently relabeled as this recipe. The native patch, pinned source/fixture/toolchain declarations and wire/routing/auth/registration ownership remain unchanged. No push, thread mutation, new review trigger, merge or engine publication is authorized by this local correction.

Historical third reviewed-head configured-storage correction — source accepted, local only

The independent review inventory at that checkpoint contained three findings-bearing heads, eight resolved historical threads and one current unresolved finding, 3965522776, on reviewed head 79a47b8217463e49e06a80368718ed83068e6dcd. The repeated class is incomplete protection before setup writes, not a new engine-intent defect. The same orchestrator recorded a bounded scope decision before further changes. Successful CI and prior source runs do not waive it.

One original-user storage model now serves every existing public write-root consumer and the macOS deny-read policy. It includes passwd/effective HOME, the four fixed product directories, five XDG authorities and existing AVIBE_HOME/CODEX_HOME/CLAUDE_CONFIG_DIR overrides. Empty/unset values use standard defaults beneath effective HOME; XDG runtime has no invented fallback. Invalid relative/parent-traversing paths fail closed without logging their values. Lexical/canonical aliases, protected descendants and writable ancestors use the same admission policy. The narrow privileged temporary-root rule is retained.

Independent inspection of local commit 1844a14fd confirmed 733 passing pure consumers, but also reproduced a missing preparation consumer: the README checked only the allocated ancestor before source initialization and state mkdir. A preexisting source alias into configured XDG config or a state alias into XDG data reached a real fake-directory write before later admission. Both reproductions and all earlier evidence remain intact. This is the same pre-write class under the recorded circuit decision, not a fourth GitHub findings-bearing head or an engine-policy change.

The corrected README entry now consumes one complete preparation directory plan from isolation.py, reusing the shared storage validator and generated environment planner. Before its first mkdir, copy or Git subprocess it admits source, recipe, state/environment/shared cache, downloads, Go/uv extraction, venv, exclusive fixture-export parent and setup-only uv cache. It requires an empty, caller-owned canonical mode-0700 allocation, rejects all preexisting children/aliases/evidence, and exits the setup shell on refusal. Fresh children prevent hidden download/extraction/venv descendants from reusing old aliases; there is no reset/reseed or permission to change destinations after admission. No new executor, storage policy or privileged lifecycle owner is introduced.

The documented ordinary caller binds its original context before sudo. The same privileged parent independently checks that digest against its live /usr/bin/sudo parent's bounded Linux proc exec-time environment, using the invoking passwd identity rather than root's sanitized HOME. Unavailable, scrubbed, changed or non-sudo context fails closed. This is a deliberately narrow direct-sudo caller contract, not support for arbitrary privilege wrappers or reconstruction of already-discarded variables.

The admitted context travels through the existing unnamed parent control and root-owned private namespace proof. Only verified private namespace, privilege, context and exclusive invocation/output identities permit child consumers to reuse it instead of misclassifying generated task HOME/XDG/cache as production. There is no public safe-root dictionary, skip/allow flag or ambient marker. Public preflight/terminal evidence exposes the context digest, not original storage paths. Existing lifecycle, deadlines, terminal custody, readonly selected build and output semantics are unchanged.

New pure consumers use only fake passwd homes, configured storage and proc metadata. They exercise actual setup/export/verifier/wire/process/namespace admission, the maintained documented caller with sudo mocked, lost/forged context, canonical aliases, shared caches and valid nested private task state. The added preparation tests execute the maintained README body, including both exact source/state alias reproductions, every planned destination and relevant archive/compiler/venv/fixture descendant, configured/default authorities, containing paths and preexisting evidence. Negative cases preserve the complete fake task trees and reach no mkdir/copy/export/Git or privileged subprocess. A legitimate fresh task exercises actual directory creation, metadata-free recipe copying and local Git initialization; it performs no fetch, export, download, extraction or installation. Shell refusal stops later instructions. No real configured values, production contents or guest operations are used. At the preparation-repair checkpoint, the complete maintained pure suite passed 1,076 tests (the prior 733 plus 343 preparation consumers). The orchestrator independently inspected the exact source and repeated all 1,076 tests, with no skips, under the deny-network/deny-production-write envelope; pinned Ruff 0.4.9 and document/AST/whitespace checks passed. These are existing measured results, not new test invocations during this assessment-only finalization. Pure consumers alone are not live sudo/namespace or engine-execution evidence.

The historical recipe README retained its then-unexecuted context-handoff acceptance notice as part of the exact accepted pre-execution snapshot; the assessment-only finalization did not update it. The later bounded diagnostic and acceptance below supersede that historical status, not its input bytes or failure predicates. Unavailable original context still fails closed. The original native Go patch and frozen source/fixture/toolchain declarations remain unchanged.

Incremental context evidence and acceptance limits

The frozen once Watch 0b07a0286efb actually executed configured-root rejection then the private-loopback parent/direct-child diagnostic, retired with exit 0 and was not retried. Rejection reached the exact ValueError: Task writes must not target protected user state. before receipt/ run allocation or state writes, rather than a sudo-layout, digest or argument error. Positive execution carried the original context through the existing privileged parent, including its additive root identity. Distinct, unambiguous outer PID/start/NSpid identities bind both candidate roles to their private PIDs and direct parent/child relationships in both views; equal ticks alone are not identity. Generated task HOME/XDG/cache remained usable without replacing the admitted original-storage context.

After inspecting the source and complete originals, the orchestrator performed one separately scoped native unprivileged readback, not a diagnostic replay. Its 57,176,009 output bytes matched the lane's readback byte for byte: all 42 original text captures and seven hash-only inventory roots, including complete per-case merged stdout/stderr logs. Original root-owned mode-0640/single-link parent and dedicated preflight custody remained separate from supplementary observations. Native readback reconsumed both role bindings, full unchanged inputs, finite outputs and state, and bounded process/mount/boot cleanup.

All twelve outside-sentinel negatives, both private-loopback positives and outside receives [0, 0] matched, with UID 501/GID 1000, five zero capability sets, NoNewPrivs=1, separated mount/network/PID namespaces, readonly inputs and exclusive output. Candidate/namespace/driver budgets remained 10/130/160 seconds. No observed PID/start survivor, including zombies, private PID member, task executor or rootfs remained in terminal/native readback checks. These are bounded observations, not universal claims about unobservable state.

Incremental source/evidence artifact Exact identity
Maintained source commit at execution 3a74406e0bf6fc466821c1cc43011fb1627b44ce
Complete 21-file recipe Git tree e024eb07cff6df2db9caea0b400e171317b380d4
Metadata-free tracked recipe SHA-256 1c57e02045d48b70b6e0429a877744492db7614cdc9f11bf1319528e56051690
root-d-round3-context-source-acceptance.md SHA-256 aa71fc3f8600c009d1a1686628068dda524beb8aac1cb74d3f4ededf520ed8bf
root-original-readback.stdout SHA-256 4d18800cd6169f745f3cd87c9983658e2a53c83acaf7696ec6eba11a621b8110
root-native-readback-result.json SHA-256 412f3b7be8372740768e2bb77eabd871b784c8bce20400b65549630db4621df0
Original positive parent receipt SHA-256 d0ac5b61a27c8d8b491fb2edbb8c93c64244129b632360d4e6903a9dd9302182
Dedicated original preflight SHA-256 0ec8924144e5393af47228361d5c92b79aeb3a587d8cec4a987d31ffe7fa583b

The old Watch's raw outer stdout/stderr was not persisted. Its normalized notification survives, but exact trailing stdout whitespace and empty original stderr cannot be certified. Complete original transport accounting remains unmet. The orchestrator explicitly changed its supplementary source- acceptance criterion to complete original command/per-case merged logs and parent evidence plus independent native readback. This is a recorded criterion change, not recovered old streams, acceptance from exit 0, or a waiver of storage, custody, identity, cleanup, review or CI checks. Failed host inspection evidence remains failed; the native reader's new streams do not replace the lost Watch streams.

Acceptance covers only the incremental source/context functionality above, not arbitrary privilege wrappers. There was no new e024eb07 Go/build/wire/ fullphase or selected-engine-build test; selected_build=null is a probe fact. The 7ac2386d1 / 5b6d733 fullphase evidence below, setup-only uv, observer-versus-verifier identities and historical macOS/Watch limitations remain qualified. The tracked recipe digest excludes preserved ignored caches; raw worktree identities are not interchangeable with it. This local acceptance does not resolve the remote finding or establish fresh exact-head PR gates, engine publication authority or shipped behavior.

Historical second reviewed-head recipe correction

The same orchestrator independently diagnosed the full history before authorizing repair: two findings-bearing heads, with repeated execution-input provenance and isolation-ownership classes. The circuit breaker paused edits/pushes; the recorded scope decision released only this one coherent recipe/test/documentation correction and deny-network pure tests. No engine thinking, registration, auth, payload, normalizer or suffix policy change is part of this round.

The existing owners remain:

Boundary Owning correction
Execution inputs Verify the actual full Go extraction against the pinned archive before Go runs; bind archive/tree/selected executable, source, fixture and recipe identities before/after. Measure the existing venv/lock and explicitly label guest Python/OS/util-linux and setup-only uv trust, not unverified provenance claims.
Invocation outputs Parent reserves one new output directory using its existing receipt identity. Verifier owns exclusive logs/binary/candidate records there; wire explicitly selects and verifies a prior build mounted readonly. Shared caches are not a mutable latest-artifact pointer.
Writable roots One canonical pre-write validator protects broad/home/protected paths across environment, exporter, verifier and wire consumers, including sudo's invoking user. The privileged CLI supports only narrow canonical /tmp or /var/tmp children and keeps hidden-home probes strict.
Privileged entry Public CLI always runs unshare; no internal flags select re-entry. A fixed child trampoline receives an unlinked parent-owned control descriptor and checks all actual kernel namespace identities before the first mutation. Original preflight/terminal custody remains separate and closes before candidate launch.
Deadlines One derived phase budget is consumed by command executor, parent and caller. Three permitted sequential Go commands fit the complete test envelope, with bounded input/preflight/setup/cleanup allowances and failure/timeout evidence.

The detailed verified/measured/trusted/setup-only inventory is maintained in patches/cliproxyapi/README.md. In particular, a frozen lock plus a measured venv is not archive attestation of Python distributions, and shared Go caches retain the existing Go trust model rather than a new production provenance contract. Candidate artifacts remain supplementary evidence; only the parent-owned receipt records trusted preflight and cleanup.

Pure consumers cover the original entry points, substituted compiler and runtime/tool files, canonical path aliases, repeat test/build/wire runs, output collisions, partial failures, stale build selection and fake-clock deadline propagation. Kernel probes, complete source execution and independent rerun passed for the exact second-round recipe below. The configured-storage correction was not present in those runs and does not inherit their execution acceptance. Publication remains separately blocked.

Historical second-round Linux source acceptance

On 2026-09-09 the lane completed fullphase-sequence-2m05b_t9. After reading all original evidence independently, the orchestrator ran the same inspected driver once more as fullphase-sequence-lhboam7u, from 06:21:31.223856Z to 06:22:52.369652Z. Both executions were sequential test -> build -> wire, with no retry or cache reset. The orchestrator then read all 66 original text files, including every parent/preflight/invocation and phase log, the complete 456-line/58,205-byte engine log, full before/after inputs, hashed output inventories, selected build and lifecycle evidence. Exit codes or summary counts alone were not the acceptance criterion.

Accepted second-round input, before configured-storage correction Identity
Maintained commit at execution 7ac2386d1bc9c413ff02a4fe70778efa3d465d47
Complete 21-file recipe Git tree 5b6d733fa51d14489bc8889be4bab9bad248a643
Tracked recipe source SHA-256 7cceaf71c292b525eaab3df38cff68184967da8ed797f989cc93a47f3c0db2fa
Inspected sequential driver SHA-256 79fca450bdde28be11958d8c53c2a9b1066f020c261d4fb83e3d639303b45670
Engine base commit 2a6b87aca083a5bf498ac1f68a1b636c500d7aaa
Complete patched engine source SHA-256 c49da0017dc015030cd8f460e3288381765bf1283fc49478af657f389c265fb2
Unchanged native patch SHA-256 f55a3731e82837ed92d8943e97ef6d6521d21a78d3026a65c97b0950c3c494be
Frozen Avibe fixture commit / tree 76e269c9a9dfd3a6286ce0da81b77316ca4be38a / 27f32c68b3b9c6b1d40fcde3a034838b58ca0636
Frozen fixture archive SHA-256 3352c66c7b88c35ce7851a4bcfbeb3ac2e6d842199ef7dcf7c93534c0233c4cc
Complete frozen fixture source SHA-256 61c9616c760f9bbe4750c507073deea183064ec7f55dbacc2174eac9c474031e
Observed Go version / build target go version go1.26.4 linux/arm64; linux/arm64, CGO_ENABLED=0
Verified Go archive SHA-256 ef758ae7c6cf9267c9c0ef080b8965f453d89ab2d25d9eb22de4405925238768
Complete extracted Go tree SHA-256 494cfe7e2731c4125a75ddc194acfd3902657e1da9c5e846d63960aa78081f4a
Actually selected Go executable SHA-256 299613d26b2fc429f9b1a8dbbc6f8952f7e0fb7b5b624c63ff0442a15233eaad
Measured frozen-lock venv tree SHA-256 690bc736ecde2f7129dd1da41893b8ed31d287265e7cfd670084be369442df3b
Actual verifier normalized input SHA-256 e65b6372725d6a2dc98ac4de8cef65eacacfcc792f97f7930734fb14911ef53b
Complete observer normalized input SHA-256 9b9163a9f7d224893da522dd3ef1eff3782df510740687dcb2b305d23d4000a3

The verifier object excludes only the observer-only setup_only.verified_existing_uv_archive_sha256 fact. Both objects are preserved: the observer object is not emitted candidate provenance, and neither an execution nor extraction of uv is claimed. All six observer before/after files share raw SHA-256 3d393e7d6b1ee2ae96a959356f9d9c8f07627a9ed7db19e7a48597669c268fb2; all six candidate files share 45a70b0d0a11425bbdfa894da77a4d99838392fe8b126fcb30c4c80b583f161e. The committed catalogs and engine go.sum retain the identities in the historical input table below.

Independent root-run evidence SHA-256
Original test parent receipt dda6346209fefd8e1d9c5d1de88bf752328d0f60505bfa4a32c6d8d18104ee24
Original build parent receipt 85abcee12ab40b801178d006707172c72fec2863013589a6e4b21cee3c60a077
Original wire parent receipt 71bcb0ce7a54bd4c1abebee601acab3de969916fa84db2497432902274a7caf0
Linux diagnostic binary, 79,233,112 bytes 638de6ce30cfb1c0c7f36a29ff60c41361ac4dad8f86d134076cbe84f7667ea4
Selected build's candidate receipt e32e0133269819cd03c42e7c6c4702d24a743cc22cb740b682ac59aa93ce4f55
Selected build artifact inventory 9c774681d31b69988b6fd8743458af068edcee9a4f745c13564e13400843e432
Complete selected build tree 6adc585281f813ad85f87c1160d39d8a291f292790a68e94ad6a989301f7ae5a
Wire candidate receipt 8c25dcd7e6f7cc139cf4cff2c1fd8bd1cf5ec4ab8e9005fd05a185b5ad8cf4e5
Complete 380-row policy matrix 71b15e16af5cde8f022bb51dc41507506f6a9d93e8e75830cd927f6e8f26fa15
Complete long-identity / image records cb807fd737c5294cc52c101a5a2805c96b661e0e45f9c8e458b8ef15c25a0ccb
Actual frozen lifecycle records 92ac48c264657d7de8bdb9881a9879db6161a4934baa4c1849963fc2df8cdfb0
Complete engine log 568445ac60dc48a428b7a202c3737746b4d27daae24a132527da06690d70d278
Supplementary complete root readback bundle 223850d5f86ff7ab93e25175062f76c3afce37f57e7d38a02cdb3c837e5ffb15

Wire selected only its own sequence's successful build, binding the original parent receipt, invocation, full input identity, binary and complete artifact tree before and after consumption. Parent receipts remain original root-owned mode-0640 single-link regular files. Supplementary artifacts were read unprivileged through anchored, no-follow, regular, single-link, bounded reads; binary contents were hashed without export. They do not replace parent custody.

Every phase recorded actual UID 501/GID 1000, all five capability sets zero, NoNewPrivs=1, distinct mount/network/PID namespaces, readonly original inputs and exclusive invocation output. Wire's selected build was readonly. Each preflight recorded all twelve blocked sentinel attempts: test/wire had both private-loopback positives and errno 111 negatives; network-none build had IPv4 errno 101/IPv6 errno 99 and no positives. Outside receives were [0, 0]. Full inputs, outer mounts and boot ID were unchanged. Original and fresh cleanup found no surviving observed process identity, private PID namespace member or rootfs; unavailable privileged namespace links were not invented from unprivileged observations.

Actual records reconcile 380 unique policy cases and 378 successful captures. The two HTTP 400 cases are only Chat -> Responses, narrow profile, absent intent, stream off/on, with zero upstream requests. All 24 complete Unicode identities pass, including distinct long shared-prefix tails. Three sequential image requests of 44,051,709 / 44,051,604 / 44,051,581 bytes preserve four distinct images and non-ASCII text. All five frozen lifecycle assertions pass: invalid Source/no restart, failed replacement rollback/recovery, committed stream/nonstream replacement, cancellation/reuse and failed-startup cleanup. Child outcomes are exactly [0, 23, 0, 0, 23]; the two injected exit-23 failures are required rollback/cleanup evidence, not successful starts.

Remaining trust limits are explicit. Existing guest OS/kernel/Python/util-linux are trusted prerequisites; a measured venv and frozen lock are not an archive-attested Python distribution. Copied Go caches remain mutable trusted setup under the locked-module/offline model; the root reused their expected post-lane state without resetting or claiming seed equality. Three optional Antigravity updater attempts were refused at private proxy 127.0.0.1:1, not successful external requests. The engine-only empty-object profile remains a test supplement, not generated product capability. Identical diagnostic binary hashes across these two runs do not establish cold-cache or four-platform production-release reproducibility.

The separate 338-product-consumer private-loopback run belongs to historical head 7e4412c94c54b2fc7855b9b29f9a317d1bc94f82, not an executed final-head test. Its runtime Python, four runtime/release-guard/catalog/live-resolution test files and dependency locks remain unchanged. Finalization integrates only landed master and updates this assessment; it does not repoint the frozen fixture. The landed presentation row MH-SRC-DELETE-002 is checked by the pure catalog consumer, with no peer UI edits or new scenario allocation. That finalization was subsequently reviewed with the configured-storage finding above. Fresh exact-head CI and a clean Codex review remain mandatory.

Completed source-only implementation

The source-only decision was recorded at integration a3065a7d1; the later xAI and Kimi clarifications were read from integration heads 3d0cba9e622fe3e4af706bb9073684e0b3d9b038 and 871ce9d94f9f9c02e9cf6c8d8b5e205949bf8727. The lane does not author edits to the shared plan; the independent-delivery directive authorizes replaying the six specified root-owned documentation commits into this Avibe branch.

The maintained home is patches/cliproxyapi/. Its patch includes the Go tests; the small apply/test recipe validates the exact base, frozen catalogs, locked modules, Go version, changed-file inventory and file hashes. The revised recipe also binds the complete immutable Avibe fixture and imported recipe identity. The fixture is an exact tracked commit export, not mutable current-worktree imports; dirty exports fail before and after execution. A build receipt binds the wire-tested binary to those inputs and the patch digest. It refuses dirty source on apply, unrelated candidate edits, stale binaries, and hosts without the verified egress-isolation mechanism.

Implemented ownership:

  • Shared native-representation passthrough preserves the prepared target, without suffix, for Messages, Chat and verified Responses aliases.
  • Kimi native fields inside a Chat envelope are detected from original thinking.type/thinking.effort; only the legacy effort alias is removed. Future values, type-only input and prepared-target normalization survive. Keep-only/legacy-only input still uses conversion, and suffix wins.
  • Explicit disable is applied before capability gating/summary activation. Unknown/user-defined and configured missing-metadata conversions receive the original source payload. Known positive conversions still validate.
  • xAI's post-translation catalog-only effort deletion is removed, along with its single-use helper. stop removal, payload overrides/filters, tool choice, schemas, replay and image handling remain. A focused final-egress scan of Claude/Codex/OpenAI-compatible/Kimi found no equivalent additional catalog gate; Claude's forced-tool-choice removal remains a tested protocol rule.
  • Exact selected-credential model snapshots and every registration producer are unchanged, including the existing Chat conversion hint. No capability or UserDefined claim is fabricated.

Patched three-protocol positive-intent matrix

The K/KN/U/L/E profiles and notation are defined in the baseline section below. Both stream modes agree in all cells. E is a supplementary engine-only empty-object registration, not a shape fabricated by Avibe's writer.

Ingress -> upstream K KN U L E
Messages -> Messages A(max) A(max) A(max) A(max) A(max)
Responses -> Responses R(xhigh) R(xhigh) R(xhigh) R(xhigh) R(xhigh)
Chat -> Chat C(xhigh) C(xhigh) C(xhigh) C(xhigh) C(xhigh)
Messages -> Responses R(xhigh) R(max) R(max) R(high) R(max)
Messages -> Chat C(high) C(high) C(high) C(high) C(max)
Responses -> Messages A(max) A(xhigh) A(xhigh) A(high) B(31999)
Responses -> Chat C(high) C(high) C(high) C(high) C(xhigh)
Chat -> Messages A(max) A(xhigh) A(xhigh) A(high) B(31999)
Chat -> Responses R(xhigh) R(xhigh) R(xhigh) R(high) R(xhigh)

Explicit disable now reaches D, R(none), or C(none), respectively, in every cell of all nine directions and five profiles. Native absent reasoning remains absent; native future levels, auto, summaries and budgets preserve their prepared representation. Cross-protocol defaults remain conversion ownership: Messages/Chat -> Responses inject medium; the narrow profile maps Messages-origin default to low and still rejects the Chat-origin default. Missing catalog metadata no longer strips the translated default. There is no new native default or upstream capability promise.

Unresolved model info and actual UserDefined=true also preserve native prepared payloads, as directly asserted in policy tests. Their genuine conversions retain capability-free conversion, now source-aware. Configured unknown rows remain UserDefined=false: the missing-metadata branch is an explicit boundary policy, not a changed registration claim.

Historical macOS and earlier-recipe evidence

This section preserves superseded validation stages; the exact second-round Linux recipe acceptance is recorded separately above. The initial results came from the earlier macOS wildcard-loopback envelope. They are source behavior observations, not sufficient evidence of test-owned listener isolation or the newly enforced fixture receipt closure. The Linux Go/build rerun passed. Wire passed all 380 policy, 24 identity and three image cases before its watcher-only replacement failed; cancellation/reuse did not execute. These partial results are not complete wire acceptance. The corrected lifecycle rerun subsequently passed all three phases, including all original matrix/identity/image cases, real child replacement and failed replacement rollback/recovery, invalid Source refusal, cancellation/reuse and failed-startup cleanup. Each phase's original parent receipt has twelve blocked outside attempts, zero sentinel connections, unchanged complete inputs/outer mounts, and reaped processes/removed rootfs. Three normal children exited zero; the two deliberately failing children exited 23 as asserted by the consumer. The policy and integration artifacts retain their original complete hashes. The revised fixture/parent/probe/connection pure suite passes 225 cases under deny-all network. Actual no-network and private-loopback probes pass with zero outside sentinel connections; a deliberate nonzero command retains a failed terminal receipt. Original failed probe evidence remains preserved. These probes are not full engine acceptance or a shipped repair.

  • The maintained Go recipe passes shared thinking/provider tests, internal/modelconfig, selected-model helpers, sdk/cliproxy/auth, existing thinking/summary conversion cases, and the full executor package. Superseded strip/clamp/native-rejection assertions were replaced explicitly; genuine positive conversions, Gemini-family constraints and suffix tests remain. No tests were skipped to get this result.
  • The real HTTP matrix has 380 cases: 378 successful one-capture requests and two expected conversion-only 400s with zero upstream requests. Full endpoint, upstream model, selected fake key, non-ASCII content, reasoning fields and cross-Source exclusion are checked. Generated Avibe registration, origin/key replacement via the former config-watcher fixture, streaming, cancellation and reuse passed only in that historical envelope.
  • Actual manager + Claude HTTP tests distinguish two Sources with the same alias/upstream name but different metadata, then replace one key/snapshot. Fake subscription tests cover Claude/Codex HTTP, Codex WebSocket, Kimi Messages delegation, Kimi native/legacy Chat and xAI Responses. xAI's final egress matrix has 80 cases; Kimi's native/legacy matrix has 40. They use rejecting transports, not provider accounts; the old OS loopback wildcard is not evidence of test-owned listener enforcement.
  • 24 additional actual-engine requests preserve full long UTF-8 identities beyond 16 KiB, including identical long heads with distinct tails and a route-only model, on all three API-key protocols and both stream modes. Registration and egress assertions compare the full strings/UTF-8 bytes.
  • Three sequential ~42 MiB native requests, each containing four distinct valid synthetic RGB PNGs, preserve every base64 image and the non-ASCII text. Only the existing mock's receive budget is raised to 48 MiB during these tests. Normal envelope/cache transformations remain allowed; exact image/text data is compared independently. This closes the engine seam, not a duplicate gateway-framing test.
  • The patch applies cleanly to a second exact-base local checkout. A second diagnostic build there produces the same binary digest; both builds use the same isolated caches, so this is not a cold-cache or production release proof. All test engines and mock threads are stopped/reaped; no installed engine or backend was started. The source-only PR/CI/review delivery gates and production release builds are not claimed here.

Maintained commands are the apply, test, build, and wire phases in patches/cliproxyapi/README.md. Evidence stays in task-owned scratch, not committed developer-machine paths. A successful mock capture proves preservation/routing, not that a real provider accepts a future effort value.

Historical macOS diagnostic inputs and evidence limits

The Darwin binary hashes in this table belong only to the initial macOS diagnosis and candidate. They are not Linux build identities. The frozen engine base, patch, fixture and catalog declarations remain inputs to the separately recorded second-round acceptance. Neither table attests execution of the newer configured-storage correction.

Input Identity
Avibe task base, config writer, guard, and mock inspected 76e269c9a9dfd3a6286ce0da81b77316ca4be38a
Engine repository router-for-me/CLIProxyAPI
Packaged engine version v7.2.149
Engine source fetched, read, tested, and compiled 2a6b87aca083a5bf498ac1f68a1b636c500d7aaa
Historical Go toolchain go1.26.4, matching the pinned release workflow
Historical local build target darwin/arm64, CGO_ENABLED=0; diagnostic binary, not a release reproduction
Historical unpatched Darwin binary SHA-256 f8b3a7bfe5f8be7d48a1f60506ae579a9e37877696d9f813bf6143f5ed4b5887
Inactive candidate patch SHA-256 f55a3731e82837ed92d8943e97ef6d6521d21a78d3026a65c97b0950c3c494be
Historical patched Darwin binary SHA-256 54af78bd25e4bd81cf383e91337c5927506d943ddf0f5458b3a98a0789d590df
Patched 380-record HTTP matrix SHA-256 71b15e16af5cde8f022bb51dc41507506f6a9d93e8e75830cd927f6e8f26fa15
Long-ID and multi-image evidence SHA-256 cb807fd737c5294cc52c101a5a2805c96b661e0e45f9c8e458b8ef15c25a0ccb
Embedded models.json SHA-256 b19b2655a4f294605d3a347be16e67ef6ea776d70cedbd69c36629f3dbb945d9
Embedded codex_client_models.json SHA-256 a044aa222836b32091fdf4c9c34030443cb8717dea65db875cf705406c332fd6
Engine go.sum SHA-256 b29392b1f713b238d6232af2f8fd09e28b7f5d221847ddccf0fc35682a9b29bd

The initial baseline checkout remained clean after diagnosis; the source-only candidate is now maintained as an exact-base patch and tested in task-owned checkouts. Existing temporary checkouts were preserved. No installed engine, engine-internal user state, account credentials, or user Avibe process was used.

Source references below are relative to the exact engine checkout unless explicitly labeled Avibe. This assessment does not substitute upstream HEAD, downloaded release bytes, or a refreshed online catalog for the fixed source. It does not claim that the currently installed binary was exercised.

Registration and execution ownership

Avibe vibe/model_hub_runtime/config.py:67-147 writes the union of discovered and routed model IDs, preserving name == alias == upstream model and each Source prefix. Nonempty Source reasoning levels are registered strongest-first. An absent entry emits no thinking. OAuth bindings use auth files instead of YAML API-key values.

The engine has two different model consumers:

  1. sdk/cliproxy/service_models.go:671-790 builds public model registrations. Native configured API-key rows are initially UserDefined=true; Chat compatibility rows are false and get synthetic [low, medium, high] thinking metadata when omitted.
  2. sdk/cliproxy/auth/api_key_model_capabilities.go:112-279 builds and binds a private snapshot for the selected credential, alias, and actual upstream model. internal/modelconfig/model_info.go:13-26 resolves the suffix-free upstream name against the static catalog, overlays explicit metadata, and always sets UserDefined=false. Chat compatibility also supplies the synthetic level list here. Thus a configured unknown name does not take the unknown/user-defined thinking path during ordinary API-key execution.

internal/runtime/executor/helps/model_capabilities.go:18-27 consumes that selected snapshot. The Claude, Codex HTTP/SSE/WebSocket, and OpenAI-compatible executors call it after request translation and before final payload rules and transport. The selected snapshot must remain attached to the exact credential and upstream model; changing the public registry flag alone cannot repair this.

OAuth attempts ordinarily use the registry lookup path instead of the configured API-key snapshot. A shared thinking fix therefore needs both paths tested. No OAuth lifecycle, credential refresh, prefix, alias, model-selection, fallback, or credential-replacement change is required.

Pinned policy and why configuration cannot solve it

internal/thinking/apply.go:196-349 does the following:

  • Unknown models (modelInfo == nil) and actual UserDefined=true rows bypass ValidateConfig but still go through extraction and a provider applier.
  • Known/non-user-defined rows with Thinking == nil lose recognized thinking controls and summary controls through StripThinkingConfig. The comment that describes this case as passthrough is inconsistent with the implementation.
  • With metadata, it extracts suffix intent first, then original source intent for configured models, then translated-body intent.
  • mapConfiguredHighIntent can map max/xhigh before validation when the format labels differ or the model type differs from the protocol family.
  • ValidateConfig then normalizes, validates, and clamps, and the provider applier can make further representation changes.

internal/thinking/validate.go:38-195 distinguishes provider families, not identical wire protocols. OpenAI Chat and Responses are one validation family, but require different field shapes. Conversely, Responses ingress is openai-response and its executor target is codex: those label differences trigger configured high-intent mapping despite native Responses reasoning. Chat compatibility's model type is openai-compatibility, which causes clamping even on Chat-to-Chat requests.

The validator can reject native out-of-range budgets or unsupported levels; convert a budget to the nearest registered level; replace auto; and change none to support.Levels[0] when its flags do not allow disabling. Avibe emits levels strongest-first, so that last fallback can enable high effort.

Empty thinking: {} is not a disable policy or a complete bypass. It creates a non-nil zero-valued support object: native Claude auto became disabled in the baseline, and Claude adaptive max became a numeric budget. An arbitrarily wide list/range would be a capability claim, still change representation, and fail for future fields/levels.

There is no configuration-exposed UserDefined flag. is-compat handles history/signatures or Codex multi-agent compatibility, not this validation. Payload default/override/filter rules run too late to prevent validation errors and cannot generically preserve arbitrary caller values. Suffixes encode an explicit override and still undergo capability policy. Plugin normalizers cannot reliably bypass the later bound-model check; enabling a plugin is not a configuration-only repair.

Baseline Model Hub protocol matrix

These tables cover all nine combinations of the three Model Hub wire protocols. Each cell was measured through both streaming and non-streaming HTTP ingress into the compiled, unmodified engine. Both variants agreed for the reported reasoning fragments.

Fixture profiles:

Profile Actual model registration
K Known supported upstream name, omitted configured thinking: claude-opus-4-6 for Messages; gpt-5.4 for Responses/Chat
KN Known static row with nil thinking: claude-3-5-haiku-20241022; using it on non-Claude mock routes deliberately tests static lookup, not real vendor model support
U Unknown configured upstream name lane-d-custom, omitted thinking
L Unknown name lane-d-narrow, explicit fixture levels [high, low]
E Unknown name lane-d-empty, explicit empty thinking: {}

For Chat targets, omitted thinking in K/KN/U becomes the engine's synthetic [low, medium, high]. These are diagnostic fixtures only, not proposed registration claims.

Positive explicit intent

Messages input uses adaptive output_config.effort: max. Responses and Chat inputs use their native xhigh; Responses also requests summary: auto. A(max) means adaptive Messages thinking and output_config.effort: max; R(xhigh) and C(xhigh) mean native Responses/Chat effort fields. B(n) means Messages enabled with budget_tokens: n. S means thinking controls stripped. 400 means no upstream request.

Ingress -> upstream K KN U L E
Messages -> Messages A(max) S S 400 B(63999)
Responses -> Responses R(xhigh) S S R(high) R(xhigh)
Chat -> Chat C(high) C(high) C(high) C(high) C(xhigh)
Messages -> Responses R(xhigh) S S R(high) R(max)
Messages -> Chat C(high) C(high) C(high) C(high) C(max)
Responses -> Messages A(max) S S A(high) B(31999)
Responses -> Chat C(high) C(high) C(high) C(high) C(xhigh)
Chat -> Messages A(max) S S A(high) B(31999)
Chat -> Responses R(xhigh) S S R(high) R(xhigh)

Cross-protocol requests into Messages carry thinking.display: summarized when the source summary semantics request it. Responses targets preserve the source summary where represented. The numeric budgets above also reflect Claude's post-conversion max_tokens relation; they are not metadata-neutral passthrough.

Explicit disable

Messages input uses thinking.type: disabled; the other inputs use native effort: none. D means Messages disabled; R/C show the actual effort.

Ingress -> upstream K KN U L E
Messages -> Messages D S S D D
Responses -> Responses R(low) S S R(high) R(none)
Chat -> Chat C(low) C(low) C(low) C(high) C(none)
Messages -> Responses R(low) S S R(high) R(none)
Messages -> Chat C(low) C(low) C(low) C(high) C(none)
Responses -> Messages D S S D D
Responses -> Chat C(low) C(low) C(low) C(high) C(none)
Chat -> Messages D S S D D
Chat -> Responses R(low) S S R(high) R(none)

Absence and additional native shapes

No native reasoning input remains absent on all three same-protocol routes, for every profile. Cross-protocol Messages/Chat -> Responses injects the translator's medium default before thinking policy. K/E retain it; KN/U strip it; L maps the Messages-origin default to low but rejects the Chat-origin default with 400. All other absent-input cross routes remain without reasoning controls. The patched matrix retains conversion defaults while removing the missing-catalog stripping step.

Additional measured native cases:

  • Messages K accepts budget 4096, rejects budget 256, and changes enabled thinking with no budget to budget 63999. L maps both budgets to adaptive low; E changes enabled-without-budget to disabled. KN/U strip all of them.
  • Responses K maps auto to medium; L maps it to low; KN/U strip it. Chat K/KN/U map auto to medium; L maps it to low.
  • Future explicit effort ultra produces 400 in K/L for Messages/Responses and K/KN/U/L for Chat. KN/U Messages/Responses strip it. E forwards it.
  • Summary-only Responses is stripped for KN/U and retained for K/L/E. Messages adaptive display: omitted is stripped for KN/U and retained for K/L/E. Native Chat reasoning.exclude: true survives these fixtures.

Unknown/user-defined versus configured-unknown source paths

The HTTP matrix intentionally exercises real config registration. The following separate source behavior must not be mislabeled HTTP coverage:

Selected model info Same-protocol policy Cross-protocol policy
nil model info No catalog validation; extract/apply native controls, so not guaranteed byte preservation Translate then apply capability-free representation; original source handling differs from the configured path
Actual UserDefined=true Same as nil, even if metadata exists Same unvalidated branch; provider appliers still convert and rewrite fields
Configured unknown, UserDefined=false, Thinking=nil Strip recognized controls Strip translated controls
Non-user-defined with levels/range Validate, map, clamp, or reject Convert plus validate/map/clamp

applyUserDefinedModel receives the already translated body and does not receive sourceBody; its extraction also lacks the openai-response alias handled by extractSourceThinkingConfig. Merely redirecting every configured row into that branch can therefore lose source intent or rewrite a compatible native field. Existing upstream conversion tests use synthetic registered user-defined rows; their behavior does not prove configured API-key behavior.

Subscription executor qualifications

  • Claude OAuth reaches the Claude shared request path; Codex OAuth reaches the Codex HTTP/SSE/WebSocket paths. Same-protocol policy must apply to their registry-selected models without changing credential handling.
  • Kimi selects Claude Messages when ingress is Claude, delegating to ClaudeExecutor; otherwise it uses Chat transport but its thinking applier converts legacy reasoning_effort into native thinking.type/effort. Do not equate this Kimi dialect with ordinary Chat reasoning based only on the HTTP endpoint. Its hardcoded origin requires a rejecting test transport mapped to loopback for source tests.
  • xAI uses the Responses representation and embeds the Codex thinking applier, while passing xai as its thinking format. Its Responses wire alias must be assessed explicitly, not inferred from the executor identifier.
  • Gemini/Antigravity/Interactions are not Model Hub's three public protocol choices. Keep their existing conversion behavior; run their existing conversion regression tests for shared-code changes.

No subscription/OAuth wire fixture was part of the initial baseline. The source-only acceptance above now includes fake-auth actual executor HTTP/WebSocket tests; it never exercises real subscription accounts.

Approved source and registration boundary

The orchestrator approved and the maintained patch implements this boundary:

  1. In the shared thinking entry point, distinguish identical reasoning wire representations from provider families. Messages->Messages and Chat->Chat preserve native controls; openai-response/codex (and the verified xAI Responses target) share the Responses reasoning representation. Chat and Responses do not. Keep Kimi's native conversion explicit.
  2. For same-representation requests without an explicit model suffix, return the current target payload without catalog-driven extraction/reapplication, stripping, level mapping, or budget validation. Preserve normalizers' deliberate changes: do not restore the whole original request or undo model, protocol, credential, payload-rule, or signature handling.
  3. Extract explicit original-source disable before capability gating. Keep suffix precedence. An explicit ModeNone must reach the provider's native disable representation without falling back to a catalog level or being stripped. Reuse the existing provider disable writers, moving this case before their capability guards as necessary. Skip summary activation after explicit disable. This addresses all nine disable rows, not only native requests.
  4. For genuine conversion with no thinking metadata, reuse a clearly named unvalidated conversion path and provider-compatible writers. Pass the source payload/format into it so source intent is not re-extracted from the wrong target shape. A nil support pointer is missing knowledge, not an instruction to delete caller fields. Do not forge UserDefined=true or a broad ThinkingSupport merely to reach this path.
  5. Keep known-metadata positive cross-protocol conversion, summary visibility, protocol constraints (including forced Claude tool choice), and suffix representation logic. A native passthrough does not disable executor protocol checks or imply that an upstream will accept every request.

Engine edit surface: internal/thinking/apply.go, the relevant provider appliers, source-payload plumbing in executor helpers, the independently approved xAI final-egress gate, and tests. validate.go is unchanged. Actual executor tests cover both later xAI sanitization and Kimi's native representation in a Chat envelope; an early return alone was insufficient.

Registration policy: leave Avibe's real model_reasoning_efforts, Source prefixes, aliases, routed IDs, and persisted shapes unchanged. Do not synthesize levels, flags, ranges, or capability claims. Do not remove existing metadata. The upstream's existing Chat fallback remains a conversion hint in this minimal proposal; removing that fallback from both registration owners is a separate scope decision, not necessary to preserve native requests. It must not become a native-request allowlist. No new persistent provenance model, config toggle, plugin, or custom-model flag is proposed.

Concrete validation route

Baseline completed on 2026-09-09 +08:

  • Existing internal/thinking/... and internal/modelconfig tests passed.
  • Existing test package cases matching ^TestThinking passed, including body/suffix, user-defined, adaptive Claude, and other provider conversions.
  • The unmodified cmd/server compiled with locked modules.
  • 380 requests traversed real engine HTTP ingress, registration/auth selection, translators, executors, and a real loopback mock upstream. 358 returned 200 with exactly one capture; 22 returned 400 before upstream admission. These counts describe pinned behavior, not acceptance success.
  • Every captured request had the expected endpoint, exact upstream model, selected Source's fake outbound key, and no inbound gateway bearer. No request reached a different Source mock. Every input included non-ASCII text. Raw reasoning fragments were compared across stream modes.

The task-owned baseline harness and raw results are retained in scratch (SHA-256 8d31f89e6cb9167c7056e9acbc5539efc5c978e02ebbb9d524370e1cc96021ad). The harness SHA-256 is 2d9855ac52194e7164ef0541b3bd8001f0d8e094cfd4316569efa7afdbdc64d3. The maintained entry point is now patches/cliproxyapi/verify.py, using wire_matrix.py and the repository's existing mock.

Maintained hermetic construction (revised Linux lane and independent root reruns passed):

  1. Fetch only the exact engine commit into a new task directory. Give Go its own HOME, TMPDIR, module/build caches, and GOENV=off. Use the exact toolchain and -mod=readonly; dependency downloads are preparation, not upstream account probes.
  2. Export the complete frozen Avibe commit and verify its tree, archive and path-independent source digest. Reuse that export's stdlib-only tests/e2e/drivers/mock_llm_upstream.py, with one ephemeral loopback listener per protocol. Generate fake-key config in a test-owned home. Use frozen CLIProxyEngineAdapter.sync_sources and EngineSupervisor. The existing constructor seams select only the preverified diagnostic binary, task environment/log and fresh private port, never an installed runtime. Real state validation, routing/idle barrier, transaction, atomic writer, health checks and owned-child stop/start remain the product's responsibility.
  3. Use the approved temporary Linux mount/network/PID/chroot envelope, making mounts private before binding. Keep source, frozen fixture, recipe and toolchain read-only, expose only invocation output and the separate task caches for writes, hide guest/user homes and namespace handles, close inherited descriptors, then drop UID/GID/groups/capabilities and set no-new-privileges. Compile with networking disabled; dynamic Go listeners, engine and replacement mocks run together on the namespace's private loopback. No veth or host network is added.
  4. Require actual IPv4/IPv6 outside-sentinel negatives and private positives, plus failure/process/mount cleanup receipts before the full suite. Parent receipts are exclusively opened outside child mounts before execution; preflight reaches an unlinked supervisor channel closed before candidate launch. Never trust a later child-writable probe file. The earlier macOS localhost wildcard is retired; its remaining pure/compile path denies all egress. Rejecting executor transports and a dead proxy are complementary checks, not OS isolation. --local-model alone is insufficient.
  5. Assert native reasoning fragments, required conversion results, explicit negatives, no intent injection on native absence, correct model/prefix/ credential replacement, non-ASCII preservation, response streaming, and cancellation. Stop and reap the child and all mock threads in finally. Consume each returned supervisor connection, including changed port/token. Actual-child failure regressions verify Source validation before restart, replacement rollback/recovery and failed-startup cleanup. Preserve all generated registrations; the labeled engine-only empty profile is applied only in the process seam before each launch.

The first Linux wire fixture depended on direct-file watcher reload after atomic configuration replacement and timed out. The pinned watcher watches the file itself; a raw inotify event trace was not recorded. This is a separate diagnostic limitation, not an established Avibe Source replacement regression: the frozen product explicitly restarts its owned child. The approved fixture correction consumes that lifecycle without modifying the watcher, extending deadlines, writing in place, or mocking successful restart.

The promoted maintained engine tests cover:

  • Shared policy tests for nil model info, user-defined, known nil support, explicit empty/narrow/ranged support, source/target aliases, suffix-vs-body precedence, summary visibility, none, auto, unknown future levels, budget 256/4096, and missing intent.
  • Actual manager+executor tests with two credentials advertising the same alias/upstream name but different metadata. Require exact selected model info and auth, including API-key replacement. Existing fake executors are supplementary assertions, not wire evidence.
  • HTTP matrix above for both stream modes, plus suffix overrides and truthful configured negative support fixtures. Existing static nil support and an explicit caller disable remain distinct.
  • Subscription tests use fake auth data and injectable loopback transports. Include Claude, Codex HTTP/WebSocket, Kimi dialect selection, and xAI; reject all non-test destinations. Do not execute login, refresh, browser, or cloud account flows.
  • Build cmd/server, run conversion/registration/auth/executor tests, and repeat the matrix with actual generated Avibe Source registrations. The empty-object engine-only profile is labeled separately, not claimed as an Avibe-generated capability. Long-ID and ~42 MiB image consumers close the additional engine seams requested during integration.

Resources after candidate and integration checks: approximately 3.5 GiB of task-owned source, Go toolchain/modules/cache and locked Python dependencies; an approximately 80 MiB unstripped diagnostic binary. Build/test concurrency was GOMAXPROCS=2, -p=1, with a 1536 MiB soft Go memory limit. The final wire child uses the same limits; the initial baseline used a 512 MiB soft limit. The Go limits are not OS memory caps. Build all four release targets sequentially or on bounded native runners, not concurrent local full builds.

Maintained source, reproducible builds, and publication order

There is no authorized public fork or published patched source today. The maintained candidate home is the Avibe-owned source/test patch and recipe under patches/cliproxyapi/, recording the exact upstream base, patch digest, dependency lock, and build-input receipt. Apply it only to a fresh task-owned upstream checkout. The temporary checkout is execution state, not the permanent source of truth. A public upstream contribution may later become the maintained source home with authorization. Do not silently create or select another organization's repository.

Reproducibility requires more than source_sha:

  • Pin Go 1.26.4, go.sum, the exact base plus patch, OS/architecture, CGO setting, compiler/SDK or Linux build-image digest, build flags, and metadata.
  • Freeze both model catalogs. The pinned upstream release workflow runs .github/scripts/refresh-model-catalogs.sh, which fetches router-for-me/models main before compilation. Therefore the source SHA alone does not reproduce upstream release catalog bytes. Use the committed catalog bytes for the candidate, or pin a separately recorded catalog commit and hashes. Never silently refresh HEAD during acceptance.
  • Use -trimpath, a fixed commit-derived build date, and deterministic archive entry order/owners/mtimes and gzip metadata. Repeat builds in two fresh directories and compare binary/archive hashes before claiming bit-for-bit reproducibility.
  • Match Avibe's four platforms: Darwin arm64/amd64 and Linux amd64/arm64. The existing release uses CGO-enabled hosted builds and GLIBC 2.17-baseline Linux assets. The CGO-disabled diagnostic build does not prove those asset contracts. Preserve the selected production build variant unless a separate platform/packaging decision changes it.

Release dependency order:

Stage Required result Authority
Source/tests Reviewed local patch, exact build receipt, passing wire matrix Orchestrator source-scope approval; no publication implied
Source provenance Either accepted upstream commit/release, or an explicitly authorized maintained-source and provenance contract External submission/source-home decision; not authorized in this lane
Release assets All four verified archives, extracted-binary hashes, sizes, sidecars, matching manifest copy Explicit tag/release/asset publication authority
Availability Read back published bytes; run manifest-keyed verification and preserve recoverable backup Authorized release workflow; guard remains enforced
Avibe dependency pin Update packaged manifest and frozen tests to the actually available, truthful release Orchestrator integration/normal PR gates after asset availability
Installation/runtime Existing lifecycle converges installed dependency and later starts/replaces the managed process Separate owner authorization; not part of source implementation

Avibe's guard (scripts/model_hub_engine_release_guard.py:94-185) requires source == router-for-me/CLIProxyAPI, the matching upstream source URL, a matching vX.Y.Z release tag, four exact asset names, and Avibe-owned release URLs. fetch-source verifies upstream release bytes against the manifest; the scheduled workflow backs up and restores only the exact manifest's bytes. It is not a local-patch build or source-provenance system.

The compatible delivery route without changing this guard is an authorized upstream contribution/release followed by verified mirroring into an Avibe-owned release and then an Avibe pin update. If shipping an Avibe-only patch becomes necessary, source identity/build provenance and maintenance ownership require a separate explicit decision and equally strong guard contract. Relabeling patched bytes as upstream, inventing a fork URL, weakening verification, or pinning assets before publication is not an option.

This is a real release-authorization/provenance blocker for shipping, not a blocker to approved local source/test implementation. This assessment does not declare delivery gates passed or claim the Model Hub issue is fixed.