Add explicit knowledge loading verification and skill usage tracking to agent framework #33
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.
Agent framework documented knowledge loading (skills, project_knowledge.json, global_knowledge.json) but never verified it occurred or declared capabilities, making agent behavior opaque and debugging difficult.
Changes
New emission requirements at session start:
[SKILLS: loaded=N | available: #1,#2,#3...]- Declares agent capabilities upfront[KNOWLEDGE: loaded | entities=N | sources=M]- Verifies knowledge sources loadedNew emission during work:
[SKILL: #N Name | applied] → context- Tracks skill usage transparentlyExample
Files Modified
Protocol definitions:
.github/copilot-instructions.md- Added SKILLS/KNOWLEDGE to required emissions, skill usage tracking.github/agents/_DevTeam.agent.md- Updated CRITICAL initialization block and session protocol.github/instructions/protocols.md- Added skill usage sectionDocumentation:
.claude/skills.md- Updated Skills Fix RDP/VNC connections: Add logging, resolve guacd multi-architecture support, and add diagnostic tool #6 (Knowledge), Comprehensive optimization analysis and security improvements for NOP #7 (Orchestration), Add retry logic with exponential backoff for transient failures #13 (Workflow Logs)project_knowledge.json- Added protocol entities + optimization analysis entitiesdocs/ECOSYSTEM_OPTIMIZATION_ANALYSIS.md- Comprehensive analysis comparing old vs new protocol against 19 historical workflow logsValidation
Historical Analysis (19 workflow logs examined):
All changes additive (backward compatible), maintaining terse ecosystem style (arrows, pipes, minimal prose).
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.