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/control-over-conversational.md
View on GitHub---
title: Chat interface for actions that should be buttons
slug: control-over-conversational
category: control
defaultTier: fix-this-sprint
surfaces: agent-chat
ax-pattern: Over-conversational (anti-pattern)
detection: observational
related: comm-no-intent-handshake, comm-no-generative-momentum
---
## Chat interface for actions that should be buttons
User wants to toggle a setting or trigger a known action, but chat is the only interface. They type "turn on dark mode" and wait for a round-trip instead of flipping a switch. Chat is the ONLY path to deterministic actions.
## What goes wrong
User types "enable dark mode" in chat; agent responds after 2 seconds. A toggle would take 50ms. Multiply across every simple action and chat becomes a bottleneck.
## Detection
**Surfaces:** agent-chat
**Auditability:** observational
**Static signals:**
1. Find chat input surfaces.
2. Identify deterministic actions achievable through chat (toggles, selections, CRUD).
3. Flag cases where chat is the only path to a simple action.
**Concrete commands:**
```bash
rg -l 'ChatInput|MessageInput|PromptInput' --type=ts src/
rg -l 'Toggle|Switch|Select|Dropdown' --type=ts src/components/
```
**Judgment signals:**
- The anti-pattern is chat-only for deterministic actions. Some conversational interface is expected.
**False-positive guards:**
- Skip `// ax-audit-ignore:control-over-conversational`, test, and Storybook files.
## Fix
Add direct-manipulation controls alongside chat: quick-action buttons, command palette, context menus. Keep chat for ambiguous or multi-step requests.
## Examples
**Anti-pattern (fails):**
```tsx
<div>
<DataTable data={data} />
<AgentChat onSend={handleAgentCommand} /> {/* no sort, filter, or action controls */}
</div>
```
**Applied (passes):**
```tsx
<div>
<DataTable data={data} onSort={handleSort} sortable />
<QuickActions actions={[{ label: "Export CSV", handler: exportCsv }]} />
<AgentChat onSend={handleAgentCommand} />
</div>
```
## Default tier and overrides
**Defaults to:** `fix-this-sprint`
| Surface | Tier |
|---|---|
| Agent tool execution | backlog |
| Agent chat | fix-this-sprint |
| Agent config | fix-this-sprint |
| Agent dashboard | fix-this-sprint |
## Suppression
```tsx
{/* ax-audit-ignore:control-over-conversational, chat-first product by design */}
<AgentChat onSend={onSend} />
```
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 |