target-revenue/src/target_revenue/service
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
..
control_plane_templates Implement WP-0015-T03: Control Plane reference-rendering routes 2026-08-03 23:45:59 +02:00
static/whynot-design Implement WP-0009-T04: Control Plane interactive UI on whynot-design 2026-07-30 15:43:16 +02:00
__init__.py Implement hosted Phase/Extension Registry (WP-0006-T03) 2026-07-29 21:03:52 +02:00
app.py Implement hosted Breach/Compliance Record publication (WP-0006-T09) 2026-07-29 22:23:41 +02:00
control_plane_app.py Implement WP-0015-T03: Control Plane reference-rendering routes 2026-08-03 23:45:59 +02:00
keys.py Implement hosted Target Ledger append API (WP-0006-T04) 2026-07-29 21:34:27 +02:00
reference_docs.py Implement WP-0015-T03: Control Plane reference-rendering routes 2026-08-03 23:45:59 +02:00