Evidence recording guide
Use cat ~/playground/server-lifecycle/alerts.test.yml to obtain the exact phase names/check keys. Initialize a NEW directory using mkdir -p ~/playground/my-server-project && python3 labs/foundations.py --text "init local_lab".
Use python3 ~/playground/labs/foundations.py requirements to obtain the exact phase names/check keys. Initialize a NEW directory using python3 ~/playground/labs/foundations.py init /NEW/PROJECT/PATH --target-class local_lab or select production for a real production acceptance profile. Replace the example path; initialization must not overwrite an existing project.
Fill profile.json with the real owner, target_identity and requirement values for workload, users, availability, rpo, rto, budget, data_classification and retirement_owner. The generated placeholders/nulls mean pending, not accepted.
Place phase evidence in evidence/01.json through evidence/12.json. Each record requires the phase number, exact matching target_identity, scope (local or target), timezone-aware recorded_at timestamp, descriptive method, exact required checks mapped to true, and artifacts containing relative path plus sha256. Keep artifacts in the project and record actual outputs without secrets. Do not fabricate records to pass a gate.
Run python3 ~/playground/labs/foundations.py check /YOUR/PROJECT/PATH. Exit 2 means incomplete or rejected evidence. Read the reported reason. Earlier dependencies, age, target binding and hashes are checked; production profiles refuse local-scope evidence. The tool validates record consistency and integrity; it cannot independently authenticate a claimed observation or operator honesty. Independent reproduction remains necessary.
For each record retain expected outcome, actual outcome, command/environment, target, version, failure/cleanup result and limitations in the referenced artifact. A true flag is a summary of evidence, never a substitute for performing the check.