Add explicit bounded Codex reconciliation preview and provable ledger repair
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, react
Direzione di ricerca
Start with the existing usage routes, usageBackfill.js/Worker.js, usage.js, and the Usage page controls; read blocked issue #15029 and parent #15022 for context. Trace how recovered sources, ledger provenance, idempotency, and serialized accounting writes work, then review the existing route and UI tests. Done means a bounded read-only preview and explicit, revision-bound apply handle provable adjustments safely, preserve uncertain totals, and pass synthetic-source and rendered-interaction tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem and decision
Recovering archive sources does not prove they are missing from usage.json: historical run and standalone attribution may already include them. Extend the existing Usage reconciliation action with a date-bounded preview and explicit apply, using the shared recovered sources and current ledger provenance.
Scope and chosen approach
Use the existing usage routes, usageBackfill.js/Worker.js, usage.js and Usage page controls. Preview in a worker and show source coverage, provable ledger differences and ambiguous overlap separately. Apply only replacements/additions whose previous attribution and replacement are established by existing markers; retain and report uncertain totals. Bind apply to the preview's source and ledger revisions, revalidate under the existing serialized accounting write boundary, and recompute/refuse if completion changed them. Reuse idempotency structures rather than adding a second ledger. Preserve progress/cancellation and explicit user action. Do not invoke providers or run an automatic repair migration.
Acceptance criteria
- Preview is read-only, bounded, and reports incomplete sources and ambiguous prior billing.
- Explicit apply changes only provable adjustments, is idempotent, and preserves unknown existing totals.
- Source growth, interrupted scans/retries, and live completion overlapping preview/apply cannot double count or lose unrelated usage.
- Tests cover the route/workflow and rendered interaction with synthetic sources/storage; no live historical writes.
Dispatch: model:heavy for evidence-bound accounting changes; effort:high for concurrent preview/apply and public-boundary coverage.
hardwareRequirements: []
Blocked by #15029
Part of #15022
After delivery, check this child in #15022. If this is its last open child, summarize the delivered children and close #15022.
- Lingua principale
- JavaScript
- Stelle
- 38
- Fork
- 32
- Merge medio
- 35m
- PR unite (30g)
- 989
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di atomantic/PortOS
-
bug effort:high model:heavy plan planner:gpt-6-1-terra tests
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
atomantic/PortOS#15028 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Prevent unfinished run windows from hiding standalone usageForse già presa @picodot l’ha presa oggi. Apertaarea:devtools bug effort:high in-progress model:heavy plan
atomantic/PortOS#15023 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
area:devtools bug decomposed effort:high epic model:heavy plan
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
atomantic/PortOS#15022 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di atomantic/PortOS
Issue simili
-
chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
idean3885/claude-ops-agent#910 ·
I maintainer di solito rispondono entro 1 giorno
-
S: triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
oskarrough/agent-ide#29 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Add: Trinitas TV LogoApertacheck:passed logos:add
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
I maintainer di solito rispondono entro 4 giorni
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
WikiEducationFoundation/WikiEduDashboard#7258 ·
I maintainer di solito rispondono entro 1 giorno