Skip to main content

Module root

Module root 

Source
Expand description

Workspace root and project-type detection (ADR-0005 §6, ARCHITECTURE.md §16 Phase 02).

Goes through FileSystemService like everything else — never std::fs — which is also what makes it testable against an in-memory tree.

Structs§

WorkspaceRoot
A detected project root.

Enums§

ProjectKind
What kind of project a root looks like. Selects the language recipe and the task adapter, and names the project in agent context.

Functions§

detect_root
Walk up from start looking for a project or VCS marker.
kind_labels
One label for a detected set — "rust, node".
project_kind_of
Detect the project type of one directory without walking up.