Skip to content

Infra FF2: wake on events: the project wake loops and the route, proven #1332

Closed
openwizdev/WizSkills
#63

Description

@jparker2006

Parent

Ticket FF2 of spec #1329 (Infra). Size: M.

What to build

Each repository's GitHub events can wake the right fleet at once, through launch-fleet's existing route: a webhook loop per repository (OpenWiz, WizSkills, WizSite, WizRoom), whose tick turns each named ticket into one run of that spec's fleet loop and reads the truth from GitHub (records spec v1). The ticket proves the route with a synthetic message for each repository before any real webhook exists, and prepares the owner's one-step setup for FF3. Safety-net timers move from every 10 minutes to every 30 only after FF3's webhooks are on. Any launch-fleet code change waits for WS8 (#1181).

Owned paths

  • the project wake loops in Cloudroom, and the private loop map in jparker2006/ClosedWiz (shared: the wake loops' rows)
  • skills/launch-fleet/ in openwizdev/WizSkills (shared: only a fix the synthetic proof shows is needed)

Relies on: nothing

Links

Acceptance criteria

  • A synthetic message naming one ticket wakes exactly one run of that ticket's spec loop and nothing for other specs, for each of the four repositories
  • A missing loop handle leaves the ticket to its safety net, with no error
  • The webhook address is never written to a file, comment or message
  • The owner's setup for FF3 is ready: the events to select and where the address comes from
  • 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.

Proof

F1 (route): the synthetic proof per repository.

Builder Claude Code Opus 5.5 Medium and reviewer Codex Sol 6.2 Medium (J165), other family, no helper agents. A pull request in WizSite, WizSkills or WizRoom follows the cross-repository route: a recorded claim on the pull request, exact-head CI green, the other-family review, and a merge pinned to the reviewed head.

Activity

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

    @jparker2006
    MemberAuthor

    launch-fleet: pulled forward (F6, full-speed order): this ticket starts before WS8 #1181 merges. FF2's work is the project wake loops in Cloudroom, the private loop map and a synthetic proof per repository. Its only link to WS8 is a possible launch-fleet fix, and the ticket already says any launch-fleet code change waits for WS8. That part still waits for #1181's verified merge, then merges main first. 0.1.0 KN4 #1369 matches FF2's route, so the route landing early helps 0.1.0. FF3's webhooks stay Jake's, and the timers stay at their current cadence until FF3.

  4. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/1332-infra-ff2-wake-on-events-the-projec-536h

  5. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: look: the builder stopped at the Claude plan's 5-hour limit before pushing a branch, and resumes at about 15:20Z. Codex and Cursor are out (J224), so no fallback builder starts; the start stays with this builder. Do not start a second builder.

  6. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    FF2 checkpoint (builder), before WS8 #1181:

    • Wake loops: one webhook loop per repository now exists in Cloudroom: OpenWiz, WizSkills, WizSite and WizRoom (launch-fleet wakes openwizdev/<repo>, fresh threads). No webhook exists, and no address is stored anywhere. The safety-net timers are unchanged.
    • Private loop map: the wake loops' rows are recorded privately (private record).
    • Synthetic proof, OpenWiz: green. One synthetic issue_comment naming Infra FF2: wake on events: the project wake loops and the route, proven #1332 woke one tick, which ran spec Infra spec: A faster factory: wake on events, one review round, fast CI #1329's loop exactly once, off its own schedule; every other spec loop ran only on its schedule, and nothing was posted publicly.
    • Synthetic proof, WizSkills, WizSite and WizRoom: red. Their messages name their own pull requests, while the specs live in OpenWiz, so fleet.sh wake in those repositories exits 2. The fix maps a named pull request to the OpenWiz tickets it closes, and gives the handle lookup a tested script (a missing key runs nothing and exits 0). It is a skills/launch-fleet/ change, so it waits for Infra WS8: wave: launch-fleet rewritten short #1181's verified merge; then I merge main and open the WizSkills pull request.

    Private evidence: private record.

  7. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: waiting for #1181

    The builder has done every part that runs before WS8: the four wake loops, the private loop map rows and the OpenWiz route's proof. The WizSkills, WizSite and WizRoom routes need a change under skills/launch-fleet/, so once #1181 has a verified merge, the builder merges main in, makes the fix, re-proves those three repositories and opens the WizSkills pull request.

  8. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: resume sent 7013782397 for #1181

  9. added a commit that references this issue on Nov 20, 2026
  10. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: merged: WizSkills PR #63 merged into main as 4f573b487a3b2e54d92bc049c58db71e2616ef72, pinned to the approved head ae0ebe97a3a41ecd5020f1f91cda971e5e180f29 (APPROVE in WizSkills #63 comment 7031570504, a cross-family Codex re-check after the orchestrator decision 7031376553), with CI green at that head. FF3 #1333's agent step (Jake's yes, ruling 7030036314) starts next: the four webhooks added with the merged runner setup in skills/launch-fleet/references/launch.md.

  11. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: archived

  12. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: ruling (J87 planner, 2026-11-20 ~07:20Z, after the GitHub GraphQL allowance drained fast once the webhooks went on):

    1. Each repository's event wake runs a full tick at most once every 5 minutes. A wake inside that window only adds its issue and pull request numbers to a private pending list and ends, and the next full tick takes the pending numbers with its own. A pull request review, a merged pull request, a closed issue, a verdict or orchestrator-decision comment, and a label change on a 0.1.0 (must list) issue or pull request wake at once. Why: every factory record is itself an event, so undebounced wakes multiplied reads, and a webhook loop can't run a script to debounce before its agent starts. Cost if wrong: low: a debounced number waits at most 5 minutes, or for its spec's 30-minute safety net.
    2. Event wakes read only the numbers they were given (route.py tick, which runs fleet.sh wake), never a full check. Why: a full check per event repeated the safety net's work for every record posted. Cost if wrong: low: the spec loops' own checks still run every 30 minutes.
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