Repository navigation
test(qualification): add CHE-1143 acceptance packet [squash] - #126
Draft
congvc-bot-x99[bot] wants to merge 10 commits into
Draft
congvc-bot-x99[bot] wants to merge 10 commits into
congvc-bot-x99[bot] wants to merge 10 commits into
Conversation
This comment has been minimized.
This comment has been minimized.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
68eab0af80eecb12e5d9fcc05a8e5635b31aff94. This source pin does not establish the serving revision. Verify the serving revision before acceptance and stop if it differs.9223(thean13321@gmail.com) remains admin. Session9224(lanlan78930@gmail.com) remains regular. Revalidate both profiles with read-onlyGET /api/system/whoamiat the verified serving revision. Do not change identities orARTEMIS_ADMIN_EMAILS./api/runbypassesrequire_device. The target-control contract remainsUNKNOWNandNOT-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.9223is admin and session9224is regular. Both still require read-only revalidation at the serving revision.Change
scope=mineand adminscope=allbefore 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.NOT-RUN. Do not add a provider run.9224current-conversation text-plus-image run with the pinned JPEG and expected answer11/07/2016. The USD 5 scope applies only to this run after Hermes verifies routing, binding, and enforcement.docs/preview-fixtures.md,ARTEMIS_PREVIEW_PROFILE=1,ARTEMIS_PREVIEW_IDENTITY_SWITCH=1, and aliasesqa-a,qa-b, andadmin. 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.BLOCKEDandNOT-RUNif Sol determines first-class qualification applies.11/07/2016to11/07/2017. It must produce one failed assertion, expected11/07/2017, observed11/07/2016, and a nonzero exit. Preserve the raw artifact before approval.artemis run --device-serialfor Chrome binding.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, andtests/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"]Evidence
0b2c0325693fdef0817c1fdfc06a156d79668482.qualification/journeys/che1143_smartqa_private_phone_image_chat.md, SHA-25646f8ce4534a7fadb9a14c01d56f17e2d9eebdb5427b27a0b857c52106bcd38d4.qualification/candidates/che1143_smartqa_private_phone_image_chat.v1.json.68eab0af80eecb12e5d9fcc05a8e5635b31aff94.uv.lockfecfe4364bc321e2a77febf0616b878e38f8daacabee6aea345058e9fc523351andapps/showcase_ui/package-lock.json2e4aebe81458df7615678be7353b625bfffb96a0876f11c4db16f03164569874.70f90cfed759ba3b08439c1935d28c876d64f527recorded journey digest3ee89bccebb6592a15ee23e1688139492a11924aef07f4633af620d6dfaa73ed. The new digest supersedes it.git diff --checkpass. The old-head CI had one failed Python run and one successful same-head Python run.tests/unit/clients/test_accessibility_client.py::test_401_pushes_the_token_again_and_retries_once. Run37818626053passed on the same old head. The failed test is outside this packet's changed files.ec7517313a91bae6091ce37acf4a66d96ce297a3: run38921146767passed all three CI jobs. Run38921154627passed frontend and package jobs, but its Python job117041098708failed with exit code 1. The failed job's annotations report no test name. Run38921154595passed 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.tests/unit/sdk/test_agent_run_outcome.py::test_outcome_write_failure_does_not_skip_finalize_or_session_end. The test double accepted onlystatus, but the SDK passederror. The correction changes only the test double to accept the optionalerrorargument. The test assertions remain unchanged, and no application code changed.38927718363and PR-event CI run38927727204passed all three jobs. What's New run38927727174passed.NOT-RUNbecause the prior environment lackedlangchain_core. The current targeted unit test isNOT-RUNbecause the existing.venvhas nopytestinstalled. CI ran both deterministic and reverse-order Python unit suites. No product code changed.NOT-RUNbecause no renderer was available and offlinenpxreturnedENOTCACHED. The cachedmmdcinvocation also reported missing Chrome headless shell.Refs CHE-1143