Skip to content

ak-plan: make active-wait status-query guard more explicit in review prep #222

Description

@gelleson

Summary

While an ak wait board process was active, the leader included a one-off gh pr list read in a parallel review-preparation command. This duplicated the active wait condition and violated the wait-monitoring policy.

Command

gh pr list --state all ... while ak wait board ... --filter in_review was still running.

Expected

The active ak wait process should remain the only task/PR transition monitor until it exits. Independent preparation may inspect repository code and documentation, but must exclude board, task, and PR-status queries.

Actual

The redundant PR query returned no PRs. No state changed, but the monitoring workflow was incorrect.

Context

  • ak version: 1.13.4
  • OS: macOS
  • Runtime: Codex
  • Auth type: user

Reproduction

  1. Start ak wait board <board> --filter in_review.
  2. While it remains active, run a batched review-preparation command that accidentally includes gh pr list.
  3. Two readers now observe the same transition condition.

Proposed Skill Change

Add an explicit sentence and example to wait-monitoring.md: while ak wait is alive, review preparation commands may inspect source, tests, and docs, but must not include gh pr list/view/checks, ak get task/board, or daemon-status commands until the wait exits. Recommend keeping status queries out of parallel command batches during an active wait.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions