Skip to content

Advance supplied promotion readiness inputs out of stale not-ready state #461

@ozand

Description

@ozand

Summary

After #456 and #455 repairs, live eeepc no longer has source_commit_missing and subagent execution no longer blocks on bare_python_executor_command, but the freshest promotion candidate is still surfaced as not_ready_for_policy_review even though its readiness-input packet says the inputs are complete and the recommended next action is ready_for_policy_review.

Live evidence

Observed at 2026-05-02T14:30Z from the local dashboard after /collect.

Latest /api/promotions.items[0]:

{
  "identity_key": "promotion-635b34e7041d",
  "status": "not_ready_for_policy_review",
  "readiness_checks": {
    "schema_version": "promotion-readiness-inputs-v1",
    "artifact_present": true,
    "evidence_refs_present": true,
    "provenance_complete": true,
    "missing_inputs": []
  },
  "readiness_blocker": {
    "state": "ready_for_policy_review",
    "reason": "promotion_readiness_inputs_supplied",
    "missing_inputs": [],
    "recommended_next_action": "ready_for_policy_review"
  },
  "recommended_next_action": "ready_for_policy_review",
  "governance_packet.review_packet_status": "blocked_not_ready",
  "provenance.source_commit": "f9a71ba0e5a0d1aba4c5c4f84c1861d1eb965ef4"
}

Mission Control headline:

{
  "headline": "Blocked: promotion_candidate_not_ready_for_policy_review"
}

Expected behavior

When supply_missing_promotion_readiness_inputs finds no missing inputs (provenance_complete=true, missing_inputs=[]) the durable promotion candidate/governance packet should advance consistently to ready_for_policy_review (or be accepted if the runtime policy allows), instead of leaving the top-level status and governance packet in not_ready_for_policy_review / blocked_not_ready.

Acceptance criteria

  • Diagnose the writer path that leaves top-level review_status / decision and governance_packet.review_packet_status stale after readiness inputs are supplied.
  • Add a regression reproducing the live shape: complete readiness inputs but stale not-ready top-level/governance state.
  • Fix the writer/normalizer so latest promotion surfaces a coherent ready_for_policy_review state when readiness inputs are supplied.
  • Run focused and relevant full tests.
  • Deploy to eeepc and verify /api/promotions.items[0] and /api/mission-control no longer report promotion_candidate_not_ready_for_policy_review for a candidate whose readiness inputs are complete.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions