Project rail composition and readiness
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 4s

This commit is contained in:
codex 2026-07-26 13:34:56 +02:00
parent 9af9ee3e72
commit 4fcfee0479
7 changed files with 238 additions and 4 deletions

View file

@ -0,0 +1,81 @@
---
id: RAIL-FAB-WP-0027
type: workplan
title: "Project versioned rail composition and readiness"
domain: financials
repo: railiance-fabric
status: finished
owner: codex
topic_slug: railiance
created: "2026-07-26"
updated: "2026-07-26"
state_hub_workstream_id: "852b7d44-3125-4d96-9d8c-7247382c4b60"
---
# RAIL-FAB-WP-0027 - Versioned rail readiness projection
## Goal
Ensure Fabric topology does not imply operational readiness and make derived
rail compatibility queryable.
## T01 - Project rail contract metadata
```task
id: RAIL-FAB-WP-0027-T01
status: done
priority: high
state_hub_task_id: "9bfc85a4-a1ba-4156-9eef-436d042c60d9"
```
Project contract version, composition kind, base rail, and readiness state from
repo-local declarations.
2026-07-26: Repository nodes now retain the versioned composition fields and
derived rails project a `base_rail` dependency.
## T02 - Preserve binding readiness
```task
id: RAIL-FAB-WP-0027-T02
status: done
priority: high
state_hub_task_id: "150cbce6-839b-44cc-b9e5-c54daa4cf3ee"
```
Carry declared/installed/verified/production-approved/deprecated state and
evidence references on `hosts_rail` and `binds_rapp` relations.
2026-07-26: Reef binding metadata now projects readiness state, contract
version, and evidence references on relation edges.
## T03 - Add compatibility and false-readiness tests
```task
id: RAIL-FAB-WP-0027-T03
status: done
priority: high
state_hub_task_id: "bfa5ec7e-8262-49c9-bb54-d23ddc20153e"
```
Prove that a declared topology edge is not interpreted as production approval
and that derived rails retain their base-contract dependency.
2026-07-26: Added focused registry tests for declared-only reef bindings and
derived-rail base dependencies.
## T04 - Automate drift reconciliation
```task
id: RAIL-FAB-WP-0027-T04
status: done
priority: medium
state_hub_task_id: "a34e5d79-43aa-4414-ad6f-7fda02295c79"
```
Make declaration/evidence reconciliation idempotent and suitable for CI or a
scheduled registry sync.
2026-07-26: The existing combined-graph reconciliation now deterministically
reopens repo-local declarations and binding files and replaces projected
metadata on each sync. Focused tests pass (`5 passed`).