--- id: RAIL-FAB-WP-0003 type: workplan title: "Registry Feed And Library Inventory" domain: railiance repo: railiance-fabric status: completed owner: codex topic_slug: railiance planning_priority: high planning_order: 3 state_hub_workstream_id: "f48f65fb-55a3-48a9-97d5-9ecdac8ba03a" created: "2026-05-17" updated: "2026-05-17" --- # RAIL-FAB-WP-0003 - Registry Feed And Library Inventory ## Goal Make the local ecosystem registry easy to feed from a repo checkout and make repo library inventory queryable instead of only attaching SBOM files as opaque artifacts. ## Context RAIL-FAB-WP-0002 established the first registry service with repository registration, graph snapshot ingestion, graph queries, artifact attachment, and projection endpoints. The next local gap is operability: agents need a simple command to push the current repo graph into a running registry, and CycloneDX SBOMs should become queryable library records. ## Tasks ### T01 - Registry Sync Command ```task id: RAIL-FAB-WP-0003-T01 status: done priority: high state_hub_task_id: "b6f34fd2-78e6-4c10-9abd-b7ba547c9b6f" ``` Add a CLI command that validates the current repo, registers it with a running registry service, and pushes the current graph export as a snapshot. ### T02 - CycloneDX Library Inventory ```task id: RAIL-FAB-WP-0003-T02 status: done priority: high state_hub_task_id: "fdcb5e68-e884-4592-8da7-751b0507d3b0" ``` Add storage, API endpoints, and CLI support for ingesting CycloneDX components as queryable repo library records. ### T03 - Local Verification And Docs ```task id: RAIL-FAB-WP-0003-T03 status: done priority: medium state_hub_task_id: "5fb1c3b9-9e9f-4d50-bb02-b5a74d097cbe" ``` Document the new feed commands and extend registry tests for the library inventory endpoints.