Skip to content

feat(usage-hub): #1116 remainder items 4+5 — stewardship stale-feed finding + collector-stop acceptance verification #2990

Closed

Description

@dezren39

Remainder of #1116 (usage-hub self-monitoring), split from queue task 3010 after item (3) landed via PR #2973 (merged, merge commit 04cd4e741393d230ffb8c643811752072afd32b3).

Item (4) — stewardship stale-feed finding. Stewardship's hourly cycle must name a stale fleet feed as a finding. Verified absent 2026-10-31: grep -ri 'stale.*feed|feed.*stale' ~/workspace/custom-skills/stewardship returned no matches. Add it if still absent when worked (name the feed, its age, and the threshold), or verify against live cycle output if it has since landed.

Item (5) — end-to-end acceptance verification. Demonstrate the #1116 acceptance test against the landed pieces: with the collector stopped in a test, the dashboard/health view visibly reports the feed as stale within one collector interval; silence must never read as healthy. Fix any feed-age prominence gap found in the page footer as part of this work.

Acceptance

Baseline note (2026-10-31): the aggregator suite on clean main (b4db14b7e) has 7 pre-existing page-manifest failures (536 pass / 7 fail); the PR #2973 branch showed the identical 7 (543 pass, all checkout-drift tests green). Do not chase those here — they are a separate baseline problem.

Acceptance criteria

Activity

  1. added
    source/queue-workerFiled or worked by the queue/worker pilot
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 31, 2026
  2. dezren39 commented on Oct 31, 2026

    @dezren39
    MemberAuthor

    Intake review

    🤖 Agent note · filed

    Related: #1116 (parent; items 1–3 landed, item 3 via PR #2973 merged 04cd4e7). This issue is the split remainder (items 4+5); a live fix task (4298) is already queued, so no new enqueue was needed.
    Notes: The body already carried an inline Acceptance list; it is preserved verbatim and now also exists as a formal ## Acceptance criteria section. Still live — verified no merged PR resolves items 4+5 (the stewardship stale-feed grep came back empty when the issue was filed this morning).
    Risks: Item 5's collector-stop test needs a controlled collector stop; schedule it so a real stale-feed alert is not mistaken for the test.
    Suggested approach: add the stale-feed finding to the stewardship cycle instruction first (item 4), then run the collector-stop demonstration against it (item 5) and post the verdict on #1116.

  3. dezren39 commented on Oct 31, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  4. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    queue/claimedQueue worker lifecycle state
    on Oct 31, 2026
  5. 32 remaining items

  6. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Agent note — task 4298 disposition corrected: the Drew escalation was audit-retired (lane any-b)

    • state: triaged (routing corrected)
    • task: 4298
    • issue: feat(usage-hub): #1116 remainder items 4+5 — stewardship stale-feed finding + collector-stop acceptance verification #2990 (feat(usage-hub): self-monitoring — feed staleness + fixture-fallback alarm #1116 remainder items 4+5)
    • Item (5) — collector-stop acceptance: landed and verified (PR fix(aggregator): stale-feed threshold at the collector's 5-minute cadence (#2990) #4914 threshold at the 5-minute collector cadence + the stopped-collector health test passing, verified 2026-11-10; recorded in the ledger item's context).
    • Item (4) — stewardship stale-feed finding: this task's recorded next step ("block escalated-to-user on ledger item stewardship-feed-stale-check-1116") is stale. That ledger item was DROPPED by the 2026-11-13 audit with the ruling recorded on it: "not a Drew decision. Fleet-owned: whether the stewardship cycle's own DAILY CONSOLE READS block names the fleet feed's age is the stewardship cycle's own process design — the steward/orchestrator owns its checklist." The user/escalated label is therefore wrong for this issue and is removed by this lane.
    • What remains, precisely: adopt the ready check text into the stewardship cycle's procedure — "(d) FLEET FEED: read the aggregator /api/health; if the fleet-feed service state is stale (age at or past FEED_STALE_MS), name it in the cycle log as a finding with the feed age, and treat it as a material risk if it persists across two consecutive cycles." The data source is ready (the aggregator exposes feed age + stale state in /api/health, FEED_STALE_MS 5m). One complication this lane verified today: the DAILY CONSOLE READS block named in the 2026-11-13 context no longer exists in the current stewardship skill text (CHARTER.md / COMMISSION.md / SKILL.md have been restructured; the block survives only in archived run outputs), so the placement of the check in the current procedure is the stewardship cycle owner's own edit — a queue lane grafting it into a restructured procedure blind would mangle it.
    • Route: task 4298 completes as triaged with this routing. The owner for the remainder is the stewardship cycle (its orchestrator), not Drew and not a code-repo packet; feat(usage-hub): #1116 remainder items 4+5 — stewardship stale-feed finding + collector-stop acceptance verification #2990 stays open until the cycle adopts the check, with user/escalated removed.
  7. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged (scheduled lane)

  8. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged

  9. removed their assignment
    on Nov 20, 2026
  10. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Agent note · picked up (Lane LQ, sandbox fix lane)

  11. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Agent note · done (Lane LQ) — item (4) adopted; all acceptance criteria met

    Item (4) — stewardship stale-feed finding: ADOPTED.

    • The ready check text from the 2026-11-14 routing now sits in the stewardship cycle's procedure as item (d) FLEET FEED of the DAILY CONSOLE READS block: every cycle reads the aggregator health view on the laptop (curl http://127.0.0.1:4870/api/health over laptop-ssh), and a fleet-feed service state of stale (feed age at or past FEED_STALE_MS, 5 minutes — the aggregator computes this itself) is named in the cycle log as a finding with the feed age; stale in two consecutive cycles makes it a material risk surfaced to the main chat; an unreachable health view is itself the finding.
    • Repo copy first, per the cron workflow: dezren39/hatch-personal PR #61 merged (ee5663a2213c1d03372b4acd0529986b7f2a60a8), then the exact body applied to the live stewardship-cycle job via cron.update. Read-back proof: the runtime-regenerated job definition's body is byte-identical to the prepared body (21,173 bytes), the new check appears exactly once, the 2026-11-22 META PAYG scan removal is intact, and no unrelated section was added or dropped.
    • Authority: the 2026-11-13 audit ruling recorded on this issue 2026-11-14 — adoption is fleet-owned process design; the stewardship cycle owns its checklist. Not a Drew decision.
    • Live evidence the check works on real data: the health read taken during this lane (2026-11-23T07:51Z) reported fleet-feed state stale, "feed 6m old — at or past the 5m freshness threshold" — the adopted check fires on exactly this shape.

    Item (5) — collector-stop acceptance: already satisfied (unchanged from prior records): PR #4914 merged 2026-11-03 set FEED_STALE_MS to one collector interval (5m, pm-stack/aggregator/src/feed.ts); the acceptance test on main (test/health.test.ts, "a stopped collector is visible on the health page by the next five-minute interval") verified passing 2026-11-10 (25 pass / 0 fail, lane code-b, task 14246).

    Criterion-by-criterion verdict for #1116 (full verdict also posted on #1116): items (1) collector heartbeat in feed, (2) feed age in footer + /api/health with fixture-fallback flags, (3) pm-feed checkout drift in the health view (PR #2973) — landed; item (4) stewardship surfacing — adopted by this note; item (5)/acceptance — satisfied per above. All five met.

    Pre-existing divergence named, not touched: the hatch-personal repo copy of this job body still carries the pre-2026-11-22 META PAYG scan text and a not-yet-applied lane-share section (code#1657's prepared wiring, a separate primary-seat task). The live body is correct on both points; the repo copy sync belongs to those work items, not this slice.

    This issue is complete and is being closed with this record. #1116 was already closed 2026-11-14 and stays closed.

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

    effort/mMedium: expected under 1 day of workepic/pm-stackReprioritization program epic (2026-11-12)kind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/queue-workerFiled or worked by the queue/worker pilottask/triageQueue packet kind: verify, reproduce, and route this item

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions