Expand description
Cross-repo aggregation queries.
Lazy aggregation: reads each project’s ledger on demand, no persistent DB.
Structs§
- Activity
Metrics - Activity counts for a project within a time range.
- Aggregate
Result - Full cross-repo aggregation result.
- Commit
Record - A commit record from any project.
- Cost
Metrics - Cost metrics for a project within a time range.
- Date
Range - Inclusive date range filter using ISO 8601 prefix comparison.
- Decision
Record - A decision record from any project.
- Model
Cost - Per-model cost breakdown entry.
- Project
Metrics - Per-project metrics with cost, quality, and activity breakdown.
- Project
Summary - Per-project summary within an aggregation result.
- Quality
Metrics - Quality metrics for a project within a time range.
- Rollup
Metrics - Combined rollup metrics collected in a single pass over the event ledger.
Functions§
- aggregate_
commits - Collect commits across all projects, sorted by timestamp descending.
- aggregate_
decisions - Collect active decisions across all projects.
- aggregate_
overview - Aggregate overview across all given projects.
- commits_
by_ date - Count commits by date (YYYY-MM-DD) across all projects.
- cost_
by_ date - Aggregate execution event cost by date (YYYY-MM-DD) across all projects.
- events_
by_ date - Count events by date (YYYY-MM-DD) across all projects.
- file_
edits_ by_ date - Aggregate per-file edit counts by date across all projects.
- per_
project_ metrics - Compute per-project metrics for all given projects within the specified date range.
- quality_
by_ date - Aggregate execution event quality by date (YYYY-MM-DD) across all projects.
- rollup_
metrics_ by_ date - Collect all rollup metrics in a single pass over each project’s ledger.