典 · AI PM 永乐大典

行业知识 · v2.3.0 · 资料核对 2026-10-03

AI System Failure Diagnostics

Triage order

  1. Confirm the expected behavior and reproduce with pinned versions.
  2. Determine scope by task, user, tenant, model, version, region, and time.
  3. Check data/telemetry correctness before interpreting metrics.
  4. Locate the first layer where observed behavior diverges.
  5. Apply the smallest safe fix and add a regression case.

Layer map

SymptomCheck firstCommon fixes
Wrong user intentinput normalization, missing clarification, task routingclarify, constrain task, improve routing
Missing factsource availability, sync, ACL, chunking, recallingest/fix ACL, retrieval, query rewrite
Retrieved evidence but wrong answercontext order/noise, instruction, model adherencererank, trim, structure, validate, change model
Correct text, wrong tool actionschema, arguments, mapping, authorizationtyped schema, validation, confirmation
Duplicate actionretry/idempotency/stateidempotency key, state machine, reconciliation
Agent loopno-progress detection, tool errors, budgetstop rules, planner constraints, handoff
JSON valid but semantically wrongonly syntax checkeddomain validation, constraints, human review
Cross-user dataACL, cache key, tenant contextstop service, isolate, purge, investigate
High latencycontext, retrieval, model, serial tools, queuereduce context, parallelize, route, cache safely
Cost spikeretries, loops, long input/output, traffic mixbudgets, route, compress, cache, cap
Quality regressionmodel/Prompt/index/tool/data versionrollback, bisect, segment, add regression

RAG decomposition

Ask in order:

Measure retrieval and answer generation separately.

Prompt change discipline

Before changing a Prompt, record the failing sample, current version, expected behavior, error class, hypothesis, change, targeted test, full regression result, latency/cost effect, and rollout plan. Avoid adding exceptions indefinitely; redesign the contract when instructions conflict.

Severity

Frequency does not override severity. A rare critical failure can block release.