Skip to content

docs(knowledge): product PRD catalog + adopt knowledge-template v1.1.0 - #63

Merged
timothymarois merged 2 commits into
3.xfrom
docs/prd-catalog
Jul 21, 2026
Merged

docs(knowledge): product PRD catalog + adopt knowledge-template v1.1.0#63
timothymarois merged 2 commits into
3.xfrom
docs/prd-catalog

Conversation

@timothymarois

Copy link
Copy Markdown
Member

What this adds

A complete, test-backed PRD catalog for the whole package — 38 draft contracts across the declared base- / provider- / modality- / flow- ontology, filling the previously-empty .knowledge/prd-drafts/. Each row is a product-level requirement (what must be true for a consumer) transcribed from the consumer docs; where a test proves it, the Evidence column names that test. 316 rows are (test-proven), ~12 are honest gaps (moderation categories, cross-vendor prompt-cache, provider failover).

A project-owned evidence linter.knowledge/scripts/prd-evidence, the check doc-lint cannot do: it asserts every PRD Evidence name resolves to a real Pest test description. Wired into composer check as lint:prd.

Adopt knowledge-template v1.1.0 — the always-loaded README now surfaces that scripts/ holds project scripts alongside the versioned linter, and marks tmp/ throwaway; .knowledge/.version1.1.0 (wording only, integrity unchanged).

Status

Drafts are pre-ratification — they await file-by-file owner sign-off, at which point each git mvs into .knowledge/prd/. Nothing lands in prd/ here.

Verification

  • doc-lint — green
  • prd-evidence — green (316 ✅ Evidence names all resolve)
  • No PHP source or tests changed; no schema/migration/dependency changes.

Author 38 test-backed PRD drafts covering the whole package across the
base/provider/modality/flow ontology — the product contracts (what must be true
for a consumer, and whether a test proves it) that prd/ previously lacked. Each
row is transcribed from the consumer docs; where a test proves it, the Evidence
column names that test. Drafts await file-by-file owner ratification into prd/.

Add .knowledge/scripts/prd-evidence — the check doc-lint cannot do: asserts every
green PRD Evidence name resolves to a real Pest test description. Wired into
composer check as lint:prd. Update CODEMAP, MEMORY, and the scripts catalog.
Apply the v1.1.0 wording migration: the always-loaded README now surfaces that
scripts/ holds project scripts alongside the versioned linter and marks tmp/ as
throwaway. Bump .knowledge/.version to 1.1.0. Wording only — no manifested file
changed, so payload integrity still passes.
@timothymarois
timothymarois merged commit 87b94fe into 3.x Jul 21, 2026
6 checks passed
@timothymarois
timothymarois deleted the docs/prd-catalog branch July 21, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant