fix(agentic-wiki-writer): replace push-wiki batching with single-call pattern#357
Draft
Copilot wants to merge 2 commits into
Draft
fix(agentic-wiki-writer): replace push-wiki batching with single-call pattern#357Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
The `push-wiki` safe-output is hard-capped at 1 invocation per run. The previous instructions told the agent to split pages into batches of ≤4 and call `push-wiki` once per batch, causing all batches after the first to be silently rejected with "Too many items of type 'push_wiki'. Maximum allowed: 1." Replace both batching passages (Step 3d constraints and Step 3f procedure) with a single-call pattern: build one JSON object with every page including `_Sidebar.md` and call `push-wiki` exactly once. Fixes #351 Co-authored-by: dsyme <7204669+dsyme@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix push_wiki batching bug to avoid silent page drops
fix(agentic-wiki-writer): replace push-wiki batching with single-call pattern
Jun 24, 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.
push-wikiis a custom safe-output hard-capped at 1 invocation per run. The prompt instructed the agent to split pages into batches of ≤4 and callpush-wikionce per batch — every call after the first was silently rejected, dropping all pages in those batches and leaving dead[[wiki-links]]fromHome.mdand_Sidebar.md.Changes (
workflows/agentic-wiki-writer.md)_Sidebar.md, passed topush-wikiexactly once; added an explicit note explaining the 1-invocation cap so future edits don't reintroduce batching{ "Home.md": "...", "Architecture.md": "...", "Getting-Started.md": "...", "_Sidebar.md": "..." }