Skip to content

emit-sbom v1: implement SBOM dependency extraction from build.zig.zon #3

Closed

Description

@Eugene3dotdev

The v0 SBOM emitter (scripts/emit-sbom.zig) intentionally stubs dependency extraction: it refuses to publish an incomplete SBOM when the manifest declares .dependencies it cannot parse.

v1 scope:

  • Parse .dependencies entries from build.zig.zon (name, url/path, hash)
  • Emit them as CycloneDX components with pinned versions/hashes
  • Keep the refuse-to-publish guard for entries that fail to parse

Replaces the claude-zig-quality#TBD placeholders at scripts/emit-sbom.zig (refusal log + two TODOs).

Origin: CodeRabbit PR #1 review threads; parent plan Phase 5 decision item ("Decide whether scripts/emit-sbom.zig v1 TODOs are acceptable for this release or must become tracked issues").

Activity

  1. coderabbitai commented on Jun 12, 2026

    @coderabbitai
    🔗 Related PRs

    EugOT/synthfq#5 - chore(toolchain): pin Zig 0.16.0 stable via mise [closed]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  2. added a commit that references this issue on Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions