Repository navigation
feat(daemon): dispatch only Todo and stop declined issues before the claim (AGT-4784) - #846
Merged
Merged
Conversation
…claim (AGT-4784) includeBacklog now defaults to false: moving an issue to Todo is the ready signal. A readiness gate (state, exclusion label, grooming verdict) runs ahead of idle fill, and the draft's scope verdict is read before the claim instead of after a worker has started. The drafter gains a decision_pending verdict.
unohee
added a commit
that referenced
this pull request
Oct 22, 2026
Fingerprint now ignores the appended comment history so an unchanged issue stays held, and a declined draft is kept on the task so the pre-claim hold can see it. Fences reach ollama-cloud direct, tester, documenter, auditor, skill-documenter and openswarm work. Provider switches and fanout candidates obey the delegated-adapter policy. exec answer rejects --text without --correlation, redeploys to the run's project, and releases a hold when the deploy is refused. The disk gate also measures the state DB volume.
unohee
added a commit
that referenced
this pull request
Oct 22, 2026
Fingerprint now ignores the appended comment history so an unchanged issue stays held, and a declined draft is kept on the task so the pre-claim hold can see it. Fences reach ollama-cloud direct, tester, documenter, auditor, skill-documenter and openswarm work. Provider switches and fanout candidates obey the delegated-adapter policy. exec answer rejects --text without --correlation, redeploys to the run's project, and releases a hold when the deploy is refused. The disk gate also measures the state DB volume.
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
On 2026-10-20 the daemon opened sessions on 52 cgf-portal issues in one night: 9 out-of-scope-labelled Backlog issues, 4 whose own title said a decision was pending, a production deploy, a local-cleanup chore. Every rule that would have stopped them already existed; none ran in front of the claim, and the default turned the Backlog rule off.
autonomous.includeBacklognow defaults tofalse(schema,DecisionEngine, runner). Moving an issue to Todo is the ready signal. This reverses AGT-4257's default.readinessGate.ts(evaluateReadiness,partitionByReadiness): tracker state, then a person's exclusion label, then a grooming verdict. ReusesisActionableLinearStateandhumanOwnedReason. An explicit dispatch passes all of it.filterAlreadyProcessed, so a Backlog issue never reaches idle fill (which would lift a park on it).detectSafeCandidateIdsreads the pre-admission draft's scope verdict before the claim. The draft is already computed and cached there, so a held issue costs no model call later. One comment, with the same stable marker the worker-start gate uses.decision_pendingverdict kind.Needs the operator
includeBacklog: true, or it will idle after the next deploy.추가 유지보수toautonomous.skip.labelsand결정,설계 결정,배포,운영toskip.titleTags. The defaults hold onlyswarm:skipand three tags.Verification
npm run cipasses. Fulltest:coverage: 7846 passed, 2 failed insrc/verify/runner.test.ts(headStatus: 'infra', verify sandbox). They pass alone (51/51) and touch nothing in this diff; I did not relax any timeout. CI decides.trueeach fail a new test.Not covered
backlogGrooming, if enabled, still promotes Backlog to Todo by itself.decision_pendingis prompt-only and not live-fired against a model.