new_feature.inspection
new_feature.inspection
Report human and machine-readable managed-feature state.
write_json(payload: dict[str, object]) -> None
Write one versioned JSON response to standard output.
feature_json(root: Path, record: FeatureRecord, state: FeatureState) -> dict[str, object]
Represent feature identity and observed state without allocated environment secrets.
list_features(root: Path, *, json_output: bool) -> int
Show managed feature states, optionally as one JSON document.
doctor(root: Path, *, repair: bool, json_output: bool) -> int
Report consistency problems and optionally remove recoverable stale state.
warn_if_config_changed(config: ProjectConfig, record: FeatureRecord) -> None
Warn when a feature retains allocations from an earlier project configuration.