19 lines
1004 B
Markdown
19 lines
1004 B
Markdown
# Generation driver (stub) — SAMPLES-GRAPH-24-003
|
|
|
|
> Blocked: overlay schema + mock SBOM bundle list pending. Script outline only.
|
|
|
|
## Outline
|
|
1) Input bundle(s): scanner surface mock bundle v1 (or real caches when available).
|
|
2) Deterministic seeding: `RANDOM_SEED=424242`; time source frozen at `2025-11-22T00:00:00Z`.
|
|
3) Steps (once unblocked):
|
|
- Parse SBOM mock bundle, expand to node/edge sets following Graph schema.
|
|
- Generate policy overlay snapshot with placeholder verdicts until final fields confirmed.
|
|
- Write NDJSON (`nodes.ndjson`, `edges.ndjson`, `overlays/policy.ndjson`) sorted by `id`.
|
|
- Emit `manifest.json` with SHA-256, counts, timestamps.
|
|
- Add `verify.sh` to recompute hashes and validate counts.
|
|
|
|
## TODO when unblocked
|
|
- Fill overlay field mapping once Graph Guild confirms schema (checkpoint 2025-11-22).
|
|
- Confirm allowed mock SBOM source list with SBOM / Graph guilds.
|
|
- Implement generator script in Python or C# (deterministic ordering, no network access).
|