Skip to content

[Phase2] Queue Hardening Patchset - Reframe #59

@Prekzursil

Description

@Prekzursil

Objective

Harden Wave-1 queue and label workflows for monorepo-safe idempotency and predictable failure handling.

Scope

  • .github/workflows/agent-task-queue.yml
  • .github/workflows/agent-label-sync.yml
  • .github/ISSUE_TEMPLATE/agent_task.yml
  • .github/agents/triage.agent.md

Required changes

  • Add idempotency guard for duplicate label events.
  • Narrow removeLabel catch behavior to expected not-found conditions.
  • Add rollback cleanup for partial label mutations.
  • Convert label sync to update-first + create-on-404.
  • Add push trigger for label-sync on workflow file updates.
  • Normalize risk values to risk:low|risk:medium|risk:high.
  • Remove edit tool from triage profile.

Acceptance criteria

  • Duplicate issue label events do not post duplicate queue contracts.
  • Failed queue attempts leave issue labels recoverable and explicit.
  • Label-sync can run repeatedly with no drift.
  • Risk taxonomy is aligned between forms and labels.

Verification

  • make verify
  • One controlled queue test issue after patchset merge.

Metadata

Metadata

Labels

agent:in-progressAgent is actively implementing this task.area:infraInfrastructure/CI/tooling related work.risk:mediumMedium-risk change requiring careful review.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions