Skip to content

Infra CW3-T3: CI runs only what guards the kept parts; old CI machinery goes #1777

Closed

Description

@jparker2006

Parent

Ticket T3 of spec #1774 (Infra).

What to build

OpenWiz's CI runs only what protects the kept parts, and the old CI machinery goes. Delete the main-batch, shard, hosted-runner, selection and runner helpers and their tests, the CI safety freshness watch, and whatever else in ci/ the slimmed CI no longer calls; fold ci.yml and the docs-only action down to the jobs that build and test the kernel, the drivers, the openwiz command, the installer, the release package and the privacy check. The required checks ci, privacy and web-test keep their names and still fail on a real failure. Pushing a workflow change uses today's account (the App has no Workflows permission).

Owned paths

  • ci/ (deleted, except what the kept jobs still call)
  • .github/workflows/ci.yml, .github/workflows/ci.test.mjs
  • .github/workflows/ci-safety-watch.yml, .github/workflows/ci-safety-watch.test.mjs (deleted)
  • .github/actions/docs-only/ (not plan.py before noon; the other tickets change only their own rows)

Relies on: nothing

Links

none

Acceptance criteria

  • A planted failure in a kept Rust test, a kept Python test and the privacy check each turns its required check red on a throwaway commit (say how in the pull request; revert before handing back).
  • The CI wall time for a full run is given before and after.
  • CW3-3 A: before 2026-11-20 12:00 PM PST (20:00 UTC) the diff touches none of: adapters/, tools/release/, kernel/proofs/, tools/live-smoke/, CHANGELOG.md, wizskills.lock, contracts/install.v1.md, contracts/release-candidate.v1.md, tests/checks/skills.rs, tools/install/tests/onboard/test_journey.py, tools/install/tests/journey/test_journey.py, tools/install/tests/first-hour/journey.py, tools/install/tests/public-release-security/test_candidate.py, tools/skills-eval/, .github/actions/docs-only/plan.py. Wave 2's tools/test-value/evidence/ (Infra CW2-1: the rest of tools/test-value/evidence moves to the private record #1484) and docs/cleanup/wave2-table.md stay. If the work needs one of them, leave it and say so on this ticket.
  • CI green: every required check passes on the pull request, with the workflow steps, CI rows and test targets that named a deleted path removed in the same change. No check is renamed, skipped or weakened to get green.
  • Nothing live still points at a deleted path: a repository search finds no reference, except historical records named in the pull request.
  • Deleted tests (CW3-2 A): the pull request lists each deleted test file or folder with one line: its keeper, or behaviour gone, or no user path. A test that protects installing, an openwiz command, a driver, a kit, the release package or the privacy check stays.
  • Changelog: no-changelog label with its reason, or, if a public doc (README, install guide, changelog) presents the removed thing to users, one removed line in changes/<this ticket>.md after asking here for its version.
  • Count: the pull request gives the line and file change from the cleanup-measure count.sh (tracked text lines), before and after.

Proof

P1: the count. P2: CI, and the planted failures.

