Railiance ecosystem graph model
Find a file
codex bddebd16bb
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
Onboard rail-kubernetes in Fabric manifest
2026-07-25 18:54:12 +02:00
.claude/rules docs: workplan-first agent guidance prose (CUST-WP-0055 T04 batch 3) 2026-07-08 17:15:24 +02:00
.forgejo/workflows Add Forgejo CI smoke workflow (enablement template) 2026-07-08 12:35:35 +02:00
catalog Start rail/rapp/reef fabric adaptation 2026-07-25 15:42:53 +02:00
docs Add repo-family metadata to Fabric registry 2026-07-25 18:08:57 +02:00
examples feat: define accountability root manifest 2026-05-24 03:00:29 +02:00
exports/state-hub feat: bootstrap accountability-root fabric snapshot 2026-05-24 10:41:29 +02:00
fabric CUST-WP-0055 T06/T07: workplan-first fabric source docs and archive notes 2026-07-08 20:26:24 +02:00
railiance_fabric Add repo-family metadata to Fabric registry 2026-07-25 18:08:57 +02:00
registry Onboard rail-kubernetes in Fabric manifest 2026-07-25 18:54:12 +02:00
schemas feat: add deployment zone overlays 2026-05-24 15:55:05 +02:00
tests Add repo-family metadata to Fabric registry 2026-07-25 18:08:57 +02:00
workplans Add repo-family metadata to Fabric registry 2026-07-25 18:08:57 +02:00
.custodian-brief.md chore(consistency): sync task status from DB [auto] 2026-07-25 18:08:17 +02:00
.gitignore Implement operational discovery rescan loops 2026-05-20 22:52:26 +02:00
.repo-classification.yaml Add .repo-classification.yaml (CUST-WP-0050 T11 agent first-pass) 2026-06-22 17:47:41 +02:00
AGENTS.md Start rail/rapp/reef fabric adaptation 2026-07-25 15:42:53 +02:00
CLAUDE.md Add credential routing instructions for all agent runtimes 2026-06-18 22:48:39 +02:00
DECISIONS.md Recorded decision 2026-07-04 00:31:34 +02:00
INTENT.md docs: workplan-first agent guidance prose (CUST-WP-0055 T04 batch 3) 2026-07-08 17:15:24 +02:00
LICENSE Initial commit 2026-05-17 14:54:27 +00:00
Makefile chore: add graph explorer make target 2026-06-03 17:24:58 +02:00
pyproject.toml Harden registry API and schema validation 2026-05-17 22:33:21 +02:00
README.md Start rail/rapp/reef fabric adaptation 2026-07-25 15:42:53 +02:00
SCOPE.md Add repo-family metadata to Fabric registry 2026-07-25 18:08:57 +02:00
WORK-RECORDS.md Add repo-family metadata to Fabric registry 2026-07-25 18:08:57 +02:00

Railiance Fabric

Railiance Fabric models the durable infrastructure-responsibility graph of the Railiance netkingdom.

Fabric is bounded by financial and operational accountability: who pays for the infrastructure, who is accountable for keeping it alive, and which durable interfaces create value across fabric and subfabric boundaries.

It holds schemas, discovery tools, registry services, graph queries, and State Hub export contracts for services, machines, repositories, deployables, endpoints, ownership, dependencies, and bindings across Railiance deployment realities.

The current compatibility-first adaptation wave also prepares Fabric for the new rail-*, rapp-*, and reef-* repo families so they can become visible registry and graph entities instead of remaining architecture-only terms.

See docs/FabricDiscoveryAndUpdate.md for the current architecture direction for fabric boundaries, king/lord/tenant ownership, discovery, rebuilds, and update loops.

Validate Declarations

From a checkout with the Python dependencies installed:

railiance-fabric validate .

During early bootstrapping, the local module entry point works too:

PYTHONPATH=. python -m railiance_fabric.cli validate .

The validator loads fabric/ declarations, checks schema conformance, verifies catalog type names, catches missing references/providers, checks active production dependency source links, and warns about dependency cycles.

Query The Graph

railiance-fabric providers runtime-secrets
railiance-fabric consumers railiance-platform.openbao.kv-v2
railiance-fabric dependency-path flex-auth.api
railiance-fabric unresolved
railiance-fabric blast-radius openbao-kv-v2-mount
railiance-fabric export --format json
railiance-fabric export --format mermaid
railiance-fabric export --format graph-explorer
railiance-fabric export --format financial

See docs/discovery-queries.md for command details.

Financial Fabric Baseline

The current financial Fabric model starts from fabric/financial/railiance-netkingdom.yaml. It defines the Railiance netkingdom, the king, the current lord, the one active Railiance fabric, and the default ownership rules used while Railiance still has one effective payer.

railiance-fabric export --format financial projects the current accepted legacy graph into the railiance.fabric/v1alpha2 / financial-fabric-v1 contract. Repo-local fabric/ declarations remain useful evidence and bootstrap data; they are not the long-term authority for external deployment, ownership, tenant, or utility relations.

See docs/financial-fabric-operator-guide.md for the reset/rebuild refresh loop and State Hub handoff.

Adopt In Another Repo

See docs/adoption-guide.md for the legacy declaration workflow and docs/first-rollout.md for the initial Railiance repo rollout. Treat repo-local declarations as self-description and discovery evidence. Financial fabric membership, ownership, and cross-boundary utility relations are owned by the accountability-root discovery model described in docs/FabricDiscoveryAndUpdate.md.

Next: Ecosystem Registry Service

See docs/ecosystem-registry-service.md for the standards comparison and service direction for registering repos and interacting with the combined ecosystem model. See docs/registry-api.md for the current registry HTTP API.

List available Make targets from the repo root:

make

Start the first registry service slice and graph explorer explicitly:

make graph-explorer

The target serves http://127.0.0.1:8765/ui/graph-explorer by default. Override PORT, HOST, or REGISTRY_DB if the local port or database path differs.

Equivalent raw command:

railiance-fabric-registry --db .railiance-fabric/registry.sqlite3 --port 8765

The initial service exposes repository registration, graph snapshot ingestion, artifact attachment, graph query endpoints, State Hub export, and early Backstage/xRegistry projection endpoints. It stores snapshots in SQLite and reuses the Fabric graph export shape.

Feed the running service from this checkout:

railiance-fabric registry sync --repo-slug railiance-fabric .

Or register and sync the known local Railiance ecosystem repos from the onboarding manifest:

railiance-fabric registry sync-manifest registry/railiance-repos.yaml

That manifest should include the current ownership-family architecture repos even when they do not yet publish local fabric/ declarations. Registration is still useful before full graph evidence exists.

To onboard every active State Hub repo with an available local checkout on this host:

railiance-fabric registry sync-manifest registry/local-repos.yaml

Ingest a CycloneDX SBOM as queryable library inventory:

railiance-fabric registry ingest-cyclonedx bom.json --repo-slug railiance-fabric

Useful inspection endpoints include:

GET /repositories/{repo_slug}/inventory
GET /repositories/{repo_slug}/snapshots
GET /repositories/{repo_slug}/snapshots/diff
GET /search?q=jsonschema
GET /ui/graph-explorer
GET /exports/graph-explorer/manifest
GET /exports/graph-explorer

See docs/registry-onboarding.md for the multi-repo manifest and operating loop.

The graph explorer export is the first executable slice of the interactive Fabric map. See docs/graph-explorer-transfer-review.md for the repo-scoping transfer review, docs/graph-explorer-contract.md for the shared manifest and payload contract, docs/semantic-attractors.md for the attractor-based layout orientation concept, and docs/graph-explorer-operations.md for launch, refresh, verification, and extraction guidance.