-
Notifications
You must be signed in to change notification settings - Fork 0
pipeline: make agent-ready intake atomic and idempotent #338
Copy link
Copy link
Open
Labels
blockedWork cannot proceed until a blocker is resolved.Work cannot proceed until a blocker is resolved.bugSomething isn't workingSomething isn't workingphase-3Phase 3 — Workflow IntegrationPhase 3 — Workflow IntegrationpipelineCore pipeline toolingCore pipeline toolingtestsTest coverage, smoke checks, and acceptance automationTest coverage, smoke checks, and acceptance automationtype:taskImplementation taskImplementation task
Description
Metadata
Metadata
Assignees
Labels
blockedWork cannot proceed until a blocker is resolved.Work cannot proceed until a blocker is resolved.bugSomething isn't workingSomething isn't workingphase-3Phase 3 — Workflow IntegrationPhase 3 — Workflow IntegrationpipelineCore pipeline toolingCore pipeline toolingtestsTest coverage, smoke checks, and acceptance automationTest coverage, smoke checks, and acceptance automationtype:taskImplementation taskImplementation task
Summary
Make the
agent:readyintake transition atomic and idempotent so a valid issue cannot be falsely escalated while its dev loop starts.Context
in-progresswhile another quality run fetched labels; the quality run reportedStop labels present: in-progress, removedagent:ready, and addedneeds-human.noop..github/workflows/agentic-issue-quality.yml,.github/workflows/agentic-dev-loop.yml,scripts/agentic/issue_lint.py,scripts/agentic/dev_loop.py, and focused tests undertests/agentic/in-progressstate cannot invalidate that same intake.Implementation Notes
agent:readyis already present.in-progress.noopmust clear temporary state without becoming a false human escalation.Acceptance Criteria
agent:readytransition yields one authoritative quality decision before the dev loop marks work in progress.in-progressremains a stop label for independent intake attempts but does not invalidate the run that owns it.nooprun opens no PR, creates no remote branch, clears temporary state, and does not addneeds-human.needs-human, and receive a useful quality comment.Tests/Evals
Verification
python3 -m pytest tests/agentic -qnpm testagent:readyonce and confirm one quality outcome, one noop attempt, no PR/remote branch, noneeds-human, and no lingeringin-progress.Agent Instructions
codex/issue-<this-issue>-atomic-ready-intake.mainis green.Human Checkpoints
Out of Scope
Linear
Not applicable. Rafiki delivery is GitHub-only; do not create or update a Linear issue.