Pcornel
Browse topics
Options
Recent
Favorites
Evidence · observation

Exit Codes scripting evidence

Automation · Exit Codes

Expected observation

Healthy evidence: success and failure codes are documented, child failures propagate, partial failure cannot become zero and diagnostics correlate to the exit status. Suspicious evidence: always-zero scripts, status overwritten by cleanup, inconsistent code meanings, non-zero ignored by callers or logs that disagree with the returned code.

Intended proof boundary

Correlated scripting evidence can establish this execution path and its current proof boundary: operation result → classify terminal state → preserve first/required failure → map to exit code → caller/scheduler interpretation → correlated diagnostics

Does not prove

It does not independently prove the target platform or service is healthy. An exit code proves only the process-level result according to the script's contract; it does not independently prove target state or identify root cause.

Next discriminating check

Continue from the first unproven boundary: reproduce the exact invocation, verify effective inputs/runtime/dependencies, trace the relevant control-flow or function/module decision, inspect command/API result plus exit/exception/log evidence, then re-observe the target before retrying or declaring success.

1ObservationExpected observation; record actual output separately.
→
2Inference boundaryOnly what the observation directly supports.
→
3Non-proof boundaryWhat still remains unproven.
→
4Next checkThe next discriminating observation.
Documentation structureReference completenessexpected observation documented · intended proof boundary documented · non-proof boundary documented · next check documented · source reference supplied
Source referencePcornel evidence-first Scripting modelSource presence does not itself prove technical correctness.
Verification closure

Use this Evidence to decide the next boundary, not to skip the original test

Observation → proof/non-proof boundary → next discriminating check → minimum controlled change → repeat the original workload/test → adjacent/return-path regression check where relevant.

Capture / filter

caller/invocation + code/runtime revision + parameters/config/environment + dependency/module state + branch/function context + command/API request + stdout/stderr + exit/exception + run/correlation ID + target read-back + acceptance test
Reference statusEvidence reference · unreviewed · Source reference
Reference completenessEvidence reference · 100/100
Freshnessunreviewed
ProvenanceSource reference
Collection costLow

Evidence reference. Completeness measures filled reference fields, not a captured result, source correctness or confidence in live operation. Review freshness is shown separately. Record actual output, target, scope and time before drawing an operational conclusion.

Confirmation

Confirm action

Continue?