Skip to content

chore: v0.47.0 — declare x-FuSa spec v1.15.2 conformance - #85

Merged
SoundMatt merged 1 commit into
mainfrom
chore/spec-version-1.15.2
Jul 29, 2026
Merged

chore: v0.47.0 — declare x-FuSa spec v1.15.2 conformance#85
SoundMatt merged 1 commit into
mainfrom
chore/spec-version-1.15.2

Conversation

@SoundMatt

Copy link
Copy Markdown
Owner

Summary

  • Bumps SpecVersion from 1.15.0 to 1.15.2. Both intervening spec releases are pure documentation clarifications with no wire-format/behavior change (spec §14 changelog): v1.15.1 blessed the already-in-use MAJOR.MINOR.PATCH form as the correct schemaVersion/specVersion value; v1.15.2 added a worked example to §1.6.1 Rule A with no rule change.
  • Fixes SchemaVersion(), which truncated to a MAJOR.MINOR prefix instead of emitting SpecVersion verbatim — fmea.json/tara.json/.fusa-hara.json/safety-case.json/sas.json/sci.json were emitting "schemaVersion": "1.15" while every other document already emitted the full patch version. Now all document kinds emit the same spec-blessed MAJOR.MINOR.PATCH form.
  • Bumps Version to 0.47.0 and syncs README/tool-safety-manual version references; adds a CHANGELOG entry.

Test plan

  • go build ./...
  • go vet ./...
  • golangci-lint run ./... (0 issues)
  • go test ./... -cover (all packages pass, coverage unchanged from baseline)

Both intervening spec releases (1.15.0 -> 1.15.1 -> 1.15.2) are pure
documentation clarifications per §14 of the spec changelog, with no
wire-format or required-behavior change:

- v1.15.1 blessed the already-in-use MAJOR.MINOR.PATCH form as the
  correct schemaVersion/specVersion value (a tool emits its SpecVersion
  constant verbatim; compatibility is still judged on the MAJOR.MINOR
  prefix only).
- v1.15.2 added an explicit worked example to §1.6.1 Rule A with no
  rule change.

While confirming this, found that go-FuSa's own SchemaVersion() helper
truncated to a MAJOR.MINOR prefix instead of emitting SpecVersion
verbatim, so fmea.json/tara.json/.fusa-hara.json/safety-case.json/
sas.json/sci.json emitted "schemaVersion": "1.15" while every other
document (check/trace/qualify/report/gap-reports/sbom/provenance/
audit-pack/capabilities) already emitted the full patch version. Fixed
SchemaVersion() to return SpecVersion unmodified, aligning all document
kinds on the spec-blessed form.

Signed-off-by: Matt Jones <47545907+SoundMatt@users.noreply.github.com>
@SoundMatt
SoundMatt merged commit d22c13b into main Jul 29, 2026
16 checks passed
@SoundMatt
SoundMatt deleted the chore/spec-version-1.15.2 branch July 29, 2026 04:49
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.

1 participant