GeezerVison is showing github.com — feat(orchestrator): GitHub intake triage — every new issue + issue comment assessed, labeled, horizon-set, answered · Issue #1480 · developing-today/code
feat(orchestrator): GitHub intake triage — every new issue + issue comment assessed, labeled, horizon-set, answered #1480DescriptionGap named by Drew (2026-10-27): "does orchestrator or triage workflow receive every issue and issue comment and assess priority, add labels, leave a comment? what about comments in already open issues? can we add a priority or a time frame — from github or how?"
CURRENT STATE (verified from the job bodies 2026-10-27): no event-driven intake exists. Coverage is polling, split by role:
- The per-repo issue sweeps (every 2h, up to 5 items/run) FIX first and TRIAGE second — verify issues, comment findings, apply labels, close stale, re-prioritize the backlog file. New issues reach the backlog when a sweep's triage reaches them; comments on open issues are read when an issue is worked, not as an intake signal.
- The orchestrator (hourly) reconciles the org Project: issues labeled now/next/epic auto-add as Todo; Status syncs from signals. It does not read issue comments and does not write labels or issue comments (single-writer rule covers Project fields only).
- Drew's GitHub mentions/reviews surface only via the daily Gmail summary.
WORK — a real intake triage, owned by the orchestration pass (it already classifies everything else):
- Each run, poll the four repos for issues created and issue comments posted since the last run (persist a watermark in orchestrator-state.json).
- Every NEW issue gets assessed in that run: priority + Horizon (Project field write), labels applied (now/next + area), and a short triage comment on the issue itself: the assessment, the horizon, and what happens next (queued for a sweep / needs-orchestrator / needs-Drew with the one-line why, passing the triage gate).
- Every new comment on an open issue gets read: Drew's comments are directives — route them to the owning lane (the working session, the sweep backlog, or the orchestrator's tiers) and reflect any priority/timeframe change he states (label + Horizon updates). Others' comments get assessed for state changes (fixed? blocked? new info?) and the item re-classified when they move it.
- Authority to grant explicitly in the job body: the orchestrator may add labels and post triage comments on issues for intake purposes (Project single-writer rule unchanged).
Acceptance: a test issue + a test comment demonstrate end-to-end intake within one pass, with the triage comment, label, and Horizon visible on GitHub.
Acceptance criteria
- An orchestrator pass polls all four repos for issues created and issue comments posted since the persisted watermark in
orchestrator-state.json, and the watermark advances only after a successful pass.
- Every new issue is assessed in that same pass: priority label and Project Horizon set, intake labels applied (now/next + area as applicable), and a short triage comment posted on the issue stating the assessment, the horizon, and what happens next.
- Every new comment on an open issue is read and classified: Drew's comments are routed as directives to the owning lane with any stated priority/timeframe change reflected in labels + Horizon; other comments are assessed for state changes and the item re-classified when they move it.
- The orchestrator job body explicitly grants label + triage-comment authority for intake (Project single-writer rule unchanged).
- End-to-end proof: a test issue and a test comment each receive intake within one pass, with the triage comment, label, and Horizon visible on GitHub.
Related program: #8985 Activitydeveloping-today commented on Oct 27, 2026 dezren39 commented on Oct 27, 2026 Intake review
🤖 Agent note · filed
- Agent: fleet monitor
- Session / ID: repo-fleet-monitor run 2026-10-27T18:20Z
- Found via: monitor reconciliation
- Task: intake enrichment (§5 pass)
- Expectation: triage complete; the build itself is effort/l
- Links: design context in this issue body
Related: the hourly orchestration pass and the per-repo sweeps described in the body; fleet intake today is this monitor's §5 pass (hourly, bounded at 10/run, code-queue safety net only) — it does not read issue comments as an intake signal and does not set Project Horizon, so the gap as filed is real.
Liveness: searched merged PRs for an intake implementation — none found (merged "intake" hits are unrelated research-workflow docs PRs). Not solved.
Notes / risks: this is a job-body + state change to the orchestrator, not a code change in this repo's packages; the watermark and the comment-classification rules are the delicate parts (a missed watermark window silently drops intake). Drew's-comment routing needs care not to double-route items a lane is already working.
Suggested approach: implement as a bounded step inside the existing orchestration pass (watermark in orchestrator-state.json), starting with new-issue intake only, then comment intake once the first part is proven by the test-issue acceptance check.
Labels normalized this pass: kind/enhancement, source/human, priority/normal, effort/l, status/needs-triage, meta/enriched; an ## Acceptance criteria section was appended (original body preserved verbatim above it — the inline Acceptance line at the end of the original is now formalized there). dezren39 commented on Nov 1, 2026 agent-note:v1
event: picked_up
task: 2590 (repo-health-code-pilot, openchamber scheduled lane)
state: Claimed triage; checking current ownership and implementation. dezren39 commented on Nov 16, 2026 🤖 Agent note · parked / duplicate check
- Agent: queue worker (repo-worker-code), OpenChamber scheduled lane code-h
- Session / ID: task 17443 (issue feat(orchestrator): GitHub intake triage — every new issue + issue comment assessed, labeled, horizon-set, answered #1480)
- Found via: repo-health-code-pilot atomic claim
- Task: Issue feat(orchestrator): GitHub intake triage — every new issue + issue comment assessed, labeled, horizon-set, answered #1480 was successfully triaged earlier this run under task 15160 (coherent packet posted, issue revalidated against origin/main 2b6ada6). Task 17443 is a duplicate re-queue of the same triage item.
- Disposition: Parking task 17443 as duplicate/already-triaged in this run, pointing to task 15160's triage comment.
- Links: task 17443 · task 15160 · issue feat(orchestrator): GitHub intake triage — every new issue + issue comment assessed, labeled, horizon-set, answered #1480
dezren39 commented on Nov 24, 2026
Agent note — second pass verify-and-route (task 21750, OpenChamber scheduled lane any-o)
- Verified fresh 2026-11-24 on origin/main 9c2b4ad: the gap as filed is still real. No intake exists that assesses every new issue + issue comment, applies priority/labels/Horizon, and posts a triage comment.
- What exists now: poll half is projection-only (pm-stack/projector/src/reconcile.ts — read-model heal, zero label writes, zero triage comments, zero Horizon writes); orchestrator pass state in pm-stack/aggregator/src + pm-stack/shared-schema/ORCHESTRATION.md has no intake step; merged "intake" hits are unrelated pm-console/fleet-hosted work.
- Verdict: still live, implementation unscheduled. Routed scoped follow-on packet: task 22888 (feature_slice, phase 1 = new-issue intake only; comment intake = phase 2 after the test-issue acceptance check passes).
- No code changed in this pass.
developing-today-fleet commented on Nov 25, 2026 agent-note:v1 — graph hygiene (#14863 slice 4, felix lane, 2026-11-25): comment correction for the owning lane (this issue is work/assigned + queue/claimed, so no unilateral label change): the label set is self-contradictory — status carries in-review, in-progress, blocked AND parked at once, and queue carries claimed, parked AND blocked at once. Exactly one status and one queue state can be true; please prune to the live pair at the next touch. Refs #14863 dezren39 commented on Nov 26, 2026
Phase-one intake harness progress
PR #14319 merged as 242e4b00d3503426e16c29e42c0304d7b5cb3b5a. The phase-one poll harness now rejects malformed/unknown/duplicate CLI options, validates UTC-offset timestamps, and reports an error rather than silently truncating a poll window above 1,000 issues. Its 13 targeted tests pass on Fleet run dezren39/fleet#45859385860.
This does not complete #1480: wiring the harness into the external orchestrator job and phase-two issue-comment intake remain. The prior phase-one queue task recorded that job body/state live outside this repository. developing-today-fleet commented on Nov 26, 2026 agent-note:v1
state: triaged
task: 24945
lane: oc-code-03
worker: repo-worker-code
Refresh triage 2026-11-27: #1480 OPEN. Since the 2026-11-24 second-pass verdict, phase-one intake harness PR #14319 MERGED 2026-11-26 (13 tests pass, Fleet run dezren39/fleet#45859385860); phase-one slice task 22888 + shepherd 24084 done. Remaining: wiring harness into the external orchestrator job + phase-two comment intake. Verdict: issue stays OPEN as implementation tracker; no new packet from this triage. developing-today commented on Nov 27, 2026 agent-note:v1
event: triaged
task: 26023 (repo-health-code-pilot, lane code-i, coverage reconciliation)
verdict: still live, implementation tracker; no new packet from this triage.
Fresh verification just now: #1480 OPEN; latest issue comment is task 24945's 2026-11-27 triage, nothing newer. Since the 2026-11-24 second-pass verdict, phase-one intake harness PR #14319 MERGED (242e4b0 on origin/main, 13 tests). No intake-wiring or phase-two merges since. Remaining: wiring the harness into the external orchestrator job + phase-two issue-comment intake (tracked under phase-one task 22888 / shepherd 24084 lineage). Concur with triages of record. No code/worktree/PR changes.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|