Upgrading to AAP 0.5.0
AAP 0.5.0 aligns theaap_version field across the entire Mnemom ecosystem — SDKs, schemas, fixtures, and examples all now default to "0.5.0". This release also introduces YAML policy authoring and the Trust Edges API.
This is a backward-compatible release. Existing cards with
aap_version: "0.1.0" continue to work. No breaking changes. We recommend updating your cards at your own pace.What Changed
| Area | Before | After |
|---|---|---|
aap_version default | "0.1.0" | "0.5.0" |
| Policy authoring | JSON only | JSON or YAML |
| Trust edges | Not available | GET/POST/DELETE /v1/agents/:id/trust-edges |
| Test fixtures | Mixed versions ("1.0", "0.1.0") | Consistent "0.5.0" |
Step 1: Update Your Alignment Cards
Update theaap_version field in your existing alignment cards from "0.1.0" to "0.5.0".
Via API
Via CLI
If you manage your card as a local JSON file, update theaap_version field and republish:
Via Dashboard
- Open the Mnemom dashboard
- Select your agent
- Open the Alignment Card panel
- Switch to the JSON editor
- Change
"aap_version": "0.1.0"to"aap_version": "0.5.0" - Click Save
Step 2: Update SDK Packages
Update to the latest SDK versions that default toaap_version: "0.5.0":
aap_version: "0.5.0" automatically.
New Feature: YAML Policy Authoring
The Mnemom API now accepts policies in YAML format alongside JSON. YAML policies are easier to read, support comments, and are the recommended format going forward.Before: JSON Only
After: YAML Supported
text/yaml and application/yaml content types are accepted. JSON remains fully supported — use whichever format fits your workflow.
New Feature: YAML Card Authoring
In addition to YAML policies, AAP 0.5.0 introduces YAML as an authoring format for alignment cards. Write your cards in YAML for readability, and they are stored as JSON in the database.YAML is an authoring format — the API converts it to JSON on ingest. Cards are always stored and returned as JSON. You can author in whichever format you prefer.
Complete YAML Card Example
Here is a full alignment card written in YAML:Publish via CLI
The CLI accepts both.yaml and .json card files:
Publish via Dashboard
The dashboard card editor now includes a YAML tab alongside the Visual and JSON editors:Navigate to your agent in the dashboard and open the Alignment Card panel.
Click the YAML tab at the top of the card editor. You can paste or write your card in YAML format directly.
New Feature: Trust Edges API
Trust edges define explicit trust relationships between agents. An agent can declare that it trusts another agent, creating a directed edge in the trust graph. Trust edges influence reputation propagation and coherence scoring.Create a Trust Edge
List Trust Edges
Remove a Trust Edge
low, medium, high. Higher trust levels give more weight to the target agent’s reputation in coherence calculations.
Checklist
Use this checklist to verify your upgrade is complete:If you version-control alignment card files (JSON or YAML), update
aap_version in those files and commit. Consider switching to YAML for better readability and inline comments.FAQ
Is this a breaking change?
Is this a breaking change?
No. Existing cards with
aap_version: "0.1.0" continue to work without modification. The API accepts both old and new version values. We recommend updating to "0.5.0" for consistency, but there is no deadline.Do I need to update all my agents at once?
Do I need to update all my agents at once?
No. You can update agents incrementally. Cards with different
aap_version values coexist without issues.Will my existing policies still work?
Will my existing policies still work?
Yes. Policies are unaffected by the
aap_version change. The new YAML support is additive — existing JSON policies continue to work as before.Can I mix JSON and YAML across cards and policies?
Can I mix JSON and YAML across cards and policies?
Yes. YAML support is per-file. You can author some cards in YAML and others in JSON, and the same goes for policies. The API normalizes everything to JSON on ingest, so there are no compatibility issues.
What happens if I don't upgrade?
What happens if I don't upgrade?
Nothing breaks. However, new SDK versions default to
"0.5.0", so new cards created via the SDK will use the new version. Keeping older cards at "0.1.0" is fine but may cause minor inconsistencies in reports.How do trust edges affect my reputation score?
How do trust edges affect my reputation score?
Trust edges influence how reputation signals propagate between agents. Declaring trust in a high-reputation agent has a small positive effect on coherence scoring. Declaring trust in a low-reputation agent has no negative effect — trust edges are additive.
Related
- Alignment Card Management — Creating and managing alignment cards
- Policy Management — Policy authoring in YAML and JSON
- Policy DSL Specification — Full normative schema for policy files
- Changelog — Full release history