Skip to content

Infra WZ16: the second export review's fixes for the v0.1.0 candidate #705

Closed

Description

@jparker2006

Parent

Ticket WZ16 of spec #551 (Infra, WizSkills; formerly ClosedWiz #2622).

What to build

Fix only the eight confirmed findings from WZ9's second export review of the v0.1.0 candidate tree 3cf8f643, generated from OpenWiz main dfeaf0a9. Rebuild and re-review the candidate through WZ9; this ticket grants no publication authority.

  • E1: setup may offer OpenWiz's App setup tool only from the installed OpenWiz, never execute a file from the consumer project, and run it only after the user's explicit go. This is stricter than optional consumer reads.
  • E2: describe the consumer project's glossary map as optional; read it only when present.
  • E3: describe the consumer project's out-of-scope folder as optional; read it only when present.
  • E4: publish the fully verified installation in one atomic step, so concurrent readers cannot observe a partially populated destination. Preserve refusal, cleanup, no-overwrite and concurrent-install protections.
  • E5: keep the real loop id private under the fleet settings; the public fleet-active record must not expose it.
  • E6: always use the installed package's fleet and revision helpers, including the direct loop invocation; never fall back to the consumer project's skills folder.
  • E7: treat the grill index's consumer folder as optional; read it only if present, with matching wording and honest absent-folder behaviour.
  • E8: make the carried O10/triage fixture run without source Git history that a release does not contain; retain its behavioural assertions using carried sources or synthetic fixtures.

For E1, E2, E3 and E7, amend only the optional consumer-path part of the WizSkills contract and the matching skill wording. The contract must list these exceptions explicitly, with read-only-if-present rules for consumer paths and E1's installed-OpenWiz-only, user-go execution rule. Do not grant consumer-code execution or widen any other exception.

Owned paths

Source paths in OpenWiz, not paths in the generated candidate:

  • skills/setup/SKILL.md — E1 and matching optional-path wording only.
  • skills/setup/templates/domain.md — E2 only.
  • skills/triage/OUT-OF-SCOPE.md — E3 only.
  • tools/skills-copy/package/install.sh — E4; emitted as candidate install.sh.
  • skills/launch-fleet/SKILL.md — E5 only.
  • skills/launch-fleet/scripts/loop.sh — E6 only.
  • skills/grill/scripts/index.sh — E7 only.
  • skills/launch-fleet/scripts/fixtures/test-o10-triage.py — E8 only.
  • contracts/wizskills.v1.md (shared) — only the E1/E2/E3/E7 optional consumer-path rules, including their normative declaration when needed.

Existing tests, limited to regressions for those eight findings:

  • tools/skills-copy/test_package.py — installation publication and race/refusal proofs.
  • tools/skills-copy/test_standalone.py — optional consumer-path boundary proofs.
  • skills/launch-fleet/scripts/test-loop.sh — installed-runtime selection, including a hostile consumer skills folder.
  • skills/launch-fleet/scripts/test.sh — loop privacy and carried fixture regressions only.
  • skills/grill/scripts/test.sh — optional default-folder present/absent behaviour.
  • skills/triage/test/test_public_records.py — affected public privacy/optional-path checks only.
  • tests/checks/skills.rs — affected skill wording checks only.
  • tools/skills-copy/package-check/test_check.py — release-tree suite regression only.
  • tools/wizskills/test_contract.py — changed optional consumer-path contract assertions only.
  • tools/open-import/paths.json (shared) — only entries required for new regression files within the above scope; no unrelated ownership/import changes.

Relies on: contracts/wizskills.v1.md, contracts/open-development.v1.md, docs/agents/fleet.md

Links

none

Authority

Jake's standing approval SK1 authorizes this narrow work to make WizSkills pass its own checks, privacy checks and export review (SK1 private record). Jake also approved J73 for the E1/E2/E3/E7 contract exceptions, including E1's restriction to the installed OpenWiz App setup tool after the user's explicit go, with consumer-project setup code excluded (J73 private record). J73 is settled: there is no remaining WZ16 merge hold. Ordinary exact-head independent review, green CI and the project's merge rules still apply; publication remains separately gated.

