Skip to content

continuum/wesley targets a removed JS-era Wesley; real Wesley is a Rust workspace #47

Description

@flyingrobots

Summary

continuum/wesley/ (the "Continuum-owned Wesley module") and several artifacts
that depend on it are built against a JS-era Wesley that no longer exists.
The real Wesley (github.com/flyingrobots/wesley) is a Rust Cargo workspace
(crates/wesley-core, wesley-emit-*, wesley-holmes, crates/wesley-cli =
"Wesley native CLI", docs.rs/wesley-cli). It has not been a JS project for some
time.

Evidence (paths the Continuum side assumes, all now MISSING in real Wesley)

  • wesley/support/wesley-deps.mjs imports @wesley/core with fallback
    ../wesley/packages/wesley-core/src/index.mjsmissing.
  • demo manifest docs/releases/demo/continuum-stack-release.json pins Wesley as
    @wesley/host-node, runner: node-entrypoint, commandSet: legacy-node,
    install path ../wesley/packages/wesley-host-node/bin/wesley.mjsmissing.
  • wesley/README.md says the host CLI is normally
    ../wesley/packages/wesley-host-node/bin/wesley.mjsmissing.
  • Real ~/git/wesley/packages/ contains only wesley-host-{browser,bun,deno}
    and wesley-holmes — no wesley-core, no wesley-cli, no wesley-host-node.

Impact

  • A Rust wesley-cli cannot load a JS WesleyModule (continuum/wesley/ is a
    JS module surface). The whole bridge is orphaned against current Wesley.
  • wesley/test/*.test.mjs fail to load (@wesley/core unresolvable); the bats
    skip because the .mjs host CLI path is gone.
  • The contract-family-registry's fixture-witnessed evidence for the receipt
    and settlement families is therefore not runnable against current Wesley.
  • qw init real generation (non---skip-generate) targets the dead
    wesley-host-node entrypoint; warp tests pass only because Wesley invocation
    is mocked.

Notes / open questions

  • The demo manifest pins Wesley at commit a80e47a, which predates the Rust
    migration — so this is migration drift, not a typo.
  • apps/warp/README.md already says "new Wesley work should target the Rust
    runner," so the Rust direction is known; the module + manifest + docs never
    followed.

Decision needed

What is continuum/wesley/ supposed to be now? Options: (a) delete it and have
qw invoke the real wesley-cli Rust binary; (b) keep a thin Continuum module
but retarget it at the Rust CLI's interface; (c) something else. The right fix is
an architecture call, not a doc edit — filing this so it is tracked before any
of the dependent docs/manifests are "corrected" to a layout that is itself dead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bad codeCode smell, anti-pattern, or refactor target

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions