Skip to content

Replace CycloneDX 1.6 with 2.0-dev in ACS Inspect - #829

Open
e2hln wants to merge 2 commits into
GenAI-Security-Project:release/0.2from
e2hln:spec/670-cyclonedx-2-dev
Open

e2hln wants to merge 2 commits into
GenAI-Security-Project:release/0.2from
e2hln:spec/670-cyclonedx-2-dev

Conversation

@e2hln

@e2hln e2hln commented Dec 5, 2026

Copy link
Copy Markdown
Collaborator

What changed

Implements D-055 by replacing CycloneDX 1.6 with the pinned CycloneDX 2.0-dev revision as the ACS 0.2 AgBOM serialization target. Updates the handshake, embedded Go schemas, mapping rules, conformance and trace docs, examples, and Viewer tests. Includes follow-up fixes from review.

D-055 now records that CycloneDX exports declare "specVersion": "2.0-dev" and the handshake uses cyclonedx-2.0-dev until ACS validates the mapping against the final CycloneDX 2.0 schema.

The Inspect guide links to the AgBOM Viewer for sample JSON and use cases. This PR also includes follow-up fixes from review.

Which issue does this implement

Closes #670

  • This is an editorial correction (typo, grammar, link, formatting) with no change in meaning, so it needs no issue

Base branch

  • integration
  • release/0.2

Type of change

  • Specification change (schema, hooks, events, AgBOM)
  • Reference implementation or adapter
  • Documentation
  • Tooling or CI
  • Governance (licensing, security policy, contributor docs)

Specification changes

Breaking for implementers? Yes, for implementations that advertise or expect cyclonedx-1.6 in the ACS 0.2 handshake. Guardians that support the pinned draft can advertise cyclonedx-2.0-dev in ServerHello.agbom_serializations_supported. CycloneDX documents for that target declare "specVersion": "2.0-dev".

I tested this

  • I synced my branch with the base branch before opening this (96452fa)

  • uv run pytest -v passes on my machine

  • uv run mkdocs build --strict passes on my machine

  • Viewer browser and server suite before the documentation follow-up: 60 passed, 0 failed, 1 optional test skipped.

  • Mapping suite: 39 passed. All five public AgBOM exports and the worked example validated against CycloneDX commit adba3705c606173bcc2ba80969a3a90ae633835e.

  • Focused Python checks: 12 passed. The mapping schema also validated and matched its embedded Go copy byte for byte.

  • The full native Windows pytest run reported 9,365 passed, 24 failed, 6 skipped, and 1 xfailed. All 24 failing test IDs were also observed on clean upstream baselines. Refs [Bug] ACS repository pytest fails on native Windows #754.

Checklist

  • Commits are signed off with git commit -s (required by the DCO)
  • Prose follows STYLE.md
  • No secrets, tokens, or internal URLs in the diff

Security

  • This change has no security impact

e2hln added 2 commits December 4, 2026 18:43
Update the ACS 0.2 handshake capability, embedded Go schemas,
and AgBOM mapping for the pinned CycloneDX 2.0-dev revision.
Align the conformance and trace docs, examples, and Viewer tests.

Refs GenAI-Security-Project#670

Signed-off-by: Helen Oakley <69336525+e2hln@users.noreply.github.com>
Signed-off-by: Helen Oakley <69336525+e2hln@users.noreply.github.com>
@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown

This pull request's description says it closes #670, which is on the project roadmap. When it merges, GitHub closes that issue and the roadmap counts it as delivered. Please confirm the change delivers the whole issue before merging.

@acs-board-reconciler acs-board-reconciler Bot moved this from Needs triage to In progress in ACS Project Tracker Dec 6, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

1 participant