Skip to content

Correct manual-attention run outcomes#5

Closed
aurexav wants to merge 2 commits intomainfrom
x/maestro-xy-143
Closed

Correct manual-attention run outcomes#5
aurexav wants to merge 2 commits intomainfrom
x/maestro-xy-143

Conversation

@aurexav
Copy link
Member

@aurexav aurexav commented Mar 16, 2026

Summary

  • record overall run status from the orchestrator outcome so manual-attention exits do not remain succeeded
  • tighten the child tracker contract to require evidence-backed blocker comments for human-attention exits
  • update the tracker/runtime specs to match the stronger comment requirement

Verification

  • cargo make lint-fix
  • cargo make fmt
  • cargo make test
  • cargo test manual_attention_failure_overrides_succeeded_run_status
  • cargo test developer_instructions_

Linear: XY-143

…"correct manual-attention run outcomes","intent":"keep manual-attention exits out of succeeded status and require evidence-backed blocker comments","impact":"aligns operator status with terminal run outcomes and tightens the human-attention prompt and specs","breaking":false,"risk":"low","authority":"linear","delivery_mode":"status-only","refs":[{"system":"linear","id":"XY-143","role":"authority"}]}
…sh daemon pilot authority after xy-142","intent":"keep the split self-bootstrap plans aligned with the fresh pilot result and the new XY-143 follow-up","impact":"records that XY-136 is done, XY-142 reached In Review, and XY-143 is now the remaining daemon-supervision gap","breaking":false,"risk":"low","authority":"linear","delivery_mode":"status-only","refs":[{"system":"linear","id":"XY-143","role":"authority"}]}
@aurexav
Copy link
Member Author

aurexav commented Mar 16, 2026

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 50eb9deea6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Ok(summary)
},
Err(error) => {
persist_issue_run_outcome(state_store, &issue_run.run_id, false)?;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid classifying retryable post-run errors as stalled

Setting every execute_issue_run error to failed before handle_failure makes post-protocol retryable errors (for example, a validation command that runs longer than ACTIVE_RUN_IDLE_TIMEOUT and then fails) eligible for exited-child stalled reconciliation, because inspect_exited_daemon_child_reconciliation_at keys on run_attempt.status() == "failed" while the issue is still active. In daemon mode this can trigger a second failure writeback as stalled_run_detected, escalate to needs-attention, and block the intended automatic retry path for non-terminal failures.

Useful? React with 👍 / 👎.

@yvette-carlisle
Copy link
Member

Closing to recreate this PR under the correct GitHub identity after an auth routing mistake.

@yvette-carlisle
Copy link
Member

Replacement PR: #7

@yvette-carlisle yvette-carlisle deleted the x/maestro-xy-143 branch March 16, 2026 15:04
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.

2 participants