一键导入
debugging-investigation
Use when working on panic, exception, hang; provides the FinnOS-specific debugging and investigation workflow and evidence gates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when working on panic, exception, hang; provides the FinnOS-specific debugging and investigation workflow and evidence gates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when working on arm64, aarch64, AAVMF; provides the FinnOS-specific arm64 platform development workflow and evidence gates.
Use when working on toolchain, OVMF, AAVMF; provides the FinnOS-specific build environment management workflow and evidence gates.
Use when working on build script, target profile, image; provides the FinnOS-specific build orchestration workflow and evidence gates.
Use when working on CI, GitHub Actions, required check; provides the FinnOS-specific ci maintenance workflow and evidence gates.
Use when working on architecture abstraction, platform interface, parity; provides the FinnOS-specific cross-architecture design workflow and evidence gates.
Use when working on status, completion percentage, verified; provides the FinnOS-specific evidence and status reporting workflow and evidence gates.
| name | debugging-investigation |
| title | Debugging and Investigation |
| version | 1 |
| status | active |
| owners | [] |
| triggers | ["panic","exception","hang","investigate"] |
| prerequisites | ["repository-orientation","test-strategy"] |
| related_docs | ["docs/development/debugging.md","kernel/docs/panic-policy.md","tools/finnlib/qemu.py"] |
| category | Foundations |
| conditional_skills | [] |
| implementation_gates | [] |
| related_milestones | ["M0 Reproducible Build"] |
| last_verified | {"base_commit":"d21a477","date":"2026-07-16","worktree_dirty":true,"context":"base commit plus uncommitted audit and agent-system worktree"} |
| description | Use when working on panic, exception, hang; provides the FinnOS-specific debugging and investigation workflow and evidence gates. |
debugging-investigation (Foundations; skill maturity: operational).
Localize failures across host, image, firmware, loader, protocol, kernel, and harness layers.
Use for requests mentioning panic, exception, hang, investigate, or when a dependency points to this skill. Load only after repository entry and before design or implementation.
Do not use this skill as a substitute for its adjacent subsystem skills or for evidence that the subsystem works. Do not load it only because a future FinnOS document mentions the subsystem.
repository-orientationtest-strategyRead the full prerequisite closure in topological dependency order. If one cannot be satisfied, move the task to Blocked or Deferred; do not omit the dependency.
Conditional skills:
Implementation gates are roadmap/runtime conditions, not additional documents to load automatically:
docs/development/debugging.mdkernel/docs/panic-policy.mdtools/finnlib/qemu.pyRe-read implementation and tests referenced by those documents. The documents establish intent/status boundaries, not runtime proof.
COM1 markers are primary runtime evidence; no maintained GDB workflow or persistent crash dump exists.
Registry verification used base commit d21a477 plus the dirty worktree context "base commit plus uncommitted audit and agent-system worktree" on 2026-07-16. This is not an integrated-revision claim. Reverify after HEAD, active PRs, or relevant source changes.
git status, recent history, active related issue/PR, and selected roadmap item.An evidence-backed debugging and investigation result with scoped artifacts, tests, documentation, and handoff. Include acceptance evidence, residual limitations, and next dependency rather than only code.
./tools/finn test-boot
git log --oneline -20
Run commands from the repository root. A command listed here is a baseline/gate, not evidence that absent future functionality has a runnable target.
State shared semantics explicitly; isolate x86-64 and ARM64 mechanisms.
State guest architecture separately from host architecture and emulator model. Maintain a parity row for changed semantics and document intentional differences.
Never infer symbols from a different feature/profile ELF; do not use destructive Git operations. Apply .agents/checklists/pre-change.md; for kernel, driver, security, architecture, or UI work also apply the matching checklist.
Make Minimize and bisect without discarding evidence observable with a negative case, then run the narrow and aggregate gates. Do not permanently hard-code test counts; counts belong to dated evidence reports.
Update the canonical behavior/status document, relevant architecture/reference material, test/build instructions, limitations, and this skill registry if any command, gate, or current-context statement changes.
Reproduce unchanged before relying on downstream assumptions.Use .agents/templates/handoff-template.md. Include objective, starting/final Git state, task state, skills used, files, exact commands/results, evidence classification, docs/status changes, unknowns, blockers, risks, next action, and next skills. Distinguish locally verified worktree changes from integrated behavior.
Request: "Work on panic." Correct response: begin by reproduce unchanged, then capture versions, command, status, and full serial, and require evidence for minimize and bisect without discarding evidence before changing status. Incorrect response: create a plausible subsystem scaffold and mark the roadmap item complete because it compiles.
Canonical source: .agents/scripts/skill_registry.py. Increment version for material policy/workflow/gate changes, update last_verified only after reinspection, run python3 .agents/scripts/render_skills.py, review generated diffs, then run python3 .agents/scripts/validate.py --all. Follow .agents/GOVERNANCE.md; never hand-edit generated skills.