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:
Lain
2026-08-31 16:47:37 +08:00
committed by GitHub
co-authored by lain
parent f5f944bef0
commit 9e24763ce2
4 changed files with 19 additions and 1 deletions
+6
View File
@@ -58,6 +58,12 @@
"uri": "status.ndjson",
"sha256": "039cb776675bbb1b6023c7066b22bf1c3a9642f0fda168d3a23cec41b72277ee"
},
{
"name": "status_page_20260831.jpg",
"uri": "photos/status_page_20260831.jpg",
"sha256": "03817e0424452eba786768960645aa9e369bdfef08fe1da9883a7b9b035e82ec",
"note": "Photo of the live Frame status page (UTC+8 time line, KEY/BOOT/RST counters, WiFi CONNECTED 192.168.50.178, TF READY/log OK). Screen timestamp 16:28:52 UTC+8 correlates with the capture filename epoch 2026-08-31T08:29:02.935Z. Converted full-resolution from iOS source 20260831_082902935_iOS.HEIC (sha256 62b86a8c0316fcd4ef5fbcc3ca59e308982627db5ef18d9b71bf9409cc446b9e; HEIC itself stays out of the repository)."
},
{
"name": "boot.log",
"uri": "raw-history/boot.log",
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

+2 -1
View File
@@ -73,7 +73,8 @@
"properties": {
"name": { "type": "string", "minLength": 1 },
"uri": { "type": "string", "minLength": 1 },
"sha256": { "$ref": "#/$defs/sha256" }
"sha256": { "$ref": "#/$defs/sha256" },
"note": { "type": "string" }
}
}
},
+11
View File
@@ -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)