Skip to content

0.0.16 T1: pin the setup-to-first-merge interfaces #632

Closed

Description

@jparker2006

Parent

Ticket T1 of confirmed spec #2920 (0.0.16).

What to build

Write the small shared contract first, with schemas, synthetic fixtures and green contract-consistency checks. Pin the future interfaces that the independent tickets consume: selected GitHub identity and explicit App skip; private-by-default user App versus explicitly configured public factory App; protected key-delivery capability; visibility-aware init and brain routing; and the 0.0.16 timing/action receipt. Extend existing contracts compatibly before changing consumers. Contract and fixture checks establish the shape only; they must not claim an absent runtime is working.

The original first-hour result keeps its fixed one-hour meaning and separate ten-minute measure. A distinct 0.0.16 receipt binds the same candidate/repository/merge evidence and adds a strict less-than-1,800,000-ms limit, at most five owner interactions, the actual secret route, waits/help and freshness. Unknown counts or simulated evidence cannot pass. Pin how current settings consumers find the private brain while existing projects remain readable. Preserve read-only setup reads, durable operation identities, explicit consent and public-record rules. Do not guess an upstream CloudRoom command or silently redefine the no-extra-key-file guard: document the existing protected-paste recovery and its temporary owner download explicitly.

Owned paths

  • contracts/setup-onboard.v1.md
  • contracts/setup-onboard.v1.schema.json
  • contracts/setup.v1.md
  • contracts/setup.v1.schema.json
  • contracts/github-identity.v1.md
  • contracts/cli.v1.md
  • contracts/cli.v1.schema.json
  • contracts/first-hour.v1.md
  • contracts/fixtures/setup-onboard/
  • tools/install/tests/setup-onboard-contract/
  • tests/checks/skills.rs (shared) only the setup_onboard_contract check registration
  • .github/actions/docs-only/run.py (shared) only setup_onboard_contract test-selection registration
  • .github/actions/docs-only/plan.py (shared) only setup_onboard_contract test-selection registration

Relies on: contracts/setup.v1.md, contracts/setup.v1.schema.json, contracts/github-identity.v1.md, contracts/install.v1.md, contracts/first-hour.v1.md, contracts/decisions.v1.md, contracts/open-development.v1.md

Links

none

Acceptance criteria

  • The new contract/schema define init request/result, identity selection, brain reference, secret capability and 0.0.16 evidence shapes, without granting an effect or guessing provider transport.
  • Existing setup, identity and CLI contracts describe the compatible expansion and exact old/new reader behavior; the user App defaults private and accepts only its owner account, while the factory exception is explicit.
  • Synthetic good/bad fixtures reject ambiguous visibility, fake App verification, cross-account private-App use, duplicate or uncertain effects, leaked credentials, weak merge evidence, missing actions and synthetic/live confusion.
  • A 29:59.999 run with five actions can qualify; exactly 30 minutes, a sixth action or a missing count cannot. The old one-hour and ten-minute measures keep their own meaning.
  • Register focused offline checks in the existing CI selection mechanism; future runtime behavior has labelled stubs or the repository-approved pending form, never a permanently failing main test.

Proof

P1–P7 at the shared interface only. Run malformed/negative fixture checks red first, then the contract checks green. This proves consistency, not installation, usable accounts, live secret saving, timing or merges.

Validation and authority

Run the affected checks only, plus format/type checks for touched code. Use the existing CI selection/registration rows; do not add a new project dependency or skip a missing required tool silently. Fixtures contain synthetic values only. Raw live/contributor/account evidence and exact decision words stay private; public results use verified private-comment pointers. New visible UI uses the existing image skill before implementation.

This graph is written for approval only. No ready label, builder start, live/account/machine/secret action, external posting, spending, merge, release or publication is authorized by this unapproved ticket. After graph approval, the project's merge rules apply to implementation; live work still needs T8's exact kit authorization. A closed blocker without its required verified merge/completion evidence does not release work. New scope or changed interfaces return through plan-graph change control.

was ClosedWiz #2940

Activity

  1. added this to the 0.0.16 milestone on Nov 15, 2026
  2. added
    needs-info
    on Nov 15, 2026
  3. added
    ready-for-agent
    on Nov 15, 2026
  4. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch openwiz-move-2970-62efc8f14fe69c5b5de93404215e7cf9

    Retains the existing builder for ClosedWiz #2940 through the verified move to #632 / PR #644; no replacement or duplicate builder was started. The mapped branch/head and source linkage were read back. Existing independent scope questions remain separate from plan re-approval.

  5. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: asked the orchestrator

  6. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    Builder question (moved from the private record, updated): before the move, this ticket's PR failed CI once in crates/store/tests/atomic_replace.rs, inspect_never_refuses_private_state_during_atomic_replacement. Across 100000 inspections, exactly one returned service/state.json: must be a regular file. The code is outside this ticket's owned paths.

    Cause. In crates/store/src/loops/paths.rs, an atomic rename briefly leaves the replaced inode visible with a link count of 0. checked correctly marks that as a transient change. The bounded retry gave up after eight attempts with pauses of at most 100 µs, about 1 ms in total, and then reported the last transient message. A scratch copy with that message made distinct confirmed the failure came from retries running out, not from a hard refusal. The ticket's own diff changes no Rust or Cargo file: the same test failed 1 of 40 runs at the old base and 4 of 40 at the old head.

    Now. Public main (0b10d1d93) already carries a corrective change in that file: the retry pause grows 50 µs × 3ⁿ, so the eight attempts span about 55 ms of the 100 ms budget. Every refusal rule is unchanged. The same test passed 40 of 40 runs locally at that commit, and every CI job passed at #644's head 71a1fe02d8ce81f4e056f129093533ca2aa2125e, including all four rust-export jobs. That supports the fix; it is not proof that the race is gone.

    Recommendation: no store change in this ticket and no new head for #644. Resolve this question. If a further failure appears, open a corrective ticket that owns crates/store/src/loops/paths.rs, rather than widening this ticket's paths.

    Private record of the original diagnosis: https://github.com/jparker2006/ClosedWiz/issues/2940#issuecomment-6875627522

  7. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    The store-edit question is resolved for this ticket: no store modification or additional owned path is needed or authorized.

    I verified through REST that crates/store/src/loops/paths.rs at PR #644 head 71a1fe02d8ce81f4e056f129093533ca2aa2125e is the identical Git blob (d11eedef4486786c2ae1dfe6678c6a161470a308) present on the builder's checked public main 0b10d1d93. It includes the existing growing retry pause. The exact PR head has passing ci; the builder's sanitized reconciliation also reports 40/40 synthetic runs on that public base. Those runs do not prove the race can never recur.

    The obsolete needs-info marker can be removed under T1's unchanged approved scope. No store edit, weakened test, new scope, CI rerun-to-green or corrective ticket is approved here. If that existing test fails again, its owning correction remains separate. Independent review of the contract PR proceeds next and should assess the stale current-ticket references separately from historical private-record links.

  8. removed
    needs-info
    on Nov 15, 2026
  9. added 4 commits that reference this issue on Nov 15, 2026
  10. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #699

    RN6’s repository-capitalisation-only contract change is pre-released for this ticket under C2. Consumer scope, blocker meaning and owned paths are unchanged; no ticket edit or new approval cutoff is needed. This acknowledges/releases only a #699-triggered contract hold, not any independent audit, needs-info, ordering or live gate.

    Private record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6891382510

  11. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: archived

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