HK-hub/AgentSkills / ax-audit
ax-audit
VerifiedAudits agentic applications for architecture and trust: tool parity, tool granularity, context injection, completion signals, approval gates, confidence cues, escape hatches, intent handshakes, memory visibility, and adaptive canvases. Produces a ship-readiness verdict plus an AX Relationship Summary. Use when reviewing agentic feature PRs or asking "is this agent-native", "AX review", "critique this AI feature", "does this earn user trust", or "audit this for AX". For traditional frontend UX use ui-audit.
rules-ax/comm-no-progress-signal.md
View on GitHub---
title: Multi-step agent task shows no progress
slug: comm-no-progress-signal
category: comm
defaultTier: release-blocker
surfaces: agent-chat, agent-tool-execution, agent-dashboard
ax-pattern: Confidence Cues (progress dimension)
detection: code-auditable
related: comm-no-intent-handshake, context-no-adaptive-canvas
---
## Multi-step agent task shows no progress
Agent runs a task that takes 30+ seconds. The UI shows nothing: no streaming, no step counter, no thinking indicator. User doesn't know if it's working, stuck, or crashed. Silent agents feel broken.
## What goes wrong
User asks the agent to analyze a dataset. Three tool calls, API waits, synthesis, 45 seconds. The user sees a spinner or nothing. At 15 seconds they wonder if it's broken. At 30 they refresh.
## Detection
**Surfaces:** agent-chat, agent-tool-execution, agent-dashboard
**Auditability:** code-auditable
**Static signals:**
1. Find agent invocation code (chat submit handlers, tool execution triggers).
2. Check for streaming (`onChunk`, `onToken`, SSE, `useChat`) or progress events (`onProgress`, `onStatus`).
3. Flag agent calls with only a final result handler and no intermediate feedback.
**Concrete commands:**
```bash
rg '(useChat|useCompletion|agent\.chat|agent\.run|streamText|generateText)' --type=ts -l src/
rg '(onChunk|onToken|onProgress|onStatus|stream:\s*true)' --type=ts src/
rg -A 10 '(executeTool|runTool|toolCall)' --type=ts src/ | rg -v '(onProgress|onStatus|stream)'
```
**False-positive guards:**
- Skip files with `// ax-audit-ignore:comm-no-progress-signal`.
- Skip test and Storybook fixtures.
- Skip agent calls that reliably complete in under 2 seconds.
## Fix
Stream responses incrementally. Show a thinking indicator. For multi-step tasks, emit step-level progress: "Thinking..." then "Searching for X..." then "Found 3 results, analyzing..." then final response.
## Default tier and overrides
**Defaults to:** `release-blocker`
| Surface | Tier |
|---|---|
| Agent tool execution | release-blocker |
| Agent chat | release-blocker |
| Agent dashboard | fix-this-sprint |
## Examples
**Anti-pattern (fails):**
```tsx
async function onAsk(query: string) {
const data = await fetch("/api/agent/research", {
method: "POST", body: JSON.stringify({ query }),
}).then((r) => r.json()); // 30-60s silence, no feedback
setResult(data);
}
```
**Applied (passes):**
```tsx
export function ResearchPanel() {
const [steps, setSteps] = useState<string[]>([]);
const { data, isStreaming } = useAgentStream("/api/agent/research", {
onStatus: (s) => setSteps((prev) => [...prev, s]),
});
return <>
{isStreaming && <ProgressList steps={steps} current={steps.at(-1)} />}
{data && <Results data={data} />}
</>;
}
```
## Suppression
```tsx
{/* ax-audit-ignore:comm-no-progress-signal, instant lookup, sub-second response */}
<QuickLookup />
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |