Skip to content

feat: add organization usage report - #232

Merged
Siddhant-K-code merged 1 commit into
mainfrom
feat/org-report
Aug 16, 2026
Merged

feat: add organization usage report#232
Siddhant-K-code merged 1 commit into
mainfrom
feat/org-report

Conversation

@Siddhant-K-code

Copy link
Copy Markdown
Owner

Description

Adds agent-strace org-report for monthly organization-wide session volume, offline estimated cost, team/workspace breakdowns, heuristic task categories, and statistically guarded anomaly callouts.

The command reads either a shared trace directory (including workspace stores) or an explicitly selected authenticated remote collector. Remote reads use the existing collector API with strict authentication, TLS/URL/redirect/proxy, response-size, nesting, schema, tenant, and partial-report protections. Reports support text, versioned JSON, self-contained HTML, exact team/workspace scoping, cost/identity coverage, and report-local anonymization.

All cost, classification, and anomaly fields are explicitly labeled as estimates or heuristics. Collector and shared-directory inputs disclose their non-transactional snapshot limitation.

Documentation covers setup, security boundaries, privacy, and interpretation. Version is bumped to 0.91.0.

Closes #214

Validation

  • Repository Ona test task: 1,835 Python tests passed
  • VS Code extension: compile plus 3 tests passed
  • Focused org-report suite: 21 tests passed
  • Independent report/math/privacy review: approved
  • Independent collector/security/tenancy review: approved
  • git diff --check and source compilation passed

Co-authored-by: Codex <noreply@openai.com>
@Siddhant-K-code

Copy link
Copy Markdown
Owner Author

Independent review completed before opening this PR.

  • Report/math/privacy review: approved after correcting cost denominators, peer baselines/sample floors, attribution identity, alias leakage, UTC filtering, label conflation, and output safety.
  • Collector/security/tenancy review: approved after adversarial tests for credential leakage through proxies/redirects, malformed URLs, truncated/oversized/deep/non-finite JSON, schema mismatch, cross-tenant streams, partial reads, and event-cache memory growth.
  • Final local CI: repository Ona task succeeded with 1,835 Python tests and all 3 extension tests passing.

No unresolved review findings remain. Hosted branch checks are still required before merge.

@Siddhant-K-code
Siddhant-K-code merged commit 4d55dce into main Aug 16, 2026
5 checks passed
@Siddhant-K-code
Siddhant-K-code deleted the feat/org-report branch August 16, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: org-level report - team-wide agent usage, cost, and productivity digest for engineering leads

1 participant