{{ theme.skipToContentLabel || 'Skip to content' }}

Trace, RunState, and Debugging Development SOP

Prerequisites

Read the module overview, then confirm the business owner, inputs, outputs, failure conditions, and permission boundary.

Procedure

  1. Locate the run by runId.
  2. Rebuild the timeline by sequence.
  3. Inspect backward from the first fatal error or policy_denied.
  4. For a Loop, validate snapshot version, configuration fingerprint, and the latest stable phase.
  5. Resume only after confirming complete step output, no replay of committed effects, and human reconciliation of unknown effects.
  6. Reproduce from evidence before changing code.
  7. Use fake credentials, body content, and a URL with a sensitive query value to verify pre-persistence redaction while keeping ordinary test commands auditable for graders.
  8. Keep before-and-after traces.
  9. Run the listed module tests and npm run check:modules.
  10. Preserve trace, evaluation, and owner-approval evidence; do not publish without explicit authorization.

Stop conditions

Stop for unconfirmed business rules, non-reversible side effects, access outside the workspace, unavailable real credentials, or failed security gates. Ask the owner instead of expanding scope.

{{ theme.lastUpdated?.text || theme.lastUpdatedText || 'Last updated' }}:

Released under the MIT License.