[workflow][controller] Exclude epic and child-only container issues from process_work_queue #844
Open
opened 2026-07-23 01:32:45 -05:00 by jcwalker3
·
3 comments
No Branch/Tag Specified
master
fix/issue-844-exclude-epic-containers
fix/issue-842-conflict-fix-lease-lifecycle
feat/issue-646-policy-guardrail-visibility
fix/issue-843-cross-role-allocation-handoff
fix/issue-790-slice-a-heartbeat-policy
feat/issue-628-autonomous-handoffs-orchestration
feat/issue-634-readonly-system-health-api
feat/issue-638-webui-app-shell-phase1
fix/issue-840-cross-role-queue-allocation
feat/issue-822-atomic-install-authority-kernel
feat/issue-633-console-authz-audit-model
feat/issue-636-inventory-api
fix/issue-815-preflight-worktree-forwarding
feat/issue-812-publish-unpublished-commit
feat/issue-635-project-registry-api
feat/issue-798-worker-registry-schema
feat/issue-610-live-remote-parity
docs/issue-632-web-console-architecture
fix/issue-760-exact-owner-renewal
fix/issue-787-kill-segment-separators
chore/issue-681-preserve-review-session-wip
v1.1.0
Labels
Clear labels
allocator
anti-stomp
architecture
bug
chore
codex
concurrency
contamination
control-plane
dashboard
database
design
documentation
enhancement
gitea
glitchtip
important
incident
incident-bridge
integration
jenkins
labels
leases
mcp
mcp-health
mcp-menu
multi-project
mutating
nice-to-have
observability
portability
preflight
protected-branch
queue
read-only
reconnect
recovery
refactor
release
reliability
resumable-review
reviewer
roadmap
safety
security
self-hosted
sentry
stale-runtime
status:blocked
status:in-progress
status:pr-open
status:ready
terminal-lock
testing
tracker
type:bug
type:feature
type:feature
type:guardrail
visibility
workflow
workflow-hardening
workflow-hardening
Controller-owned work allocator
Prevent concurrent LLM session stomping
Architecture / structural design
OpenAI Codex client / workflow session surface
Concurrent session safety
Workflow or session contamination incident
MCP control-plane coordination and allocation authority
MCP operational dashboard/queue view
Internal coordination storage (SQLite/Postgres)
Design / investigation, no implementation
Docs / runbooks
New feature or improvement
Gitea MCP workflow
GlitchTip integration
Operational or process incident requiring durable audit trail
Sentry-to-Gitea incident bridging
Integration testing
Jenkins integration
Label taxonomy management
Lease adopt/release/expire lifecycle
MCP server / tooling
MCP namespace and runtime health
MCP menu surface
Work spanning multiple monitoring projects or Gitea repos
Mutating action; requires gating
Observability, metrics, traces, error reporting
Cross-platform / portability
Shared preflight gates before mutation
Protected branch / stable-branch policy concern
Work queue visibility and allocation
Read-only, no mutation
MCP client reconnect/reload recovery path
Recovery paths for stale/foreign leases
Code refactor / restructure
Release / versioning
Reliability / failure handling
Persist and resume prepared review verdicts across sessions
Reviewer workflow tooling
Roadmap / umbrella issue
Safety rails and fail-closed mutation guards
Security / trust boundary
Self-hosted infrastructure integration
Sentry error monitoring integration
Stale backend daemon / runtime-vs-master parity failures
Issue is blocked
Issue is being worked on
Issue has an open pull request
Issue is ready for work
Terminal review lock (#332) path
Tests / test coverage
Issue tracker hygiene / meta
Bug or defect
Feature or enhancement
Feature or enhancement
Safety gate or guardrail
Workflow state visibility for LLMs/operators
Cross-tool workflow
LLM workflow coordination hardening
LLM workflow coordination hardening
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Scaled-Tech-Consulting/Gitea-Tools#844
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
process_work_queueselected Issue #631 even though the issue explicitly delegates implementation to child issues and prohibits direct feature implementation in the epic.Confirmed evidence
process_work_queuenevertheless selected it for author implementation.asn-11f9f1ad52bb47dc/ leaselease-9817e2823c14402b(allocation/recovery side effects tracked under the separate cross-role handoff defect).Required behavior
process_work_queueexcludes epics, coordination containers, and parent issues whose implementation is explicitly delegated to child issues.Acceptance criteria
Required regression coverage
Non-goals
Note
This issue is a durable record only for the current author run. Implementation is intentionally deferred so the handoff defect can land independently.
Scheduled allocator evidence — 2026-07-23
AUTOMATION-EVIDENCE: daily-brief 2026-07-23 container-selection-chain
This unattended controller cycle reproduced the container-selection defect on live
prgs/Scaled-Tech-Consulting/Gitea-Toolsstate.Runtime and transition
gitea-controller/prgs-controller/sysadmin.4f3a464a90e14a6595cfb7339dd3d8d6ed957c93; restart was not required.process_work_queuecross-role preview selected non-implementable containers foraction=implement,required_role=author.Live selection chain
#631— epic; body says implementation is delivered through child issues only and forbids product-feature implementation on the epic. Preview fingerprint:588dbf9096ede08de20dfe95668c92630060d1a7b35761b7b7095335780422b7.#631,#652— canonical product vision; body says “Do not implement features on this issue.” Fingerprint:0fc979c6d6a387070a2d722b9055d53a3435b35df04e573d554056b5f6d22458.#631/#652,#653— phased roadmap; non-goals forbid implementing features on the roadmap. Fingerprint:5eccd6925047f0b366793004ca1956643f10b4134d37e8f205413d3b29545533.#631/#652/#653),#655— restart-governance umbrella; body says implementation is via linked children only. Fingerprint:71d4ad703ce9fb97cfcf3f01f79796a0a3e31a4d67321a601f3a52a670bafca2.The allocator therefore cannot advance to bounded work within the three-skip safety ceiling. This is materially broader evidence than the original
#631reproduction: title variantsProduct vision,Roadmap, andUmbrellaall survive eligibility and ranking.Recovery and impact
exclude_issue_numberspreview exclusions for exactly three invalid candidates.#655); no safe allocation was made.#844fully covers this root cause; closed#776is related to pre-rank exclusions but does not replace semantic container eligibility. No new defect was created.Regression evidence to add under existing acceptance criteria
#652-shaped vision records,#653-shaped roadmaps, and#655-shaped umbrellas before ranking.Canonical Issue State
STATE: needs-author
WHO_IS_NEXT: author
NEXT_ACTION: Implement issue #844 acceptance criteria with semantic pre-rank container exclusion and regression coverage.
NEXT_PROMPT:
WHAT_HAPPENED: A live scheduled controller preview selected four child-only containers in sequence; three sanctioned exclusions exhausted the run limit without reaching bounded work.
WHY: Allocator eligibility currently treats status:ready containers as implementable without honoring authoritative child-only and non-implementation scope.
RELATED_PRS: #845 documents the separate cross-role handoff defect and explicitly leaves #844 out of scope.
BLOCKERS: process_work_queue ranks semantic container issues as implementable author work.
VALIDATION: Live allocator previews and live issue reads for #631, #652, #653, #655; controller identity, exact issue-comment capability, and master parity revalidated immediately before this comment.
LAST_UPDATED_BY: sysadmin (prgs-controller)
Canonical Handoff
Canonical Issue State
STATE: needs-author
WHO_IS_NEXT: author
NEXT_ACTION: Implement allocator semantic exclusion for epic/vision/roadmap/umbrella/child-only containers before ranking; add regression coverage; do not allocate containers for implement.
NEXT_PROMPT:
WHAT_HAPPENED: Scheduled autonomous controller cycle (2026-07-23) used gitea_allocate_next_work allocation_mode=cross_role apply=false on prgs Scaled-Tech-Consulting/Gitea-Tools. Top-ranked candidates were non-implementable containers: #631 (Epic), then after exclude #652 (Product vision), #653 (Roadmap), then #655 (Umbrella). Hit the scheduled-run 3-invalid-candidate skip limit; no assignment or lease created. Preflight OK: workflow skill ready, workflow hash 263d0a6cb8a6, master parity
4f3a464a90, mutation_safe true, identity sysadmin/prgs-controller.WHY: Allocator still ranks status:ready container issues as author implement work. Semantic epic/vision/roadmap/umbrella/child-only exclusion from #844 AC is not yet applied in live gitea_allocate_next_work cross_role selection, so unattended runs cannot advance without manual exclude_issue_numbers and risk allocating containers if apply=true without validation.
RELATED_PRS: none for this comment cycle
BLOCKERS: Live defect remains open — containers outrank implementable work; related queue pressure includes foreign/stale leases on #637/#646 and reviewer stale_dead_process on PR #813/#818 (separate from this defect root cause).
VALIDATION: Reproduced via four consecutive dry-run previews with fingerprints 588dbf9096ede08de20dfe95668c92630060d1a7b35761b7b7095335780422b7 (#631), 0fc979c6d6a387070a2d722b9055d53a3435b35df04e573d554056b5f6d22458 (#652), 5eccd6925047f0b366793004ca1956643f10b4134d37e8f205413d3b29545533 (#653), 71d4ad703ce9fb97cfcf3f01f79796a0a3e31a4d67321a601f3a52a670bafca2 (#655). Issue bodies for #631/#652/#653 explicitly forbid implementation on the container. Duplicate search: open #844 already tracks root cause — no new issue filed.
LAST_UPDATED_BY: scheduled worker via gitea-controller / prgs-controller / sysadmin
Issue claim heartbeat