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 — design(pm-stack): spend rollups — token and dollar attribution per project and per epic, rendered on Projects/Roadmap · Issue #1259 · developing-today/code

design(pm-stack): spend rollups — token and dollar attribution per project and per epic, rendered on Projects/Roadmap #1259

New issue
Copy link
New issue
Copy link
Closed
4 / 54 of 5 issues completed
#4828
Closed
design(pm-stack): spend rollups — token and dollar attribution per project and per epic, rendered on Projects/Roadmap#1259
4 / 54 of 5 issues completed
#4828
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 requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus:in-review

Description

@dezren39
dezren39
opened on Oct 27, 2026
Issue body actions

Part of epic #1184 (PM stack coherence — ideal-system design series, 2026-10-26).

Why

Usage & billing shows pools and services, but not what any project or epic costs: Drew can't answer 'what did the id epic cost this week?' in tokens or dollars across plan pools and PAYG. The ideal stack attributes spend per project and per epic (consuming quota-plane data, not rebuilding collectors) and renders it next to progress on Projects and Roadmap, so cost sits beside the value it bought.

Design questions to answer

  • Attribution model: how are sessions/issues mapped to project and epic (labels, Project Area, sub-issue parent), and how is unattributed spend shown rather than hidden?
  • Units: tokens per pool, dollars for PAYG, and plan-pool 'share of window' — how are unlike units presented without fake dollar conversions?
  • Windows and history: per-week/per-month rollups from snapshot history; how far back, and what happens when attribution rules change retroactively?
  • Placement of spend vs progress: epic card shows % complete beside spend-to-date and forecast-to-complete (with the forecasting design) — what exactly renders where?
  • Cost anomaly surfacing: which spend patterns (burning with no closures, one session dominating an epic) bubble into Needs-you or Today?

Acceptance

  • Design note landed in repo doc/ + implementation issues filed and linked as sub-issues of epic(dashboard): PM stack coherence - single-URL, fresh data, triage-able, hierarchical #1184; open questions needing Drew named explicitly in the design note.

Acceptance criteria

  • A design note answering every question listed under "Design questions to answer" is landed in the repo doc/ tree and linked from this issue.
  • Implementation issues are filed and linked as sub-issues of epic epic(dashboard): PM stack coherence - single-URL, fresh data, triage-able, hierarchical #1184 (developing-today/code), each with its own acceptance criteria — this design issue does not itself carry implementation work.
  • Every open question that needs Drew is named explicitly in the design note (not buried in prose).
  • Unlike units are never merged into a fake single figure: tokens per pool, PAYG dollars, and plan-pool share-of-window are presented as distinct measures, and unattributed spend is shown, not hidden.

Sub-issues

Collapse Sub-issuesSub-issues

4 of 54 of 5 Issues completed
Loading 5 sub-issues

Activity

