feat(520): parallel orientation+selection startup; retire #237 as live state; #642 retrieval bullets [decisions-edit]
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# scripts/select-queue.sh — deterministic queue selector for the #237 pickup protocol.
|
||||
# scripts/select-queue.sh — deterministic queue selector (live Gitea state, never a tracker issue).
|
||||
#
|
||||
# WHY THIS EXISTS. The kickoff dispatches a cheap model to rank the backlog, and the lore then makes
|
||||
# the orchestrator RE-DERIVE the selector's mechanical claims because a small model kept getting them
|
||||
@@ -25,8 +25,9 @@
|
||||
# whose most-recent comments look like a live claim so the orchestrator reads them before claiming.
|
||||
# - UMBRELLA? — an epic/umbrella whose children are the real pickups reads like a normal issue; the
|
||||
# script flags bodies that open with umbrella framing so the orchestrator treats it as a container.
|
||||
# - ARC tier — arc order lives in #237's prose (currently CLOSED / arc complete), not in any label,
|
||||
# so this script deliberately does NOT rank an arc tier. If an arc ever re-opens, read #237.
|
||||
# - ARC tier — there is no active arc right now (maintenance/backlog mode; arc complete), so this
|
||||
# script deliberately does not rank an arc tier. If a new arc/milestone is ever established, add
|
||||
# it as a tier here — never fall back to hand-ranking from a tracker's prose.
|
||||
#
|
||||
# Usage:
|
||||
# ETV_GITEA_BASICAUTH=user:pass scripts/select-queue.sh [N]
|
||||
@@ -94,7 +95,7 @@ rows=$(
|
||||
| (($L | index("review")) != null) as $isReview
|
||||
| ((.milestone != null) and (.milestone.state == "open")) as $inOpenMs
|
||||
# tier: 2=open-milestone, 3=review, 4/5/6=priority high/medium/low (unmilestoned/unreviewed).
|
||||
# (Tier 1 = arc; not label-derivable, handled by the orchestrator via #237 prose.)
|
||||
# (Tier 1 = arc; there is no active arc right now — see the header comment above.)
|
||||
| (if $inOpenMs then 2
|
||||
elif $isReview then 3
|
||||
elif $prank==0 then 4
|
||||
@@ -162,4 +163,4 @@ done <<< "$rows"
|
||||
|
||||
echo
|
||||
echo "Ranked by (tier, priority, issue#). DEPS/tiering/ordering are deterministic — trust them."
|
||||
echo "Resolve CLAIM?/UMBRELLA? flags before claiming (read the issue's comments/body). Arc tier: read #237."
|
||||
echo "Resolve CLAIM?/UMBRELLA? flags before claiming (read the issue's comments/body). No active arc tier right now."
|
||||
|
||||
Reference in New Issue
Block a user