Acceptance Criteria
PlanEntity interface in runes/plan/src/types.ts gains an optional resolution field with date, branch, pr, and body subfieldsparseFile() in runes/plan/src/scanner.ts extracts the Resolution section from the raw source when presentCompleted: line is parsed into resolution.date (ISO date string)Branch: line is parsed into resolution.branch (backticks stripped)PR: line is parsed into resolution.pr- Remaining content goes into
resolution.body - Files without a
## Resolution section produce resolution: undefined - Unit tests cover: full resolution, minimal resolution (just a sentence), missing resolution, resolution with only some fields
Approach
Add a Resolution interface to types.ts. In the scanner, after extracting criteria, locate ## Resolution within the rune's line range and parse it using simple line-prefix matching as described in SPEC-027. The extraction should work on the raw source string (not the AST) since it's a convention-based section, similar to how extractCriteria works.