Skip to content

Commit 82e600c

Browse files
Ace AutonomousAce Autonomous
authored andcommitted
ux: actionable gap notifications — what happened + what to do
Gap notifications now tell the user: 1. What happened (plain language, not jargon) 2. Why it matters (context about the gap type) 3. What to do next (specific /forge commands) Before: → Document required tools/access in skills or create setup-verification skills After: Your agent needed tools or access it doesn't have for operations tasks. Check what's missing with /forge gaps, then either install the required tool or create a skill that documents the setup. /forge gaps — full gap details /forge behavior_gaps — all behavior patterns Every gap type (fallback, deferral, uncertainty, infrastructure) now has domain-specific context and actionable next steps.
1 parent 422b997 commit 82e600c

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

index.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,11 +376,15 @@ function buildPlugin() {
376376
msg += `\n\nIt said things like:\n${exLines}`;
377377
}
378378

379-
// Actionable suggestion
379+
// Actionable suggestion + commands
380380
if (g.suggestedAction) {
381-
msg += `\n\n${g.suggestedAction}`;
381+
msg += `\n\n${g.suggestedAction}`;
382382
}
383383

384+
// Always show next-step commands
385+
msg += `\n\n${mono("/forge gaps")} — full gap details`;
386+
msg += `\n${mono("/forge behavior_gaps")} — all behavior patterns`;
387+
384388
gapMessages.push(msg);
385389
}
386390

src/intelligence/proactive-gaps.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,10 @@ export function summarizeBehaviorGaps(): GapSummary[] {
228228
for (const [key, gapList] of groups) {
229229
const [domain, gapType] = key.split(":");
230230
const suggestedActions: Record<string, string> = {
231-
fallback: `Create skills for ${domain} to handle tasks the agent currently can't perform`,
232-
deferral: `Create proactive skills that execute automatically instead of asking for permission`,
233-
uncertainty: `Create skills with explicit verification steps to reduce uncertainty`,
234-
infrastructure: `Document required tools/access in skills or create setup-verification skills`,
231+
fallback: `Your agent hit a wall on ${domain} tasks — it tried but couldn't complete them. Run /forge gaps to see details, then /forge gap_propose to generate a remediation skill.`,
232+
deferral: `Your agent kept asking for permission on ${domain} tasks instead of acting. If you want it to act autonomously, create a skill that grants explicit permission for these operations.`,
233+
uncertainty: `Your agent wasn't confident about ${domain} tasks — hedging and second-guessing. A skill with clear verification steps would eliminate the ambiguity.`,
234+
infrastructure: `Your agent needed tools or access it doesn't have for ${domain} tasks. Check what's missing with /forge gaps, then either install the required tool or create a skill that documents the setup.`,
235235
};
236236

237237
summaries.push({

0 commit comments

Comments
 (0)