Tell the agent how to use catalogs and where outputs go - #236
Draft
AshishKumar4 wants to merge 1 commit into
Draft
Tell the agent how to use catalogs and where outputs go#236AshishKumar4 wants to merge 1 commit into
AshishKumar4 wants to merge 1 commit into
Conversation
3 tasks
|
@AshishKumar4 Bonk workflow failed. Check the logs for details. View workflow run · To retry, trigger Bonk again. |
AshishKumar4
marked this pull request as draft
August 18, 2026 14:43
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.
What does this change?
Two things the agent is given but never told how to use.
Outputs.
writeFiletakes aworkpiece, so every write lands inside one specific Gadget as oneof its source files. There is no free-standing file path, and nothing in the prompt says so. When an
instruction says "save it to
notes.md" the agent has no defined behaviour: sometimes it answers inchat, sometimes it writes a
.mdinto a Gadget's source tree where it renders as code rather than adocument, sometimes it creates the right output. This states the rule as its own paragraph in the
section that already explains the deployment's formats, directly above the list it refers to.
Catalogs. A resource's discovery catalog is inlined into the system prompt, and
truncatedisemitted as a bare JSON key with nothing explaining it. The agent is told to
describeBindingaresource when one is relevant, but never to consult the entries first, and never that a partial list
has a remainder reachable through the binding's own API. So a listed item goes unused unless the user
names it, and a truncated list looks complete.
Why is this obviously correct and trivially verifiable?
Prompt text only: 13 added lines across two functions, no code path changes. The complete effect is
the wording, read in place.
Checklist
Checking every item does not guarantee acceptance. Maintainers determine whether
a pull request meets the contribution policy.