# Live cross-engine parity manifest — real templates rendered by BOTH engines and asserted equal;
# NO golden (decoupled from prose). Editing a real prompt's prose touches no fixture here; only the
# var set (and whether a new template must be listed) is curated. Each entry names a real template
# (root-relative under prompts/) and the string-only vars to render it with — multi-arm entries
# repeat a template to pin every conditional branch. Vars string-only, miniYaml subset (block
# maps/seqs, double-quoted strings, the backtick-quoting rule, no |/> block scalars) so the file is
# dual-parseable (pyyaml on the Python side, miniYaml on the node side).
- template: "common/plan-read/github.md"
  vars:
    pr_id: "42"
    url: "https://x/9"
- template: "common/plan-read/linear.md"
  vars:
    pr_id: "uuid-1"
    url: "https://linear.app/x/ENG-1"
- template: "common/plan-read/other.md"
  vars:
    pr_id: "42"
    url: "https://x/9"
- template: "stages/address/action.md"
  vars:
    provider: "github"
    pr_id: "148"
    url: "https://github.com/mattgiles/perk/issues/148"
    model_clause: ""
- template: "stages/address/action.md"
  vars:
    provider: "github"
    pr_id: "148"
    url: "https://github.com/mattgiles/perk/issues/148"
    model_clause: ", passing `model: \"test/model\"` on that call (the configured [models.subagents] review-classifier model)"
- template: "stages/address/preview.md"
  vars:
    provider: "github"
    pr_id: "148"
    url: "https://github.com/mattgiles/perk/issues/148"
    model_clause: ""
- template: "stages/address/preview.md"
  vars:
    provider: "github"
    pr_id: "148"
    url: "https://github.com/mattgiles/perk/issues/148"
    model_clause: ", passing `model: \"test/model\"` on that call (the configured [models.subagents] review-classifier model)"
- template: "stages/implement.md"
  vars:
    provider: "github"
    pr_id: "42"
    url: "https://x/9"
    read_cmd: "gh issue view 42 --comments"
- template: "stages/learn.md"
  vars:
    provider: "github"
    pr_id: "42"
    url: "https://x/9"
    read_cmd: "gh issue view 42 --comments"
- template: "stages/learn.md"
  vars:
    provider: "linear"
    pr_id: "uuid-1"
    url: "https://linear.app/x/ENG-1"
    read_cmd: "use the `linear_get_issue` tool (id `uuid-1`), then `linear_list_comments` — the plan body is the first comment; if the linear tools are unavailable, open https://linear.app/x/ENG-1"
- template: "stages/learn.md"
  vars:
    provider: "gitlab"
    pr_id: "9"
    url: "https://gl/x"
    read_cmd: "open https://gl/x"
- template: "stages/learn.md"
  vars:
    provider: ""
    pr_id: ""
    url: ""
    read_cmd: ""
- template: "common/objective-read/linear.md"
  vars:
    where: "(https://linear.app/x/ENG-1)"
    fallback: "; if the linear tools are unavailable, open https://linear.app/x/ENG-1"
- template: "common/objective-read/linear.md"
  vars:
    where: "(run `perk objective show 7` for its URL)"
    fallback: ""
- template: "stages/objective-plan/seed.md"
  vars:
    number: "7"
    title: "Ship it"
    node_id: "1.2"
    node_description: "Do the thing"
    node_engagement: ""
    read_clause: ""
    model: ""
- template: "stages/objective-plan/seed.md"
  vars:
    number: "7"
    title: "Ship it"
    node_id: "1.2"
    node_description: "Do the thing"
    node_engagement: "<untrusted_node_engagement>\n[c-1 by Ada] please scope this down\n</untrusted_node_engagement>"
    read_clause: "This objective is a Linear Project (https://linear.app/x/ENG-1). Its roadmap nodes are Linear issues in that Project — inspect a node-issue's detail or discussion with the `linear_get_issue` and `linear_list_comments` tools; if the linear tools are unavailable, open https://linear.app/x/ENG-1."
    model: "google/gemini-3.5-flash"
- template: "stages/objective-plan/guidance.md"
  vars:
    objective: "7"
    node: "1.2"
    read_clause: ""
    model: ""
- template: "stages/objective-plan/guidance.md"
  vars:
    objective: "7"
    node: ""
    read_clause: "This objective is a Linear Project (https://linear.app/x/ENG-1). Its roadmap nodes are Linear issues in that Project — inspect a node-issue's detail or discussion with the `linear_get_issue` and `linear_list_comments` tools; if the linear tools are unavailable, open https://linear.app/x/ENG-1."
    model: "google/gemini-3.5-flash"
- template: "stages/learn-docs.md"
  vars:
    inbox_path: ".perk/workflow/scratch/learn-docs-inbox.md"
    num_list: "45, 50"
- template: "stages/learn-code.md"
  vars:
    inbox_path: ".perk/workflow/scratch/learn-code-inbox.md"
    num_list: "45, 50"
- template: "stages/skills/create.md"
  vars:
    repo_skills_rel: ".pi/skills"
    skill_name: "foo"
    skill_path: ".pi/skills/foo/SKILL.md"
