Skip to content

impl(fleet): dual ingestion — webhook listener + interval sweeper, Metadata backfill, retroactive completion #9076

Open

Description

@developing-today-fleet

Design: doc/2026-11-12T22-50-00Z_design_pm-board-hierarchy-genealogy/note.md section 16. Two watchers keep the metadata DB complete for items fleet did not create (plain gh, web UI) and for fleet's own failed inserts.

Acceptance:

  • Webhook listener: issue/PR opened/edited/closed/labeled events trigger Metadata check -> DB insert/refresh (+ queue item when the event warrants work); demonstrated on a test item created via the web UI or plain gh.
  • Interval sweeper: re-scans in-scope repos, catches items the listener missed (simulated by pausing the listener), same check applied.
  • Items lacking a block: ascertained Metadata generated (native parent, labels, milestone, timestamps, actor), stored, and written back to the body where fleet has write access; insufficient cases are forwarded to full triage (queue evidence), not left half-described.
  • A quickly-merged PR gets its Metadata completed retroactively by the sweeper, verified on a real merged PR.

Activity

  1. developing-today commented on Nov 12, 2026

    @developing-today
    Contributor
  2. added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    status/triagedTriaged and routed (see agent note)
    on Nov 17, 2026
  3. dezren39 commented on Nov 17, 2026

    @dezren39
    Member

    🤖 Agent note · triaged

    Triage evidence (fresh, 2026-11-17)

    • Issue impl(fleet): dual ingestion — webhook listener + interval sweeper, Metadata backfill, retroactive completion #9076 is OPEN with no held / user/owned / do-not-merge / do-not-auto-edit labels.
    • The design is written and specific — doc/2026-11-12T22-50-00Z_design_pm-board-hierarchy-genealogy/note.md §16 "Dual ingestion / self-healing (amendment)", item 12 — but nothing implements it: a fresh grep across pkgs/fleet finds no webhook listener, interval sweeper, or Metadata backfill code, only the design note's own mentions.
    • The packet therefore carries the build in the order that de-risks it: the sweeper first (no inbound endpoint needed; it alone satisfies the backfill, triage-forwarding, and retroactive-completion acceptance), then the listener sharing the same Metadata check, with the listener-paused catch-up as the closing demonstration.
    • First concrete step for task 20270: the shared Metadata check + sweeper over in-scope repos, per §16. Acceptance: the issue's own four bullets, demonstrated on real items (web-UI/gh-created test item, a real quickly-merged PR, the paused-listener simulation).
  4. dezren39 commented on Nov 17, 2026

    @dezren39
    Member

    🤖 Agent note · parked (implementation not started)

    • Agent: queue worker (repo-worker-code), lane code-h (OpenChamber scheduled lane)
    • Session / ID: task 20270
    • Found via: queue claim, fresh gh state 2026-11-17
    • Why parked: this is a multi-slice build (sweeper slice 1, then listener slice 2, then demos on real items). Its 45-minute timebox exceeds this run's remaining budget, so no branch was created. Resume at slice 1 (the sweeper with the shared Metadata check) in its own worktree.
  5. dezren39 commented on Nov 17, 2026

    @dezren39
    Member

    agent-note:v1
    state: parked
    task: 20270 · lane: any-o · worker: repo-worker-code

    Fresh revalidation (2026-11-17): #9076 remains OPEN, assigned to Drew, with no open PR. No implementation started. The routed work is a multi-slice sweeper + webhook + real-item demonstration and exceeds this scheduled lane. Parked for 30 minutes pending explicit ownership handoff and a full-budget window; revalidate before resuming.

  6. 24 remaining items

  7. dezren39 commented on Nov 21, 2026

    @dezren39
    Member

    agent-note:v1
    state: picked_up
    task: 20270
    worker: repo-worker-code
    lane: oc-code-06 (OpenChamber scheduled lane)
    origin: openchamber-scheduled-lane
    stage: claimed

    Claimed task 20270. Fresh GitHub validation: #9076 is OPEN, unassigned, and has no matching implementation PR; no held/user-owned/do-not-auto-edit labels. The previous ownership-handoff requirement is superseded by the current queue resume brief and lane protocol. Continuing the existing task from its prior checkpoint; next inspect for an existing branch/worktree, then start the sweeper slice.

  8. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 21, 2026
  9. dezren39 commented on Nov 21, 2026

    @dezren39
    Member

    agent-note:v1
    state: parked
    task: 20270
    worker: repo-worker-code
    lane: oc-code-06
    origin: openchamber-scheduled-lane
    stage: design-seam-investigation

    Parked after identifying the correct implementation seam. The design §15 fleet Metadata database/checking surface does not exist yet; pm-stack/projector is a separate disposable GitHub projection and should not own this feature. Existing Metadata-related code only extracts historical parent links in the aggregator. No source edits were made. Resume brief/checkpoint is in task 20270: map the fleet GitHub auth/write and persistence seams (pkgs/fleet/crates/fleet/src/gh.rs), then implement/test a small vertical shared Metadata + sweeper slice before the listener. Fresh issue/PR validation passed before work; no PR found.

  10. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 22, 2026
  11. dezren39 commented on Nov 22, 2026

    @dezren39
    Member

    Picked up — queue task 20270, lane oc-code-08. Revalidated #9076 OPEN, no hold labels, and no matching active PR. Resuming the previous architecture seam investigation from current main; prior worktree was absent and has been recreated at /home/user/git/fleet/20270-9076-dual-ingestion.

  12. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 22, 2026
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

    app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/lLarge: multi-day or open-ended; expect staged check-inskind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)queue/parkedQueue task is parked (waiting on CI, time, or an event)status/parkedDeliberately paused with a recorded resume conditiontask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions