fix(ci): run docs-sync kilo sessions with --auto - #12657
Closed
iscekic wants to merge 1 commit into
Closed
Conversation
…g auto-rejected Headless kilo run auto-rejects every permission ask (e.g. git log), so triage chunks burned both retries and produced nothing (run 30433266378). Pass --auto in the shared runKilo helper and the verify-fix step.
jeanduplessis
approved these changes
Jul 29, 2026
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (2 files)
Reviewed by claude-sonnet-5 · Input: 38 · Output: 8K · Cached: 1M Review guidance: REVIEW.md from base branch |
iscekic
enabled auto-merge (squash)
July 29, 2026 14:27
iscekic
disabled auto-merge
July 29, 2026 14:28
Collaborator
Author
|
Duplicate of #12605 |
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.
Why
The daily docs-sync run 30433266378 triaged 293 PRs but chunk 3 failed both attempts: the agent asked to run
git log --oneline -30 ... | head -40, and headlesskilo runauto-rejects every permission ask (nobody is there to answer), so the chunk produced no JSON and 25 PRs were degraded to unclassified.Fix
Pass
--auto(auto-approve all permissions, built for autonomous/pipeline usage, CLI ≥ v7.4.0) to every docs-synckilo runinvocation:.github/docs-sync/lib.mjs— appended in the sharedrunKilohelper, covers triage + edit.github/workflows/docs-sync.yml— the verify-fix step invokeskilo rundirectly--autoalso approves tracked Task subagent asks and skips the headless-root mark that denies subagent permissions outright, so agents spawned by the bot get their tools too.Test plan
gh workflow run docs-sync.yml) and confirm noauto-rejectinglines in the triage/edit steps