docs: hand off deterministic daily operations SOP

This commit is contained in:
Codex committed 2026-10-21 16:51:21 +09:00
1 parent 2aafb6f92f
commit 35b9a62ed4
3 files changed
+69

No files matched your search

@@ -0,0 +1 @@
{"schemaVersion":1,"action":"build","root":"/workspace/scratch/0aaa9774aecc/single-package-staging/ycode","status":"PASS","code":"BUILT","summary":"Build completed with fresh main, preload and renderer entry artifacts.","git":{"sha":"dac4af53e098ea452cb8421962b49b7c9f66df91","dirty":true,"branch":"master","changes":["M AGENTS.md"," M README.md"," M \"docs/\\345\\215\\217\\344\\275\\234/Dev\\345\\220\\257\\345\\212\\250SOP.md\""," M src/main/index.ts","?? \"docs/\\345\\215\\217\\344\\275\\234/\\346\\227\\245\\345\\270\\270\\346\\223\\215\\344\\275\\234SOP.md\"","?? scripts/ops.mjs","?? scripts/ops/","?? src/main/dev-ops-health.ts"],"changesTruncated":false},"evidence":{"startedAt":"2026-10-21T07:48:32.008Z","logPath":"/workspace/scratch/0aaa9774aecc/single-package-staging/ycode/.git/ycode-ops/logs/1792568912009-7d4ff325-85c5-470b-aebc-ed991c34c52b.log","artifactDirectory":"/workspace/scratch/0aaa9774aecc/single-package-staging/ycode/out","artifacts":[{"name":"main/index.mjs","size":1609693,"mtimeMs":1792568914459.8896,"sha256":"aaf4089ca9fd6f1494cd3b0f88d4870efb42852b58395ec39500bfae370941a8"},{"name":"preload/index.cjs","size":16064,"mtimeMs":1792568914481.6614,"sha256":"5c2fc6bb0138e4b936eba32aeb4b3a498b3e9c068fb9e89dc4f114588157412d"},{"name":"renderer/index.html","size":1739,"mtimeMs":1792568916590.1694,"sha256":"42bb74095384906f5781292c4c60569c308dc916b377cbd400d03660d13f9c7f"}],"sourceFingerprint":"dfe948fbbd5a84f423ec686460bc0ae01eb918775c5e3753ec4ee3f01fa408e2","sourceDirty":true,"sourceIdentity":"HEAD plus local modifications; not a pristine commit build"},"ok":true,"exitCode":0}
@@ -0,0 +1,36 @@
✔ identity rejects PID reuse, command changes, opaque timestamps (1.428999ms)
✔ ownership excludes unrelated siblings and pre-parent timestamp PID artifacts (1.167004ms)
✔ renderer app path is an exact Windows path, not a substring (0.573903ms)
✔ actual Local URL parses ANSI and variable ports without accepting remote hosts (0.377024ms)
✔ HTTP requires exact source and real transformed JS, not generic 200 HTML (6.388623ms)
✔ health requires correct port ownership, target renderer, responsive owned main (6.090154ms)
✔ non-Windows native dev is explicitly unsupported, never GUI PASS (0.903487ms)
✔ renderer attestation requires fresh UUID-bound visible UI and exact process IDs (0.616465ms)
✔ producer opt-in gates packaged, missing and invalid run IDs without timers or writes (6.708382ms)
✔ producer writes fresh run and native PID proof only for a complete visible shell with button (14.703835ms)
✔ loading, rejected renderer and linked output directory cannot produce ready proof (4.14652ms)
✔ invalidation while a true proof write is pending cannot leave a stale true result (2.538499ms)
✔ unresponsive and closed windows invalidate proof; close cancels periodic probes (3.467302ms)
✔ strict parser accepts only fixed action and bounded flags (1.665876ms)
✔ shell metacharacters remain literal argv, not commands (86.126075ms)
✔ explicit root never silently picks parent or another repository (38.502242ms)
✔ dirty checkout blocks pull without discarding changes (44.167862ms)
✔ pull refuses wrong branch and remote before network access (61.812683ms)
✔ workspace lock excludes concurrent mutations and preserves unknown lock (48.40442ms)
✔ timeout is bounded and records actual timeout (56.057511ms)
✔ artifact freshness rejects stale outputs and accepts rewritten identical bytes (38.828005ms)
✔ logs redact credentials and JSON errors are machine-readable (117.029628ms)
✔ package never invokes installer on unsupported platforms (41.293196ms)
✔ fresh local fetch fast-forwards exactly; ahead/divergent and fetch failure preserve checkout (3785.777542ms)
✔ source fingerprint notices content changes even when HEAD and dirty boolean do not change (64.664435ms)
✔ redaction preserves JSON syntax for embedded token error text (0.562847ms)
✔ dev-latest is unsupported before any Git mutation on non-Windows (61.207156ms)
✔ oversized evidence is bounded for small-model JSON consumption (1.9262ms)
ℹ tests 28
ℹ suites 0
ℹ pass 28
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 4598.969052