Reference
This page documents exact behavior. Open the reference overview
inspect¶
inspect is the detailed diagnostic view.
Use it when the short validation answer is not enough and you need to see what the resolved environment actually looks like.
envctl inspect
envctl inspect KEY
envctl inspect --contracts
envctl inspect --sets
envctl inspect --groups
Purpose¶
inspect is the deep diagnostic view.
Where check answers “is this valid?”, inspect answers “what exactly is happening?”.
What it does¶
- shows the resolved runtime view for the active scope
- includes project context, contract composition, runtime paths, summary, variables, and problems
- shows effective expanded values
- masks sensitive values in normal output
- exposes auxiliary views for resolved contracts, sets, and groups
- fails fast if the selected explicit profile does not exist
Main forms¶
envctl inspect¶
Shows the detailed runtime view for the current scope.
Use this when you want the broad diagnostic picture.
envctl inspect KEY¶
Shows one variable in detail.
Use this when the real problem is one confusing key, one unexpected default, or one broken placeholder chain.
envctl inspect KEY cannot be combined with:
--group--set--var--contracts--sets--groups
Auxiliary views¶
envctl inspect --contractsshows only the resolved contract graphenvctl inspect --setsshows all resolved contract setsenvctl inspect --groupsshows all resolved contract groupsenvctl --set NAME inspectfocuses the main view on one resolved setenvctl --group NAME inspectfocuses the main view on one resolved group
Scope and selectors¶
Global selectors apply to the main inspect view:
--group LABELshows only variables whose normalizedgroupsincludeLABEL--set NAMEshows one named contract set--var KEYshows one explicit variable in the main view
When no selector is provided, inspect shows the full contract scope.
What inspect does not do¶
inspect does not:
- change the contract
- change stored values
- generate files
- bypass validation
It is diagnostic only.
When to use it¶
Use inspect:
- after
checkfails and you need the full picture - when projection is blocked and you need to understand why
- when you want to see the resolved contract composition
- when a single variable looks wrong and
inspect KEYis the fastest path
Typical examples¶
envctl inspect
envctl inspect DATABASE_URL
envctl --group Runtime inspect
envctl inspect --contracts
envctl inspect --sets
envctl inspect --groups
Related commands¶
- use
checkfor the short pass-or-fail answer - use
statusfor a smaller readiness snapshot - use
runafter you understand the resolved state you want to project
Related pages¶
Resolution¶
Reconnect inspection to the step that computes effective runtime truth.