docs(queue): dependency-aware selection + milestones-as-bundles grooming conventions
Build ErsatzTV Image / Docs update reminder (push) Has been skipped
Build ErsatzTV Image / decisions.md append-only (push) Has been skipped
Build ErsatzTV Image / API docs in sync (OpenAPI + endpoint index) (push) Has been skipped
Build ErsatzTV Image / Formatting (changed .cs conform to .editorconfig) (push) Has been skipped
Build ErsatzTV Image / Build & push image (amd64) (push) Has been cancelled
Build ErsatzTV Image / Functional E2E (curl contracts) (push) Has been cancelled
Build ErsatzTV Image / Build & test (.NET) (push) Has been cancelled
Build ErsatzTV Image / EF migration integrity (SQLite + MySql) (push) Has been cancelled
Build ErsatzTV Image / Docs update reminder (push) Has been skipped
Build ErsatzTV Image / decisions.md append-only (push) Has been skipped
Build ErsatzTV Image / API docs in sync (OpenAPI + endpoint index) (push) Has been skipped
Build ErsatzTV Image / Formatting (changed .cs conform to .editorconfig) (push) Has been skipped
Build ErsatzTV Image / Build & push image (amd64) (push) Has been cancelled
Build ErsatzTV Image / Functional E2E (curl contracts) (push) Has been cancelled
Build ErsatzTV Image / Build & test (.NET) (push) Has been cancelled
Build ErsatzTV Image / EF migration integrity (SQLite + MySql) (push) Has been cancelled
Backlog grooming (2026-07-17): the kickoff cascade now excludes any issue with an
open blocked-by dependency (Gitea GET /issues/{n}/dependencies; auto-clears when the
blocker closes) so a blocked issue is never picked ahead of its blocker. Adds the
parked->closed convention and the bundle model: related work is grouped via active-arc
milestones or cross-reference comments and detected on pickup via milestone + backlinks.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -24,12 +24,24 @@ So a fresh session stops re-discovering this every time:
|
||||
to ask the user what to work on. Fall straight through to the `priority:`-label cascade and
|
||||
claim the top-ranked eligible backlog issue.
|
||||
- **Selection is priority-label-driven**: OPEN-milestoned → `priority: high` → `priority: medium`
|
||||
→ `priority: low`, excluding `parked`/`in-progress`, lowest issue number within a tier. A
|
||||
`parked` `priority: high` issue (e.g. a PoC) is **not** an automatic pickup — work it only when
|
||||
the user explicitly names it.
|
||||
→ `priority: low`; within a tier, lowest issue number. **Exclude** `in-progress`, pull requests,
|
||||
and **any issue with an open `blocked-by` dependency** — Gitea tracks these (`GET
|
||||
/issues/{n}/dependencies`) and auto-clears the block when the blocker closes, so a blocked issue
|
||||
becomes eligible automatically once its blocker lands. Do not pick an issue ahead of its open
|
||||
blocker (e.g. #70 waits on #380).
|
||||
- **`parked` → closed, not parked** (convention 2026-07-17): `parked` means "no concrete plans," and
|
||||
the decision was to **close** such issues rather than let them linger (reopen instantly if revived).
|
||||
So `parked` should normally not appear; if it does, treat it as excluded and surface it to the user.
|
||||
- **Bundles (single-session sweeps)**: related issues are grouped two ways — (a) an **active-arc
|
||||
milestone** (e.g. "Scheduling: refactor + distribution", "Auto-Tune DetailPanel", "Design system
|
||||
(Claude Design ↔ prod)"), or (b) a **cross-reference comment** on backlog clusters (e.g. "🔗 Session
|
||||
bundle — security hardening: #293, #376"). When you claim an issue, check its **milestone** AND its
|
||||
**cross-references / backlinks** for co-workable siblings, and sweep the whole disjoint cluster in one
|
||||
session. Active-arc milestones auto-sort above the flat priority backlog; leave individually-important
|
||||
backlog bugs unmilestoned so their `priority:` label still orders them.
|
||||
- A **new gate re-appears only** when a future adversarial-review Blocker/High finding is slotted
|
||||
as a priority pickup, or a new OPEN milestone re-establishes an arc. Until then, backlog
|
||||
features (ordered by `priority:` label) are the normal, expected work.
|
||||
features (ordered by milestone/`priority:` label) are the normal, expected work.
|
||||
|
||||
---
|
||||
|
||||
@@ -95,7 +107,7 @@ body and last ~6 comments, then have it query live candidates as a cascade in th
|
||||
`priority: high` → `priority: medium` → `priority: low`**. Every candidate row represents an issue
|
||||
(or eligible reviewer audit): milestone records provide tier metadata and are NEVER pickup candidates.
|
||||
An OPEN milestone with zero eligible OPEN issues contributes zero candidates. Deduplicate candidates,
|
||||
apply the live eligibility exclusions at each tier (including automatic exclusion of `parked` issues),
|
||||
apply the live eligibility exclusions at each tier (including automatic exclusion of `parked` issues and any issue with an open `blocked-by` dependency),
|
||||
and stop as soon as five eligible issues have been accumulated (or all tiers are exhausted). It returns
|
||||
only that ranked top-five shortlist, with one-line rationales and live-state evidence; a small result
|
||||
packet is the desired behavior, but an empty or undersized higher tier must fall through to the next tier.
|
||||
@@ -172,9 +184,11 @@ Then work the queue:
|
||||
Within milestone and review tiers, order by `priority: high` > `medium` > `low`; for otherwise equal
|
||||
candidates preserve #237's explicit eligible order, then use lowest issue number. At every tier exclude
|
||||
pull requests, CLOSED issues, `in-progress` claims, `parked` issues, issues blocked by a CLOSED milestone,
|
||||
containers whose children are the pickups, and reviewer audits that are already claimed or have a posted
|
||||
deliverable. `parked` means excluded from every automatic tier; work it only when the user explicitly
|
||||
names it.
|
||||
**any issue with an open `blocked-by` dependency** (`GET /issues/{n}/dependencies`; Gitea auto-clears the
|
||||
block when the blocker closes — do not pick an issue ahead of its open blocker), containers whose children
|
||||
are the pickups, and reviewer audits that are already claimed or have a posted deliverable. Note the
|
||||
2026-07-17 convention: `parked` (no concrete plans) issues are **closed**, not left parked, so `parked`
|
||||
should rarely appear; if it does, treat it as excluded and surface it to the user.
|
||||
Query the next tier only while fewer than five eligible unique candidates have been collected; do not
|
||||
enumerate the remainder after the shortlist is full.
|
||||
The orchestrator then makes one focused Gitea read to confirm the proposed winner is still OPEN,
|
||||
|
||||
Reference in New Issue
Block a user