docs(evidence): add M1 status-page photo (#7)
## What Archives the M1 status-page photo into the evidence set at `poc/evidence/m1-20260831/photos/status_page_20260831.jpg` (full-resolution JPEG, 4032x3024, no recompression) and registers it in the run manifest. ## What the photo shows The live Frame status page on the Waveshare ESP32-S3-RLCD-4.2 after the M1 soak: the UTC+8 time line, KEY/BOOT/RST counters, WiFi `CONNECTED 192.168.50.178`, and TF `READY` / log OK. The on-screen timestamp 16:28:52 UTC+8 correlates with the capture filename epoch 2026-08-31T08:29:02.935Z. ## Hashes - Archived JPEG sha256: `03817e0424452eba786768960645aa9e369bdfef08fe1da9883a7b9b035e82ec` (verified byte-identical after copy) - Original HEIC source `20260831_082902935_iOS.HEIC` sha256: `62b86a8c0316fcd4ef5fbcc3ca59e308982627db5ef18d9b71bf9409cc446b9e` — the HEIC itself stays out of the repository; filename and hash are recorded in the artifact note. ## Schema change (minimal additive) `poc/evidence/schema.json` artifact items gain an optional `note` string so provenance (source file, screen-content summary, timestamp correlation) can travel with the artifact entry; `frame-evidence` needed no code change (generic jsonschema validation) and one test covers the new field. ## Remaining Board and module photos remain TODO for M1-008; this PR only adds the status-page photo. Co-authored-by: ania-lain <[email protected]>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import json
|
||||
from pathlib import Path
|
||||
from typing import cast
|
||||
|
||||
from frame_tools.evidence import discover_manifests, validate_evidence
|
||||
|
||||
@@ -69,6 +70,16 @@ def test_invalid_date_time_is_rejected(tmp_path: Path) -> None:
|
||||
assert "['started_at']" in errors[0]
|
||||
|
||||
|
||||
def test_artifact_note_passes(tmp_path: Path) -> None:
|
||||
manifest = valid_manifest()
|
||||
artifacts = cast(list[dict[str, object]], manifest["artifacts"])
|
||||
artifacts[0]["note"] = "photo artifact with provenance note"
|
||||
path = tmp_path / "manifest.json"
|
||||
path.write_text(json.dumps(manifest), encoding="utf-8")
|
||||
|
||||
assert validate_evidence(SCHEMA, [path]) == []
|
||||
|
||||
|
||||
def test_schema_is_not_discovered_as_a_manifest() -> None:
|
||||
manifests, errors = discover_manifests([SCHEMA.parent], SCHEMA)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user