Skip to content

feat(libvirt): publish configuration-bound realization envelopes#730

Merged
Brad-Edwards merged 3 commits into
devfrom
100-libvirt-realization-envelope
Jul 11, 2026
Merged

feat(libvirt): publish configuration-bound realization envelopes#730
Brad-Edwards merged 3 commits into
devfrom
100-libvirt-realization-envelope

Conversation

@Brad-Edwards

Copy link
Copy Markdown
Owner

Summary

Publishes configuration-bound realization envelopes for the generic and TechVault libvirt modes, binds their identity through planning and execution, and fails closed when configuration, manifest, plan, or snapshot claims disagree.

Requirement UIDs

  • ASR-519

Related Issues

Closes #100

ADR Impact

  • ADR-019 (amended)
  • ADR-070

Changes

  • Publish realization-envelope-v1 schemas, fixtures, semantic invariants, and governed generic and TechVault artifacts.
  • Derive libvirt manifest capabilities from the selected envelope and reject unknown, mismatched, broader, incomplete, or stale claims before driver I/O.
  • Carry envelope identity through plans, snapshots, API/storage paths, and narrow existing conformance language to the evidence actually observed.

Test Plan

  • Canonical nox verification passes
  • 3,104 unit tests pass with 92% coverage
  • 30 integration tests pass
  • Schema publication, generated-schema parity, authority, repository policy, and docs build pass
  • Pre-push Codex and test-quality reviews completed

Ground Control Checks

  • Repository policy passes
  • Ground Control quality gates pass
  • GRC screening records no security-relevant impact or gaps

Traceability

  • IMPLEMENTS: ASR-519 ← implementations/python/packages/aces_contracts/realization_envelope_carrier.py, ASR-519 ← implementations/python/packages/aces_backend_libvirt/target.py, ASR-519 ← implementations/python/packages/aces_backend_libvirt/provisioner.py, ASR-519 ← implementations/python/packages/aces_processor/planner.py
  • TESTS: ASR-519 ← implementations/python/tests/test_realization_envelope_contract.py, ASR-519 ← implementations/python/tests/test_libvirt_backend_envelopes.py, ASR-519 ← implementations/python/tests/test_libvirt_backend_provisioner.py

Checklist

  • Code follows project coding standards
  • Native driver I/O occurs only after envelope admission
  • Published contract and authority metadata are synchronized
  • Changelog fragment: N/A per repository plan rules; Conventional Commit history is the release signal
  • Architectural and conformance documentation updated

Documentation

Updated: formal semantics, backend conformance guidance, normative authority documentation, ADR-019, and ADR-070.

@sonarqubecloud

Copy link
Copy Markdown

@Brad-Edwards Brad-Edwards merged commit 7d48c05 into dev Jul 11, 2026
11 checks passed
@Brad-Edwards Brad-Edwards deleted the 100-libvirt-realization-envelope branch July 11, 2026 15:49
Brad-Edwards added a commit that referenced this pull request Jul 11, 2026
* feat(libvirt): publish configuration-bound realization envelopes (#730)

* Publish configuration-bound libvirt realization envelopes

* Fix SonarCloud findings (cycle 1)

* Fix SonarCloud findings (cycle 2)

* fix: reconcile normative SDL catalogs

* chore: trigger stacked PR checks
Brad-Edwards added a commit that referenced this pull request Jul 12, 2026
* feat(sdl)!: define canonical YAML source profile

* refactor(sdl): satisfy source-profile quality gate

* fix(sdl): make scalar validation branch explicit

* fix: reconcile normative SDL catalogs (#734)

* feat(libvirt): publish configuration-bound realization envelopes (#730)

* Publish configuration-bound libvirt realization envelopes

* Fix SonarCloud findings (cycle 1)

* Fix SonarCloud findings (cycle 2)

* fix: reconcile normative SDL catalogs

* chore: trigger stacked PR checks
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