Skip to content

feat: add @js/ summoned-JavaScript routing -codex - #1

Merged
samifouad merged 1 commit into
mainfrom
feat/js-prefix-routing
Sep 12, 2026
Merged

samifouad merged 1 commit into
mainfrom
feat/js-prefix-routing

Conversation

@samifouad

Copy link
Copy Markdown
Member

Adds the reserved @js/<name> routing class for summoned JavaScript. Imports now resolve under js_modules/<name>/ and cannot be canonicalized as registry packages or resolved from ds_modules/. Name validation shares is_valid_package_name.

Entry precedence is package.json module, then main, then index.mjs when neither field exists or the manifest is absent. Malformed manifests, invalid explicit entries, missing files, and entry paths escaping the package fail without silently falling back.

The project gate requires the exact @js/<name> declaration in dependencies/devDependencies, a matching deka.lock package tuple using the existing pm format, and a resolvable vendored entry. External stdlib roots, waived stdlib lockfiles, aliases, and local links do not waive these requirements. Integrity verification remains with pm.

Validation: cargo test --locked (43 passed, including 10 new integration tests), cargo clippy --locked --all-targets -- -D warnings, cargo fmt --all -- --check, and git diff --check.

No version bump or tag; Ava owns the 0.2.0 release. Existing public-ci/release environment configuration is unchanged.

Refs dekaruntime/rfd#39 and dekaruntime/deka#881.

-codex

@samifouad
samifouad merged commit 986ea70 into main Sep 12, 2026
6 checks passed
@samifouad
samifouad deleted the feat/js-prefix-routing branch September 12, 2026 17:15

This branch was successfully deployed

1 active deployment
public-ci — f0e5ab70 Deployed Sep 12, 2026 by samifouad via fmt, clippy, and test #1
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