Skip to content

cljk-origin: record the 29 unregistered .cljk sources - #422

Merged
com-junkawasaki merged 2 commits into
mainfrom
cljk-origin/record-unregistered-7cdd775
Oct 2, 2026
Merged

com-junkawasaki merged 2 commits into
mainfrom
cljk-origin/record-unregistered-7cdd775

Conversation

@com-junkawasaki

@com-junkawasaki com-junkawasaki commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

Why

scripts/cljk-mirror.cljk in network-awai/cloud-murakumo (see network-awai/cloud-murakumo#254) mirrors every dependency to the extension it had before the .cljk rename so shadow-cljs can load it, and refuses when a .cljk file has no entry in the repo's cljk-origin.edn. This repo has 29 such files, which blocks building the murakumo.cloud Worker from main (The required namespace ... is not available).

What

Only cljk-origin.edn changes (appended); no source or behaviour changes.

file recorded as
scripts/web-cli.cljk .cljs
scripts/web-crawl-demo.cljk .cljs
scripts/web-fetch-demo.cljk .cljs
scripts/web-fleet-health.cljk .cljs
scripts/web-fleet-smoke.cljk .cljs
scripts/web-recall-bench.cljk .cljs
scripts/web-search-demo.cljk .cljs
src/murakumo/web.cljk .cljc
src/murakumo/web/backends.cljk .cljc
src/murakumo/web/crawl.cljk .cljc
src/murakumo/web/dispatch.cljk .cljc
src/murakumo/web/host.cljk .cljc
src/murakumo/web/index.cljk .cljc
src/murakumo/web/provision.cljk .cljc
src/murakumo/web/robots.cljk .cljc
src/murakumo/web/search.cljk .cljc
src/murakumo/web/url.cljk .cljc
src/murakumo/web/verify.cljk .cljc
src/murakumo/web/worker.cljk .cljc
test/murakumo/web_backends_test.cljk .cljc
test/murakumo/web_crawl_test.cljk .cljc
test/murakumo/web_host_test.cljk .cljs
test/murakumo/web_index_test.cljk .cljc
test/murakumo/web_provision_test.cljk .cljc
test/murakumo/web_robots_test.cljk .cljc
test/murakumo/web_search_test.cljk .cljc
test/murakumo/web_test.cljk .cljc
test/murakumo/web_verify_test.cljk .cljc
test/murakumo/web_worker_test.cljk .cljs

How the extensions were chosen

For files created after the rename there is no .cljc/.cljs ancestor in git, so the value follows the existing practice in these repos: #? present -> .cljc; a scripts/ file or one that requires a node: module -> .cljs; src/ using only js/ -> .cljc; test/ using only js/ -> .cljs; no platform evidence -> .cljc (tests follow their subject). Checked against 106 already-recorded files that carry such evidence: 86 agree (81%); the rule above is the one refined from the 20 that did not.

Please confirm these

The origin of a file created after the rename cannot be read from history, so each is derived from its content. These are the ones where the evidence is weak:

file recorded as why
src/murakumo/web/dispatch.cljk .cljc uses js/ with no #?; recorded .cljc for the 19 comparable src/ files, .cljs for 3
src/murakumo/web/host.cljk .cljc same: 33 js/ uses, no #?, no node: require
src/murakumo/web/crawl.cljk .cljc no platform evidence; pure
src/murakumo/web/url.cljk .cljc no platform evidence; pure
src/murakumo/web/verify.cljk .cljc no platform evidence; pure
test/murakumo/web_host_test.cljk .cljs js/ only, no #?; test/ js-only files are .cljs 5:1
test/murakumo/web_worker_test.cljk .cljs same

Checked

  • cljk-origin.edn reads with kbb and has the appended entries; every tracked *.cljk in the repo is now registered with .cljc/.cljs/.clj.
  • Not yet verified end to end: cloud-murakumo consumes this repo at a pinned SHA, so the pin has to move to the merge commit before its build can drop CLJK_MIRROR_GUESS.

🤖 Generated with Claude Code

The cljk mirror (network-awai/cloud-murakumo scripts/cljk-mirror.cljk) refuses a .cljk with no origin
record, which blocks building the murakumo.cloud Worker. Origins are derived from file content
following the existing practice in these repos (#? -> .cljc, js/node-only scripts -> .cljs,
tests follow their subject); see the PR description for the weakly-evidenced entries.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-01T06:11:55.249720Z efeac83 PR opened
🔒 Security Review ✅ Completed 2026-10-01T06:15:03.773582Z efeac83 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@com-junkawasaki com-junkawasaki changed the title cljk-origin: record the 30 unregistered .cljk sources cljk-origin: record the 29 unregistered .cljk sources Oct 1, 2026
@com-junkawasaki
com-junkawasaki merged commit 662a641 into main Oct 2, 2026
3 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.

1 participant