Skip to content

Comments

Release 0.2.1: secure advisory sync and record-id hardening#8

Merged
machina-source merged 8 commits intomainfrom
dev
Feb 17, 2026
Merged

Release 0.2.1: secure advisory sync and record-id hardening#8
machina-source merged 8 commits intomainfrom
dev

Conversation

@machina-source
Copy link
Contributor

@machina-source machina-source commented Feb 17, 2026

Summary

  • reject insecure http:// advisory feed/entry references (HTTPS-only remote sync)
  • require advisory feed schema aixv.advisory-feed/v1
  • enforce safe record_id pattern ^[A-Za-z0-9._-]{1,128}$ to prevent path traversal footguns
  • add tests for insecure feed rejection and unsafe record-id rejection
  • bump version to 0.2.1 and add changelog entry

Validation

  • ruff check .
  • ruff format --check .
  • mypy src
  • pytest -q (40 passed)
  • aixv conformance --json
  • python -m build (aixv-0.2.1 artifacts)

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.
@machina-source machina-source merged commit a7f1c5f into main Feb 17, 2026
5 checks passed
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