Skip to content

docs: supply-chain graph file-backed indexing design - #169

Merged
toddysm merged 3 commits into
mainfrom
docs/supply-chain-graph-design
Aug 10, 2026
Merged

docs: supply-chain graph file-backed indexing design#169
toddysm merged 3 commits into
mainfrom
docs/supply-chain-graph-design

Conversation

@toddysm

@toddysm toddysm commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Adds the design for a local, file-backed supply-chain graph under a new
docs/architecture/observability/ area.

What

  • supply-chain-graph.md — producers write immutable per-run event files
    committed to the repo (a dedicated supply-chain-graph-data branch when runs
    contend), indexed into a rebuildable LadybugDB graph, queried through a
    Python Click CLI and a Kubernetes graph-service.
  • README.md — the new observability architecture index.

Decisions captured (from #168 review)

  • Data root: new top-level supply-chain-graph/ folder.
  • Durability: committed files in this repo; dedicated data branch on contention;
    OCI ledger kept only as an alternative.
  • SBOM/scan ingestion: deferred (phase 7).
  • Engine: LadybugDB confirmed (supersedes the archived Kùzu choice in Supply-chain graph: index image flow with Kùzu (embedded graph store) #145).
  • CLI: Python Click.

Notes

Status is Proposed. Phased implementation work items are filed as children of
#168. No implementation code is included in this PR.

Refs #168. Supersedes the engine choice in #145.

Add docs/architecture/observability/{README,supply-chain-graph}.md describing the
file-backed supply-chain graph: producers write immutable per-run event files
committed to the repo (dedicated supply-chain-graph-data branch on contention),
a rebuildable LadybugDB index, a Python Click CLI, and a Kubernetes graph-service.
SBOM/scan ingestion is deferred. Refs #168; supersedes the Kuzu engine choice in #145.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a proposed architecture/design document for a local, file-backed supply-chain graph under the new docs/architecture/observability/ area, plus an index README for the observability theme. This captures the intended data format, ingestion/indexing approach, CLI/service shape, and key decisions from #168/#145 (no implementation code).

Changes:

  • Add Supply-chain graph: file-backed indexing design doc describing event-file durability, schema envelopes, indexing, CLI, and Kubernetes service model.
  • Add docs/architecture/observability/README.md to index the new observability architecture docs and link to the supply-chain graph design.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
docs/architecture/observability/supply-chain-graph.md New proposed design doc for file-backed event capture + indexing into an embedded graph DB, plus CLI/service plan.
docs/architecture/observability/README.md New observability architecture index linking to the supply-chain graph design doc.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/architecture/observability/supply-chain-graph.md Outdated
Comment thread docs/architecture/observability/supply-chain-graph.md Outdated
Comment thread docs/architecture/observability/supply-chain-graph.md Outdated
Comment thread docs/architecture/observability/supply-chain-graph.md Outdated
…elationship

Occurrence identity is now registry + repository + digest everywhere, so
cross-registry promotion chains (docker.io -> first.registry.io/quarantine/python
-> second.registry.io/quarantine/python) stay distinct nodes linked by edges with
no hop lost. Adds a 'How the envelope, artifacts, and events relate' subsection
with a diagram and a cross-registry promotion example. Refs #168.
@toddysm
toddysm merged commit 1a9342c into main Aug 10, 2026
3 checks passed
@toddysm
toddysm deleted the docs/supply-chain-graph-design branch August 10, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants