Skip to main content

Module context

Module context 

Source
Expand description

Workspace context probe – runs once at startup and reports whether the current working directory looks like a production-managed repo. When it does, the engine bumps every matched rule’s severity by one tier. The signals are deliberately conservative: only files that strongly imply “this codebase manages production”.

Cheap by design – does not recurse, does not stat outside the cwd root, returns in a millisecond. Designed to run on every Shield launch with zero perceptible cost.

Structs§

WorkspaceContext