ANALYTICS-002: Cost Tracking Per User #190
Labels
No labels
blocked:children
blocked:commit-ready-failed
blocked:depends-231
blocked:depends-236
blocked:depends-237
blocked:depends-238
blocked:depends-239
blocked:gate-fetch
blocked:gate-fetch
blocked:gate-lint
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:no-procedure
blocked:preflight
blocked:verify-failed
bug
enhancement
feature-request
high-priority
in-progress
lint-cleanup
needs-decompose
needs-triage
ops-retry
ops-task
phase-5
quickfix
security/medium
self-building
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/mesh-seed#190
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
⏸ Needs Decision
Blocking factors:
Scope: medium Risk: medium Spec: partial Type: feature
Summary: ANALYTICS-002: Cost Tracking Per User
Suggestion: needs investigation
Rationale:
Action: Review each blocking factor above. Remove
blocked:needs-decisionlabel to route back to triage.⏸ Needs Decision
What needs to be decided?
blocked:needs-decisionlabel to route back to triage.Blocking factors:
Scope: small Risk: low Spec: partial Type: feature
Summary: Add per-user cost attribution and aggregation tracking to attribute intent/resource costs to the submitting user identity.
Suggestion: Source user_id from existing intent payload (submitter/requester field), add get_user_cost_summary() to MeshLedger aggregating cost_audit by user, and extend MetabolicTracker with user-level cost tracking. No schema migration needed if user_id is extracted from payload.
Rationale: Small scope because it's purely additive data tracking on existing fields (cost_audit, payload) with no routing/execution changes. Low risk because it touches zero critical paths — just new queries and tracking. Partial spec alignment because resource-metabolism.md covers per-intent cost attribution but doesn't mention per-user rollups; the concept is architecturally consistent but not documented.
To unblock: Remove the
blocked:needs-decisionlabel. The triage will apply the appropriate outcome based on your choice above.Approved — removing blocked:needs-decision. Triage failed to auto-approve, but this is low/medium risk, aligned.