Skip to content

Runtime downgrades a confirmed publication to BLOCKED when the sandbox preflight record is missing #557

Backlog

Description

@datacas

Problem

In the #550 cycle, resolve round 1 pushed e3c3e8a and published its trusted resolve receipt on PR #555 for that head (local HEAD = PR head = claimed head). The runtime still turned the completed stage into BLOCKED with publication_pending: true:

publication preflight inside the stage sandbox was not confirmed

The cause is in scripts/cycle_dispatch.py (around line 301): after confirming that local and remote heads match the claimed SHA, it also requires a publication_transport entry with action == "preflight" and status == "ready". When the transport record exists but holds no such entry, a publication that is already confirmed is downgraded to BLOCKED. The cycle had to be resumed by hand with --from rereview.

Expected

When the remote head, the local head and the claimed head agree, and a trusted receipt exists for that head, the publication is confirmed. A missing preflight record is recorded and does not block a confirmed publication (AGENTS.md, agent capability parity).

Acceptance criteria

  • A resolve or implement stage whose claimed head equals the local and PR heads, and whose receipt for that head is published, does not end BLOCKED only because publication_transport lacks a preflight/ready entry; a regression test covers it.
  • A real mismatch (claimed, local or PR head differ) still stops with the existing upload unconfirmed reason.
  • The missing preflight record is still recorded in telemetry.
  • The owning docs/ page and docs/capability-parity-audit.md are reviewed and updated.

Related

#550, #555, #486.

Activity

  1. added
    bug
    P1
    on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions