Why: gtd-inbox-pull's Plan 6 (decision 4, approved by BJ on Sun Nov 15, 2026) runs the dryer over the swipe page's JavaScript, and the dryer skips .js files. bj/dryer is a read-only pull mirror, so BJ chose this repo, bj/dryer-js, to carry the patch (Nov 15). Its master is the mirror's 66ff6d2, the commit gtd-inbox-pull pins today. The patch is not offered upstream.
What changed:
discover.py: .js, .jsx, .mjs and .cjs are JavaScript; .test.js, .spec.js and their .jsx, .mjs and .cjs forms are test files.
extract.py: JavaScript parses with the javascript grammar and uses TypeScript's node picker. JavaScript's tree is TypeScript's without the type nodes, so no logic is copied. Nothing else in src is keyed on the language name.
The help text, the package docstring, the README and pyproject name JavaScript.
Tests: language detection and test-file names in test_cli.py; a duplicate pair, the language sets, and the method and nested-function rule for JavaScript in test_languages.py.
How it was proved: the five new tests failed first on their own assertions (76 passed). After the change all 81 pass. The JavaScript test also passes offline with only the pinned grammar (tree-sitter-language-pack 1.23.1, libtree_sitter_javascript.so sha256 e44b35a4...), set up the way gtd-inbox-pull's gate sets it.
After the merge, gtd-inbox-pull's Task 2 points the gate and CI at bj/dryer-js and pins the merge commit in gate/tools.toml.
Why: gtd-inbox-pull's Plan 6 (decision 4, approved by BJ on Sun Nov 15, 2026) runs the dryer over the swipe page's JavaScript, and the dryer skips .js files. bj/dryer is a read-only pull mirror, so BJ chose this repo, bj/dryer-js, to carry the patch (Nov 15). Its master is the mirror's 66ff6d2, the commit gtd-inbox-pull pins today. The patch is not offered upstream.
What changed:
- discover.py: .js, .jsx, .mjs and .cjs are JavaScript; .test.js, .spec.js and their .jsx, .mjs and .cjs forms are test files.
- extract.py: JavaScript parses with the javascript grammar and uses TypeScript's node picker. JavaScript's tree is TypeScript's without the type nodes, so no logic is copied. Nothing else in src is keyed on the language name.
- The help text, the package docstring, the README and pyproject name JavaScript.
- Tests: language detection and test-file names in test_cli.py; a duplicate pair, the language sets, and the method and nested-function rule for JavaScript in test_languages.py.
How it was proved: the five new tests failed first on their own assertions (76 passed). After the change all 81 pass. The JavaScript test also passes offline with only the pinned grammar (tree-sitter-language-pack 1.23.1, libtree_sitter_javascript.so sha256 e44b35a4...), set up the way gtd-inbox-pull's gate sets it.
After the merge, gtd-inbox-pull's Task 2 points the gate and CI at bj/dryer-js and pins the merge commit in gate/tools.toml.
Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_015GF1LYr5V3zY3815Nt6KwR
Why: gtd-inbox-pull's Plan 6 runs the dryer over the swipe page's
JavaScript, and the dryer skipped .js files. This is for BJ's mirror only.
What changed: .js, .jsx, .mjs and .cjs are discovered as "javascript";
their .test and .spec forms are test files. extract.py gains a
"javascript" picker that parses with the JavaScript grammar and reuses
_typescript_nodes, since the tree is TypeScript's without type nodes.
No other code is keyed on the language name. README, pyproject, the CLI
help and the package docstring name JavaScript.
Proof: four tests written first and seen to fail on their own
assertions (language detection, test-file names, the language-set
tests with a JS pair, and the method and nested-function rule), then
the full suite passed (81 tests).
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015GF1LYr5V3zY3815Nt6KwR
bj
merged commit 2360069a7b into master2026-11-15 18:28:52 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Why: gtd-inbox-pull's Plan 6 (decision 4, approved by BJ on Sun Nov 15, 2026) runs the dryer over the swipe page's JavaScript, and the dryer skips .js files. bj/dryer is a read-only pull mirror, so BJ chose this repo, bj/dryer-js, to carry the patch (Nov 15). Its master is the mirror's
66ff6d2, the commit gtd-inbox-pull pins today. The patch is not offered upstream.What changed:
How it was proved: the five new tests failed first on their own assertions (76 passed). After the change all 81 pass. The JavaScript test also passes offline with only the pinned grammar (tree-sitter-language-pack 1.23.1, libtree_sitter_javascript.so sha256 e44b35a4...), set up the way gtd-inbox-pull's gate sets it.
After the merge, gtd-inbox-pull's Task 2 points the gate and CI at bj/dryer-js and pins the merge commit in gate/tools.toml.
Generated with Claude Code
https://claude.ai/code/session_015GF1LYr5V3zY3815Nt6KwR