Pcornel
Browse topics
Options
Recent
Favorites
Evidence · observation

Functions Linux operational evidence

Linux · Functions

Expected observation

Healthy evidence: function resolution, arguments, local/global effects, stdout and return status are all understood and caller behavior is verified. Suspicious evidence: a function unexpectedly changes cwd/options/globals, output is confused with return status, or dynamic scope modifies a caller variable.

Intended proof boundary

Correlated Linux file/text/shell evidence can establish this proof path: function definition → command resolution → caller shell + positional parameters → local/dynamic variable scope → builtins/external commands → return status + shell-state side effects → caller behavior

Does not prove

It does not independently prove behavior outside the captured host, shell/session, cwd/namespace, input, process, filesystem, locale, time or workload scope. Function verification proves behavior in the current Bash state and tested arguments; it does not imply subprocess isolation or portability to other shells.

Next discriminating check

For Shell & Bash → Functions, continue with the first unproven Topic check: Inspect function definition with the shell's own introspection and confirm which definition wins command resolution. If that boundary is healthy, advance to the adjacent check: Test positional parameters, empty arguments, local/global variable interactions and return statuses. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.

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 Linux file/text/shell 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

Shell & Bash → Functions + exact time/host/boot/namespace + affected object/identity + verification chain: function definition → command resolution → caller shell + positional parameters → local/dynamic variable scope → builtins/external commands → return status + shell-state side effects → caller behavior + discriminator: Inspect function definition with the shell's own introspection and confirm which definition wins command resolution. + requested/observed/effective state + original workload/result
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?