Skip to content

CHE-984: fix(runner): pin D1 model route and enforce assertion exits [squash] - #201

Draft
congvc-bot-x99[bot] wants to merge 9 commits into
mainfrom
agent/x99-codex-sol/cf003894a981
Draft

congvc-bot-x99[bot] wants to merge 9 commits into
mainfrom
agent/x99-codex-sol/cf003894a981

Conversation

@congvc-bot-x99

@congvc-bot-x99 congvc-bot-x99 Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Status

Draft host runner correction. Device qualification and D1 acceptance are NOT-RUN.

Conditions

Cheese's D1-only Route approval is comment 01a134b6-220f-7e3e-8300-5aefd10035ba on CHE-984. The approved baseline is f1fab564b820aab72c9005ec1d5dbb2b60cc837f.

Only the approved OpenAI gpt-6.1-sol route is permitted. The target remains the owned X99 recyclable AVD. No real telemetry, physical device, new spend, testcase change, SDK/sample change, source-pin change, lockfile change, APK action, merge or release occurred. D2/D6 are outside this approval. N2 remains NOT-RUN.

Every changed head needs fresh independent cross-lab signing before any AVD claim. Sol authored this runner change and cannot sign the change independently. Testcase reviews, dependency provenance, effective endpoint identity, target-class qualification and CHE-387's flake baseline remain separate gates.

Change

  • Require standalone Pro, a pinned emulator serial, the synthetic package and strict Checker verification for --qualification che984-d1.
  • Restrict primary, fallback and optional-judge LLM nodes to the approved model. Disable Google pre-warming only for D1.
  • Validate native step-memory and capsule-memory model overrides before Agent initialization. Pin both native settings in the published D1 configuration.
  • Reserve test_summary for the native outcome. Map completed assertion evidence to exits 0/1/2, fail closed on missing or partial evidence, and propagate cleanup errors.
  • Document the restricted invocation. No immutable journey assertion, step or limit changed.

Evidence

Author: x99-codex-sol, agent 5cd75ce5-d323-4004-9779-7e2ccf16bde4, model gpt-6.1-sol, OpenAI.

Current head: 9560f2fa00a97d92081470b229e77f1394fec075. The delta from c6fd049663c2a49c19886eea74ba2bc908227417 is one commit and four files, with 100 insertions and no deletions. Independent signing of this successor is pending.

Sonnet signed the c6fd head in comment 01a13528-967b-7a3d-9e23-5fff01899fd6. Sonnet reproduced the old daemon-reason failure with GITHUB_ACTIONS=true; Click unstyle fixes that assertion. Luna's earlier UNPROVEN diagnosis is superseded by that observed reproduction. All seven c6fd CI checks are SUCCESS. Those results do not approve this successor head.

Native memory defaults exposed a separate unapproved-model override. A host-only probe captured OpenAI endpoints with Gemini-named models through the real memory constructors and a mocked factory. The correction rejects those defaults before Agent initialization and pins both native settings to gpt-6.1-sol.

The four new regressions fail before the correction and pass after it. Current-head host checks: 47 D1 tests pass on Python 3.12.3 and 3.13.12. All 52 CLI tests pass under GITHUB_ACTIONS=true. All 155 adjacent tests pass with 50 existing Pillow warnings. Test-process-only CODEX_HOME isolation preserves each test's mocked home. Ruff check, Ruff format check and git diff --check pass.

The new-head checks are IN_PROGRESS at the publication snapshot. No local full-suite PASS, device qualification or acceptance is claimed. No CI retry, provider call, gateway probe or device action occurred.

The retained dependency inventory discloses three retry/retry2 file overlaps. The actual bytes match retry 0.9.2, not retry2 0.9.5. The raw per-distribution audit is not clean. No reinstall, silent reseal or provenance waiver occurred.

Refs CHE-984

Dependency namespace correction — 14 October 2026, 07:27 ICT

Verdict: The dependency namespace correction is published. D1 remains AUTHORED / NOT-RUN pending fresh independent signing and execution admission.

Candidate

Findings
The retained inventory identifies three files claimed by retry 0.9.2 and retry2 0.9.5. The installed bytes matched retry 0.9.2, not retry2 0.9.5. adbutils and uiautomator2 require retry2 and import the shared retry namespace. Repository search found no direct Artemis import of retry. The correction removes the unused direct retry requirement. uv removes retry and its now-unused py dependency from the lock. All retained package records, versions, artifact URLs and hashes are unchanged. No package was added or upgraded.

