Skip to content

dag: drop the REDUCE_STORE/MODULE_STORE exports - #61

Merged
olydis merged 1 commit into
mainfrom
claude/project-thread-f85o5w
Oct 4, 2026
Merged

olydis merged 1 commit into
mainfrom
claude/project-thread-f85o5w

Conversation

@olydis

@olydis olydis commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Requested by Johannes · project thread

Before: main-dag.mts (and so bin/dag.js) exported REDUCE_STORE and MODULE_STORE "for cache warmers".

After: those two are no longer part of the library surface. No cache warmer exists; git grep across forest, arboretum, tree-calculus and lambada finds no consumer.

How: removed them from the re-export, dropped the cache-warmer rationale from the comments in main-dag.mts and module/cache.mts, and rebuilt bin/dag.js. cache_store and fingerprint stay exported, since lambada's bin/expect-test.js uses both. The constants stay exported inside cache.mts because runner/native.mts imports them.

Ran locally: the TypeScript tests, bin/build.sh (only the expected bin/dag.js change), dag-machine test.sh and pcre test.sh, all passing.

🤖 Generated with Claude Code

https://claude.ai/code/session_01F7tEJcozJkRf64wP1GFGLa


Generated by Claude Code

They were exported for cache warmers, and none exists in forest, arboretum,
tree-calculus or lambada. cache_store and fingerprint stay: lambada's
expect-test.js uses both.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F7tEJcozJkRf64wP1GFGLa
@olydis olydis self-assigned this Oct 3, 2026
@olydis
olydis merged commit b6b016b into main Oct 4, 2026
2 checks passed
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.

2 participants