Skip to content

0.1.1 DW6: the Factory driver passes the kit #1998

Done

Description

@jparker2006

Parent

Ticket DW6 of spec #1987 (0.1.1). Size: S.

What to build

A driver for Factory at adapters/factory/, copied from adapters/template/ and built on the driver contract (kernel/driver.v1.md): version, schema, start, wake and stop, with a fake Factory under fixtures/bin/ so the kit runs in CI. Drive Factory's droid exec: start runs it with JSON output and keeps the session id, wake runs it again on that session, stop ends the local process and any child it started. Droid is Factory's own agent; the README says how harness maps. The exact commands are in the drivers-wave research (private/research/drivers-wave/2026-11-20.md in jparker2006/ClosedWiz; your parent passes the section). If one of start, wake or stop turns out not to be scriptable, stop and ask on this ticket. The driver never reads, prints or passes on a credential (contract section 2). Its README opens with one login line in the spec's form: Login: held by Factory. Shared lines, one row each: the test line in .github/workflows/ci.yml, the entry in tools/open-import/paths.json, and the name in DRIVERS in tools/release/build_products.py.

Owned paths

  • adapters/factory/ in openwizdev/OpenWiz (new)
  • .github/workflows/ci.yml in openwizdev/OpenWiz (shared: this driver's one test line)
  • tools/open-import/paths.json in openwizdev/OpenWiz (shared: this driver's one entry)
  • tools/release/build_products.py in openwizdev/OpenWiz (shared: this driver's name in DRIVERS)

Relies on: kernel/driver.v1.md, kernel/driver-kit/schema.json

Links

none

Acceptance criteria

  • The kit fails against the copied template first (red log in evidence/), then passes all five checks on fixtures, in CI
  • No input, argument, output or copied environment carries a login, token, key or password
  • The README's login line says where the user's login lives, in the spec's form
  • Merge gate: merges only after its live-check ticket records 5 of 5 on the real host at this pull request's approved head (driver contract section 3), and after the 0.1.0 cut

Proof

P1 (this driver): test_driver.py and the kit on fixtures, red first. P3: the code review.

Activity

  1. added this to the 0.1.1 milestone on Nov 20, 2026
  2. added
    ready-for-agent
    on Nov 20, 2026
  3. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/1998-factory-driver

    Started by hand under the J87 planner's fleet.sh-outage ruling (OpenWiz #1958): fleet.sh claim failed only with "conflicting PR check snapshots". Start conditions read at 20:09Z: open; labelled ready-for-agent only, not held; no open blocker; no other live claim, builder or pull request; plan approval 7049330143 (revision 2) current, as fleet.sh spec 1987 printed start #1998 at 20:01Z.

  4. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: Claude Code
    model: Opus 5.5
    skills: build-ticket@0.2.0
    step: R7 fixed once more, red first: stop on a tampered folder ends nothing and says so; a new green head is handed back.
    time: 2026-11-21T22:24:30Z
    pr: #2022

  5. added 2 commits that reference this issue on Nov 20, 2026
  6. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Builder question: one supporting-edit grant for the changelog line (PR #2022)

    This ticket's changelog line must be changes/1998.md, but that name is already taken on main by a line moved from the private repository under its old number. changes/README.md (Moved files) says to rename only that moved file to changes/closedwiz-1998.md when a new ticket's line collides with it. The rename is byte-for-byte: its sha256 still matches its entry in tools/release/moved.json, so no other file changes.

    The owned-paths check rejects changes/closedwiz-1998.md because neither the owned paths nor the standing supporting-edit rule name it.

    Options:

    1. Grant an F4 supporting edit for changes/closedwiz-1998.md (the rename above). My pick: it is the changelog contract's own rule for this case.
    2. Drop the rename and the changelog line and use no-changelog. I advise against this: a new driver is a product change.
    3. Another number or path for the line. The contract doesn't allow this.

    The driver itself is done and the fixture tests pass. I'll finish the hand-back once this is answered.

  7. added
    needs-info
    on Nov 20, 2026
  8. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: granted supporting edit: rename the moved line changes/1998.md to changes/closedwiz-1998.md byte for byte (sha256 unchanged, still matching tools/release/moved.json), as changes/README.md's Moved files rule says, so this ticket's own changelog line can be changes/1998.md (PR #2022)

  9. added a commit that references this issue on Nov 20, 2026
  10. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Builder: the grant needs the owned-paths check's form (PR #2022)

    Thanks: grant 7049799014 is trusted. But tools/owned-paths/check.py only counts a record author's comment that contains F4 supporting edit granted and names each path in backticks. Run on PR #2022 with the grant posted, it still prints OUT: changes/closedwiz-1998.md and fails.

    Please restate it in that form, for example:

    F4 supporting edit granted: changes/closedwiz-1998.md (the byte-for-byte rename of the moved line changes/1998.md, under changes/README.md's Moved files rule; PR #2022)

    I won't post a grant for my own edit. Once it's recorded, I'll re-run the check, push the green hand-back and settle needs-info.

  11. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: granted supporting-edit: the changelog rename, restated in the form the owned-paths check reads

    F4 supporting edit granted: changes/closedwiz-1998.md (the byte-for-byte rename of the moved line changes/1998.md, sha256 unchanged and still matching tools/release/moved.json, so this ticket's own line can be changes/1998.md; PR #2022). Same grant as comment 7049799014.

  12. added a commit that references this issue on Nov 20, 2026
  13. 10 remaining items

  14. added 3 commits that reference this issue on Nov 20, 2026
  15. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Planner ruling for DW6 #1998 (Factory), stop on tampered state: when a run's folder or files aren't owner-only, or are links, stop must not act on anything recorded there, because killing untrusted process ids could hit someone else's process. It first ends whatever it can still identify safely, without trusting that state: the process group or session the driver itself created, or its supervisor as a direct child. If that ends the run, it answers stopped. If it can't safely end the run, it exits 1 with a fixed reason naming the folder and the next step (driver contract D3), and never kills a process found through the untrusted state. Wake may refuse outright on tampered state. Tests cover both stop outcomes. This narrows the Pane stop ruling only for tampered state.

  16. added 3 commits that reference this issue on Nov 20, 2026
  17. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #2028

    kernel/driver.v1.md (the Supported platforms line) and kernel/driver-kit/ changed in #2028; its fresh-round builder was told in its brief at 22:1xZ.

  18. added 3 commits that reference this issue on Nov 21, 2026
  19. added a commit that references this issue on Nov 24, 2026
  20. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    agent: reviewer
    state: done
    harness: Claude Code
    model: Opus 5.5
    skills: review-ticket@0.4.0
    step: APPROVE at 3b5937e posted
    time: 2026-11-24T12:57:46Z
    pr: #2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions