Files
bortstack-forge/skills/webapp-debug/references/debug-evidence-checklist.md
T

1.8 KiB

Debug Evidence Checklist

Use only the sections relevant to the observed failure. Evidence beats checklist completion.

Reproduction

  • Exact action/request/input that triggers the problem
  • Expected versus observed behavior
  • Deterministic/intermittent/environment/data-specific?
  • Exact error/status/assertion/UI state
  • Smallest safe reproduction available

Browser / React

  • Console exception/warning
  • Network URL/method/headers/payload/status/body
  • Route/component involved
  • State/context/store values and lifecycle
  • Loading/error/empty/success branches
  • Effects, dependencies, stale closure, duplicate request, race

HTTP / Proxy / Runtime

  • Host/path/protocol
  • Cookie/token/CORS/CSRF behavior
  • Reverse-proxy route and service/port
  • Container/process health
  • Relevant environment variables (names/configuration, never expose secrets)
  • TLS/DNS only if evidence reaches those layers

Flask / Backend

  • Route registration and method
  • Authentication/authorization result
  • Request parsing/validation
  • Error handler/exception
  • Domain/service behavior
  • Serialization/response contract
  • Transaction lifecycle
  • External client result

Database / Migration

  • Current model versus migration/schema
  • Constraint/query/relationship behavior
  • Fixture/data condition
  • Transaction/locking/concurrency
  • Engine/version/environment differences

Repository History / Context

  • Relevant task/decision/current-state constraint
  • Neighboring implementation pattern
  • Recent relevant diff/commit when available
  • Existing regression tests

Evidence discipline

Keep separate:

  • Observed: directly reproduced/read from evidence.
  • Hypothesis: plausible explanation not yet proven.
  • Root cause: evidence-backed explanation that accounts for the symptom.
  • Fix: minimal change addressing that root cause.