Skip to content

Exercise the T3 driver lifecycle on a synthetic host - #3257

Draft
luke23571113 wants to merge 1 commit into
openwizdev:mainfrom
luke23571113:spike/t3-driver-fixture
Draft

luke23571113 wants to merge 1 commit into
openwizdev:mainfrom
luke23571113:spike/t3-driver-fixture

Conversation

@luke23571113

Copy link
Copy Markdown

Purpose

This contributor draft is available for design and code review alongside #3127. It exercises the v1 protocol under prototypes/t3/. The driver launches only a bundled Python fixture and does not ship with OpenWiz.

What to review

  • Start assigns an opaque run to one top-level thread in the mapped checkout, using the requested provider and model. The prototype fences an ambiguous start before it can create a duplicate.
  • Each successful wake delivers one follow-up to the same thread. A busy thread queues it and an idle thread starts a new turn. The fixture shows the next turn editing the original builder note.
  • Stop checks for an empty queue and completed cleanup, including delegated work. The tests model incomplete cleanup and verify that another thread survives.

Verification

The first executable lifecycle proof failed before the driver existed. All 16 focused tests pass with python3 -I prototypes/t3/test_driver.py -v. The README contains the disposable tracker setup for the five passing fixture-kit checks. The schema matches v1 byte for byte.

Outstanding host proof

T3 0.1.11 exposes start and queue-mode send. Its CLI provides no per-thread stop or effective effort readback. The prototype refuses explicit effort before dispatch, and its termination receipt is synthetic. A production adapter needs an approved child ticket, an authorized throwaway ticket and project, a supported stop operation, and evidence that the provider and child processes ended. Live Mac smoke, deployment-host kit evidence, and the fleet's other-family review are outstanding. This draft makes no ticket claim.

@luke23571113
luke23571113 marked this pull request as draft November 25, 2026 01:24
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.

1 participant