PRYAJA3 Approval

Patch Proposal: Graph-native post execution replan lane

Human gate for repo writes, promotion gates and other risky actions. Decisions are sent to the canonical target API.

Approval state

Current decision status and linked runtime entities.

Status
rejected
Kind
repo_write_apply
Responsible
Engineer Agent
Run status
completed
Mode
development
Artifacts
2
Family runs
1
Verification runs
0
Promotion
completed
Human notification
delivered
rejectedcode.patchOpen runOpen task cardJSON reportMarkdown report

Decision

Approve, request changes or reject. The API keeps approval, run, checkpoint and audit state in sync.

This approval is already terminal.

Follow-up actions

Canonical execution controls for approved repo writes, promotion gates and checkpoint resume. Destructive steps still pass through the target API policy layer.

Resume run
Resume the graph runtime from the durable approval checkpoint.

Request details

The proposal or gated action that requires a human decision.

Approval ID
approval-3edd17cf1589
Responsible agent
Engineer Agent
Responsible role
engineer
Run ID
run-13c04815
Task
Подготовь patch proposal для graph-native post execution replan lane, сделай diff и проверь связанн…
Thread
Подготовь patch proposal для graph-native post execution replan lane, сделай di…
Step
PATCH-5
Requested
14 апр. 2026 г., 08:11
Decided
17 апр. 2026 г., 15:15
Notification
delivered / attempts=2
Summary
Предложение по реализации graph-native post execution replan lane. Включает интеграцию с `execute_post_execution_langgraph` в `apps/worker/app/executor.py` и обновление `ReplanDecision` в `pryaja3/src/runtime.ts`.
Reason
Недостаточно контекста для формирования точного diff.
Artifact URI
urn:pryaja3:artifact:code-patch-proposal:run-13c04815:PATCH-5
Readiness
needs_followup

Execution and promotion

Post-approval execution state, verification lineage and promotion readiness.

Execution
not executed
Workspace
none
Promotion ready
no
Promotion approval
none
{
  "decision": {
    "actor": "codex_cleanup",
    "status": "rejected",
    "comment": "Archived obsolete smoke/recovery/system-test approval; no longer actionable for the user.",
    "decided_at": "2026-04-17T15:15:46.960Z"
  },
  "execution": {},
  "promotion": {
    "state": "completed",
    "ready_for_merge": false,
    "summary": "Archived obsolete smoke/recovery/system-test entry; not actionable for the user.",
    "source": "self",
    "root_run_id": "run-13c04815",
    "source_run_id": "run-13c04815",
    "task_id": "task-5cc3460c",
    "task_title": "Подготовь patch proposal для graph-native post execution replan lane, сделай diff и проверь связанн…",
    "approval_state": "archived",
    "approval_execution_parent_run_id": null,
    "review_readiness": null,
    "engineering_readiness": null,
    "tests_overall_status": null,
    "tests_count": 0,
    "requirements": [],
    "promotion_execution_state": null,
    "promotion_execution_executed_at": null,
    "promotion_execution_workspace_path": null,
    "promotion_execution_target_root": null,
    "promotion_execution_report_path": null,
    "promotion_execution_diff_path": null,
    "promotion_bundle_artifact_ids": [],
    "updated_at": "2026-04-17T15:15:46.960347Z",
    "completed_at": "2026-04-17T15:15:46.960347Z"
  },
  "lineage": {
    "root_run_id": "run-13c04815",
    "child_runs": [],
    "approval_related_runs": []
  }
}

Related artifacts

Patch proposals, execution outputs, approval state artifacts and verification reports.

code_patch_proposal14 апр. 2026 г., 08:13
urn:pryaja3:artifact:code-patch-proposal:run-13c04815:PATCH-5
approval_resume_state16 апр. 2026 г., 15:24
urn:pryaja3:artifact:approval-resume:approval-3edd17cf1589:needs_changes

Raw approval payload

Low-level request JSON for audit and debugging.

{
  "title": "Patch Proposal: Graph-native post execution replan lane",
  "reason": "Недостаточно контекста для формирования точного diff.",
  "status": "requested",
  "step_id": "PATCH-5",
  "summary": "Предложение по реализации graph-native post execution replan lane. Включает интеграцию с `execute_post_execution_langgraph` в `apps/worker/app/executor.py` и обновление `ReplanDecision` в `pryaja3/src/runtime.ts`.",
  "decision": {
    "actor": "codex_cleanup",
    "status": "rejected",
    "comment": "Archived obsolete smoke/recovery/system-test approval; no longer actionable for the user.",
    "decided_at": "2026-04-17T15:15:46.960Z"
  },
  "required": true,
  "tool_name": "code.patch",
  "approval_id": "approval-3edd17cf1589",
  "artifact_uri": "urn:pryaja3:artifact:code-patch-proposal:run-13c04815:PATCH-5",
  "approval_kind": "repo_write_apply",
  "decision_options": [
    "approve",
    "reject",
    "needs_changes"
  ],
  "resume_supported": true,
  "human_notification": {
    "status": "delivered",
    "target": "613610837",
    "channel": "telegram",
    "attempts": [
      {
        "error": "missing_telegram_chat_id",
        "status": "failed",
        "target": null,
        "channel": "telegram",
        "provider": "telegram",
        "message_id": null,
        "attempted_at": "2026-04-15T16:22:32.799659+00:00"
      },
      {
        "error": null,
        "status": "delivered",
        "target": "613610837",
        "channel": "telegram",
        "provider": "telegram",
        "message_id": "567",
        "attempted_at": "2026-04-15T16:27:58.687747+00:00"
      }
    ],
    "provider": "telegram",
    "message_id": "567",
    "delivered_at": "2026-04-15T16:27:58.687747+00:00",
    "attempt_count": 2,
    "last_attempt_at": "2026-04-15T16:27:58.687747+00:00",
    "retry_after_seconds": 300
  },
  "proposal_readiness": "needs_followup",
  "responsible_agent": "Engineer Agent",
  "responsible_role": "engineer",
  "responsibility_source": "tool_registry_role_allowlist"
}