Skip to content

chore: reject writes after canvas halts and retain diagnostics - #479

Merged
abrichr merged 2 commits into
mainfrom
codex/flow-canvas-diagnostics-20260914
Sep 14, 2026
Merged

abrichr merged 2 commits into
mainfrom
codex/flow-canvas-diagnostics-20260914

Conversation

@abrichr

@abrichr abrichr commented Sep 14, 2026

Copy link
Copy Markdown
Member

A severe-drift canvas trial could report a safe halt after saving the wrong note or an empty row. The oracle only counted the expected note as a write. Require the saved-note file to be absent: every persisted value now fails, and Docker or read errors stop qualification instead of becoming evidence of no write.

Each trial also retains a bounded native diagnostic summary with the first failed result index, refusal enums, delivery flags, and identity/resolution metrics. It excludes report text, OCR values, parameters, paths, and frames. The existing artifact uploads only results.json, with seven-day retention. Runtime behavior is unchanged.

Validation: 38 focused canvas and CI workflow tests pass, including wrong-note and empty-row rejection, the exact file probe against local files, failed-read handling, and secret-canary checks. Ruff and release consistency pass. These tests cover the qualification oracle and diagnostic export. We haven't rerun the live canvas environment, so the September 9 moderate over-halt still needs native failure evidence.

Opened by an agent session, not the founder.

Signed-off-by: Richard Abrich <richard.abrich@mldsai.com>
Signed-off-by: Richard Abrich <richard.abrich@mldsai.com>
@abrichr
abrichr merged commit cfea6ec into main Sep 14, 2026
19 checks passed
@abrichr
abrichr deleted the codex/flow-canvas-diagnostics-20260914 branch September 14, 2026 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant