Skip to content

test(qualification): add CHE-1143 acceptance packet [squash] - #126

Draft
congvc-bot-x99[bot] wants to merge 10 commits into
mainfrom
agent/x99-codex-luna-2/9dc544a56da2
Draft

congvc-bot-x99[bot] wants to merge 10 commits into
mainfrom
agent/x99-codex-luna-2/9dc544a56da2

Conversation

@congvc-bot-x99

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

Copy link
Copy Markdown

Status

Adds one provisional testcase/admission packet for CHE-1143. The packet covers BUG-001 private browser-phone isolation, BUG-002 owner-filtered events, and REQ-003 image delivery in the current conversation. It reuses existing source regressions and adds only the missing acceptance journeys. It does not claim device admission, browser acceptance, provider evidence, testcase review, or execution. PR #126 remains open and draft. Acceptance remains NOT-RUN.

Conditions

  • Runner and app source stays pinned to 68eab0af80eecb12e5d9fcc05a8e5635b31aff94. This source pin does not establish the serving revision. Verify the serving revision before acceptance and stop if it differs.
  • Target: MBP-hosted Chrome with one physical Pixel 6 Pro on its owner's private browser bridge. Do not substitute a shared AVD. Sol must record the exact host and physical serial. Sol must also record the owner bridge serial mapping, exclusive claim ID and state, executor/run owner, and private evidence directory before device commands.
  • Session 9223 (thean13321@gmail.com) remains admin. Session 9224 (lanlan78930@gmail.com) remains regular. Revalidate both profiles with read-only GET /api/system/whoami at the verified serving revision. Do not change identities or ARTEMIS_ADMIN_EMAILS.
  • At the pinned source, a host-bound /api/run bypasses require_device. The target-control contract remains UNKNOWN and NOT-RUN. Do not send a host-bound request until Sol verifies the serving revision and a reviewed control proves rejection before enqueue and before any device command.
  • Two independent non-author decisions on the same immutable PR head must precede any execution, including first-class device-class qualification. At least one reviewer must be from a different lab than the author. I claim no testcase review or approval here.
  • Cheese authorized USD 5 and account-owner use of provider accounts 5–7 for one combined text-plus-image provider run. This update supersedes the earlier PR description, which said provider/account-owner clearance and a numeric spend scope remained missing. Hermes must still verify eligible account selection, current runtime binding, and enforceable run-scoped cost limits. Do not use the USD 5 authorization for extra qualification calls. New Anthropic Android runs remain halted.
  • The earlier PR description recorded: Provider/account-owner clearance and a numeric spend scope remain missing. The later approvals documented here supersede that earlier status.
  • The earlier PR description called both authorized profiles regular QA profiles. This revision replaces that assumption: session 9223 is admin and session 9224 is regular. Both still require read-only revalidation at the serving revision.
  • This authoring pass used no device, browser, provider, Cloudflare, credential, account, route, identity, or shared-data action. This pass authorizes no deployment or merge.
  • On an authorized run's C00 HTTP 502 or 503, do not retry or poll. Create one 1-hour wakeup, then stop.

Change

  • BUG-001 covers both private-phone directions: admin-owned phone invisible/unselectable to regular, and regular-owned phone visible to admin under the existing admin rule. Bind stream observations to the active owner bridge serial mapped to the claimed physical Pixel 6 Pro. Preserve shared-phone visibility and allowed read-only share-link access. Regular-to-regular isolation remains unproven.
  • BUG-002 subscribes regular scope=mine and admin scope=all before the single regular-owned run. Both channels must complete the subscription handshake and remain healthy, with timestamped keep-alives during quiet intervals, through the owner's terminal event or a 900-second timeout. Require positive regular evidence and admin all-scope evidence.
  • A foreign-owner live negative remains NOT-RUN. Do not add a provider run.
  • REQ-003 uses one regular 9224 current-conversation text-plus-image run with the pinned JPEG and expected answer 11/07/2016. The USD 5 scope applies only to this run after Hermes verifies routing, binding, and enforcement.
  • Synthetic setup reuses docs/preview-fixtures.md, ARTEMIS_PREVIEW_PROFILE=1, ARTEMIS_PREVIEW_IDENTITY_SWITCH=1, and aliases qa-a, qa-b, and admin. The isolated preview disables device, provider, lifecycle, and real task-execution routes. It cannot prove private-phone, live-event, or real-provider delivery. This pass starts no preview.
  • Qualification remains BLOCKED and NOT-RUN if Sol determines first-class qualification applies.
  • The failure control changes only the answer assertion from 11/07/2016 to 11/07/2017. It must produce one failed assertion, expected 11/07/2017, observed 11/07/2016, and a nonzero exit. Preserve the raw artifact before approval.
  • A compatible browser-bound runner command, numeric exit code, and claim-bound artifact path remain missing. Do not invent a command. Do not use artemis run --device-serial for Chrome binding.
  • The packet reuses existing source coverage: tests/unit/admin_console/test_device_stream_scope.py, tests/unit/admin_console/test_task_device_readiness.py, tests/unit/admin_console/test_run_device_binding.py, tests/unit/admin_console/test_run_ownership.py, tests/unit/admin_console/test_preview_routes.py::test_status_shows_each_qa_only_their_own_queue, apps/showcase_ui/src/app/pages/workspace/workspace-image-chat.spec.ts, and tests/unit/admin_console/test_run_images.py. These tests do not replace live browser/device/provider acceptance.
