qp-vault 1.0 locks the API. Three parameter renames are the only breaking changes.
Affects: add(), list(), update(), add_batch(), replace().
# v0.x (old)
vault.add("document.pdf", trust="canonical")
vault.list(trust="working")
vault.update(resource_id, trust="canonical")
# v1.0 (new)
vault.add("document.pdf", trust_tier="canonical")
vault.list(trust_tier="working")
vault.update(resource_id, trust_tier="canonical")Affects: search(), search_with_facets().
# v0.x (old)
results = vault.search("query", trust_min="working")
# v1.0 (new)
results = vault.search("query", min_trust_tier="working")Affects: VaultConfig TOML files and programmatic config.
# v0.x (old)
config = VaultConfig(layer_defaults={
"operational": LayerDefaults(trust="working"),
})
# v1.0 (new)
config = VaultConfig(layer_defaults={
"operational": LayerDefaults(trust_tier="working"),
})For most codebases, a find-and-replace handles it:
sed -i 's/trust="canonical"/trust_tier="canonical"/g' your_code.py
sed -i 's/trust="working"/trust_tier="working"/g' your_code.py
sed -i 's/trust="ephemeral"/trust_tier="ephemeral"/g' your_code.py
sed -i 's/trust="archived"/trust_tier="archived"/g' your_code.py
sed -i 's/trust_min=/min_trust_tier=/g' your_code.py
sed -i 's/LayerDefaults(trust=/LayerDefaults(trust_tier=/g' your_code.py- All model field names (
Resource.trust_tier,SearchResult.trust_tier) are unchanged - CLI flags (
--trust) are unchanged - Error codes (VAULT_000 through VAULT_700) are unchanged
- Storage schema is unchanged (no migration needed for databases)
- All Protocol interfaces are unchanged
- Encryption, Membrane, RBAC, and plugin APIs are unchanged
vault.upsert(source, name=...): add-or-replace atomicallyvault.get_multiple(resource_ids): batch retrieval in a single queryLLMScreenerProtocol + Membrane ADAPTIVE_SCAN (v0.16)- Classifier upgraded to Production/Stable