Add instruction salience analyzer workflow and integrate guidance into workflow creation#14619
Add instruction salience analyzer workflow and integrate guidance into workflow creation#14619
Conversation
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
|
@copilot Ideally, we always want the agent to consider ALL instructions equally and completely, unless the user specifically prioritizes, etc. |
1 similar comment
|
@copilot Ideally, we always want the agent to consider ALL instructions equally and completely, unless the user specifically prioritizes, etc. |
- Emphasize ideal state: ALL instructions should be followed equally - Clarify this tool identifies current model limitations - Reword from "optimizing salience" to "working around limitations" - Change terminology: "high salience" → "high compliance", "improve" → "workaround" - Add reminders that these are temporary measures until models improve - Update hierarchy tiers to reflect observed compliance, not desired behavior Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Agreed! I've reframed the entire workflow and documentation to emphasize that:
Changed terminology throughout from "optimizing salience" to "working around limitations" and added reminders that these workarounds should become less necessary as models improve. Commit: b4f1934 |
|
@copilot Don't just focus on the workflows markdown part, but also the full instructions the agent gets with it embedded (i.e. Workflow creation guide |
- Add "Writing Effective Agent Instructions" section to create-agentic-workflow.md - Emphasize ideal state: ALL instructions should be followed equally - Provide practical workarounds for current model limitations - Link to Instruction Salience Analyzer and guide - Add note to agentic-workflows.agent.md about instruction analysis - Add guideline to update-agentic-workflow.md for prompt editing Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Added instruction salience guidance to the workflow creation/update documentation and agent files: Added to
Added to
Added to
All documentation now consistently emphasizes the philosophy: ideally all instructions should be followed equally, with workarounds provided only for current model limitations. Commit: 141eae1 |
Agents skip low-salience instructions due to current model limitations. This workflow identifies at-risk instructions and provides workarounds to improve compliance. Additionally integrates instruction salience guidance into workflow creation and update documentation.
Important Context
Ideal State: All instructions should be followed equally without special formatting or positioning.
Current Reality: This tool addresses current AI model limitations that cause variable instruction compliance. The workarounds provided are temporary measures that should become less necessary as models improve.
Implementation
Salience scoring formula:
This formula estimates the risk that an instruction will be skipped based on observed model behavior patterns, not how important the instruction should be.
Five-tier classification (observed compliance rates):
Analysis Output
For each instruction, reports:
Example finding:
Workflow Creation Integration
Added instruction salience guidance to workflow creation and update documentation:
.github/aw/create-agentic-workflow.md: Added "Writing Effective Agent Instructions" section under Best Practices, emphasizing ideal state and providing practical workarounds.github/agents/agentic-workflows.agent.md: Added instruction analysis to Key Features and Important Notes.github/aw/update-agentic-workflow.md: Added guidelines for prompt editing with instruction salience considerationsAll documentation consistently emphasizes the philosophy: ideally all instructions should be followed equally, with workarounds provided only for current model limitations.
Files Added/Modified
.github/workflows/instruction-salience-analyzer.md- Workflow implementation (15KB).github/workflows/instruction-salience-analyzer.lock.yml- Compiled workflow (52KB)docs/src/content/docs/guides/instruction-salience.md- User guide emphasizing ideal state vs. current limitations, with workaround techniques (13KB).github/aw/create-agentic-workflow.md- Added instruction salience guidance to Best Practices.github/agents/agentic-workflows.agent.md- Added instruction analysis feature and notes.github/aw/update-agentic-workflow.md- Added prompt editing guidelines with salience considerationsTriggers
Formula weights derived from empirical gh-aw agent behavior analysis. The workflow helps identify where current model limitations may cause instructions to be skipped and provides temporary workarounds until model behavior improves.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.