Lessilo · application operations
Use plans and receipts
Work from your app’s Git checkout. Keep source committed and private .lessilo/ state ignored. Start with the sample walkthrough for prerequisites and exact deployment steps.
Prepare and inspect
Prepare imports a committed snapshot, builds AIM, generates the SBOM, scans and creates a plan. --no-snapshot refuses dirty source rather than silently committing it. Review source provenance, findings, costs, isolation and exposure before execution.
lessilo prepare --target local --no-snapshot
lessilo inspect
lessilo inspect --json
Review an exact plan
Explicit prepare can record policy-auto approval under operator-invoked-prepare. Do not describe this as a person’s consent or rely on deploy to ask again. Record human approval with the actual plan ID and a real identity after reviewing it. Approval is bound to the plan version; re-prepare and review after source changes.
read -r -p "Reviewed plan ID: " PLAN
read -r -p "Your approver identity: " APPROVER
lessilo approve --plan "$PLAN" --by "$APPROVER"
Check the outcome
Use status after deployment, including a failed command. Require HEALTHY status, the expected application response and matching receipt evidence. Latest status can change with the next deployment; retain the first receipt and its referenced evidence beforehand.
lessilo status --json
read -r -p "Actual receipt path: " RECEIPT
lessilo receipt verify "$RECEIPT"
A valid receipt can record a failure. Verification is not proof of a healthy runtime or proof that the app is safe. Check source, AIM, SBOM, plan, approval mode, runtime binding, access and health fields.
Recover without bypassing checks
- Dirty checkout: review and commit intended changes, then prepare again.
- Incomplete scan: fix the scanner/data-access prerequisite; do not substitute fixture evidence.
- Blocked findings: remediate source, commit and re-scan.
- Unhealthy runtime: inspect that deployment’s logs and health error. An HTTP response is not enough.
- Changed plan or target: review and approve the new exact plan; retain earlier evidence.
Keep logs, state and credentials private. Redact before sharing. See scoped cleanup for failed as well as successful runs.