Skip to content

Feature/Fix: Run lineage accounting in shadow mode#30

Open
iam-brain wants to merge 1 commit into
iam-brain/ledger-accounting-dimensionsfrom
iam-brain/shadow-lineage-pipeline
Open

Feature/Fix: Run lineage accounting in shadow mode#30
iam-brain wants to merge 1 commit into
iam-brain/ledger-accounting-dimensionsfrom
iam-brain/shadow-lineage-pipeline

Conversation

@iam-brain

Copy link
Copy Markdown
Owner

Summary

  • run bounded lineage discovery and reconciliation after each refreshed legacy Codex scan
  • record privacy-safe per-day token differences and lineage coverage diagnostics
  • reject malformed timestamps from shadow totals while recording their count
  • propagate cancellation and contain all other shadow failures without changing production reports or cache persistence

This is the fifth isolated component of the planned Codex scanner rearchitecture. The legacy scanner remains authoritative.

Validation

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

Closes #15

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