Skip to content
youdede

Preflight Change Environment

DevelopmentCommandv1.0.0

Runs a local bounded collector that reports runtime, package-manager markers, and redacted git state without emitting paths, environment values, file contents, or remote URLs.

Runs on

Scope
$npx @youdede/toolkit add preflight-change-environment --target claude-code

What it does

Collect a deterministic redacted environment snapshot before a repository change begins.

When it fires

  • planning
  • implementation

How it behaves

Collect a bounded redacted environment snapshot without reading environment values or file contents.

Do not print environment-variable names or values, remote URLs, absolute paths, usernames, or file contents.

Do not install dependencies, change configuration, or repair the environment.

Do not claim parity with CI or production from a local snapshot.

Configuration

scripts/collect-environment.mjsnode · none

Version
1.0.0
Requires
node
Licence
RiskThis command collects a deterministic redacted environment snapshot before a repository change begins; it does not claim parity with CI or production from a local snapshot.
Low
ModeHow it works: fixed rules, model instructions, or both.
Deterministic and prompt
Behaviour
Advises, never blocks
On failure
Stops and reports
LatencyThe command follows multiple workflow steps while it collects a deterministic redacted environment snapshot before a repository change begins.
Bounded
Data retentionWhether data remains after use and who manages its storage.
Not retained

Often used with

All in Development