writeState=true: write $KB/beta/tracking/architecture-work-discovery-state.json: { "version": 1, "process": "architecture-work-discovery", "last_run_date": "{{date}}", "note": "OPTIONAL delta file. The scan is FULL every run and correctness never depends on this file. It exists only so the NEXT run can print new-since-last-run columns. A missing or stale state file is never an error and must never gate a run.", "counts": {"unintegrated":<n>,"non_beta_backlog":<n>,"automation_candidates":<n>,"slate":<n>}, "items_seen": ["<stable key per item: the ticket id, or artifact name, or sweep row citation>"] } Merge with any prior file rather than overwriting, and never let a read failure on it abort the run.
