Onboarding Contract (Legacy)
This page is kept for backward compatibility.
Inspecto's recommended machine-readable onboarding contract is now single-entry:
inspecto onboard --json- if
statusisneeds_target_selection, rerun with--target <packagePath> - if
statusisneeds_confirmation, rerun with--yes - use
inspecto doctor --jsononly when onboarding returnserroror unresolved diagnostics
Current Status Model
inspecto onboard --json returns assistant-oriented statuses:
successpartial_successneeds_target_selectionneeds_confirmationerror
The payload also includes:
target: selected candidate information and selection reasonsummary: user-facing change/risk summaryconfirmation: whether a lightweight user confirmation is requiredideExtension: required install state and official install referencesverification: suggested dev-server validation command when availableresult: mutations and installed dependenciesdiagnostics: warnings/errors/next steps
Legacy Commands
detect --json, plan --json, and apply --json are still available as low-level debugging commands, but they are no longer the recommended integration protocol for assistant onboarding.