Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python
2.5 KB
Raw Blame

0126. Publication retains observed check failures

Status: accepted 2026-09-15; superseded by 0250 (2026-10-03)

Context

A failing local check followed by a green remote observation and optimistic PR prose could still publish a non-draft PR. Tests that injected coverage flags did not establish that runtime publication consumed actual local results.

Decision

The root records failures and incomplete background starts from recognized test commands after tool execution. Literal cd prefixes are resolved. Records retain the canonical execution directory and Git worktree root, and survive session saves and resumes. Only a successful foreground rerun of the same command in the same execution directory clears its record; unrelated successful commands and rewritten prose do not. Non-draft publication is refused while an applicable record remains unresolved. Draft creation remains available.

The advertised shell run action and its bash alias share this collector, including host calls consumed through RLM. Successful recognized checks retain bounded output and the post-run Git head and tracked-tree status for claim review. These observations do not prove immutable execution. Build, typecheck, lint, direct test-runner scripts and literal environment prefixes are recognized alongside the existing test commands; output/kill actions are not new runs.

A non-draft publication must occupy its own tool batch. It cannot race a check or edit requested in the same model response.

Consequences

This is observed-check bookkeeping, not proof that a regression test covers the claimed behavior. The command recognizer has explicit supported forms; arbitrary shell programs cannot be classified reliably from their names. Broader coverage and claim validation remain separate requirements. A missing field in an older session supplies no historical observations; malformed new state fails restore.

The production regression exercises failing checks, successful reruns, drafts, resumes and batched publication with local-only external-service fixtures.

The body disclosure must name a local command in backticks with its reported result on a Local: line, and give a Remote: or CI: status. An empty Verification heading is insufficient. No pre-PR runs remains a supported remote status. This checks reporting completeness, not truth or semantic test coverage; fresh CI observations and retained check failures still decide readiness independently. The dispatch regression covers empty headings, missing results, missing remote status, and complete disclosures.