feat(tracker): spawn sessions from eligible issues#2288
Open
anirudh5harma wants to merge 1 commit into
Open
Conversation
This was referenced Jun 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Registered projects can now opt into issue-driven intake: the daemon polls explicitly eligible open issues and starts one worker session per issue, preserving the canonical issue identifier so restarts cannot create duplicates. Existing projects remain unaffected until intake is enabled with a label or assignee rule, and tracker or spawn failures back off without blocking the daemon.
Closes #2282.
This ports aoagents/ReverbCode#424 onto the current canonical architecture. The port intentionally excludes the old PR's unrelated frontend build workaround and regenerates both API artifacts from current source.
Design Notes
ao project set-config --config-json.sessions.issue_id, including compatibility with native issue IDs created before canonical provider prefixes.Validation
npm run apicd backend && go build ./...cd backend && go vet ./...npm run frontend:typecheckgit diff --checkFull
npm run lintand storage-backed backend tests are currently blocked on canonicalmainby duplicate migration version 20 in0020_review_run_unique_pr_sha.sqland0020_pr_reviews.sql. This branch does not modify migrations; all packages reached before that pre-existing panic, including tracker intake, pass.Post-Deploy Monitoring & Validation
For the first enabled project, watch daemon logs for
tracker intakemessages and confirm one eligible issue creates one worker session carryinggithub:owner/repo#number. Healthy signals are no repeated spawn for that issue after another poll or daemon restart, and no polling for disabled projects. Repeated spawn attempts, broad intake without an explicit rule, or daemon startup degradation are rollback triggers; disablingtrackerIntake.enabledis the immediate mitigation.