Analysis Methodology
A systematic approach to converting unknowns to knowns through structured investigation, with strict graph and task-board integration.
Core Principle
Objective: Every analysis session should reduce uncertainty. If an unknown cannot be resolved, document why and what is needed to close it.
The Hard Pivot (Incident/Bug Work): If a root cause cannot be proven with available evidence within a reasonable timebox, you must NOT force a narrative or guess. Instead, trigger a "Hard Pivot":
- •Stop digging.
- •Pivot to documenting system/architectural weaknesses.
- •Define the exact Observability Gaps: What minimal telemetry (correlation IDs, state markers) is needed to isolate the issue next time? Classify this telemetry as normal (always-on) vs debug (opt-in).
Confidence Levels
Classify every finding by its evidence strength:
| Level | Label | Meaning | Example |
|---|---|---|---|
| 1 | Proven | Verified by code execution, POC, or reproducible test. | "Running npm test -- --filter=X confirms the error." |
| 2 | Observed | Seen in logs, monitoring, or direct inspection, but not isolated. | "The error appears in production logs at 3am." |
| 3 | Inferred | Derived from documentation, patterns, or logical deduction. | "The API docs suggest this should return 404." |
Rule: Findings at Level 3 (Inferred) should be flagged for upgrade to Level 1 (Proven) before being used for decisions.
Gap Tracking Template
Use this structure in your artifact to surface remaining unknowns:
## Remaining Gaps | # | Unknown | Blocker | Required Action | Owner | |---|---------|---------|-----------------|-------| | 1 | Why does X fail under load? | Cannot reproduce locally. | Need staging access or load test harness. | [TBD] | | 2 | Does API Y support pagination? | Docs unclear. | Run POC against sandbox. | Analyst |
Investigation Techniques
Use these patterns to move unknowns to knowns:
Log Tracing & Observability
- •Add targeted logging to isolate behavior.
- •Compare expected vs actual log sequences.
- •If logs are missing, trigger the Hard Pivot.
Component Isolation
- •Reproduce behavior with minimal dependencies.
- •Use mocks/stubs to eliminate variables.
POC Execution
- •Write minimal, runnable code to prove or disprove a behavior.
- •POCs must be reproducible by others (check in or share).
Upstream Tracing
- •Follow data/control flow backward to find the root cause.
- •Ask: "Where did this value come from?"
Analysis Document Structure (agent-output/analysis/)
Recommended sections for your full markdown artifact:
- •Frontmatter —
ID,Origin, andStatus(e.g.,Status: Approved). - •Changelog — Date, handoff context, outcome summary.
- •Value Statement & Objective — Why this analysis matters.
- •Context — Background, scope, constraints.
- •Methodology — What techniques were used (e.g., POC, Log Tracing).
- •Findings — Factual results, classified by Confidence Level (1-3).
- •Gap Tracking Table — (see template above).
- •Analysis Recommendations — Next steps to deepen inquiry or implement.
The Triad Handoff Protocol
Before handing off to the Planner or Implementer, you must align the three sources of truth using Native MCP Tools (No terminal scripts):
- •The Artifact (
agent-output/):
- •Ensure the markdown document is saved and status is set.
- •The Execution (Planka Board):
- •Use native Planka tools (e.g.,
update_task) to check off the specific "Analysis & Spikes" tasks assigned to you. - •Use
add_commentto leave a brief comment on the Epic card summarizing the Confidence Level 1 findings.
- •The Memory (Obsidian Graph):
- •Use native Obsidian tools (
write_noteorpatch_note) to create or update yourWF-<concrete-id>node. - •Set
type: Analysisandparent: "[[WF-...]]". - •Write a strict 3-bullet TL;DR summary in the note (The 10-Line Rule).
- •Link to your
agent-output/artifact. - •If handing back to a Planner, use
patch_noteto update their node to link to yours (See [[WF-...]]).
Final Chat Message: Always conclude your turn in the chat with:
"Handoff Ready. Parent Node context for the next agent is [[WF-...]] (Planka Card: CARD_ID_NUMERIC)."