Activity

  1. added this to the Infra 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/1777-ci-slim

  4. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Builder question (#1777), two decisions; work continues meanwhile.

    Plan. ci.yml becomes plain jobs on ubuntu-24.04: lint (fmt, clippy, workspace and release builds), rust (sh ci/rust-tests.sh, every test target), release (the kept installer, release-package, GitHub App, kernel-kit and WizSkills-installer Python proofs), owned-paths, then ci (fails on a draft or any job not success) and the web-test bridge. Triggers: pull request, merge group, push to main (it saves the Cargo cache). Nightly goes. Deleted: ci/hosted/, ci/main-batch/, ci/runner/, ci/selection/, ci/shard/, ci/retry.sh, the safety watch, ci.test.mjs, and every docs-only file except python.sh, a slimmed setup/action.yml and plan.py. ci/rust-tests.sh stays: the rust job and tests/proof/p04 call it. ci/escapes/ and ci/wizroom/ stay for T1 (#1775). The fold also drops T1's and T4's tool steps from ci.yml (collector, fleet-load, test-value budget, open-import carriage guard). The in-ci.yml changed-file privacy guard goes too: it imports tools/open-import/, which T4 deletes, and the required privacy check already scans the tree, the commit range and the PR text.

    Q1, supporting edits outside my owned paths. These lines name paths this PR deletes:

    • AGENTS.md:43: the ci-reads.txt sentence. OpenWiz has no private/ and the prune step goes. Drop the sentence.
    • docs/agents/fleet.md: test-command row 1 (sh .github/actions/docs-only/test.sh) and the ci row and paragraph under "CI checks" (saved plan, lanes, selection contract). Drop row 1 and say plainly what ci now requires.
    • docs/agents/huntr.md:139: drop "ci/runner/" from the list.
    • loops/README.md:51-53: drop the runner kit in ci/runner/ from the sentence.
    • tests/proof/p04_partial_failures.rs:529-530: one doc-comment line names test_rust_runner.sh, which I delete. Drop that sentence (no assertion change).

    Recommend: yes to all five, as exactly those lines. Without them, the "nothing live points at a deleted path" check fails on these lines. contracts/ci-selection.v1.* and contracts/wizroom.v1.md:139 I leave for T5 (#1783) and name as exceptions in the PR.

    Q2, plan.py. Once nothing calls it, it is dead, but CW3-3 A keeps it untouched until 20:00 UTC today. Recommend: I hand back now with plan.py untouched and say so under Gaps. After 20:00 UTC, someone wakes me and I add one commit that deletes it. Alternative: a polish follow-up deletes it after merge.

  5. added
    needs-info
    on Nov 20, 2026
  6. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Builder update: the spec's standing rule (2026-11-20) settles Q1. I removed the five references under it, each only taking out a reference to a path this PR deletes, and none is on the 0.1.0 list. Each use is recorded in PR #1791. Q2 (plan.py, off-limits until 20:00 UTC) is still open, so needs-info stays. PR #1791's current head holds the planted-failure round. The revert and the green hand-back follow once its CI has finished.

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

    @jparker2006
    MemberAuthor

    launch-fleet: answered under the spec: question 2 (delete the now-dead plan.py) is yes. It's in this ticket's scope and held only by CW3-3, so it goes in one extra commit once the protected window opens: when release-0.1.0 exists and RL1 #1671 says it was cut (the orchestrator's tightening on #1778 and #1782). The stale ci row in docs/agents/fleet.md "CI checks" goes to a follow-up, named in the PR.

  9. added 3 commits that reference this issue on Nov 20, 2026
  10. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Builder question (#1777): PR #1791's owned-paths job only accepts the five edits made under spec #1774's standing rule once a record author posts an F4 grant. I can't grant my own edits.

    Each edit only removes a reference to a path this PR deletes, and none of these files is on the 0.1.0 list. Proposed grant comment, to post on this ticket or on PR #1791:

    F4 supporting edit granted for #1777 under spec #1774's standing rule (remove a reference naming a path the ticket deletes): AGENTS.md, docs/agents/fleet.md, docs/agents/huntr.md, loops/README.md, tests/proof/p04_partial_failures.rs

    Recommend: post it as written. Adding a grant starts no run, so afterwards the ci.yml run needs a whole-run re-run (gh run rerun <id>, no flags). I'll do that when woken, or the fleet can.

    Ruling B is applied: PR #1791 now says Part of #1777 with a Remaining paragraph (plan.py), and its head 9c311868 reverts the planted round.

  11. added
    needs-info
    on Nov 20, 2026
  12. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    F4 supporting edits granted, under the orchestrator's standing out-of-path rule for spec #1774: AGENTS.md, docs/agents/fleet.md, docs/agents/huntr.md, loops/README.md, tests/proof/p04_partial_failures.rs. Each edit only removes a reference to a path this ticket deletes, and each use is recorded in PR #1791.

  13. removed
    needs-info
    on Nov 20, 2026
  14. added 3 commits that reference this issue on Nov 20, 2026
  15. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #1817

    CC2 #1817's pull request #1955 merged to main at 6a7a57d. It adds one comment-check step to .github/workflows/ci.yml, which this ticket also owns (shared under the orchestrator's ruling 7044190217). This ticket merges second, so its pull request merges main in (no rebase), resolves any ci.yml conflict while keeping CC2's step, and goes back to its reviewer for a re-check before it merges.

  16. jparker2006 commented on Nov 20, 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