- template: "stages/skills/create-from.md"
  vars:
    repo_skills_rel: ".pi/skills"
    skill_name: "foo"
    skill_path: ".pi/skills/foo/SKILL.md"
    seed_path: "/tmp/seed-file-foo-deadbeef.md"
    seed_url: ""
- template: "stages/skills/create-from.md"
  vars:
    repo_skills_rel: ".pi/skills"
    skill_name: "foo"
    skill_path: ".pi/skills/foo/SKILL.md"
    seed_path: ""
    seed_url: "https://github.com/x/skills/blob/main/skills/foo/SKILL.md"
- template: "stages/skills/refine.md"
  vars:
    repo_skills_rel: ".pi/skills"
    skill_name: "foo"
    skill_path: ".pi/skills/foo/SKILL.md"
- template: "stages/pr-review.md"
  vars:
    model: ""
    directive: ""
- template: "stages/pr-review.md"
  vars:
    model: "google/gemini-3.5-flash"
    directive: ""
- template: "stages/pr-review.md"
  vars:
    model: ""
    directive: "have one reviewer focus on the dignified-python skill"
- template: "stages/pr-review-terminal/foreign.md"
  vars:
    pr: "148"
    worktree: "/repo/.worktrees/review-148"
    base_sha: "0f8a1b2c3d4e"
    model: ""
    directive: ""
- template: "stages/pr-review-terminal/foreign.md"
  vars:
    pr: "148"
    worktree: "/repo/.worktrees/review-148"
    base_sha: "0f8a1b2c3d4e"
    model: "google/gemini-3.5-flash"
    directive: ""
- template: "stages/pr-review-terminal/foreign.md"
  vars:
    pr: "148"
    worktree: "/repo/.worktrees/review-148"
    base_sha: "0f8a1b2c3d4e"
    model: ""
    directive: "have one reviewer dig into the CI changes"
- template: "stages/pr-review-terminal/active.md"
  vars:
    pr: "148"
    worktree: "/repo/.worktrees/plan-148"
    base_sha: "0f8a1b2c3d4e"
    model: ""
    directive: ""
- template: "stages/pr-review-terminal/active.md"
  vars:
    pr: "148"
    worktree: "/repo/.worktrees/plan-148"
    base_sha: "0f8a1b2c3d4e"
    model: "google/gemini-3.5-flash"
    directive: ""
- template: "stages/pr-review-terminal/active.md"
  vars:
    pr: "148"
    worktree: "/repo/.worktrees/plan-148"
    base_sha: "0f8a1b2c3d4e"
    model: ""
    directive: "have one reviewer dig into the CI changes"
- template: "stages/pr-review-terminal/local.md"
  vars:
    worktree: "/repo/.worktrees/plan-148"
    base_sha: "0f8a1b2c3d4e"
- template: "stages/pr-review-browser/foreign.md"
  vars:
    pr: "148"
    pr_url: "https://github.com/o/r/pull/148"
    worktree: "/repo/.worktrees/review-148"
    url: "http://127.0.0.1:45001"
    model: ""
    directive: ""
- template: "stages/pr-review-browser/foreign.md"
  vars:
    pr: "148"
    pr_url: "https://github.com/o/r/pull/148"
    worktree: "/repo/.worktrees/review-148"
    url: "http://127.0.0.1:45001"
    model: "google/gemini-3.5-flash"
    directive: ""
- template: "stages/pr-review-browser/foreign.md"
  vars:
    pr: "148"
    pr_url: "https://github.com/o/r/pull/148"
    worktree: "/repo/.worktrees/review-148"
    url: "http://127.0.0.1:45001"
    model: ""
    directive: "have one reviewer dig into the CI changes"
- template: "stages/pr-review-browser/active.md"
  vars:
    pr: "148"
    pr_url: "https://github.com/o/r/pull/148"
    worktree: "/repo/.worktrees/plan-148"
    url: "http://127.0.0.1:45001"
    model: ""
    directive: ""
- template: "stages/pr-review-browser/active.md"
  vars:
    pr: "148"
    pr_url: "https://github.com/o/r/pull/148"
    worktree: "/repo/.worktrees/plan-148"
    url: "http://127.0.0.1:45001"
    model: "google/gemini-3.5-flash"
    directive: ""
- template: "stages/pr-review-browser/active.md"
  vars:
    pr: "148"
    pr_url: "https://github.com/o/r/pull/148"
    worktree: "/repo/.worktrees/plan-148"
    url: "http://127.0.0.1:45001"
    model: ""
    directive: "have one reviewer dig into the CI changes"
- template: "stages/learn-orchestrate.md"
  vars:
    model: ""
    manifest_path: "/repo/.perk/workflow/scratch/runs/01RID/learn-evidence/manifest.json"
    bundle_dir: ".perk/workflow/scratch/runs/01RID/learn-evidence"
- template: "stages/learn-orchestrate.md"
  vars:
    model: "google/gemini-3.5-flash"
    manifest_path: "/repo/.perk/workflow/scratch/runs/01RID/learn-evidence/manifest.json"
    bundle_dir: ".perk/workflow/scratch/runs/01RID/learn-evidence"
