Generate contract types, pin fixtures to spec, add build and ADRs
Some checks failed
ci / build (push) Failing after 1m6s

Completes FLUID-WP-0002. The record types in internal/contract are
generated from schemas/ by a dependency-free generator; fixtures
transcribed from the spec's worked examples validate against those
schemas and round-trip through the generated types with
DisallowUnknownFields, so a spec change that misses the schemas fails
CI rather than drifting silently.

Adds identifier prefix helpers, Makefile, GitHub Actions, and five ADRs
recording the Go choice, out-of-process attachment, the wire contract as
boundary, the evidence store, and revision identity.

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
This commit is contained in:
tegwick 2026-09-04 02:03:12 +02:00
parent fbbf56df7a
commit 76912adef8
44 changed files with 4010 additions and 7 deletions

View file

@ -4,7 +4,7 @@ type: workplan
title: "FLUID foundations and the wire contract"
domain: infotech
repo: fluid-core
status: active
status: done
owner: worsch
topic_slug: fluid-core
created: "2026-09-04"
@ -43,7 +43,7 @@ boundary and the four invariants this repo defends hardest.
```task
id: FLUID-WP-0002-T02
status: todo
status: done
priority: high
state_hub_task_id: "5cf83eeb-819f-5972-a660-aa9f5345355f"
```
@ -57,7 +57,7 @@ the interop surface, per its §1.
```task
id: FLUID-WP-0002-T03
status: todo
status: done
priority: high
state_hub_task_id: "da22bde0-5138-56db-a26d-f63a3195d6ed"
```
@ -70,7 +70,7 @@ readable without any fluid-core code.
```task
id: FLUID-WP-0002-T04
status: todo
status: done
priority: high
state_hub_task_id: "ba9933b2-0b92-55c4-96b0-b46c955e25a6"
```
@ -82,7 +82,7 @@ types are prohibited — drift between spec and implementation must fail CI.
```task
id: FLUID-WP-0002-T05
status: todo
status: done
priority: high
state_hub_task_id: "f835faf7-98f4-514f-937d-83b86b4b44a5"
```
@ -95,7 +95,7 @@ build breaks.
```task
id: FLUID-WP-0002-T06
status: todo
status: done
priority: medium
state_hub_task_id: "2b0e42e0-c6ff-534e-8de4-3ff333af9e78"
```
@ -107,7 +107,7 @@ identifier prefix helpers from schema doc §16: `H- R- E- P- BR- D- EV- F- C-`.
```task
id: FLUID-WP-0002-T07
status: todo
status: done
priority: medium
state_hub_task_id: "83b10a34-08e3-5ceb-81f4-f148a3d87183"
```