canned-prompts/examples/house-style
tegwick f55ef13c75 Package the canonical PQRST prompt faithfully
examples/pqrst-estimate was not the canonical PQRST prompt. The canonical one
is ~/pqrst-practice/PqrstPrompt.md, normatively specified in
spec/PqrstEstimationPractice.md, and hall-of-helix CLOSING.md requires pasting
that block unmodified. Ours was a paraphrase with a different output shape — no
Confidence, no Signature, no Dominant factors — and CANP-WP-0002-T03 made it
worse by prepending a house_style inclusion to a prompt whose governing
document says do not modify it.

A copied prompt that silently forked its source is the exact failure INTENT.md
opens with, sitting in this repo's own examples directory.

The template is now the canonical block extracted programmatically rather than
retyped, and the default render is byte-identical to it: 2886 bytes both ways.

The source documents two optional add-ons appended after the block. CPF has no
conditionals, so they are not a flag: `add_ons` is an input defaulting to the
empty string, and each sanctioned add-on is an example fixture. This is worth
noting as evidence about section 23's deferred "richer template syntax" — the
workaround is adequate here, but it is a workaround.

evals/canonical-fidelity.yaml guards the property with sixteen render checks,
including not_contains checks naming the paraphrase this package used to be, so
the drift cannot silently recur.

Version 0.2.1 -> 1.0.0: changed inputs and a materially different intended
output is the MAJOR case in section 17.

Section 22's worked example and the house-style README both claimed
pqrst-estimate composes the style fragment. It no longer does, by design, so
both are corrected; composition is illustrated in section 10.4 instead.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bjefh8NUiEiahN4JLwoSKM

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 388925@bnt-lap001
Assistant-Session: 3507023f-e0fd-4a1e-9d90-a0d4217d1502
2026-09-06 15:26:36 +02:00
..
prompt.md CANP-WP-0002 T03: composition by reference, two kinds 2026-09-06 01:31:58 +02:00
prompt.yaml CANP-WP-0002 T06: revision v0.2, and section 23 rewritten 2026-09-06 14:22:45 +02:00
README.md Package the canonical PQRST prompt faithfully 2026-09-06 15:26:36 +02:00

practice/house-style

A type: fragment package (§ 3.2): a reusable block meant to be included by other packages rather than used on its own.

dependencies:
  prompts:
    - id: practice/house-style
      version: ">= 0.1.0"
      requirement: required

inputs:
  - name: house_style
    required: false
    default:
      include: practice/house-style

Inclusion is deterministic — the fragment's template is rendered and inlined as text, with no model involved — so the reference CLI performs it during resolve. See CannedPromptFormat.md § 10.4.

Its tone parameter is inherited from the including package when that package declares one, and otherwise falls back to the default here.

Not composed by examples/pqrst-estimate. That package reproduces a prompt whose governing document requires it be used unmodified, so it composes nothing by design. Real compositions of this fragment live in prompt collections that consume the format; see helix-forge/prompts/.