Skip to content
cccskills
FreePublished on GitHub

dag-replay-debugger

Debugs recorded DAG lineage through historical inspection, deterministic decision replay when prerequisites hold, and clearly labeled counterfactual or live re-execution. Activate on "debug DAG", "replay execution", "inspect node state", "compare runs", or "execution diff". NOT for live monitoring (use dag-runtime + websocket-streaming), failure analysis (use dag-ops), or general code debugging.

The English summary is being prepared. Showing the original description.

See how to install

Files included (2)

  • SKILL.md6.2 KB
  • references/replay-manifest-and-content-addressed-artifacts.md1.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

DAG Replay Debugger

Debug recorded DAG lineage without claiming time travel or unrestricted access to private model reasoning. Use Replay Manifest and Content-Addressed Artifacts: deterministic reconstruction, counterfactual testing, and live re-execution have different evidence and effect boundaries.


When to Use

✅ Use for:

  • Post-mortem analysis of failed or low-quality DAG executions
  • Inspecting exactly what a node received and produced
  • Replaying from a checkpoint with modified inputs or skills
  • Comparing two execution traces to find where they diverged
  • Forming and testing diagnosis hypotheses from recorded decision evidence

❌ NOT for:

  • Live monitoring of running DAGs (use websocket-streaming)
  • Automated failure recovery (use dag-mutation-strategist)
  • Profiling cost/performance (use dag-ops)

Core Capabilities

1. State Inspection

Inspect only retention/authority-permitted records: run and graph revision, ordered event IDs, allowed input/output artifact digests, model/tool/config IDs, effect receipts, redaction status, and evaluator/acceptance evidence. A missing record remains missing; do not substitute chain-of-thought or hidden context.

flowchart LR
    A[Run lineage] --> B[Permitted manifest fields]
    B --> C[Redaction and retention check]
    C --> D[Historical inspection]
    C --> E[Eligible replay mode]

2. Replay from Checkpoint

Choose one mode explicitly:

  • Historical inspection reads recorded evidence only.
  • Deterministic decision replay uses the exact history, compatible code/configuration, and recorded activity/tool results; it must suppress new effects and consume the recorded results. A substitute mock requires an explicitly justified equivalence claim; arbitrary mock responses create a different experiment.
  • Counterfactual branch changes an input, skill, or model and gets a new lineage ID; it is not the historical replay.
  • Live re-execution calls a live model/tool and is nondeterministic unless its backend proves otherwise; effects require separate authority.
flowchart TD
  A[Select permitted recorded lineage] --> M{Intended mode?}
  M -->|Read only| I[Historical inspection]
  M -->|Reconstruct historical decisions| B{Exact history and compatible deterministic decision code?}
  B -->|Yes| C[Consume recorded activity results and suppress new effects]
  B -->|No| F[Report missing prerequisites; inspect available history]
  M -->|Change input, skill, model or activity| E[Counterfactual branch with new lineage]
  M -->|Call live services| L[New run with separate authority and effect policy]
  C --> G[Compare decisions and artifact digests]
  E --> H[Evaluate as a new experiment]
  L --> H

3. Execution Diff

Compare two traces side-by-side:

FieldHistorical lineageCounterfactual lineage
Nodeanalyze-codebaseanalyze-codebase
Model configurationrecorded configuration Achanged configuration B
Output artifactthree recorded recommendationstwo recorded recommendations
Acceptance receiptaccepted under its historical contractrejected under the counterfactual contract
Cost record$0.028 (illustrative)$0.001 (illustrative)

This is a constructed comparison. It can show a documented output difference, but it does not establish why the difference occurred or that one routing decision is universally correct.

flowchart LR
  H[Historical lineage: configuration A] --> HA[Three recommendations, historically accepted]
  C[New counterfactual lineage: configuration B] --> CA[Two recommendations, rejected under its contract]
  HA --> D[Compare artifact, contract and cost records]
  CA --> D
  D --> L[Record differences without inferring a unique cause]

4. Decision evidence

