Deprecation and Versioning Policy
This policy defines how VulnParse-Pin (vpp) introduces, warns on, deprecates, and removes CLI options, parsers, pass contracts, and output schemas in a predictable, compatibility-safe way.
Scope
Applies to:
- CLI subcommands (13 total in
v2.1.1), flags, and exit code semantics - Parser selection behavior and parser lifecycle states (
PARSER_SPECS) - Pass output contracts under
derived(ACI@2.0,ACI@3.0,Scoring@3.0,Triage@2.0,Remediation@1.0,TopN@2.0,Summary@2.0) andMLPolicyV2governance - DuckDB workspace schema (
.vpp.db), JSON/CSV/Dossier/Roadmap/Remediation/Simulator artifacts, andRunManifestv2 contracts - Runtime security and filesystem defaults (
PermFileHandler, cache/model integrity, HTTP loopback &--allow-writecontrols, CSV sanitization)
Versioning & Licensing Model
Project releases follow semantic versioning (MAJOR.MINOR.PATCH):
- Patch (
x.y.Z): bug fixes, security hardening, and non-breaking improvements - Minor (
x.Y.z): additive features, new parsers/enrichers, and policy-safe behavior additions - Major (
X.y.z): breaking contract shifts, legacy shim removals, or major pipeline/license transitions
License boundary:
- v2.0.0 and later: Licensed under Apache License, Version 2.0 (
Apache-2.0). - v1.0.0 – v1.2.2: Historical releases remain under
AGPL-3.0-or-later.
Deprecation Cadence
Every planned deprecation follows three phases:
- Announce: Document the deprecation in
CHANGELOG.md, Upgrade and Migration, and this policy. - Warn: Emit clear runtime warnings (visible at standard
stderr/INFOlevels) identifying what is deprecated and its replacement. - Remove: Remove no earlier than the stated version window.
Default minimum deprecation window:
- At least one minor release between first runtime deprecation warning and removal.
- Breaking removals target a major release unless a security vulnerability or safety hazard requires accelerated removal.
Runtime Warning Requirements
Deprecated compatibility paths must:
- Identify the deprecated flag, format, or config structure.
- State the exact replacement command, flag, or schema version.
- Surface at normal operator log levels (or
stderrfor CLI compatibility shims).
Current Lifecycle Matrix (v2.1.1)
Parser Lifecycle (PARSER_SPECS)
| Parser Name | Formats | Status | Notes |
|---|---|---|---|
nessus-xml |
.xml, .nessus |
stable |
Streaming lxml.etree.iterparse |
openvas-xml |
.xml |
stable |
Streaming lxml.etree.iterparse |
qualys-xml |
.xml |
stable |
Streaming lxml.etree.iterparse |
nmap-xml |
.xml |
stable |
Streaming lxml.etree.iterparse |
sarif-2.1.0 |
.sarif, .json |
stable |
Streaming SARIF (Trivy, Grype, Semgrep, CodeQL, etc.) |
nuclei-jsonl |
.jsonl, .json |
stable |
Streaming Nuclei JSONL (active_dast) |
nessus-csv |
.csv |
stable |
Single-pass header-indexed CSV |
qualys-csv |
.csv |
stable |
Single-pass header-indexed CSV |
openvas-json |
.json |
experimental / deprecated |
Retained across v2.1.x; earliest removal target v3.0.0 |
nessus-json |
.json, .nessus |
experimental / deprecated |
Retained across v2.1.x; earliest removal target v3.0.0 |
Legacy CLI Compatibility Shim (v2.1.1)
In v2.1.1, top-level legacy v1 invocations continue to be rewritten by _preprocess_legacy_argv() with a one-line [DEPRECATED] notice on stderr:
vpp -f <file>/vpp --file <file>→vpp scan ...vpp --demo→vpp demo --no-ui ...(legacy OpenVAS + Nmap demo compatibility mode)vpp --verify-runmanifest <path>→vpp verify <path>vpp --debug-path-policy→vpp scan --debug-path-policy
Deprecation window: These top-level legacy shims remain retained in v2.1.x and will not be removed earlier than v3.0.0 unless otherwise announced in CHANGELOG.md. Note that --file / -f and --nmap-ctx also remain accepted inside vpp scan as compatibility aliases.
v2.1.0 CLI, Pass & Policy Guarantees
- Subcommand surface (
vpp gui,vpp ml,vpp mcp,vpp assets,vpp simulate): All five new subcommands introduced inv2.1.0followv2.xminor-release stability guarantees.vpp guiandvpp mcpremain strictly read-only by default (write operations require explicit--allow-write), and non-loopback HTTP binds fail closed unless--auth-token-envis configured. Remediation@1.0: Minimum-patch-set clustering and read-only simulation (vpp simulate,vpp export --format remediation-json|remediation-md|simulator-html) persist additiveremediation_actionsandremediation_action_findingstables and preserve compatibility on olderv2.0.x.vpp.dbworkspaces.ACI@3.0&MLPolicyV2:ml.modedefaults toshadowsoScoring@3.0numerical scores remain identical tov2.0.xunlessactiveis explicitly enabled. Signed ML model digests (ml_governance) are additive inRunManifestv2.
Legacy Configs & Pass Contracts
config.yaml/scoring.jsonversion: v1: Loaded with structured migration warnings duringv2.x;version: v2is standard for new deployments.- Canonical v1 IDs (
aid_v1_/fid_v1_): Preserved for in-memoryScanResultcompatibility; DuckDB.vpp.dband v2 passes emitaid_v2_/fid_v2_. - Pass Identifiers: v2.1 DuckDB runs emit
ACI@2.0,Scoring@3.0,Triage@2.0,Remediation@1.0,TopN@2.0, andSummary@2.0(withACI@3.0available for distilled ML capability inference). Legacy in-memoryScanResultpass paths retainScoring@2.0,ACI@1.0,TopN@1.0, andSummary@1.0compatibility.
Compatibility Contract Rules
- Stable parser and v2 pass contracts remain backward-compatible within minor
v2.xreleases. - New output fields in JSON exports, DuckDB views, and
RunManifestare additive where possible. - Removed or renamed flags, tables, or output fields require explicit migration notes in Upgrade and Migration and
CHANGELOG.md. - CLI removals must include side-by-side before/after migration examples.
Governance & Documentation Requirements
- Architecture-impacting deprecations require an ADR (ADR Workflow) and review against the Architecture Review Checklist.
- Emergency security or safety issues (for example XXE, symlink traversal, or cache tampering) may accelerate removal; rationale and immediate mitigations are documented in
CHANGELOG.mdandSECURITY.md.