Skip to content

Discover vex.ws from parent directories #25

Closed

Description

@LunaStev

Motivation

Vex commands only look for vex.ws in the current directory. Running vex build, vex check, vex tree, or vex info from src/ fails even though the user is inside a valid project.

Cargo-style project discovery makes the CLI substantially easier to use from editors, scripts, and nested directories.

Proposed behavior

Walk from the current directory toward the filesystem root, select the nearest vex.ws, and treat its directory as the project root.

Acceptance criteria

  • Apply project discovery consistently to manifest, lockfile, .vex, target, and source paths.
  • Prefer the nearest ancestor manifest.
  • Keep vex init scoped to the current directory.
  • Show the selected manifest path in diagnostics when useful.
  • Preserve portable relative path dependency locking.
  • Add integration tests from one and multiple nested directories.
  • Define behavior for symlinked working directories.

Activity

  1. added
    enhancement
    ui/ux
    on Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementui/ux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions