AI, RAG & ML · Audit
Review an AI feature
Inspect model inputs, outputs, tool use and quality checks against the feature’s goal.
MCP library 1.6.1 · Instruction library 1.6.1 · English technical instructions
← Back to searchUse this workflow
Connect Vibe Coding Library to a coding agent that supports MCP over Streamable HTTP. Choose Other / MCP agent for a neutral prompt, or a ready-made Codex or Claude Code invocation. Add your task details below.
Operation
Inspect the selected behavior and report evidence-backed defects; do not change product code.
Goal
Audit AI-assisted product behavior for correctness, safety, cost, reliability, privacy, and regression risk. Keep only issues supported by current repository evidence, not generic AI best practices.
Inspect
AI entrypoints, model clients, prompt/message builders, structured-output schemas, tool/function definitions, parsers, streaming handlers, queues/jobs, cache/retry/rate-limit code, RAG/OCR/ML dependencies, user-visible AI states, admin/operator controls, env/config validation, tests/evals, fixtures, logs/metrics/traces, docs, and docs/ai_map.md when present as a discovery aid.
Issue classes
- Input/output contracts: unvalidated model inputs, weak schema parsing, enum/nullability drift, brittle natural-language parsing, partial-response handling, and unhandled refusal/empty output states.
- Prompt and tool boundaries: duplicated prompt rules, stale templates, unsafe tool argument construction, missing tool-result validation, prompt injection exposure through untrusted content, and mismatched user/system intent.
- Reliability: retry storms, non-idempotent replays, streaming state bugs, cache key drift, missing timeout/cancellation behavior, queue amplification, and degraded-provider behavior that misleads users.
- Safety/privacy: PII or secret leakage into prompts/logs, unsafe storage of model inputs/outputs, missing tenant/user scoping in AI context, policy bypass via background jobs, and user-visible diagnostic leakage.
- Cost and limits: unbounded context growth, duplicate model calls, missing rate/usage controls, large attachment handling without guardrails, and absent operator visibility for hot paths.
- Product truthfulness: UI promises not backed by model behavior, generated claims without source evidence, missing citations/source labels when the feature presents factual answers.
- Evaluation: missing or false eval coverage for critical prompts, RAG answers, OCR extraction, tool calls, structured outputs, safety boundaries, or known regressions.
Finding quality
- Include model/prompt/tool/index/eval owner when relevant, expected behavior, acceptance criteria, and validation direction.
- Do not report abstract AI risks without current repo reachability, user impact, cost impact, or regression risk.
Trace and hand off
Replay one representative input through context construction, model response, parsing, state/effects and the displayed result. Locate the first boundary where observed behavior diverges from the accepted contract. Preserve the input, version/config identity, raw-to-typed transition and expected observation for Improve AI Feature. Separate a deterministic parser/policy defect from model-quality variance; they require different corrections and evidence.
Workflow ID: ai-feature-audit · View the versioned source · Shared workflow and authority rules