Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changes/planning/work-resolve-issue-issue-11597-7c3f1a58.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Fixed

- `/planning:interview` names the `resolve-convention-home.sh` command in its EARS spoke and has it run before any `AGENTS.md`, `CLAUDE.md` or `authoring-formats/README.md` read for `acceptance_criteria_format`, so a repository whose pointer line names a non-default convention home gets its own format instead of the default path's.
11 changes: 11 additions & 0 deletions plugins/planning/skills/interview/context/ears.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,14 @@ Follow [`<plugin-root>/context/authoring-formats.md`](../../../context/authoring
"Resolution ladder" (`<plugin-root>` per SKILL.md "Spoke paths"; `<project-root>` is the project
root SKILL.md "Acceptance-criteria capture" renders). This skill takes no format argument. Default
and every degrade: `free-text`, untagged plain-bullet criteria, exactly today's shape.

Before reading `AGENTS.md`, `CLAUDE.md` or any `authoring-formats/README.md` for this key, run the
ladder's step-2 resolver, dropping `--root "<project-root>"` when the project root is unset:

```bash
bash "<plugin-root>/lib/resolve-convention-home.sh" --root "<project-root>"
Comment thread
kyle-sexton marked this conversation as resolved.
Resolved
```

Read `authoring-formats/README.md` only under the home it prints, even when another copy exists
elsewhere: the pointer line names which home counts. A non-zero exit is a step-6 degrade to
`free-text` with its cause named, never a reason to hand-parse the root file instead.
3 changes: 2 additions & 1 deletion plugins/planning/tests/interview-defenses.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -721,9 +721,10 @@ pin_file "context/coverage-prompt.md is unchanged (the coverage prompt exempts i
# Step 4; they shape criteria text and resolve no register row.
# EARS and coverage-prompt rule text moved to context/ears.md and context/coverage-prompt.md, both digested whole (#10703); each former site keeps a one-sentence pointer, the coverage prompt still exempts only itself, and the auto-guard, STOP-on-gap and no-silent-resolve lines are byte-identical
# Only the acceptance_criteria_format ladder moved out, into the shared context/authoring-formats.md (#10119), which ears.md now points at; the EARS tag vocabulary and bullet shapes are unchanged.
# The resolving section names the ladder step-2 resolver command with --root (#11597) and has it run before any root-file or README read; a non-zero exit stays the ladder step-6 free-text degrade, and the EARS tags and bullet shapes are byte-identical
pin_file "context/ears.md is unchanged (the EARS tags and the format resolution ladder)" \
"$EARS" \
"903332451df15c686d46259080f54f82824287b1efe4199a42716e5e95609c6f"
"9b0ef001c95777aaec490eb8b4b5d5a28b7662ae0da00107db7c01f4b5ce481d"
# audit-answers holds a `hedged:` row on the never-auto floor (Step 1) and routes it to the
# human whatever the verdict (Step 4). Both sections are digested so a qualifier cannot be
# appended beside either line.
Expand Down
Loading