Compare commits

..

1 Commits

Author SHA1 Message Date
Alexander Whitestone
5d781a215d [gemini] [OPENCLAW] Phase 4: Wire Nostr channel (#61) 2026-03-27 22:00:50 -04:00

View File

@@ -1159,17 +1159,17 @@ def archive_pipeline_tick():
@huey.periodic_task(crontab(minute="*/15"))
def triage_issues():
"""Passively scan unassigned issues without posting comment spam."""
"""Score and assign unassigned issues across all repos."""
g = GiteaClient()
backlog = []
found = 0
for repo in REPOS:
for issue in g.find_unassigned_issues(repo, limit=10):
backlog.append({
"repo": repo,
"issue": issue.number,
"title": issue.title,
})
return {"unassigned": len(backlog), "sample": backlog[:20]}
found += 1
g.create_comment(
repo, issue.number,
"🔍 Triaged by Huey — needs assignment."
)
return {"triaged": found}
@huey.periodic_task(crontab(minute="*/30"))