fluid-core/internal
tegwick a2d561eae5 Add signing, trust types, policy gate and publication pipeline
FLUID-WP-0004 T01, T02, T05, T06. The pipeline is the only path from
Candidate to Verified: no other code constructs a Verified value, and
Publish takes one, so "AI-generated artifacts are untrusted until
verified" is a property of the type signatures rather than a rule people
are asked to remember.

The policy gate is a pure function of the candidate, the governing
intent and configured limits. It cannot consult a model or take an
opinion as input, because a gate that can be argued with is not a gate.
Two behaviours it enforces are worth naming: the tighter of the
descriptor's own traffic ceiling and the gate's wins, so a descriptor
can restrict itself but never widen; and a daimon cannot authorize its
own promotion below FLUID-5, since generation authority is not promotion
authority.

Signatures cover the canonical document with the signature member
removed, so a signed descriptor round-trips and a tampered one does not.
The registry now refuses anything that does not verify, which is what
makes the pipeline's signature mean something at the router.

An unchecked pipeline stage is recorded as unchecked rather than
omitted, so a pipeline with no security check cannot look identical to
one that passed.

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 02:56:30 +02:00
..
contract Add evidence store, intent store and the fluid CLI 2026-09-04 02:26:23 +02:00
evidence Add evidence store, intent store and the fluid CLI 2026-09-04 02:26:23 +02:00
intent Add evidence store, intent store and the fluid CLI 2026-09-04 02:26:23 +02:00
policy Add signing, trust types, policy gate and publication pipeline 2026-09-04 02:56:30 +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
signing Add signing, trust types, policy gate and publication pipeline 2026-09-04 02:56:30 +02:00