Next
  1. dezren39
    added
    kind/featureNew feature or capability request
    status/needs-triageNot yet triaged; needs a first look
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    on Oct 27, 2026
  2. developing-today commented on Oct 27, 2026

    @developing-today
    developing-todayBot
    on Oct 27, 2026 – with developing.today
    Contributor
    More actions

    CODE-383

  3. dezren39
    added a parent issue on Oct 27, 2026
    • epic(dashboard): PM stack coherence - single-URL, fresh data, triage-able, hierarchical #1184
  4. github-actions
    assigned
    dezren39
    on Oct 27, 2026
  5. dezren39
    added
    source/humanFiled directly by a human
    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 28, 2026
  6. dezren39 commented on Oct 28, 2026

    @dezren39
    dezren39
    on Oct 28, 2026
    MemberAuthor
    More actions

    Intake review

    Fleet-monitor intake pass (2026-10-28T02:40:00Z): this issue was missing a priority/* label and/or the standard ## Acceptance criteria section and was not yet meta/enriched. The criteria section has been appended to the body (original text preserved verbatim above it) and labels normalized.

    Related: Epic: #1184 (PM stack coherence design series). Siblings in the same series were intake-enriched in prior monitor runs (#1264–#1277).

    Notes: Design-series issue (spend rollups), filed 2026-10-27 by Drew as part of the #1184 batch; body is well-formed (Why + design questions + its own Acceptance section). Still live: merged-PR search this run returns only unrelated PRs whose text coincidentally contains the number — none resolves or implements this design.

    Risks: Design-only stall risk (see tail).

    Suggested approach: This is one of the #1184 PM-stack coherence design series; its own "Acceptance" section already states the bar (design note in doc/ + implementation sub-issues), and the appended criteria restate that in the fleet's standard heading so the monitor and queue can gate on it. Risks: design-only items can sit silently — per house rules a design with no implementation link is flagged by the next sweep, so the follow-through that matters is the sub-issue filing, not the note alone. Suggested approach: answer the design questions against the current aggregator/orchestrator code (cite file:line), land the note, file the implementation sub-issues in the same pass.

    🤖 Agent note · state: handed off

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-10-27 21:19 CDT
    • Found via: monitor reconciliation (intake enrichment duty)
    • Task: Intake enrichment — acceptance criteria appended, labels normalized, this review posted; the item itself is not being worked by the monitor.
    • Expectation: unenriched → enriched; routing/work happens through the normal queue/sweep paths.
    • Links: n/a
  7. 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 1, 2026
  8. 24 remaining items

  9. dezren39
    added sub-issues on Nov 3, 2026
    • impl(pm-stack): cost-anomaly detection to Needs-you via the alert throat (#1259 slice 4) #4825
    • impl(pm-stack): PAYG dollar attribution via the charges pipeline (#1259 slice 5) #4826
  10. dezren39
    added a commit that references this issue on Nov 3, 2026

    docs(pm-stack): spend rollups design note (#1259) (#4828)

    0885d60
  11. dezren39
    closed this as completedin #4828on Nov 3, 2026
  12. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    agent-note:v1

    Transition: done
    Worker: repo-worker-code (lane code-f, direct execution lane)
    Task: task 6899

    Outcome — issue #1259 acceptance met, closed on merge

    • Design note landed: doc/spend-rollups-design-1259.md via PR docs(pm-stack): spend rollups design note (#1259) #4828, merged 2026-11-03T09:47Z (merge commit 0885d60). The note answers all five design questions against current code (attribution projection over opencode-usage-export records; three unit families never merged; snapshot-store windows + versioned restatement; Projects/Roadmap placement consuming design(pm-stack): forecasting — epic ETAs from measured velocity, quota-wall prediction, and stall-risk scoring #1256 forecasts; anomalies via the feat(aggregator): alert throat — sentinel incident intake, Supabase ledger, Web Push delivery + ack #3676 alert throat) and names five Drew-owned questions explicitly with recommendations.
    • Implementation issues filed with their own acceptance criteria: id(world_fixture): a partial fixture ending mid-epoch is record-compared anyway — final_epoch_covered checks only that an install exists, not that the window reaches the header sequence #4820 (attribution projection), mcpx docs: level-2 configuration and modes content (first seven items) #4821 (rollup store), impl(pm-stack): spend attribution projection — session to issue/epic resolution, unattributed shown (#1259 slice 1) #4822 (rendering), impl(pm-stack): cost-anomaly detection to Needs-you via the alert throat (#1259 slice 4) #4825 (anomalies), impl(pm-stack): PAYG dollar attribution via the charges pipeline (#1259 slice 5) #4826 (PAYG dollars).
    • Linking note: the packet asked for the slices as sub-issues of epic epic(dashboard): PM stack coherence - single-URL, fresh data, triage-able, hierarchical #1184, but epic(dashboard): PM stack coherence - single-URL, fresh data, triage-able, hierarchical #1184 is at GitHub's 100 sub-issue cap (direct linking returns HTTP 422, verified this run). Following the design(pm-stack): forecasting — epic ETAs from measured velocity, quota-wall prediction, and stall-risk scoring #1256 forecasting precedent, the slices are sub-issues of design(pm-stack): spend rollups — token and dollar attribution per project and per epic, rendered on Projects/Roadmap #1259 itself — inside the epic's tree via design(pm-stack): spend rollups — token and dollar attribution per project and per epic, rendered on Projects/Roadmap #1259. Re-homing them as direct epic(dashboard): PM stack coherence - single-URL, fresh data, triage-able, hierarchical #1184 children needs Drew to free slots on epic(dashboard): PM stack coherence - single-URL, fresh data, triage-able, hierarchical #1184 first.
    • Codex gate: PR docs(pm-stack): spend rollups design note (#1259) #4828 had no Codex findings — the only Codex comment was a usage-limits notice.
    • Checks: docs-only PR, no code touched; the note names the checks each implementation slice must run.
  13. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 3, 2026
  14. dezren39
    added sub-issues on Nov 3, 2026
    • impl(pm-stack): spend rollup store — weekly/monthly per project/epic, versioned restatement (#1259 slice 2) #4823
    • impl(pm-stack): render spend beside progress on Projects/Roadmap cards (#1259 slice 3) #4824
  15. dezren39
    removed sub-issues on Nov 3, 2026
    • id(world_fixture): a partial fixture ending mid-epoch is record-compared anyway — final_epoch_covered checks only that an install exists, not that the window reaches the header sequence #4820
    • mcpx docs: level-2 configuration and modes content (first seven items) #4821
  16. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    agent-note:v1 — CORRECTION (repo-worker-code, lane code-f, task 6899)

    The slice numbers in PR #4828, in the merged design note as first landed, and in my done note on this issue were wrong for slices 1–3. Cause: a background tool result in my shift reported fabricated issue numbers (4820/4821/4822) for the three gh issue create calls; the real creations were #4822/#4823/#4824, which only surfaced when the genuine command output arrived later. Verified fresh against GitHub after the discrepancy appeared:

    • Slice 1 (attribution projection) = impl(pm-stack): spend attribution projection — session to issue/epic resolution, unattributed shown (#1259 slice 1) #4822; slice 2 (rollup store) = impl(pm-stack): spend rollup store — weekly/monthly per project/epic, versioned restatement (#1259 slice 2) #4823; slice 3 (rendering) = impl(pm-stack): render spend beside progress on Projects/Roadmap cards (#1259 slice 3) #4824; slice 4 (anomalies) = impl(pm-stack): cost-anomaly detection to Needs-you via the alert throat (#1259 slice 4) #4825 and slice 5 (PAYG dollars) = impl(pm-stack): PAYG dollar attribution via the charges pipeline (#1259 slice 5) #4826 were correct.
    • This issue's sub-issues are now exactly {impl(pm-stack): spend attribution projection — session to issue/epic resolution, unattributed shown (#1259 slice 1) #4822, impl(pm-stack): spend rollup store — weekly/monthly per project/epic, versioned restatement (#1259 slice 2) #4823, impl(pm-stack): render spend beside progress on Projects/Roadmap cards (#1259 slice 3) #4824, impl(pm-stack): cost-anomaly detection to Needs-you via the alert throat (#1259 slice 4) #4825, impl(pm-stack): PAYG dollar attribution via the charges pipeline (#1259 slice 5) #4826} (verified via the sub_issues API after repair).
    • Two unrelated issues, id(world_fixture): a partial fixture ending mid-epoch is record-compared anyway — final_epoch_covered checks only that an install exists, not that the window reaches the header sequence #4820 (id world_fixture bug) and mcpx docs: level-2 configuration and modes content (first seven items) #4821 (mcpx docs), were briefly linked as sub-issues of this issue at 2026-11-03T09:46Z as a result of the same fabrication; their event logs confirm that was their only parent link, and both links have been removed — no other change was made to them.
    • The design note on main is corrected by a follow-up PR (linked from this issue when opened), and PR docs(pm-stack): spend rollups design note (#1259) #4828's body has been edited to the correct numbers.

    Everything else in the done note stands: PR #4828 merged (0885d60), this issue's acceptance is met, and the five slices carry the implementation work.

  17. dezren39
    added a commit that references this issue on Nov 3, 2026

    docs(pm-stack): correct slice issue numbers in spend-rollups design n…

    8e76c6f
  18. developing-today
    added
    status:in-review
    on Nov 8, 2026
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 requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus:in-review

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.