Use visible prompts, tool calls, outputs, policy/configuration IDs, and evaluator receipts that the retention policy permits. These records support diagnosis hypotheses; they do not expose private reasoning or prove a unique cause of an output.


Debugging Workflow

flowchart TD
  P[Unexpected artifact or acceptance result] --> I[Collect permitted lineage and effect receipts]
  I --> S[State competing input, contract, tool, and configuration hypotheses]
  S --> Q{Exact deterministic replay prerequisites hold?}
  Q -->|Yes| R[Reconstruct decisions using recorded activity results]
  Q -->|No| C[Propose counterfactual branch or live re-execution]
  R --> E[Compare evidence without overwriting historical lineage]
  C --> E
  E --> F[Update diagnosis or escalate unknowns]

Anti-Patterns

Debugging Without Traces

Wrong: Trying to figure out what went wrong without execution traces. Right: Retain the minimum authorized manifest fields, redaction state, artifact digests, configuration IDs, and effect receipts. Debug from permitted evidence, not guesses.

Replaying the Whole DAG

Wrong: Re-running an unbounded graph and calling the result the original replay. Right: Use a checkpoint only when its lineage, inputs, compatibility, and effects are valid; otherwise make a new counterfactual/re-execution lineage.

Claiming hidden reasoning access

Wrong: Treating private reasoning as required debug data or as proof of why an output occurred. Right: Use retention-permitted observable evidence and label causal conclusions as hypotheses unless a controlled test supports them.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Expert in 2000s-era music visualization (Milkdrop, AVS, Geiss) and modern WebGL implementations. Specializes in Butterchurn integration, Web Audio API AnalyserNode FFT data, GLSL shaders for audio-reactive visuals, and psychedelic generative art. Activate on "Milkdrop", "music visualization", "WebGL visualizer", "Butterchurn", "audio reactive", "FFT visualization", "spectrum analyzer". NOT for simple bar charts/waveforms (use basic canvas), video editing, or non-audio visuals.

The English summary is being prepared. Showing the original description.

curiositech/port-daddy3Updated Oct 18, 2026

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape.

The English summary is being prepared. Showing the original description.

curiositech/port-daddy3Updated Oct 18, 2026

Expert in 3D computer vision labeling tools, workflows, and AI-assisted annotation for LiDAR, point clouds, and sensor fusion. Covers SAM4D/Point-SAM, human-in-the-loop architectures, and vertical-specific training strategies. Activate on '3D labeling', 'point cloud annotation', 'LiDAR labeling', 'SAM 3D', 'SAM4D', 'sensor fusion annotation', '3D bounding box', 'semantic segmentation point cloud'. NOT for 2D image labeling (use clip-aware-embeddings), general ML training (use ml-engineer), video annotation without 3D (use computer-vision-pipeline), or VLM prompt engineering (use prompt-engineer).

The English summary is being prepared. Showing the original description.

curiositech/port-daddy3Updated Oct 18, 2026

Apply crisis decision-making research to agent routing, uncertainty triage, and coordination failure analysis in time-pressured systems. Use when diagnosing handoff failures, analytical paralysis, or expert judgment under incomplete information. NOT for routine coding, simple CRUD design, or static single-agent tasks with complete information.

The English summary is being prepared. Showing the original description.

curiositech/port-daddy3Updated Oct 18, 2026

Use for insight, reframing, contradiction, impasse, and anomaly-driven problem solving when execution effort no longer helps. NOT for routine optimization, error correction, or well-specified tasks with known solution paths.

The English summary is being prepared. Showing the original description.

curiositech/port-daddy3Updated Oct 18, 2026

Apply cognitive task analysis to expert work that depends on perceptual cues, branching judgment, and recurring monitoring loops. Use when decomposing expert capability into agent structure, simulation design, or validation interviews. NOT for ordinary step-by-step SOP capture or simple pipelines with no tacit cue layer.

The English summary is being prepared. Showing the original description.

curiositech/port-daddy3Updated Oct 18, 2026

See all skills by curiositech

Report a problem with this skill