Skip to content

feat(analytics): generate weekly value reports - #188

Merged
JSONbored merged 1 commit into
JSONbored:mainfrom
oktofeesh1:codex/analytics-weekly-value-reports
Jun 1, 2026
Merged

feat(analytics): generate weekly value reports#188
JSONbored merged 1 commit into
JSONbored:mainfrom
oktofeesh1:codex/analytics-weekly-value-reports

Conversation

@oktofeesh1

Copy link
Copy Markdown
Contributor

Summary

  • add a rollup-backed weekly value report for public-safe and operator views
  • wire the report into the operator dashboard, app API, internal job queue, and Monday scheduled generation
  • add privacy/auth regression coverage for public-safe output, internal guards, queue processing, and scheduler behavior

What changed

  • builds weekly adoption, MCP usage, GitHub command, PR packet, quiet-skip, drift, and maintainer-value metrics from daily product usage rollups
  • keeps public reports aggregate-only and genericizes public warning text while preserving detailed warning context for operator reports
  • exposes an authenticated app report endpoint and protected internal queue/run endpoints
  • updates the UI OpenAPI artifact and operator dashboard card to display report freshness and warnings

Why

Weekly operator text was static and could not reflect product usage or maintainer value. This gives operators a generated report while keeping public-safe variants free of source, token, local-path, wallet, trust, payout, and private scoring leakage.

Validation

  • npm run test:unit -- test/unit/weekly-value-report.test.ts
  • npm run test:integration -- test/integration/api.test.ts test/integration/routes-errors.test.ts
  • npm run test:ci
  • Codex Security diff scan: no reportable findings; 13/13 worklist rows completed; report format validated and rendered locally.

Notes

@oktofeesh1
oktofeesh1 requested a review from JSONbored as a code owner June 1, 2026 13:06
@dosubot dosubot Bot added the size:XXL label Jun 1, 2026
@oktofeesh1
oktofeesh1 force-pushed the codex/analytics-weekly-value-reports branch from 2046ed8 to e9f70da Compare June 1, 2026 18:11
@superagent-security superagent-security Bot added the pr:flagged PR flagged for review by security analysis. label Jun 1, 2026

@superagent-security superagent-security Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Superagent found 1 security concern(s).

Comment thread src/api/routes.ts
@oktofeesh1
oktofeesh1 force-pushed the codex/analytics-weekly-value-reports branch from e9f70da to 870dab5 Compare June 1, 2026 18:20
@superagent-security superagent-security Bot removed the pr:flagged PR flagged for review by security analysis. label Jun 1, 2026
@oktofeesh1
oktofeesh1 force-pushed the codex/analytics-weekly-value-reports branch 3 times, most recently from 9015bc4 to 01e3f4f Compare June 1, 2026 19:47
@dosubot dosubot Bot added size:XL and removed size:XXL labels Jun 1, 2026
@oktofeesh1
oktofeesh1 force-pushed the codex/analytics-weekly-value-reports branch from 01e3f4f to 8a8db9b Compare June 1, 2026 19:52

@JSONbored JSONbored left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oktofeesh1 This is ready from my side. Weekly value reports are green and merge-clean against current main.

A few notes:

  • The report service has focused unit coverage.
  • The API, OpenAPI, analytics UI, and operator UI surfaces are wired together.
  • Empty-data and scheduled queue paths are covered, which is the right shape for this feature.

@dosubot dosubot Bot added the lgtm label Jun 1, 2026
@JSONbored
JSONbored merged commit 1e7506f into JSONbored:main Jun 1, 2026
3 checks passed
@JSONbored JSONbored added gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier. gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier. and removed feature gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier. labels Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(analytics): add weekly Gittensory value report

2 participants