flowchart TD
    Source["Pinned runner/app source"] --> Serving{"Serving revision matches pin?"}
    Serving -->|No| Stop["NOT-RUN; stop"]
    Serving -->|Yes| Reviews{"Two fresh independent reviews, including cross-lab?"}
    Reviews -->|No| Stop
    Reviews -->|Yes| Admission{"Sol records qualified executor and exclusive claim"}
    Admission -->|No| Stop
    Admission -->|Yes| Qualification{"First-class qualification required?"}
    Qualification -->|Yes| QualificationCase{"Browser-bound case and command reviewed?"}
    QualificationCase -->|No| Stop
    QualificationCase -->|Yes| Roles["Revalidate 9223 admin and 9224 regular"]
    Qualification -->|No| Roles
    Roles --> AdminPhone["Admin private phone: regular cannot see or select"]
    Roles --> RegularPhone["Regular private phone: admin visibility follows admin rule"]
    AdminPhone --> Shared["Preserve shared-phone visibility and share-link reads"]
    RegularPhone --> Shared
    Shared --> Events["Subscribe regular mine and admin all; verify continuous health"]
    Events --> Health{"Both SSE channels healthy before one run?"}
    Health -->|No| Stop
    Health -->|Yes| Provider{"Hermes verifies eligible route, binding, run-scoped limit?"}
    Provider -->|No| Stop
    Provider -->|Yes| Image["One regular-owned text-plus-image run"]
    Image --> RegularEvents["Regular receives its own run events"]
    Image --> AdminEvents["Admin all-scope receives the run events"]
    Image --> Gap["Regular foreign-owner live negative remains NOT-RUN"]
Loading

Evidence

  • Candidate head: 0b2c0325693fdef0817c1fdfc06a156d79668482.
  • Journey: qualification/journeys/che1143_smartqa_private_phone_image_chat.md, SHA-256 46f8ce4534a7fadb9a14c01d56f17e2d9eebdb5427b27a0b857c52106bcd38d4.
  • Receipt: qualification/candidates/che1143_smartqa_private_phone_image_chat.v1.json.
  • Runner and app source: 68eab0af80eecb12e5d9fcc05a8e5635b31aff94.
  • Dependency lock digests remain uv.lock fecfe4364bc321e2a77febf0616b878e38f8daacabee6aea345058e9fc523351 and apps/showcase_ui/package-lock.json 2e4aebe81458df7615678be7353b625bfffb96a0876f11c4db16f03164569874.
  • The previous candidate at 70f90cfed759ba3b08439c1935d28c876d64f527 recorded journey digest 3ee89bccebb6592a15ee23e1688139492a11924aef07f4633af620d6dfaa73ed. The new digest supersedes it.
  • Static JSON parsing, digest match, role-contract assertion, and git diff --check pass. The old-head CI had one failed Python run and one successful same-head Python run.
  • The old-head failing test was tests/unit/clients/test_accessibility_client.py::test_401_pushes_the_token_again_and_retries_once. Run 37818626053 passed on the same old head. The failed test is outside this packet's changed files.
  • Historical CI at head ec7517313a91bae6091ce37acf4a66d96ce297a3: run 38921146767 passed all three CI jobs. Run 38921154627 passed frontend and package jobs, but its Python job 117041098708 failed with exit code 1. The failed job's annotations report no test name. Run 38921154595 passed the What's New validation. The then-visible total was six successes and one failure. CI was not fully green at that head. We apply no waiver to the failure.
  • The failed test was tests/unit/sdk/test_agent_run_outcome.py::test_outcome_write_failure_does_not_skip_finalize_or_session_end. The test double accepted only status, but the SDK passed error. The correction changes only the test double to accept the optional error argument. The test assertions remain unchanged, and no application code changed.
  • At the current head, push CI run 38927718363 and PR-event CI run 38927727204 passed all three jobs. What's New run 38927727174 passed.
  • The earlier local targeted test was NOT-RUN because the prior environment lacked langchain_core. The current targeted unit test is NOT-RUN because the existing .venv has no pytest installed. CI ran both deterministic and reverse-order Python unit suites. No product code changed.
  • I verified the Mermaid syntax structurally. Rendering was NOT-RUN because no renderer was available and offline npx returned ENOTCACHED. The cached mmdc invocation also reported missing Chrome headless shell.

Refs CHE-1143

@blacksmith-sh

This comment has been minimized.

@congvc-bot-x99 congvc-bot-x99 Bot changed the title test(qualification): add CHE-1143 acceptance packet test(qualification): add CHE-1143 acceptance packet [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