Skip to content

0.1.2 EF1: driver v1's optional effort start field, its can entry and the can't-set-effort statement (the contract) #2558

Closed

Description

@jparker2006

Parent

Ticket EF1 of spec #2471 (0.1.2), effort as a first-class setting (J318). This is the contract-first ticket: every other ticket builds against it. Size: S.

What to build

Write the spec's The contract decisions into kernel/driver.v1.md and their shapes into kernel/driver-kit/schema.json, word for word where the spec fixes a rule:

  • the optional effort start input (^[a-z][a-z0-9-]{0,19}$), with the other five fields still required;
  • effort added to can's enum;
  • no other version change. Say explicitly that a driver says it can't set effort in exactly three ways, since its answer must match the schema and carries no note:
    • effort is absent from can;
    • a plain Effort: README line;
    • the D3 refusal whose next is exactly this host can't set effort: remove the effort for this harness in your Models table or Roster to run it at the host's default;
  • rules E1 to E4, and the Effort: README line under the login line;
  • in section 3, a short list under the table (the table keeps its five rows) saying what the start check also covers for effort, as the spec's The kit's effort check says. It is part of start, not a sixth check, so the kit still prints five lines and "5 of 5" stays true.

Additive only: no existing rule's text changes meaning. Keep every keyword inside what kit.py's schema reader accepts (its KEYWORDS set).
Copy the new schema.json byte for byte into adapters/template/schema.json, adapters/local/schema.json, adapters/cloudroom/schema.json and adapters/boat/schema.json, so each driver's schema still prints it unchanged. Existing drivers hard-code their start fields, so they keep refusing effort (D1) with no code change: show that by running each driver's test_driver.py.

KY1 (#2379) owns section 2 of kernel/driver.v1.md: touch only sections 1 and 3. If another driver has reached main by the time this merges (a wave-1 driver, for example), ask the lead for a grant to update its schema.json copy in the same pull request.

Owned paths

  • kernel/driver.v1.md (shared: sections 1 and 3 only; section 2 is KY1's)
  • kernel/driver-kit/schema.json
  • adapters/template/schema.json
  • adapters/local/schema.json
  • adapters/cloudroom/schema.json
  • adapters/boat/schema.json

Relies on: nothing

Links

none

Acceptance criteria

  • The contract names the field, the can entry, the three-way statement with the exact refusal text, and E1 to E4, as the spec fixes them
  • A start without effort still validates; a start with effort validates against the schema
  • Every driver on main prints the new schema unchanged, and every adapters/*/test_driver.py and kernel/driver-kit/test_kit.py passes

Proof

Spec claim: the contract is additive. Red first: a start input with effort, and a version answer listing effort in can, fail schema.json validation, using the kit's own validator on the old schema. Green: it validates, and every existing driver test passes unchanged. Record both runs in the pull request.

Activity

  1. added this to the 0.1.2 milestone on Nov 22, 2026
  2. changed the title [-]0.1.2 EF1: driver v1's optional `effort` start field, `can` entry and `version` answer (the contract)[/-] [+]0.1.2 EF1: driver v1's optional `effort` start field, its `can` entry and the can't-set-effort statement (the contract)[/+] on Nov 22, 2026
  3. 6 remaining items

  4. added
    ready-for-agent
    on Nov 22, 2026
  5. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: started

    Hand checks (lead, plan revision 1 approved on #2471):

  6. jparker2006 commented on Nov 23, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: claude-code
    model: Opus 5.5
    skills: build-ticket@0.2.2
    step: Handed back the effort contract pull request for review.
    time: 2026-11-23T00:02:26Z
    pr: #2659

  7. jparker2006 commented on Nov 23, 2026

    @jparker2006
    MemberAuthor

    Lead, plan change (revision 2 coming): the kit's effort verdict becomes part of the start check, not a sixth check line. The kit keeps printing five lines (version, start, wake, stop, token), so "5 of 5" and the write-driver contract (contracts/write-driver.v1.md, contracts/fixtures/write-driver/check.py) stay true. For this ticket: keep section 3's table as it is, and describe the effort part of start in a short list under it. Nothing else in your scope changes.

  8. added 3 commits that reference this issue on Nov 23, 2026
  9. jparker2006 commented on Nov 23, 2026

    @jparker2006
    MemberAuthor

    agent: reviewer
    state: done
    harness: codex
    model: Sol 6.2
    skills: review-ticket@0.4.0
    step: Posted the exact-head review verdict for PR 2659.
    time: 2026-11-23T00:56:55Z
    pr: #2659

  10. added 3 commits that reference this issue on Nov 23, 2026
  11. jparker2006 commented on Nov 23, 2026

    @jparker2006
    MemberAuthor

    F4 supporting edit granted (planner), for #2558:

    adapters/openclaw/schema.json

    Why: the OpenClaw driver merged to main with the old schema copy. In the merge group, its schema check fails against EF1's new kernel/driver-kit/schema.json (fail version: its schema is not kernel/driver-kit/schema.json), so #2659 left the queue. The copy must be byte for byte the new kernel schema, as EF1 already does for the other four drivers. EF9 (#2598) owns the rest of adapters/openclaw/ and runs after this ticket.

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