Repository navigation
docs: enhance headless delegation guidance with comprehensive config schema - #50
Open
justinwilkin wants to merge 3 commits into
Open
justinwilkin wants to merge 3 commits into
justinwilkin wants to merge 3 commits into
Conversation
Member
Author
|
@anvxl docs |
🤖 Documentation Update Results✅ Documentation updates completed successfully! 📝 A pull request with documentation updates has been created. 📊 Execution artifacts are available in the workflow run. |
docs: Update documentation for PR #50
| @@ -0,0 +1,265 @@ | |||
| # ADR-0033: Headless Task Delegation | |||
There was a problem hiding this comment.
The ADR number in the header (0033) doesn't match the filename (0035). This should be 'ADR-0035: Headless Task Delegation' to match the filename.
Suggested change
| # ADR-0033: Headless Task Delegation | |
| # ADR-0035: Headless Task Delegation |
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.
This pull request introduces comprehensive support for headless task delegation by teaching the interactive agent how to offload well-defined subtasks to Forge’s autonomous headless mode. The main changes include adding a detailed system prompt section with step-by-step delegation guidance, updating prompt composition to include this new guidance, and documenting the design and rationale in a new architectural decision record (ADR).
System Prompt and Documentation Enhancements:
HeadlessDelegationGuidanceconstant tocmd/forge/prompts.go, providing detailed instructions for the interactive agent on when and how to delegate subtasks to headless executions, including YAML config schema, best practices, and example workflows.composeSystemPromptfunction to append the new headless delegation guidance to the system prompt, ensuring the agent is always aware of the delegation pattern.Design Documentation:
docs/adr/0035-headless-task-delegation.md), documenting the motivation, approach, alternatives considered, and future enhancements for headless task delegation. This ADR explains the pattern-based delegation workflow, configuration conventions, and the decision to leverage existing primitives rather than introducing new tools.