Skip to content

Infra WM1: the WizRoom contract and the split checker, first #1056

Closed

Description

@jparker2006

Parent

Ticket WM1 of spec #979 (Infra).

What to build

The move's contract and the tool that applies its split rule.

The contract pins:

  • the split rule: a file in the war room's folder stays public if any public OpenWiz file outside it reaches it, by import, native load, or a path in a script, workflow, loop or contract, and files reached from those count too;
  • the public collector folder's name, tools/collector/;
  • WizRoom's layout, the same war-room folder path kept;
  • the one-field OpenWiz pin file and its on-main check;
  • the pin-and-replace checkout every WizRoom workflow uses;
  • the one-writer, fast-forward-only rule for the war-room data branch;
  • the workflows' switch variable, the runner-label variable with its jog-4vcpu default, and the one read-only secret's name and scope;
  • the adapter's local settings (address, port, remote, credential source; never committed) and the same-port rule;
  • the cut-over steps 0 to 5 with each read-back and way back, as the spec's table says;
  • the watch-window gate (24 consecutive hourly publications, each fetched and served);
  • the freeze of OpenWiz's war-room folder from the import until its removal.

It names no address, machine, account or private record content.

The offline checker reads a repository tree and prints the stay set (each file with the reference that keeps it public) and the move set. It refuses any reference it cannot resolve, such as a dynamic load with a computed path. It writes nothing and makes no network call. It is tested on synthetic trees, then run read-only on current OpenWiz main with its report attached to the pull request, as information only.

Owned paths

  • contracts/wizroom.v1.md
  • ci/wizroom/ (the checker, its tests and its synthetic fixture trees)
  • .github/actions/docs-only/ (shared: one row so CI runs the checker's tests)
  • STATUS.md (shared: WM1 result)

Relies on: nothing

Links

none

Acceptance criteria

  • Test rule (The test rule: what earns a test, and what never does #687): every new test protects a supported behaviour, a contract others rely on or a safety invariant, and the pull request says per test catches: <the bug>, or no new test: <why>. No mock-returns-stub, source mirroring, compiler re-checks, quota tests or unreachable cases; a bug gets a failing test first.
  • Every test the pull request deletes names its keeper (a test that still catches its bug) or says the behaviour it protected is gone.
  • The contract covers every item above. Words are public-safe.
  • Checker cases, red first: an import, a native load, a workflow path, a loop path and a contract link each keep their file public, and a transitive reach does too. An unresolvable dynamic load refuses with its location. A tree with no public reference moves everything.

Proof

WM-P1: the checker's synthetic tests, red first, plus its read-only report on current main.

Activity

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

    @jparker2006
    MemberAuthor

    launch-fleet: start failed: its builder was stopped twice by the Claude plan limit before it pushed a branch, and its sandbox would not take messages after the reset; restarting under the orchestrator ruling (private record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6945994176)

  4. jparker2006 commented on Nov 17, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/1056-infra-wm1-the-wizroom-contract-and-nfp7

  5. added 10 commits that reference this issue on Nov 17, 2026
  6. jparker2006 commented on Nov 17, 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