fluid-core/internal
tegwick 61d8d8cabe Add the OpenAPI contract validator, closing FLUID-WP-0003
The gateway can now enforce a revision's declared contract, which makes
"a deterministic API contract" -- the first minimal-conformance
requirement -- something the framework actually checks rather than
assumes.

The JSON Schema support is a documented subset. Keywords outside it are
reported as unsupported rather than skipped, because a validator that
silently ignores a constraint it does not understand is worse than none:
it reports success it did not earn. The same reasoning refuses remote
$refs, which would make request-path validation depend on a network
fetch, and refuses to serve a revision whose contract is not registered.

String lengths are counted in runes. A 4096-character limit that
rejected a 3000-character hall entry because of its accents would be
wrong in exactly the case this framework was built to publish.

Literal routes are matched before templated ones, so /entries/latest is
not swallowed by /entries/{id} -- which matters, since a latest-entry
convenience route is the Blueprint's own worked example.

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

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 1116572@bnt-lap001
Assistant-Session: 8ba9bb93-a72a-4883-b189-2499cce5c400
2026-09-04 08:14:19 +02:00
..
contract Add telemetry ingest, feedback collector, pressure API and insight CLI 2026-09-04 03:19:06 +02:00
control Add science control APIs and the hypothesis, experiment and promote CLI 2026-09-04 06:44:47 +02:00
evidence Add evidence store, intent store and the fluid CLI 2026-09-04 02:26:23 +02:00
fitness Add fitness evaluator and telemetry measurer 2026-09-04 03:14:25 +02:00
intent Add evidence store, intent store and the fluid CLI 2026-09-04 02:26:23 +02:00
observation Add telemetry ingest, feedback collector, pressure API and insight CLI 2026-09-04 03:19:06 +02:00
policy Add signing, trust types, policy gate and publication pipeline 2026-09-04 02:56:30 +02:00
promotion Add hypothesis lifecycle, competition groups, experiments and promotion 2026-09-04 06:39:33 +02:00
publish Add signing, trust types, policy gate and publication pipeline 2026-09-04 02:56:30 +02:00
runtime Add signing, trust types, policy gate and publication pipeline 2026-09-04 02:56:30 +02:00
science Add hypothesis lifecycle, competition groups, experiments and promotion 2026-09-04 06:39:33 +02:00
signing Add signing, trust types, policy gate and publication pipeline 2026-09-04 02:56:30 +02:00
validate Add the OpenAPI contract validator, closing FLUID-WP-0003 2026-09-04 08:14:19 +02:00