Skip to content

0.1.1 FL4: the reporter hears back when the fix lands #1848

Closed
openwizdev/WizSkills
#127

Description

@jparker2006

Parent

Ticket FL4 of spec #1838 (0.1.1). Size: S. In openwizdev/WizSkills.

What to build

launch-fleet tells the reporter: when the pull request that closes a feedback report merges, it posts the contract's landed comment on the report once, naming the pull request and the release that will carry it.

Owned paths

  • launch-fleet's merge script and its tests in skills/launch-fleet/scripts/ in openwizdev/WizSkills (only the landed comment)
  • skills/launch-fleet/SKILL.md in openwizdev/WizSkills (only the landed-comment line)
  • one new .changeset/ note in openwizdev/WizSkills naming launch-fleet (minor)

Relies on: contracts/feedback-loop.v1.md

Links

Acceptance criteria

  • A merged fix posts exactly one landed comment on its report; a second run posts nothing, red first
  • A merge that closes no feedback report posts nothing
  • Merge gate: ships in public 0.02 (0.1.1): OpenWiz merges wait for RL1 (0.1.0 RL1: OpenWiz 0.1.0 ships before Demo Day: branch, changelog, gates and publish #1671) to record the 0.1.0 branch cut; WizSite merges wait for 0.1.0's publish; WizSkills merges follow WizSkills' release order.
  • 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>. A bug gets a failing test first.
  • Every test the pull request deletes names its keeper or says the behaviour it protected is gone.

Proof

P4: launch-fleet's merge tests, red first.

Activity

  1. added this to the 0.1.1 milestone on Nov 20, 2026
  2. added
    held
    on Nov 20, 2026
  3. added
    ready-for-agent
    and removed
    held
    on Nov 20, 2026
  4. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/1848-landed-comment
    F6 prepare start by the J87 planner: FL1 approved at 853e894, unmerged until the 0.1.0 cut

  5. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: claude-code
    model: claude-opus-5-5
    skills: build-ticket@0.2.0
    step: Fixed review findings R1 and R2 under the planner's answer and handed back a new head for the re-check.
    time: 2026-11-20T16:02:38Z
    pr: openwizdev/WizSkills#127

  6. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Planner ruling on FL4's high-cost ruling (WizSkills #127): not accepted. The spec says the reporter is told when the fix lands, and many fixes land in WizSkills or WizSite, so a landed comment only for OpenWiz pull requests would miss most of them. The landed comment covers a fix pull request in any openwizdev repository, named in full as <owner>/<repo>#<n>. FL1's contract (PR #1897, unmerged) takes a one-line amendment so the comment's pull-request field is that full form, then the same reviewer re-checks FL1. FL4 builds against the amended form. FL6's live check may then fix its problem in any repository.

  7. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: look: thread discovery is out of reach

  8. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Builder question (FL4, WizSkills #127, review findings R1 and R2 at c1d4b6b). Both fixes need something outside this ticket's owned paths, so I'm asking before building.

    R1: a landed unknown: must keep the ticket from being archived. Inside my owned paths, I can make merge.py settle run the landed path for any merged pull request, queued or direct, and print unknown: landed ... (exit 1) whenever the landed comment is uncertain. The archive row's own rule then leaves the ticket for a later wake. The gap: the archive row in skills/launch-fleet/SKILL.md (the archive #N row) runs settle only "for a ticket its pull request P closed through the merge queue", so a direct merge's landed unknown: is never retried. That row isn't my line.

    • A (my pick): change that row to run settle for every merged pull request, by dropping "through the merge queue" and adding unknown: landed to what keeps the line. One phrase in another ticket's row.
    • B: leave the row unchanged and say in my landed-comment line that a landed unknown: from merge keeps the ticket unarchived until merge.py settle prints no landed unknown:. Two lines would govern archiving.

    R2: two runs for one report can both post. A lock shared by every run needs a durable key outside the report thread, because the contract allows only the landed comment there.

    • A (my pick): an atomic Git reference on openwizdev/OpenWiz, refs/openwiz/landed/<report>, created with POST /repos/openwizdev/OpenWiz/git/refs before the comment check. GitHub refuses a second create (422), so only one run can hold it. The holder checks for an existing landed comment, posts and reads back. A run that finds the reference already there and no landed comment prints landed unknown: (pending, reconciled on a later wake), never a post. This is a new kind of live write (contents permission) by the fleet's account. A claim left by a crashed run needs a person to delete the reference.
    • B: post, then reconcile. The lowest comment id among record-author landed comments wins, and a run that sees an older one deletes its own duplicate. No new state, but the reporter may get two notification emails.
    • C: dispute R2. Treat concurrent merges for one report as rare, and keep today's read-check-post with read-back.

    Which for R1 and for R2? Until an answer, #127 stays at c1d4b6b and nothing in this repository changes.

  9. added
    needs-info
    on Nov 20, 2026
  10. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: asked the orchestrator

  11. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Planner answer to the question above (7043968089):

    • R1: granted. F4 supporting edit granted (planner), for FL4: skills/launch-fleet/SKILL.md in openwizdev/WizSkills, only its archive row: drop "through the merge queue" so settle runs for direct merges too, nothing else. A transient read failure then keeps the work open for a later wake, as the fix says.
    • R2: no git-ref lock. It adds a new kind of live write, needs contents permission, and leaves refs only a person can delete. Instead, under the per-ticket claim the wake already holds: re-read the report's comments, post only if no landed comment exists, then re-read once more. If more than one landed comment exists, keep the earliest and delete our own later duplicate. Add a red-first test with two runs racing.
  12. removed
    needs-info
    on Nov 20, 2026
  13. jparker2006 commented on Nov 21, 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