-
Notifications
You must be signed in to change notification settings - Fork 1
Implement TokenJuice pipeline and policy primitives #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
senamakel
wants to merge
122
commits into
main
Choose a base branch
from
work/prompt-md-next-slice
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
122 commits
Select commit
Hold shift + click to select a range
5740e2f
Implement TokenJuice pipeline and policy primitives
senamakel e19ac4d
Add class-labeled savings records
senamakel f2fc10f
Add web extract truncate-store reducer
senamakel 8b2d7c8
Add explicit code stub read intent
senamakel 6319d31
Add richer bloat estimators
senamakel b52ec89
Add DiffNoise and log template reformat
senamakel 3e17f2a
Add TextCrusher and BM25 relevance
senamakel fd2036e
Upgrade SmartCrusher JSON planning
senamakel 49b3ed9
Protect custom tags in ML text compression
senamakel e46fac4
Add ranked search-read scoring helpers
senamakel e404b1f
Add deterministic subagent summaries
senamakel 135d7eb
Merge origin/main into prompt slice
senamakel 61ddb69
Add summary contract and cache hints
senamakel a66f165
Add context breakdown observability API
senamakel 910ed89
Record recovery tool passthrough status
senamakel 52e148c
Add shell policy route overrides
senamakel 9eb4216
Cover cascading tool boundary alignment
senamakel 632b799
Cover generated tool boundary histories
senamakel e8487ca
Require host resolution for Auto profile
senamakel 7c749be
Document unresolved Auto profile behavior
senamakel 44a149c
Update Auto profile integration notes
senamakel 05ae1f4
Update recovery tool migration notes
senamakel 1fa4305
Flatten stringified JSON cells
senamakel 74e5706
Cover stringified JSON adapter compaction
senamakel 6f0d4e9
Preserve JSON discriminator buckets
senamakel 7d9b5a1
Anchor JSON duplicate clusters
senamakel bbb46d4
Serialize ML callback tests
senamakel d292c62
Add JSON spread anchors
senamakel c93043a
Anchor JSON numeric change points
senamakel 0d93f63
Anchor JSON information-dense rows
senamakel 45e66ba
Bias JSON anchors by query direction
senamakel ca62439
Adapt JSON spread anchors by saturation
senamakel e00e0ec
Anchor JSON near-duplicate clusters
senamakel 72019fc
Detect JSON spread saturation knees
senamakel d143666
Classify DiffNoise omission reasons
senamakel cb7031e
Align DiffNoise bloat patterns
senamakel c02dc24
Require context in log templates
senamakel 8e38a25
Report global search omissions
senamakel e322792
Use BM25 for search query ranking
senamakel 5648222
Omit private declarations in public API stubs
senamakel eaba531
Expand heuristic code stub modes
senamakel 953009c
Cover one megabyte web extraction recovery
senamakel 6627239
Label savings record sources
senamakel 064359b
Correct TokenJuice savings plan assumption
senamakel f73eeaf
Honor explicit vendor search scope
senamakel 8cd15a8
Expand tool digest credential redaction
senamakel 3217d72
Update footer cap audit status
senamakel ea3dbc3
Update stub read port status
senamakel 9504f13
Refresh completed integration status notes
senamakel 0334de5
Refresh reference status summary
senamakel fdc4e4b
Use bloat estimate for low-signal skips
senamakel bec10e9
Gate web extract footer through typed offload
senamakel 934a411
Refresh web extract reference status
senamakel 77fae55
Add typed transform pipeline runner
senamakel 7ed76ab
Add conversation partial split helpers
senamakel 7028dbf
Add last user exchange split helpers
senamakel 807ef2d
Record web extract config integration status
senamakel 4d1baf6
Add SmartCrusher shape bucket tables
senamakel fcac317
Record SmartCrusher bucket table status
senamakel 72da4a9
Hoist SmartCrusher constant columns
senamakel 70854bc
Record SmartCrusher constant column status
senamakel f4d1817
Expose SmartCrusher analysis estimates
senamakel e1c9c41
Record SmartCrusher analysis estimate status
senamakel 7df38cd
Record SmartCrusher planner status
senamakel a7fd074
Add typed DiffNoise offload transform
senamakel 91e227e
Record DiffNoise transform status
senamakel 72122f0
Add typed log template transform
senamakel e73efa1
Record log template transform status
senamakel 440c9df
Add typed TextCrusher offload transform
senamakel f74143b
Record TextCrusher transform status
senamakel 8476a00
Add typed HTML offload transform
senamakel 6ffc2bb
Record HTML extractor transform status
senamakel 542cb70
Add typed search offload transform
senamakel 8505f7d
Record search transform status
senamakel bee7608
Add typed signal log offload transform
senamakel fba1dec
Record signal log transform status
senamakel d742d52
Add typed SmartCrusher transforms
senamakel a03a2f6
Record SmartCrusher transform status
senamakel d58a9b9
Add typed code stub offload transform
senamakel fa105aa
Record code stub transform status
senamakel 72ebca0
Wire typed transforms into router
senamakel b670577
Update typed router status docs
senamakel 18ba2cd
Add live-zone cache contract
senamakel 78d009c
Record live-zone cache contract status
senamakel 32cf47d
Add rule verification diagnostics
senamakel 4ef19a9
Record rule verifier status
senamakel ecefb8e
Add fixture verification diagnostics
senamakel 26ae10c
Record fixture verifier status
senamakel ffe0c4f
Add fallback discovery diagnostics
senamakel 1a29f42
Add reduce-json protocol surface
senamakel 9aef058
Record savings accounting status
senamakel d7d1d22
Add GitHub Actions failure rule fixture
senamakel 00329d9
Add safe inventory reducer fixture
senamakel af78a85
Document reduce-json protocol surface
senamakel 3114c46
Add initial reducer CLI
senamakel 7a116c7
Add reducer verify CLI
senamakel 362e0c0
Add fallback discovery CLI
senamakel 86f824a
Add command wrapper CLI
senamakel a998b8f
Add CCR retrieval CLI
senamakel 3bedbdd
Add CCR store stats CLI
senamakel a5cd758
Add doctor CLI
senamakel 29c21a3
Add Codex host installer CLI
senamakel d7fcfeb
Add compressor fixture coverage
senamakel ee726aa
Add web extract fixture coverage
senamakel 706ecd3
Add hook-path compressor e2e coverage
senamakel 10cc554
Add reduce-json CCR metadata refs
senamakel 9a4e219
Record reduce-json stats metadata
senamakel 57d0b7b
Add log template reconstruction fixture
senamakel be58693
Add SmartCrusher planner fixtures
senamakel ac5c044
Broaden SmartCrusher fixture coverage
senamakel e2329a7
Cover remaining SmartCrusher planner fixtures
senamakel 12ebc97
Add DiffNoise policy fixtures
senamakel 5234a8a
Add ML tag protection fixtures
senamakel 960f3d9
Add search-read ranking fixtures
senamakel db2206e
Record search_read OpenHuman wiring status
senamakel 130c9a7
Record subagent summary integration status
senamakel 87babd3
Record summary cache integration status
senamakel caa0e7d
Record TokenJuice adapter fixture coverage
senamakel e7e9968
Record OpenHuman algorithm port statuses
senamakel 0fadb01
Clean up OpenHuman plan status wording
senamakel 07da950
Record recovery tool migration status
senamakel 92fbb2e
Resolve main merge conflicts
senamakel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this bin rename,
cargo install tinyjuicenow exposes the existing hook installer/entrypoints astinyjuice-hooks, while the hook templates, defaults, and docs still configure agents to run commands such astinyjuice codex-post-tool-use,tinyjuice claude-code-post-tool-use, andtinyjuice install claude-code. Those commands now hit the new reducer CLI insrc/main.rs, so existing Codex/Claude hooks break after upgrade and fresh Claude installs fail unless users manually discover and override the renamed binary.Useful? React with 👍 / 👎.