Load cultnet-ts and cultmesh-ts by their scoped names #36

Merged
heimdall merged 1 commit from heimdall/scope-cultlib-ts-names into main 2026-11-10 17:21:44 +00:00
Member

Do not merge. CultLib 286a9af3 scoped cultnet-ts and cultmesh-ts under @gamecult (the directories under packages/ keep their short names). Bifrost still required the unscoped names, so the code that loads them failed with Cannot find module 'cultnet-ts'.

Whole-repo grep (tracked files, all dirs, docs, scripts, workflows; there is no root package.json and no workflow naming them): five bare specifiers, each now scoped:

  • tools/persona-matrix-mouth.mjs:569 (cultnet-ts)
  • tools/agent-transport.mjs:44 (cultnet-ts)
  • tools/persona-feedback-idunn-health.mjs:9 (cultnet-ts)
  • tools/persona-feedback.mjs:98 (cultnet-ts and cultmesh-ts, one line)
  • tests/persona-feedback-cli.test.mjs:15 (cultmesh-ts)

Not changed: path segments packages/cultnet-ts/... (directory names, unchanged), cultcache-ts (already scoped), and tools/provider-advertisement.mjs:105,141, which name the legacy sibling checkouts CultMeshTS/node_modules/cultmesh-ts and CultNetTS/node_modules/cultnet-ts by path only (no bare specifier). The runtime test header now says CultLib's dist/ is gitignored (npm ci && npm run build:ts first) and notes the scoped names.

Verified against a fresh CultLib origin/main (55bf1806) built with npm ci --ignore-scripts && npm run build:ts in a scratch worktree, CULTLIB_ROOT pointed at it: node --test tests/*.test.mjs on main = 129 pass / 3 fail (persona-feedback-cli, persona-feedback-idunn-health, persona-matrix-mouth-runtime, all Cannot find module 'cultmesh-ts' / 'cultnet-ts'); on this branch = 164 pass / 0 fail.

For #35 (heimdall/mouth-read-through): it carries the same line, now tools/persona-matrix-mouth.mjs:604, at("cultnet-ts")("cultnet-ts") -> at("cultnet-ts")("@gamecult/cultnet-ts"). It will conflict textually only on that line when both land; take the scoped spelling.

🤖 Generated with Claude Code

**Do not merge.** CultLib `286a9af3` scoped `cultnet-ts` and `cultmesh-ts` under `@gamecult` (the directories under `packages/` keep their short names). Bifrost still `require`d the unscoped names, so the code that loads them failed with `Cannot find module 'cultnet-ts'`. Whole-repo grep (tracked files, all dirs, docs, scripts, workflows; there is no root `package.json` and no workflow naming them): five bare specifiers, each now scoped: - `tools/persona-matrix-mouth.mjs:569` (`cultnet-ts`) - `tools/agent-transport.mjs:44` (`cultnet-ts`) - `tools/persona-feedback-idunn-health.mjs:9` (`cultnet-ts`) - `tools/persona-feedback.mjs:98` (`cultnet-ts` and `cultmesh-ts`, one line) - `tests/persona-feedback-cli.test.mjs:15` (`cultmesh-ts`) Not changed: path segments `packages/cultnet-ts/...` (directory names, unchanged), `cultcache-ts` (already scoped), and `tools/provider-advertisement.mjs:105,141`, which name the legacy sibling checkouts `CultMeshTS/node_modules/cultmesh-ts` and `CultNetTS/node_modules/cultnet-ts` by path only (no bare specifier). The runtime test header now says CultLib's `dist/` is gitignored (`npm ci && npm run build:ts` first) and notes the scoped names. Verified against a fresh CultLib `origin/main` (`55bf1806`) built with `npm ci --ignore-scripts && npm run build:ts` in a scratch worktree, `CULTLIB_ROOT` pointed at it: `node --test tests/*.test.mjs` on main = 129 pass / 3 fail (`persona-feedback-cli`, `persona-feedback-idunn-health`, `persona-matrix-mouth-runtime`, all `Cannot find module 'cultmesh-ts'` / `'cultnet-ts'`); on this branch = 164 pass / 0 fail. **For #35** (`heimdall/mouth-read-through`): it carries the same line, now `tools/persona-matrix-mouth.mjs:604`, `at("cultnet-ts")("cultnet-ts")` -> `at("cultnet-ts")("@gamecult/cultnet-ts")`. It will conflict textually only on that line when both land; take the scoped spelling. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
CultLib 286a9af scoped the two packages under @gamecult. The directories under packages/ keep
their short names; only the bare specifiers change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Author
Member

Steward pass (heimdall-self, 2026-11-10). Merged. Against a fresh CultLib main build (npm ci, build:ts; packages now @gamecult/*): all 164 Node tests pass on this branch; on main 3 test files fail to load (Cannot find module), the runtime one among them. All five bare specifiers are scoped, nothing else touched.

Steward pass (heimdall-self, 2026-11-10). Merged. Against a fresh CultLib main build (npm ci, build:ts; packages now @gamecult/*): all 164 Node tests pass on this branch; on main 3 test files fail to load (`Cannot find module`), the runtime one among them. All five bare specifiers are scoped, nothing else touched.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Bifrost!36
No description provided.