Repository navigation
Conversation
- Reduce Claude usage and sliding windows through one required Rust batch - Preserve unbounded counters, cost order, deduplication, and local dates - Build and load an architecture-specific library with explicit ABI errors - Retain an independent Python oracle and synthetic host-native regressions - Document native setup and add portable headless CI build and test gates
- Decode Cargo artifact paths as UTF-8 on every platform - Preserve arbitrarily large signed window sums across the native wire - Isolate architecture lookup tests from host sysconfig initialization - Add real-native and synthetic-boundary regressions for the reviewed defects TODO: - Complete final native rebuild and the full 72-test hosted matrix - Obtain independent source recheck before unverified draft publication
- Express stable descending tool ranking with a Reverse sort key - Satisfy the hosted Clippy check without changing tie order or lint policy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
UNVERIFIED DRAFT — final exact-head native/runtime acceptance is pending. Published for the reviewed test-only hosted pipeline; no tested-port or release claim.
Dependency stack: depends on #1, with base codex/sprint-20261022 at a44f3bc. This preserves the existing polling/accounting/lifecycle fixes and keeps this Rust change separately reviewable.
Move Claude usage aggregation, costs, deduplication, rankings, heatmap, burn and sliding-window reduction into one required in-process Rust batch behind the normal collector used by dashboard and tray refreshes. Python retains telemetry parsing, local-time/DST interpretation, Codex accounting and desktop orchestration. Preserve signed arbitrary-size integers, summary-versus-window dedup, stable rankings, float reduction order and existing error behavior.
Add native build/staging, package-local architecture/ABI lookup, a frozen independent Python oracle and synthetic host/native integration tests. Correct UTF-8 Cargo artifact decoding on Windows, private-wire sums beyond Python's decimal conversion limit without changing the global limit, and isolated architecture lookup tests. Hosted CI builds and stages fresh Rust and runs native tests/Clippy, the full 72-case Python suite, real signed-large-sum parity, FFI/error checks and synthetic dashboard/tray collector subprocesses on Python 3.11/3.13 across Linux/macOS/Windows.
Independent source/CI review covers 3a49ce2. Current head e354b09 contains a mechanical Clippy correction to express the same stable descending tool-count sort with sort_by_key and Reverse; the driver checked this delta against the standard-library ordering contract. No lint suppression or CI gate removal was introduced.
Validation:
All collector tests use explicit synthetic Claude/Codex/cache roots. The workflow is test-only, with read-only permissions and no deployment, registry/release publication, account, startup or real usage-data operations.