Trace: record Pi root context and compactions
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 30/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- go
- Bereich
- backend-api-design, observability
Rechercherichtung
Start by reading the Pi provider baseline in issue #3704 and the broader requirements in #3637; this issue names no source files or tests. Trace how pinned Pi 1.3.0 transcripts and model metadata represent the selected root branch, resumed history, occupancy, and compactions. Done means deterministic regressions cover the listed transcript cases, schema and consumer compatibility and a live Pi session are validated, and only the measured Pi matrix cell is updated.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problem
Pi Trace evidence has session-wide token totals but not root-session context-window occupancy or native compaction events. The broader multi-provider request is #3637.
Scope
Pi root selected branch only. Add the minimum machine-readable context size, peak/final occupied tokens, and compaction count that native Pi 1.3.0 records can substantiate.
Acceptance criteria
- Identify Pi's authoritative window size and per-turn occupancy from pinned transcript/model metadata; do not infer a denominator from a model name when Pi does not provide one.
- Record root-session peak/final context and native compaction count with explicitly versioned evidence fields; percentages appear only with a verified window size.
- Count selected-branch and resumed history exactly once; exclude abandoned branches and child sessions.
- Cover empty, malformed, missing-window, and multi-compaction transcripts in deterministic regressions.
- Validate the evidence schema/consumer compatibility and a live Pi session before updating only the measured Pi matrix cell.
Non-goals
- Other providers or child-session context metrics.
- The separate
git_context.commit_startobservation in #3637. - Estimating context size from cumulative session token totals.
Parent: #3637. Baseline Pi provider: #3704.
- Vorherrschende Sprache
- Go
- Sterne
- 582
- Forks
- 61
- Ø Merge
- 12 Std. 47 Min.
- Gemergte PRs (30 T.)
- 137
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus chainloop-dev/chainloop
-
feature-parity trace-provider
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
chainloop-dev/chainloop#3802 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug trace-provider
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
chainloop-dev/chainloop#3803 ·
Maintainer antworten meist innerhalb von 1 Tag
-
feat(trace): support GitHub Copilot (CLI and VS Code) in Chainloop TraceEvtl. vergeben @migmartri hat das heute übernommen. OffenFeature spec trace-provider
chainloop-dev/chainloop#3800 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Allow enabling policy enforcement at the workflow contract levelEvtl. vergeben @migmartri hat das vor 10 Tagen übernommen. Offencomponent/backend new-policy spec
chainloop-dev/chainloop#3762 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
chainloop component/CLI performance trace-provider
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 62/100
chainloop-dev/chainloop#3756 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in chainloop-dev/chainloop
Ähnliche Issues
-
model:sonnet runtime:claude security size:S
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
FootprintAI/Containarium#3624 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Judgment-Pack/judgment-pack-runtime#367 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 87/100
pulseaiclub/phi#482 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug raised-by:desk
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
medici-finance/assay#6102 ·
Maintainer antworten meist innerhalb von 1 Tag