# Fp Debug

> Debug-first diagnosis protocol for unknown failures. Use when the cause is unknown, a bug needs diagnosis before fixing, or the user asks 'what's wrong' without requesting a fix. Provides structured hypothesis-probe-decision loop with evidence tracking.

- **Type:** Skill
- **Install:** `agentstack add skill-miaoy0ushan-fp-debug-incident`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [MiaoY0uShan](https://agentstack.voostack.com/s/miaoy0ushan)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [MiaoY0uShan](https://github.com/MiaoY0uShan)
- **Source:** https://github.com/MiaoY0uShan/FP/tree/main/install/aider/fp/skills/debug-incident

## Install

```sh
agentstack add skill-miaoy0ushan-fp-debug-incident
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# FP Debug-First Diagnosis

Load `../templates/debug-incident-checklist.md` for the full checklist.

## Route

```text
pin symptom → read-only baseline → falsifiable hypothesis
→ cheapest discriminating probe → decision → authorized fix
→ original reproduction + regression + negative control
```

## Rules

1. Read-only until a cause is supported and user authorizes a fix.
2. Keep at most two active hypotheses; run one discriminating probe at a time.
3. Speculative patches are never probes.
4. Three consecutive non-narrowing probes → architecture/observability checkpoint.
5. After hypothesis is supported, extra probes must change a named decision or fill a named acceptance row. Otherwise stop and reuse evidence.

**Active incident variant:** `OBSERVE → CONTAIN → RESTORE → REPAIR → LEARN`
Preserve evidence, access, and rollback. Restore service before permanent repair.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [MiaoY0uShan](https://github.com/MiaoY0uShan)
- **Source:** [MiaoY0uShan/FP](https://github.com/MiaoY0uShan/FP)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-miaoy0ushan-fp-debug-incident
- Seller: https://agentstack.voostack.com/s/miaoy0ushan
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
