Record successful native console agent qualification

This commit is contained in:
Pavlo Ratushnyi
2026-10-04 03:58:11 +02:00
parent 93e2a9bbef
commit ba5a2c19bc
2 changed files with 164 additions and 0 deletions
+11
View File
@@ -471,3 +471,14 @@ soak still remain; hosted Actions has not run.
All 116 Rust tests, format and Clippy with warnings denied pass after these
two checks. The full console run on the preceding revision is kept separate
from the follow-up protocol fixture results.
- The subsequent unassisted console run on a3770ed completed TEST-10 and its
game: 43:07 wall time, 68 main model responses, 68,403 output tokens and
116.91 weighted decode tok/s. Agent tests passed 132/132; independent browser
checks passed 23/23. One undeclared tool name was safely rejected and retried
by the harness. These are single-run functional statistics, not a speedup.
- The deployed 93e2a9b follow-up passed ordered/reversed parallel tool result
replay on the real model with identical correct greedy output (tolerance 0)
and completed terminal states. Native launcher status and HTTP readiness
pass. The text console profile is available for a user trial; broader scope
and unverified limits are recorded in
[the full report](experiments/2026-10-04-native-console.md).
@@ -0,0 +1,153 @@
# Native Responses console trial — 2026-10-04
## Result and scope
The native **text** Responses profile completed a real, unassisted console
agent task on Linux RTX 5090. The agent built a playable Three.js tic-tac-toe
game, ran its own browser checks and completed LeaseVibe TEST-10. An observer
then independently checked the final game: **23/23 passed**, no page errors.
This qualifies a user trial of this profile, not the whole project, a long
stability soak, or a performance improvement.
The test used the actual `qwen-codex` launcher and Codex CLI 0.160.0 with its
normal approval review enabled. No task assistance, corrective prompts or
completion actions were supplied by the observer. Four rejected tool items
were ordinary MCP workflow/claim validation; the agent handled the workflow.
One model response used an undeclared function name. The native server rejected
it before tool execution and the harness retried successfully. This was not a
zero-error run.
## Measured run
| Metric | Result |
| --- | ---: |
| Full task wall time, excluding model startup | 2,587.43 s (43:07) |
| Main agent completed model responses / iterations | 68 |
| Main agent output tokens, including reasoning | 68,403 |
| Reasoning tokens (subset of output) | 25,419 |
| Main agent cumulative input tokens | 6,170,118 |
| Main agent reused input tokens | 1,218,680 |
| Main agent weighted decode rate | 116.91 tok/s |
| Largest actual prompt | 131,759 tokens |
| Completed shell and MCP tool items | 74 |
| MCP items | 42 |
| All engine generations, including approval reviews and rejected response | 132 |
| All engine output tokens | 71,313 |
| All engine weighted decode rate | 117.18 tok/s |
| All engine request decode mean / median | 131.30 / 126.80 tok/s |
| All engine request decode p10–p90 | 102.87–165.38 tok/s |
| All engine prefill / decode time | 1,483.139 / 608.567 s |
Weighted decode means generated tokens divided by summed engine decode time;
it excludes prefill, tools, MCP, browser tests and client work. It is not the
end-to-end task rate. Approval review requests share the worker and compete
for prefix reuse. Cache state is mixed: the first engine request reused zero
tokens; the run then contains both reused and cold prefixes. All engine input
tokens total 9,935,033, with 1,604,457 reused. No cache reset was forced per turn.
This is one functional run, not a paired A/B experiment. Confidence intervals,
TTFT distributions, PCIe traffic, draft acceptance and expert-cache distributions
were not collected for this report. It establishes no speedup or regression
relative to the earlier benchmark.
## Quality evidence
- TEST-10 (`6aa33214-1e3f-4dd4-97ce-7c8f157f8f1f`) independently read back as
**Done**, with final work record and evidence.
- Agent's own Node/CDP harness: **132/132 assertions**, exit zero. It covers
winning lines, draw, restart, occupied cells, mouse/touch/keyboard input,
multiple viewports, pixel checks, CDN failure and a hover negative control.
- Observer's separate browser check: **23/23**, covering visible WebGL, all
eight winning lines, terminal locking, restart, draw, occupied cells, mobile
interaction/layout and absence of page errors. The agent's game was not edited.
- Final single-file game: 19,027 bytes; SHA-256
`7837bbede7bff9de5f127c514cec32311b82159f37b27c7e2cb8a72e550139d6`.
- Console reached its final completed turn. Tool calls and outputs traversed
native Responses, including MCP text-part output and namespace identities.
Raw SSE frames for the entire session were not captured; terminal-event
coverage also comes from the earlier real API checks and local tests.
Earlier attempts are retained as failures/incomplete runs: MCP text-part replay
and late developer instructions exposed protocol gaps which were fixed; a later
452.02 s run produced a playable game but left TEST-9 incomplete. Exit zero was
not accepted as task completion. A template fidelity fix kept assistant
commentary and tool calls in one turn before the successful fresh run.
## Versions and configuration
- Full agent run: control plane **a3770ed**, following console integration
**a60ebe5**. Follow-up deployed revision **93e2a9b** additionally preserves
call identity when parallel tool results arrive out of order, and reports
the existing greedy temperature default as zero. Sampling did not change.
- The complete agent run was not repeated on 93e2a9b. Instead, its changed path
passed a real-model paired check: ordered/reversed delivery produced identical
greedy JSON, `{"Oslo":3,"Paris":17}`, numerical tolerance **0**. Both responses
completed and reported temperature zero.
- All **116 Rust tests**, formatting and Clippy with warnings denied passed.
Rust 1.99.0, Linux x86_64 musl release build successful.
- Deployed supervisor: 17,132,528 bytes, SHA-256
`74b116ad22eaf8382447bb71886dfc6a6d3e68142118f369f8be9cb0735dee2f`.
- Engine 0.1.35, fork `engine-fork-f80a3e0`, executable SHA-256
`0f62ffb4dd30561bd4e56cd5e4da412a09f56b7ef6a19f5e23d0cea7e4381b1f`.
Imported upstream remains `d9ab8435f654c368c586340d490915f6addf56a3`;
engine code was not changed in this milestone.
- RTX 5090 32,607 MiB, driver 595.91.07, CUDA 13.2.86, 600 W limit;
Ryzen 9 9950X3D, 128 GB RAM.
- Qwen3.8-Flash-Next IQ3_S, one slot, configured context 262,144, INT8 KV,
32,768 resident KV tokens, auto expert cache/prefill, MTP spec=4/min-p=0.5,
existing expert profile, VRAM reserve 700 MiB. No KAR or V-only enabled.
- Model's previously verified source shards total 83,617,662,656 bytes, digests
`4c1eb2ceb4915e1192f4f386021897bde56a97f40a0bb78bb86465e0f7d2aca3` and
`316b46f3a2dbd68c900f43136ab9449f9dcc3725dfd8c794847c204bc161e113`.
No new whole-model hashing was performed.
- Unchanged task prompt SHA-256:
`e10a433962e47b191b8269348cf26f9756d070ca800f2fe77213aa13f78023b1`.
## Run the trial
The loopback endpoint is running on rnr5090:18082, exposed through the retained
SSH tunnel at laptop port 18084. The isolated test profile was used throughout;
the user's normal connection has not been changed. To select native Responses:
```sh
qwen-codex-ctl connect strata-native --url http://127.0.0.1:18084 --no-auth
qwen-codex-ctl status
qwen-codex
```
`status` reports `strata-native-iq3-s`, 1 × 256K, Responses ready; `/ready`
returned HTTP 200 after the final deployment and real-model follow-up.
The launcher uses the Rust endpoint directly, with no Python serving bridge.
The local launcher/controller itself still uses Python.
The retained tunnel survives the tool session but not a laptop reboot. If it
is absent, recreate it (do not run a second listener on an occupied port):
```sh
ssh -fN -o ExitOnForwardFailure=yes -L 127.0.0.1:18084:127.0.0.1:18082 rnr5090
```
This native endpoint is externally supervised; the launcher does not yet own
its start/stop lifecycle. It is not configured as a boot service. `ctl stop`
explicitly directs the user to the owning service instead of stopping unrelated
processes. No HTTP authentication is implemented: keep the endpoint loopback
only and use SSH, as deployed.
## Remaining gates
Text and function tools are supported. Image input, custom/freeform/web tools,
encrypted reasoning, durable response history, native lifecycle profiles and
authentication remain outside this trial. Structured output is prompted and
validated, not constrained decoding. Process-local history does not survive a
restart. Full 256K occupancy, 1×512K, 2×256K and multi-day stability are not
qualified by this 131,759-token maximum run. KAR GPU and V-only retain separate
quality gates. Hosted GitHub Actions have not run; a hosted repository is not
yet set up.
Private raw events, timing, engine log, usage summaries, final game and QA
screenshots are retained under the laptop's
`~/.cache/strata-next/native-console-20261004/`; remote runtime/config/assets
remain under the same cache subdirectory on rnr5090. Credentials and captures
are not in Git. Disposable capture home/work directories and obsolete native
runtime copies were removed. The deployed binary, tokenizer, configuration,
tunnel, private evidence and final game are retained for the user trial.