Expand description
Deep developer-environment diagnostics for limit dev.
Inspects PATH hygiene, key environment variables, installed dev tools,
stack-specific context (virtualenvs, Cargo home, lock files) and commonly
used dev ports, then folds everything into a single EnvironmentState
snapshot with a HealthScore and beginner-friendly MentorMessages.
Structs§
- Named
Check - A single named check that can be scheduled on a worker thread.
- Path
Report - The result of analysing a raw PATH string.
Constants§
- CHECK_
TIMEOUT - Per-check timeout applied inside
run_checks_parallel. - CORE_
TOOLS (command, version flag)pairs probed by the diagnostics.
Functions§
- analyze_
path - Splits and validates a raw PATH string.
- build_
snapshot - Builds a full
EnvironmentStatesnapshot for a repository root. - check_
editor - Checks that an editor is configured.
- check_
home - Checks that the user home directory is set and actually exists.
- check_
proxy - Reads the real proxy variables and reports their consistency.
- collect_
diagnostics - Runs every diagnostic and returns the full list.
- dependency_
audit - Checks that the project manifest exists and that dependencies are pinned by a lock file.
- expand_
windows_ var - Expands a
%VAR%reference inside a PATH entry (Windows style). - mentor_
messages - Builds mentor guidance for all non-passing diagnostics, critical first.
- path_
checks - Checks that
PATHis set and reports hygiene problems in separate diagnostics (broken entries, duplicates, current-directory entry). - path_
separator - The separator the current platform uses to join PATH entries.
- probe_
tool - Runs
tool --versionand returns the first non-empty output line. - proxy_
consistency - Classifies a pair of proxy variables into a status plus a message.
- resolve_
path_ entry - Resolves a raw PATH entry into the filesystem path it refers to.
- resolve_
var - Looks up the first of two variable names (Windows name first).
- run_
checks_ parallel - Runs a collection of blocking checks in parallel with a per-check timeout.
- run_dev
- Runs the full developer-environment inspection for
limit dev. - run_
full_ diagnostics - Runs all checks in parallel and folds them into a full
EnvironmentState. - stack_
context_ checks - Checks environment context that only matters for a given stack.
- tools_
on_ path - One diagnostic per core tool:
Passwhen found,Failwhen missing.