You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(cli): since tsx 4.23.15 (#21162) oclif cannot register tsx, so the CONTROL leg of published-entry-node-env-source-reroute never arms and its guard passes vacuously #21308
Filing-gate class: ① a defect with a named failing probe and a measured cause. It is fallout of #21162 (card #21094), which this seat landed.
Body last written 2026-10-02T04:49Z: unblocked. #21285 closed completed when PR #21306 merged as dabd1c5be7. Blockers were re-derived with no new one, and the card was dispatched in the same act.
Routing: the maintainer direct-dispatch channel (session_018gA1pE6eJtwHhqx72G8U9X; 「相关卡片你使用项目经理技能派发处理」) routes it to domain:cli; triage grades the priority.
The cause. Read by the seat from the npm tarballs:
In tsx@4.23.15, dist/esm/api/index.cjs calls register('./esm/index.mjs?…', { parentURL: <its own file> }). That resolves to dist/esm/api/esm/index.mjs, which does not exist in the package.
In tsx@4.23.12 the call lives in a separate chunk, where the relative path resolves.
oclif's ts-path catches the failure and logs Could not find tsx. Skipping tsx registration (oclif:config:ts-path debug). The rerouted entry then never loads TypeScript, and the CONTROL leg cannot reproduce the card.
⛔ Never delete or skip the leg. Acceptance: the CONTROL leg reproduces the card again, and reverse verification turns the absence legs red when the NODE_ENV declaration is neutralised.
Dedup: 450 objectstack issues and PRs listed over REST (open plus the most recently updated closed), titles and bodies grepped for Could not find tsx, tsx 4.23.15, node-env-source-reroute and esm/api. The hits are only the three PRs whose devs reported it in passing (#21212, #21273, #21306), with no card.
Dedupe words: Could not find tsx · tsx 4.23.15 esm api register · node-env-source-reroute CONTROL · ts-path tsx registration
Filing-gate class: ① a defect with a named failing probe and a measured cause. It is fallout of #21162 (card #21094), which this seat landed.
Body last written 2026-10-02T04:49Z: unblocked. #21285 closed
completedwhen PR #21306 merged asdabd1c5be7. Blockers were re-derived with no new one, and the card was dispatched in the same act.Routing: the maintainer direct-dispatch channel (
session_018gA1pE6eJtwHhqx72G8U9X; 「相关卡片你使用项目经理技能派发处理」) routes it todomain:cli; triage grades the priority.Measured
packages/cli/test/published-entry-node-env-source-reroute.test.ts→it("CONTROL: neutralising the declaration in the child reproduces the card verbatim"). It reproduces finding: theos devcompile child still inherits an ambientNODE_ENV=development— the source-loader pin asserts "no write", which cannot see inheritance #12271 by letting@oclif/core'sts-pathreroute the published entry tosrc/commands. It fails in three independent dev containers, each time also on its own branch point:fbcc05f40;434c6c7ca;os pluginsworks #21306's dev, base748b24072: "1 failed, 4 passed" with the same AssertionError.tsx@4.23.15,dist/esm/api/index.cjscallsregister('./esm/index.mjs?…', { parentURL: <its own file> }). That resolves todist/esm/api/esm/index.mjs, which does not exist in the package.tsx@4.23.12the call lives in a separate chunk, where the relative path resolves.ts-pathcatches the failure and logsCould not find tsx. Skipping tsx registration(oclif:config:ts-pathdebug). The rerouted entry then never loads TypeScript, and the CONTROL leg cannot reproduce the card.tsx4.23.12 → 4.23.15 enteredmainwithf3b16fc2f(chore(deps): take the 2026-10 production-dependency group without the better-auth family (#21094) #21162, 2026-10-01T13:24Z). There is no newer upstream release: 4.23.15 (2026-09-20) is the latest at filing.os devcompile child still inherits an ambientNODE_ENV=development— the source-loader pin asserts "no write", which cannot see inheritance #12271 regression they pin could return unseen. Any oclif-side TypeScript auto-transpile path (linked plugins,ts-pathin development) is also affected.Test Corewas green on chore(deps): move the CLI to @oclif/core 5, with plugin-help 7 and plugin-plugins 7 in one commit (#21125) #21212's head, but this session's egress refuses the job-log storage, so whether CI's integration tier arms this leg is open. Measure it first, from a CI log or a run that reaches it.What to do (shapes, not a ruling)
main.tsxto the newest release whose ESM APIregister()resolves. That is a version DOWN, which needs the maintainer's ruling;pnpm patchoftsx4.23.15'sdist/esm/api/index.cjs, until upstream fixes it;os devcompile child still inherits an ambientNODE_ENV=development— the source-loader pin asserts "no write", which cannot see inheritance #12271 faithfully.NODE_ENVdeclaration is neutralised.Dedup: 450 objectstack issues and PRs listed over REST (open plus the most recently updated closed), titles and bodies grepped for
Could not find tsx,tsx 4.23.15,node-env-source-rerouteandesm/api. The hits are only the three PRs whose devs reported it in passing (#21212, #21273, #21306), with no card.Dedupe words:
Could not find tsx·tsx 4.23.15 esm api register·node-env-source-reroute CONTROL·ts-path tsx registrationGenerated by Claude Code