The initial offline lock resolution failed because cached adbutils metadata was unavailable for a Windows/Python 3.14 resolution split. An explicit package-index metadata resolution then succeeded. The separate execution environment was installed offline with the resulting immutable lock. No application, model-provider, gateway or device call occurred.

The former artemis/.venv was already absent at the morning read. This run did not delete it. The retained d1-py312 environment was not modified. The new environment is explicitly identified as restack-evidence/d1-dependency-py313-v2, Python 3.13.12. It is not a silent replacement or resealing of the old inventory.

Verification

  • Tests-only commit bcdd4239 adds the namespace regression. Against its unchanged lock, the assertion failed because both retry and retry2 were present. The failure is behavioral, not collection or compilation.
  • Implementation commit 885282fb402d1cb1e5f22afa5a8aa0d9331e1be3 removes the direct dependency and updates the lock. The same regression passes.
  • The correction's red/green order is real. Historical PR-wide first-commit TDD proof remains NOT-RUN: PR 201 began with a mixed commit before this correction. No history was rewritten and no waiver is claimed.
  • All 48 dependency/D1 host tests pass in the new locked Python 3.13.12 environment. This is not the full suite or device qualification.
  • Ruff check, Ruff format check and git diff --check pass for the correction.
  • The fresh audit covers 190 distributions and 30,338 hashed declarations. It reports zero version/file errors, zero declared RECORD mismatches and zero conflicting overlays. RECORD entries without hashes are counted, not verified. Editable source remains separately pinned by Git.
File SHA-256
pyproject.toml 0ee88e967cf68ef74283b56465fb9606b02e49eec8368aa10b235a736d302637
uv.lock 7c130361c8e8a0673de2b84c798b5e5fb1921a4b416d9961e7da70edb65dd07e
tests/unit/test_dependency_namespace.py 204f5a686f08bf7e683d80f3eb2d370970dc710a3800d9b62f1b65be3590629e

Conditions
No runtime runner logic, testcase, source pin, protected configuration, credentials or APK changed. The old Sonnet signature approves only the superseded runner head. Fresh cross-lab signing is required on the published correction before any claim. The namespace inventory is now clean for hashed declarations only; it is not execution qualification.

D1 case PR 191 remains 97433ea6abc25517432dae1635c1e5f247c31d45, SHA-256 ea084e150953629b865d8eed3e3520a1f12a71822727930b3c7f34755751a3eb. Its independent Sol/Opus approvals remain separate. SDK a15898e902c7b7472dc7c95dc4a94eddd62ce483 and sample 3543b272ca6a654c22ba7a2a98c5bc9760fac72e retain independent source receipts. No source-signing repetition is requested.

No AVD claim, grant, device command, qualification or acceptance occurred. Effective endpoint/configuration identity, restricted artifacts, APK lineage, compatible target identity, clean native pass/rerun, intended D1-NC-01 failing exit, cleanup/release and CHE-387 remain execution gates. Preserve all 50 raw pairs, the 5 ms absolute median paired-init delta, the valid no-beacon baseline, visible offline mock-ad rendering and P2/P3 limits. Preserve reset backup and CHE-819 originals.

D2/D6 remain PARTIAL / BLOCKED / NOT-RUN outside the D1 Route approval. N2 remains NOT-RUN. CHE-984 remains in_progress with its Android-squad assignee. No physical device, MacBook, real telemetry, new spend, merge, release or deploy occurred. No new dispatch is permitted after 07:30 ICT on 14 October 2026 under this overnight scope.

Actual tests-only red output

F                                                                        [100%]
=================================== FAILURES ===================================
______________ test_android_retry_namespace_has_one_locked_owner _______________
artemis/tests/unit/test_dependency_namespace.py:12: in test_android_retry_namespace_has_one_locked_owner
    assert namespace_owners == {"retry2"}, (
E   AssertionError: Android dependencies require retry2; retry overwrites the same Python namespace
E   assert {'retry', 'retry2'} == {'retry2'}
E     
E     Extra items in the left set:
E     'retry'
E     Use -v to get more diff
=========================== short test summary info ============================
FAILED artemis/tests/unit/test_dependency_namespace.py::test_android_retry_namespace_has_one_locked_owner
1 failed in 0.30s

@congvc-bot-x99 congvc-bot-x99 Bot changed the title fix(runner): pin D1 model route and enforce assertion exits CHE-984: fix(runner): pin D1 model route and enforce assertion exits Oct 13, 2026
@congvc-bot-x99 congvc-bot-x99 Bot changed the title CHE-984: fix(runner): pin D1 model route and enforce assertion exits CHE-984: fix(runner): pin D1 model route and enforce assertion exits [squash] Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants