Skip to content

Feature/Fix: Preserve lineage accounting dimensions#27

Open
iam-brain wants to merge 1 commit into
iam-brain/bounded-lineage-discoveryfrom
iam-brain/ledger-accounting-dimensions
Open

Feature/Fix: Preserve lineage accounting dimensions#27
iam-brain wants to merge 1 commit into
iam-brain/bounded-lineage-discoveryfrom
iam-brain/ledger-accounting-dimensions

Conversation

@iam-brain

Copy link
Copy Markdown
Owner

Summary

  • retain normalized model attribution alongside complete lineage token observations
  • project deduplicated input, cached input, and output totals into UTC and local daily model rows
  • preserve explicit priced/unpriced state and sum long-context pricing per observation
  • resolve copied equal-time attribution deterministically without changing the token fingerprint

This is the fourth isolated component of the planned Codex scanner rearchitecture. Production aggregation remains unchanged.

Validation

  • swift test --filter CodexLineageLedgerTests (13 tests)
  • make check
  • env SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk make test (640 selections)
  • repository review gate: no unresolved material findings

Closes #14

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.

1 participant