changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": true,
+ "description": "Compact form by default. With verbose=true the full import record is spread onto the top level instead, and dry_run=true returns the same shape with nothing written.",
+ "properties": {
+ "applies_to": {
+ "description": "The pattern's declared fit: stacks, packages, and paths it targets."
+ },
+ "error": {
+ "additionalProperties": true,
+ "description": "Present only when ok is false.",
+ "properties": {
+ "code": {
+ "description": "Stable machine-readable failure code, for example insufficient_scope, workspace_id_required, rate_limited, not_found, or upstream_error. Branch on this, not on message text.",
+ "type": "string"
+ },
+ "detail": {
+ "description": "Optional structured context for the failure, for example { missing_scopes: [...] } on insufficient_scope."
+ },
+ "message": {
+ "description": "Human-readable explanation of the failure.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "human_message": {
+ "description": "One-line summary of the result, safe to relay to the user verbatim.",
+ "type": "string"
+ },
+ "imported": {
+ "description": "The pieces actually written, grouped by kind (memories, rules, skills)."
+ },
+ "ok": {
+ "description": "true when the call succeeded. false when it did not, in which case `error` carries the reason and the success fields are absent.",
+ "type": "boolean"
+ },
+ "skipped": {
+ "description": "Pieces not written, with the reason, for example an item that already existed."
+ },
+ "slug": {
+ "description": "Pattern slug that was imported.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "ok"
+ ],
+ "type": "object"
+}