target-revenue/tests
tegwick d894599647 Implement WP-0015-T03: Control Plane reference-rendering routes
New service/reference_docs.py renders specs/policies/*.md and
specs/profiles/*.md read-only at request time via a small markdown
library (added markdown + PyYAML to the service extras) -- not a
static-build pipeline, matching the WP-0012-T03 decision to skip
state-hub's heavier Observable Framework pattern.

One parameterized route, GET /reference/{kind}/{slug}, covers both
addendum URL shapes. Discovered phase_detail.html's Status table never
displayed the degeneration_policy id at all -- added that row (with
the reference link) rather than wiring a link with nothing to attach
it to. phase_new.html gets a plain link next to the field.

Deliberately did not wire extension-id links into the UI in this task
-- extension ids don't appear anywhere in the Control Plane today
(that's WP-0014's gap, not this one's to expand).

6 new Docker-gated tests. Full suite: 94 passing offline, 164 passing
with Docker (up from 158).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-03 23:45:59 +02:00
..
fixtures Implement TREV-WP-0002 Stage 0 foundation: schemas, pure fold, golden Phase 2026-07-28 18:47:29 +02:00
conftest.py Implement TREV-WP-0002 Stage 0 foundation: schemas, pure fold, golden Phase 2026-07-28 18:47:29 +02:00
test_attestation.py Implement hosted Conversion Attestation publication (WP-0006-T06) 2026-07-29 21:50:02 +02:00
test_breach_record.py Implement hosted Breach/Compliance Record publication (WP-0006-T09) 2026-07-29 22:23:41 +02:00
test_control_plane.py Implement Control Plane backend: rights enforcement + audit log (WP-0009-T03) 2026-07-30 15:08:59 +02:00
test_control_plane_app.py Implement WP-0015-T03: Control Plane reference-rendering routes 2026-08-03 23:45:59 +02:00
test_conversion.py Implement TREV-WP-0002 Stage 0 foundation: schemas, pure fold, golden Phase 2026-07-28 18:47:29 +02:00
test_effort_calculator.py Apply Development Effort Calculator to real pilot candidates (WP-0010-T03) 2026-07-30 13:29:06 +02:00
test_extension_conformance.py Advance WP-0007: degeneration research, profile catalog, canonicalization checklist 2026-07-29 22:31:19 +02:00
test_hosted_conformance.py Extend WP-0006 auth for per-human sub-credentials (WP-0009-T02) 2026-07-30 14:26:33 +02:00
test_ledger_fold.py Merge spec/ into specs/: one specs directory for the whole repo 2026-07-29 10:22:14 +02:00
test_ledger_hosting.py Extend WP-0006 auth for per-human sub-credentials (WP-0009-T02) 2026-07-30 14:26:33 +02:00
test_licensor_credentials.py Extend WP-0006 auth for per-human sub-credentials (WP-0009-T02) 2026-07-30 14:26:33 +02:00
test_manifest_validation.py Implement WP-0015-T01/T04/T06: Phase provenance schema + ledger UI 2026-08-03 20:43:30 +02:00
test_metrics.py Implement public metrics service (WP-0006-T05) 2026-07-29 21:42:52 +02:00
test_onboarding_hosted.py Extend WP-0006 auth for per-human sub-credentials (WP-0009-T02) 2026-07-30 14:26:33 +02:00
test_pilot_candidate_manifests.py Implement WP-0015-T01/T04/T06: Phase provenance schema + ledger UI 2026-08-03 20:43:30 +02:00
test_registry_hosting.py Extend WP-0006 auth for per-human sub-credentials (WP-0009-T02) 2026-07-30 14:26:33 +02:00
test_trf_onboard.py Define and implement multi-repo onboarding mechanism (WP-0006-T07) 2026-07-29 22:00:34 +02:00