feat: bootstrap accountability-root fabric snapshot

This commit is contained in:
2026-05-24 10:41:29 +02:00
parent 7956415924
commit 735867392e
13 changed files with 9105 additions and 12 deletions

View File

@@ -4,11 +4,11 @@ type: workplan
title: "Accountability Root Discovery And Update Loop"
domain: railiance
repo: railiance-fabric
status: active
status: finished
owner: codex
topic_slug: railiance
created: "2026-05-23"
updated: "2026-05-23"
updated: "2026-05-24"
state_hub_workstream_id: "651185b5-83fe-4aef-b29d-617b2bc48c7a"
---
@@ -280,7 +280,7 @@ Result:
```task
id: RAIL-FAB-WP-0018-T06
status: todo
status: done
priority: high
state_hub_task_id: "0d05ee40-0823-473f-9c87-0ed964e8900c"
```
@@ -302,6 +302,33 @@ Done when:
- State Hub can import the resulting export after `STATE-WP-0051`;
- operator docs explain how to rerun the rebuild and update loop.
Result:
- Tightened deployable identity normalization so generic filenames such as
`Dockerfile` no longer create false ambiguous identity blockers.
- Filtered dependency-cache deployment matches from accountability-root
deployable/config evidence.
- Aligned repository inventory, Gitea, host-path, and deployment roots to use
`actor.railiance.primary-lord` as the default financial owner for discovered
candidates.
- Saved the 2026-05-24 bootstrap artifacts:
`fabric/discovery/snapshots/2026-05-24-railiance-bootstrap-identities.json`,
`fabric/discovery/snapshots/2026-05-24-railiance-bootstrap-ownership-review.json`,
`fabric/discovery/snapshots/2026-05-24-railiance-bootstrap-update-delta.json`,
and `exports/state-hub/2026-05-24-railiance-financial-fabric-v1.json`.
- The bootstrap ownership review produced 96 candidates, zero unresolved
ownership items, zero ambiguous containment items, and four explicit
duplicate repository identity blockers.
- Created `RAIL-FAB-WP-0019` to resolve those duplicate repository identities
instead of hiding them.
- Imported the financial Fabric export into State Hub after applying the
`STATE-WP-0051` migration; State Hub accepted the export as valid with 2
actors, 1 fabric, 49 nodes, 58 edges, and 0 unresolved items.
- Added `generated_at` stamping for financial bridge exports so saved snapshot
files carry export time.
- Verified with focused accountability/registry tests, artifact schema
validation, State Hub import/readback, and full `python3 -m pytest`.
## Acceptance
- Fabric discovery starts from accountability roots and deployment automation.

View File

@@ -0,0 +1,81 @@
---
id: RAIL-FAB-WP-0019
type: workplan
title: "Duplicate Repository Identity Review"
domain: railiance
repo: railiance-fabric
status: ready
owner: codex
topic_slug: railiance
created: "2026-05-24"
updated: "2026-05-24"
state_hub_workstream_id: "bc69549c-3cbc-4a7d-8766-b84added1133"
---
# RAIL-FAB-WP-0019 - Duplicate Repository Identity Review
## Goal
Resolve the duplicate repository identity blockers found during the
`RAIL-FAB-WP-0018` bootstrap run.
The 2026-05-24 accountability-root ownership review resolved ownership and
containment for all candidates, but flagged four repository identities as
ambiguous because registry inventory evidence maps two repo slugs onto the same
local checkout path.
## T01 - Inspect Duplicate Repo Path Evidence
```task
id: RAIL-FAB-WP-0019-T01
status: todo
priority: high
state_hub_task_id: "63c5ee1e-6c9f-4d63-b0b4-61308e833ac2"
```
Review the duplicate path evidence for:
- `identity:repository:railiance-hosts`
- `identity:repository:railiance-infra`
- `identity:repository:vergabe-teilnahme`
- `identity:repository:vergabe_teilnahme`
Done when the intended canonical repo identity, alias, or split-identity rule is
known for `/home/worsch/railiance-infra` and `/home/worsch/vergabe-teilnahme`.
## T02 - Encode Canonical Identity Decisions
```task
id: RAIL-FAB-WP-0019-T02
status: todo
priority: high
state_hub_task_id: "bd0496f2-9a95-4487-9620-eabbf0e78c6b"
```
Apply the chosen resolution in the durable source of truth.
Candidate options include:
- fix duplicate entries in `registry/local-repos.yaml`;
- add explicit repository alias/canonicalization support to the identity
projection;
- persist review decisions for the affected stable identity keys.
Done when duplicate repo path evidence no longer produces ambiguous repository
identity blockers.
## T03 - Refresh Bootstrap Review Artifacts
```task
id: RAIL-FAB-WP-0019-T03
status: todo
priority: medium
state_hub_task_id: "2c90c5c1-46be-41b7-8854-602eea0e3aaf"
```
Rerun the accountability-root bootstrap review and update the saved discovery
snapshot artifacts.
Done when `fabric/discovery/snapshots/*bootstrap-ownership-review.json` shows
zero ambiguous repository identity blockers, or documents any remaining blocker
as intentionally unresolved.