- template: "stages/conflict-resolution.md"
  vars:
    base: "main"
    attempt: "2"
    cap: "3"
    model: ""
- template: "stages/conflict-resolution.md"
  vars:
    base: "main"
    attempt: "2"
    cap: "3"
    model: "google/gemini-3.5-flash"
- template: "stages/objective-reconcile.md"
  vars:
    objective: "7"
    read_clause: ""
- template: "stages/objective-reconcile.md"
  vars:
    objective: "7"
    read_clause: "This objective is a Linear Project (https://linear.app/x/ENG-1). Its roadmap nodes are Linear issues in that Project — inspect a node-issue's detail or discussion with the `linear_get_issue` and `linear_list_comments` tools; if the linear tools are unavailable, open https://linear.app/x/ENG-1."
- template: "stages/objective-save.md"
  vars:
    title: ""
- template: "stages/objective-save.md"
  vars:
    title: "Ship it"
- template: "stages/objective-author/seed.md"
  vars: {}
- template: "stages/objective-author/adopt.md"
  vars:
    scratch_path: "/tmp/objective-adopt-proj-1.md"
    src_id: "proj-1"
    url: "https://linear.app/x/proj-1"
    has_issues: ""
    has_engagement: ""
- template: "stages/objective-author/adopt.md"
  vars:
    scratch_path: "/tmp/objective-adopt-proj-1.md"
    src_id: "proj-1"
    url: "https://linear.app/x/proj-1"
    has_issues: "x"
    has_engagement: ""
- template: "stages/objective-author/adopt.md"
  vars:
    scratch_path: "/tmp/objective-adopt-proj-1.md"
    src_id: "proj-1"
    url: "https://linear.app/x/proj-1"
    has_issues: ""
    has_engagement: "x"
- template: "stages/objective-author/adopt.md"
  vars:
    scratch_path: "/tmp/objective-adopt-proj-1.md"
    src_id: "proj-1"
    url: "https://linear.app/x/proj-1"
    has_issues: "x"
    has_engagement: "x"
- template: "stages/objective-author/file.md"
  vars:
    scratch_path: "/tmp/objective-seed-goal.md"
    path: "notes/goal.md"
- template: "stages/plan-from/adopt.md"
  vars:
    scratch_path: "/tmp/plan-adopt-148.md"
    issue_id: "148"
    url: "https://github.com/mattgiles/perk/issues/148"
    has_engagement: ""
- template: "stages/plan-from/adopt.md"
  vars:
    scratch_path: "/tmp/plan-adopt-148.md"
    issue_id: "148"
    url: "https://github.com/mattgiles/perk/issues/148"
    has_engagement: "x"
- template: "stages/plan-from/file.md"
  vars:
    scratch_path: "/tmp/plan-seed-goal.md"
    path: "notes/goal.md"
- template: "stages/replan.md"
  vars:
    scratch_path: "/tmp/plan-replan-42.md"
    plan_id: "42"
    url: "https://github.com/mattgiles/perk/issues/42"
    has_engagement: ""
- template: "stages/replan.md"
  vars:
    scratch_path: "/tmp/plan-replan-42.md"
    plan_id: "42"
    url: "https://github.com/mattgiles/perk/issues/42"
    has_engagement: "x"
- template: "stages/objective-replan.md"
  vars:
    scratch_path: "/tmp/objective-replan-7.md"
    objective_id: "7"
    url: "https://linear.app/x/ENG-7"
    is_linear: ""
    has_engagement: ""
- template: "stages/objective-replan.md"
  vars:
    scratch_path: "/tmp/objective-replan-7.md"
    objective_id: "7"
    url: "https://linear.app/x/ENG-7"
    is_linear: "x"
    has_engagement: ""
- template: "stages/objective-replan.md"
  vars:
    scratch_path: "/tmp/objective-replan-7.md"
    objective_id: "7"
    url: "https://linear.app/x/ENG-7"
    is_linear: ""
    has_engagement: "x"
- template: "stages/objective-replan.md"
  vars:
    scratch_path: "/tmp/objective-replan-7.md"
    objective_id: "7"
    url: "https://linear.app/x/ENG-7"
    is_linear: "x"
    has_engagement: "x"
- template: "contexts/read-only.md"
  vars:
    marker: "[READ-ONLY MODE]"
- template: "contexts/plan-authoring.md"
  vars:
    marker: "[PLAN AUTHORING]"
- template: "contexts/objective-authoring.md"
  vars:
    marker: "[OBJECTIVE AUTHORING]"
- template: "contexts/adapters/tombell-plan.md"
  vars:
    marker: "[PLAN ADAPTER: TOMBELL]"
- template: "contexts/adapters/plannotator-plan.md"
  vars:
    marker: "[PLAN ADAPTER: PLANNOTATOR]"
- template: "contexts/adapters/plannotator-objective.md"
  vars:
    marker: "[OBJECTIVE ADAPTER: PLANNOTATOR]"
- template: "contexts/adapters/juicesharp-todo.md"
  vars:
    marker: "[TODO ADAPTER: JUICESHARP]"
