Release 0.2.1: secure advisory sync and record-id hardening#8
Merged
machina-source merged 8 commits intomainfrom Feb 17, 2026
Merged
Release 0.2.1: secure advisory sync and record-id hardening#8machina-source merged 8 commits intomainfrom
machina-source merged 8 commits intomainfrom
Conversation
Add end-to-end support for signed-and-trusted attestations and make rollback records signed by default. CLI: new flags for provenance/export to require and validate signed attestations, trusted subject/issuer options, and rollback --sign/--no-sign with OIDC options. Core: store attestation records with schema and signature bundle path, verify DSSE statements via Sigstore, use hashed inputs for artifact signing/verification, compute attestation trust summaries, and trace lineage parents. Policy/advisory handling: advisory trust constraint helpers, advisory filtering when require_signed_advisories is set, and conformance checks/tests and docs updated to reflect the new semantics and quality bar. Tests updated/added to cover CLI behavior, attestation record roundtrip, advisory semantics, and lineage traversal.
Introduce multi-artifact bundle support and assurance profile gates. Adds CLI commands for bundle create/verify, profile option to `verify`, and provenance `--view` modes (trace|impact|explain) with descendant tracing and compact explanations. Add ArtifactBundle model and validate_bundle_payload, profile evaluation (evaluate_profile_requirements), export adapters for SLSA and ML-BOM, and helpers to summarize and traverse attestations. Update conformance checks, tests and docs to cover bundle/schema, invalid bundle rejection, profile requirements, new provenance views, and export formats.
Replace the 'profile' concept with 'assurance level' across the project. Documentation updated and files renamed (docs/PROFILES.md -> docs/ASSURANCE_LEVELS.md, docs/QUALITY_BAR.md -> docs/QUALITY.md), plus README and SECURITY.md references adjusted. CLI option --profile was changed to --assurance-level and the CLI now calls evaluate_assurance_level_requirements. Core API renamed ALLOWED_PROFILES -> ALLOWED_ASSURANCE_LEVELS and evaluate_profile_requirements -> evaluate_assurance_level_requirements with updated validation messages. Tests were updated to reflect the new terminology and gates.
Update README list formatting for readability and consistency: make the three audience headings bold and capitalize key items in the AI-native semantics list (Artifact typing, Lineage graphs, Advisory/recall workflows, Policy-driven verification). No functional changes to content, only presentation.
Introduce remote advisory feed ingestion with replay/freshness guards and policy helper tooling. Adds CLI commands: `advisory sync` (ingest signed advisory feeds, persist state, enforce monotonic integrated_time and optional max-bundle-age), `policy template` (generate assurance-level baseline policies) and `policy migrate` (upgrade existing policies to a target assurance level). Implements evaluate_advisory_sync_guards and wires conformance check advisory.sync.replay-freshness.v1. Improves bundle resolution/trust reporting, persists advisory sync state, updates docs (feed schema, assurance levels, conformance, quality, registries) and adds tests covering sync, templates, migration, and conformance. Files changed: CLI, core, conformance, docs, README and tests.
Replace the AIXV logo with the repository banner image URL and update the alt text to 'AIXV repository banner'. The change also removes the fixed width attribute from the image tag.
Adjust README copy and examples for clarity: update project name casing to "eXchange", bold the AIXV name, change maturity label to "Pre-Alpha", and re-order the SECURITY.md entry. Expand the CLI surface with many concrete example commands (version, sign, verify, attest, provenance, advisory, policy, record, bundle, conformance, rollback, export) to improve usability and documentation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
http://advisory feed/entry references (HTTPS-only remote sync)aixv.advisory-feed/v1record_idpattern^[A-Za-z0-9._-]{1,128}$to prevent path traversal footguns0.2.1and add changelog entryValidation
ruff check .ruff format --check .mypy srcpytest -q(40 passed)aixv conformance --jsonpython -m build(aixv-0.2.1 artifacts)