WZ16 blocks WZ9 (#553) so the next export review and install trials use the corrected candidate. WZ9's separate #652 contract hold and its labels remain under that hold owner's control; this ticket does not release them.

Acceptance criteria

  • E1/E2/E3/E7 have the bounded contract exceptions and matching wording; absent optional paths cause no read and no accidental execution.
  • E1 refuses consumer-project setup code and requires the user's go before installed OpenWiz App setup executes.
  • E4 exposes either no destination or the complete verified install, never a file-by-file partial install; concurrent foreign destinations remain untouched on refusal.
  • E5's public record contains no real loop id, with private ownership resolution preserved.
  • E6 uses installed helpers with no consumer fallback, for bundled and direct invocation.
  • E8's behavioural fixture passes in a release-shaped tree without the source repository's history.
  • All eight red-first regressions pass; the rebuilt candidate's package checks, privacy check and WZ9 second-review re-check pass on the exact recorded candidate.
  • The J73-approved contract change retains E1's installed-source and user-go limits, and ordinary review/CI and publication gates remain required.

No folder-wide ownership. Existing tests above may gain only regressions for these findings; other suites are run, not edited. New files outside this exact list require a separately approved path grant.

Proof

WZ-P1 through WZ-P7, limited to the affected contract, standalone/privacy, installer and carried-suite behaviours; WZ9 retains independent candidate verification. Fixture tests: reproduce each finding red first at the affected existing seam, then show green, including absent/present consumer paths, hostile consumer setup/runtime files, concurrent installation observation and collision, public loop privacy, and a history-free release tree. Record exact source head and candidate commit/tree. Package checks and privacy checks prove only their checked candidate; WZ9 provides the independent export review and install-trial evidence. No live App setup, credentials, publication, pin move or consumer ownership cut is authorized here.

Activity

  1. added
    ready-for-agent
    on Nov 15, 2026
  2. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: started

  3. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    Builder question (E5): how should the public fleet-active record name its loop?

    Found: fleet.sh (not owned here) reads the loop from the spec's latest launch-fleet: fleet active, loop <id> record and prints wake fleet #S: room-cli loop run <id>. So with only skills/launch-fleet/SKILL.md and its test in scope, the record still has to carry something in the loop slot (the regex needs [A-Za-z0-9_-]+) for wakes to work.

    Options:

    • A (recommended): the public record carries a per-spec handle, launch-fleet: fleet active, loop fleet-<S>. The real loop id is saved only in private state (the LAUNCH_FLEET_STATE map, beside fleet:S, as loop:S). A wake fleet #S: room-cli loop run fleet-<S> line is resolved through that private key before running. If the key is missing, the tick records a thread-free look and the spec waits for its own loop. test.sh gains a regression showing that a handle record still gives exactly one wake line and that no real-shaped id appears.
    • B: the record carries no loop, so there is no instant wake. The spec waits for its own loop (fleet.sh's existing "names no loop" path). That needs the fleet thread <t> form, though, which would publish a thread token, so it also needs a fleet.sh path grant.

    Recommendation: A. It stays inside the owned paths and keeps wake routing. I'm building E1–E4 and E6–E8 meanwhile.

  4. added
    needs-info
    on Nov 15, 2026
  5. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    Fleet answer (SK1): A, yes.

    • The public record carries a per-spec handle, launch-fleet: fleet active, loop fleet-<S>.
    • The real loop id lives only in private state (loop:S beside fleet:S in the LAUNCH_FLEET_STATE map), and a wake fleet #S line resolves the handle through it before running.
    • If the key is missing, the tick records a thread-free look and the spec waits for its own loop.
    • Add the test.sh regression you describe: it catches a real-shaped loop id leaking into a public record, and a handle record giving anything but exactly one wake line.
      Stay inside skills/launch-fleet/SKILL.md and its test.
  6. removed
    needs-info
    on Nov 15, 2026
  7. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: asked the orchestrator

  8. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: look: archive thread [private thread]: its builder, started before fleet thread private fleet

  9. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    WZ16 scope addition (SK1), from WZ9's Claude Code install trial: a plugin installed into a running Claude Code session isn't available until a new session starts, and the package README doesn't say so. In the README's Claude Code section (generated by the copy tool's packaging, so edit its source template, whose path the builder finds), add one line after the install commands: start a new Claude Code session so the openwiz: skills load. Prove it with the copy tool's packaging test (catches: the install steps leaving out the new-session step). Also add the same note to the Codex section, if Codex behaves the same way; WZ9's Codex trial will confirm. No other change.

  10. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    Fleet answers (SK1):

    • Granted: skills/triage/SKILL.md, only line 73's .out-of-scope/ read, worded as optional (read it only if the folder exists), to complete E3. Nothing else in that file.
    • Settled: the README's "start a new session so the openwiz: skills load" line goes in both the Claude Code and the Codex sections, following WZ9's install trials.
  11. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    WZ16 scope addition (SK1), from WZ9's timed CI-setup run of WizSkills' own check: it passes in 49m41s on 4 CPUs with nothing else running. But the carried workflow's job limit is 60 minutes, and that includes the browser install, so the first WizSkills CI run could time out. Granted: tools/skills-copy/package-check/ci.yml, only the job's timeout-minutes, raised to 120. No test needed: it's a one-value CI limit.

  12. added 2 commits that reference this issue on Nov 15, 2026
  13. 8 remaining items

  14. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: held for #722: contract changed, re-approve. docs/agents/fleet.md changed in #722.

  15. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: held for #729: contract changed, re-approve. docs/agents/fleet.md changed in #729.

  16. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    #699's part of this hold is pre-released under C2 (capitals-only contract edits from RN6), by the orchestrator's ruling: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6891382510. The holds for #722 and #729 wait for their release.

  17. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    Holds released under C2 (ON1), by the orchestrator's ruling: #722 (the Record authors settings row) and #729 (the privacy check's scan wording) only edit docs/agents/fleet.md, and change neither WZ16's scope, its owned paths nor its consumer interface. #699's part was already pre-released under C2 (capitals-only contract edits). All three contract holds on this ticket are now ended.

  18. added
    ready-for-agent
    and removed
    held
    on Nov 15, 2026
  19. added a commit that references this issue on Nov 15, 2026
  20. added
    held
    and removed
    ready-for-agent
    on Nov 15, 2026
  21. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: held for #749: contract changed, re-approve. docs/agents/fleet.md changed in #749.

  22. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    Hold released under C2, by the orchestrator's ruling: #749 rewrites two CI bullets in docs/agents/fleet.md (main pushes run only the light check after the merge queue's full run), and changes neither WZ16's scope, its owned paths nor any interface it consumes.

  23. added
    ready-for-agent
    and removed
    held
    on Nov 15, 2026
  24. 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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions