GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(pm-stack): flow analytics computation — time-in-status + weekly throughput per project/epic, JSON-first with stated windows · Issue #4829 · developing-today/code

feat(pm-stack): flow analytics computation — time-in-status + weekly throughput per project/epic, JSON-first with stated windows #4829

New issue
Copy link
New issue
Copy link
Closed
#8373
Closed
feat(pm-stack): flow analytics computation — time-in-status + weekly throughput per project/epic, JSON-first with stated windows#4829
#8373
Copy link
Assignees
dezren39
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/mMedium: expected under 1 day of workkind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)source/queue-workerFiled or worked by the queue/worker pilottask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Nov 3, 2026
Issue body actions

Part of #1281 (WIP limits + flow analytics, epic #1184 wave 2) — step 2 of the split recorded by triage task 6839 on 2026-11-03. Step 1 (WIP caps + violation flags) stays on #1281 itself; step 3 (chart rendering) is a separate issue that depends on this one.

Goal

Compute flow analytics from the history the pm-stack aggregator already accumulates, and expose them machine-first: time-in-status per item and weekly throughput (items completed per week), per project and per epic, with the computation window stated on every result.

Scope

  • A flow-analytics computation in pm-stack/aggregator over snapshot history (src/snapshots.ts / src/snapshot-records.ts). Coordinate with aggregator: capture item history for forecasting and flow calculations #3981 (item-history capture for forecasting/flow): reuse its history seam if it has landed; do not introduce a duplicate flow store.
  • JSON twins return exactly the numbers the charts will render: per project and per epic, time-in-status aggregates and weekly throughput, each carrying the computation window and a visible gap/coverage signal (gappy snapshots degrade visibly, never silently — per the stack's honesty conventions and the feat(pm-stack): WIP limits + flow analytics — per-lane WIP caps with violation flags; time-in-status and throughput charts per project/epic #1281 intake review).
  • Tests over fixture snapshots covering: a complete window, a gappy window (gap flagged, not zero-filled), and zero-completion weeks preserved as zero only when coverage is complete.

Out of scope

  • Chart/page rendering (step 3 issue).
  • WIP caps and violation flags (step 1, on feat(pm-stack): WIP limits + flow analytics — per-lane WIP caps with violation flags; time-in-status and throughput charts per project/epic #1281).

Acceptance criteria

  • Time-in-status and weekly throughput are computed per project and per epic from snapshot/item history, with the computation window stated in the JSON output.
  • JSON twins are machine-first and covered by fixture-snapshot tests, including the gap and zero-completion cases above.
  • No number is presented without its window and coverage state.

Activity

Next
  1. dezren39
    added
    kind/featureNew feature or capability request
    status/needs-triageNot yet triaged; needs a first look
    source/queue-workerFiled or worked by the queue/worker pilot
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    on Nov 3, 2026
  2. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed by triage split

    • Filed by triage task 6839 (repo-worker-code, Lane B) on 2026-11-03 as step 2 of the feat(pm-stack): WIP limits + flow analytics — per-lane WIP caps with violation flags; time-in-status and throughput charts per project/epic #1281 split; the triage verdict with fresh-main evidence is on feat(pm-stack): WIP limits + flow analytics — per-lane WIP caps with violation flags; time-in-status and throughput charts per project/epic #1281.
    • Enqueued as queue task 6953 (repo-health-code-pilot, small_fix) in the same pass.
  3. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Claimed queue task 6953 (repo-health-code-pilot, lane aea12c82-c5af-4e5a-9b66-f8e360f87177). Issue feat(pm-stack): flow analytics computation — time-in-status + weekly throughput per project/epic, JSON-first with stated windows #4829 is open and no competing PR is present; implementation will use existing snapshot history and avoid duplicating the aggregator: capture item history for forecasting and flow calculations #3981 history seam.
  4. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 3, 2026
  5. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · blocked · packet defect

    • Agent: repo-worker-code (OpenChamber scheduled lane; lane aea12c82-c5af-4e5a-9b66-f8e360f87177). Queue task 6953 is blocked as packet_defect.
    • Current aggregator history is usage/billing snapshots only; there is no item-status/event history. The required aggregator: capture item history for forecasting and flow calculations #3981 seam remains open and Drew-assigned with no implementation PR, while feat(pm-stack): flow analytics computation — time-in-status + weekly throughput per project/epic, JSON-first with stated windows #4829 provides no history schema/source contract or explicit dependency/resume path. Adding a new history collector/store here would duplicate aggregator: capture item history for forecasting and flow calculations #3981's stated ownership.
    • No code changes. Resume after aggregator: capture item history for forecasting and flow calculations #3981 lands or publishes the item-history contract; then revalidate feat(pm-stack): flow analytics computation — time-in-status + weekly throughput per project/epic, JSON-first with stated windows #4829/aggregator: capture item history for forecasting and flow calculations #3981/PR state, consume that seam, and implement the analytics + fixture tests.
  6. dezren39
    added
    queue/blockedQueue or user escalation state
    and removed
    status/in-progressQueue worker lifecycle state
    on Nov 3, 2026
  7. 97 remaining items

  8. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: repo-worker-code (OpenChamber scheduled lane 02cafe76)
    • Task: queue task 6953. aggregator: capture item history for forecasting and flow calculations #3981 is now closed (item-history merged via PR aggregator: versioned item-history capture for forecasting (#3981 slice 1) #5133, forecast via aggregator(forecast): derive epic ETA bands and explainable stall risk (#3982) #5236/aggregator(forecast): one forecast contract for Roadmap and Projects (#3984) #8051), clearing the earlier packet_defect; implementing flow analytics on that seam. Branch queue/6953-4829-flow-analytics.
  9. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-v
    • Session / ID: task 6953
    • Found via: queue claim
    • Task: Implemented step 2 of the feat(pm-stack): WIP limits + flow analytics — per-lane WIP caps with violation flags; time-in-status and throughput charts per project/epic #1281 split for issue feat(pm-stack): flow analytics computation — time-in-status + weekly throughput per project/epic, JSON-first with stated windows #4829: PR feat(pm-stack): flow analytics computation + JSON twin (#4829) #8373 adds src/flow-analytics.ts (time-in-status + weekly throughput per project/epic over the aggregator: capture item history for forecasting and flow calculations #3981 item-history store, chain/honesty rules matching weeklyTransitions) and the GET /api/flow-analytics.json twin beside /api/forecasts.json. Fixture tests in test/flow-analytics-4829.test.ts cover complete/gappy windows, unavailable cutoffs, preserved zero weeks, and the issues-only throughput unit.
    • Expectation: local verification done — 6/6 new tests pass; the one neighbouring failure (deriveEpicEta aggregator(forecast): capped resampling trials are recorded as completions, publishing optimistic P50/P80 dates #6386 timeout) and the 24 tsc errors reproduce identically on pristine current main (pre-existing, none in touched files). Remaining: CI on PR feat(pm-stack): flow analytics computation + JSON twin (#4829) #8373, then merge and close issue feat(pm-stack): flow analytics computation — time-in-status + weekly throughput per project/epic, JSON-first with stated windows #4829.
    • Links: PR feat(pm-stack): flow analytics computation + JSON twin (#4829) #8373, issue feat(pm-stack): flow analytics computation — time-in-status + weekly throughput per project/epic, JSON-first with stated windows #4829, issue feat(pm-stack): render flow analytics charts on Projects/Roadmap — time-in-status + throughput with stated windows #4830 (step 3, unblocked by this), task 6953
  10. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 11, 2026
  11. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Task 6953 parked because the scheduled run budget elapsed after server restart. aggregator: capture item history for forecasting and flow calculations #3981 is closed and item-history PR aggregator: versioned item-history capture for forecasting (#3981 slice 1) #5133 merged, so the former missing-seam blocker is resolved. Resume implementation of feat(pm-stack): flow analytics computation — time-in-status + weekly throughput per project/epic, JSON-first with stated windows #4829 using that seam; inspect branch queue/6953-4829-flow-analytics and intended worktree /home/user/git/fleet/6953 first. No PR was opened by this run.
  12. dezren39
    added 2 commits that reference this issue on Nov 11, 2026

    fix(aggregator): preserve explicit unassigned completion membership i…

    1c5fe95

    Merge pull request #8373 from developing-today/queue/6953-4829-flow-a…

    43372e3
  13. dezren39
    closed this as completedin #8373on Nov 11, 2026
  14. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — fixed_merged

    • Agent: queue worker (repo-worker-code), lane code-t
    • Session / ID: task 6953
    • Found via: queue claim (resume per §10.4 — PR feat(pm-stack): flow analytics computation + JSON twin (#4829) #8373 was opened by lane code-v, whose claim was lost before its CI park; this lane picked the task up from that checkpoint)
    • Task: PR feat(pm-stack): flow analytics computation + JSON twin (#4829) #8373 verified fresh (MERGEABLE, branch queue/6953-4829-flow-analytics), Codex P2 finding dispositioned: fixed in 1c5fe95 — groupAt in pm-stack/aggregator/src/flow-analytics.ts now distinguishes a missing observation (undefined) from explicit unassigned membership (group: null), so a completion at a cutoff where the item is unassigned is credited to the unassigned group, not its previous parent; regression test added, thread replied to (4532808788) and resolved. Tests at the new head: bun test test/flow-analytics-4829.test.ts 7/7 pass on the laptop; tsc --noEmit shows no errors in the touched files (24 pre-existing errors elsewhere unchanged). PR feat(pm-stack): flow analytics computation + JSON twin (#4829) #8373 MERGED 2026-11-11T01:32:00Z, merge commit 43372e3; PR checks were QUEUED in the fleet Actions backlog at merge (merge under the standing authority — CI runs on main). Issue feat(pm-stack): flow analytics computation — time-in-status + weekly throughput per project/epic, JSON-first with stated windows #4829 CLOSED by the merge.
    • Expectation: no further action on issue feat(pm-stack): flow analytics computation — time-in-status + weekly throughput per project/epic, JSON-first with stated windows #4829; step-3 charts remain issue feat(pm-stack): render flow analytics charts on Projects/Roadmap — time-in-status + throughput with stated windows #4830's work.
    • Links: issue feat(pm-stack): flow analytics computation — time-in-status + weekly throughput per project/epic, JSON-first with stated windows #4829 · PR feat(pm-stack): flow analytics computation + JSON twin (#4829) #8373 · task 6953
  15. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 11, 2026
  16. dezren39
    added a commit that references this issue on Nov 11, 2026

    Merge pull request #8410 from developing-today/queue/6955-4830-flow-c…

    2b3db37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/mMedium: expected under 1 day of workkind/featureNew feature or capability requestpriority/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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.