@agentproto/corpus-cli 0.11.4 → 0.11.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -426,7 +426,7 @@
426
426
  "kind": { "const": "agent" },
427
427
  "agent": {
428
428
  "type": "object",
429
- "description": "App-scoped agent id to resolve at compile time. Omit to spawn a plain `adapter` (no app-ref resolution) or reuse via `sessionRef`.",
429
+ "description": "App-scoped agent id to resolve at compile time. Omit to spawn a plain harness through the step's `adapter` key (no app-ref resolution) or reuse via `sessionRef`.",
430
430
  "required": ["ref"],
431
431
  "properties": {
432
432
  "ref": { "type": "string" }
@@ -435,7 +435,7 @@
435
435
  "prompt": { "type": "string" },
436
436
  "adapter": {
437
437
  "type": "string",
438
- "description": "Adapter slug for spawning a NEW session. Ignored (and unnecessary) when `agent.ref` resolves one for you. Omit both to reuse via `sessionRef`."
438
+ "description": "AIP-45 harness slug for spawning a NEW session. Ignored (and unnecessary) when `agent.ref` resolves one for you. Omit both to reuse via `sessionRef`. The key keeps the name `adapter` until the AIP-15 open question on the `harness` block is settled."
439
439
  },
440
440
  "sessionRef": {
441
441
  "type": "string",
@@ -492,7 +492,7 @@
492
492
  "options": {
493
493
  "type": "object",
494
494
  "additionalProperties": { "type": ["boolean", "number", "string"] },
495
- "description": "Manifest-declared adapter option id → value, forwarded to a NEW spawn's `startSession({ options })` — e.g. mastra-agent's `agent` option, set by `agent.ref` resolution at compile time. Only meaningful with `adapter`; ignored on a `sessionRef` reuse. May also be authored directly on the step."
495
+ "description": "Manifest-declared harness option id → value, forwarded to a NEW spawn's `startSession({ options })` — e.g. mastra-agent's `agent` option, set by `agent.ref` resolution at compile time. Only meaningful with `adapter`; ignored on a `sessionRef` reuse. May also be authored directly on the step."
496
496
  },
497
497
  "harness": { "$ref": "#/$defs/harness" }
498
498
  }
@@ -520,21 +520,21 @@
520
520
  },
521
521
  "harness": {
522
522
  "type": "object",
523
- "description": "Harness pinning for a `kind: \"agent\"` step's spawn. Precedence when a field is also set elsewhere: step `harness` (highest) > the resolved AGENT.md's own frontmatter > `app_run` caller args > the adapter's own default (lowest).",
523
+ "description": "Harness pinning for a `kind: \"agent\"` step's spawn. Precedence when a field is also set elsewhere: step `harness` (highest) > the resolved AGENT.md's own frontmatter > `app_run` caller args > the harness's own default (lowest).",
524
524
  "additionalProperties": false,
525
525
  "properties": {
526
526
  "model": { "type": "string", "description": "Model id override for this spawn." },
527
- "effort": { "type": "string", "description": "Reasoning-effort override for this spawn (adapter-defined vocabulary, e.g. \"low\" | \"medium\" | \"high\")." },
527
+ "effort": { "type": "string", "description": "Reasoning-effort override for this spawn (harness-defined vocabulary, e.g. \"low\" | \"medium\" | \"high\")." },
528
528
  "role": { "type": "string", "description": "Spawn-time role governing the child's tool-policy disposition (e.g. \"executor\" | \"supervisor\")." },
529
529
  "tools": {
530
530
  "type": "array",
531
531
  "items": { "type": "string" },
532
- "description": "Per-spawn tool allowlist. Applied where the resolved adapter supports a generic per-spawn allowlist mechanism; where it doesn't, the host records `toolsApplied: false` on the step's run record and emits a warning event instead of silently ignoring the field."
532
+ "description": "Per-spawn tool allowlist. Applied where the resolved harness supports a generic per-spawn allowlist mechanism; where it doesn't, the host records `toolsApplied: false` on the step's run record and emits a warning event instead of silently ignoring the field."
533
533
  },
534
534
  "skills": {
535
535
  "type": "array",
536
536
  "items": { "type": "string" },
537
- "description": "Skill ids auto-mounted into the spawn — adapters with no such option (e.g. claude-code, which auto-discovers skills) ignore it."
537
+ "description": "Skill ids auto-mounted into the spawn — harnesses with no such option (e.g. claude-code, which auto-discovers skills) ignore it."
538
538
  },
539
539
  "cwd": { "type": "string", "description": "Working directory override for this step's spawn; takes precedence over the run-level cwd." },
540
540
  "promptFile": { "type": "string", "description": "Read this file (relative to the WORKFLOW.md's directory) at load time and use its contents as the step's `prompt`, replacing any inline `prompt`." },
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "mode": {
56
56
  "enum": ["advisory", "voting", "peer", "hierarchy"],
57
- "description": "The collaboration pattern. ONE-WAY SWITCH: once set at any ancestor, descendants MUST NOT change to a different mode. Refusal: assembly_mode_change (HARD). 'advisory' = silent overlay producing persona fragments (the implemented anchor — Simone's Council); 'voting' = quorum decision body; 'peer' = network of equals exchanging messages; 'hierarchy' = reporting tree with bottom-up aggregation."
57
+ "description": "The collaboration pattern. ONE-WAY SWITCH: once set at any ancestor, descendants MUST NOT change to a different mode. Refusal: assembly_mode_change (HARD). 'advisory' = silent overlay producing persona fragments (the implemented anchor — Demo's Council); 'voting' = quorum decision body; 'peer' = network of equals exchanging messages; 'hierarchy' = reporting tree with bottom-up aggregation."
58
58
  },
59
59
  "members": {
60
60
  "type": "array",
@@ -94,7 +94,7 @@
94
94
  "matchMode": {
95
95
  "enum": ["substring", "regex", "semantic"],
96
96
  "default": "substring",
97
- "description": "Algorithm used to check outputs against lockedTraits. 'substring' (default, matches Simone v1) — case-insensitive substring match. 'regex' — RFC-3987-ish regex. 'semantic' — embedding match against the trait's semantic neighborhood; hosts that don't support semantic MUST fall back to substring with assembly_locked_trait_match_mode_unsupported warning."
97
+ "description": "Algorithm used to check outputs against lockedTraits. 'substring' (default, matches Demo v1) — case-insensitive substring match. 'regex' — RFC-3987-ish regex. 'semantic' — embedding match against the trait's semantic neighborhood; hosts that don't support semantic MUST fall back to substring with assembly_locked_trait_match_mode_unsupported warning."
98
98
  },
99
99
  "audit": {
100
100
  "type": "object",
@@ -0,0 +1,129 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://agentproto.sh/schemas/aip-36/PLACEMENT.schema.json",
4
+ "title": "Placement ladder (AIP-36 v1.4)",
5
+ "description": "Validates the `placement` input of a session spawn (AIP-36 v1.4 §Placement ladder): an ordered list of rungs, each a sandbox plus optional model / access / preflight / turnRetry overrides. Mirrors `placementInputSchema` in agentproto/ts `packages/runtime/src/placement-ladder.ts:36-40`. Mutually exclusive with a top-level `sandbox` on the same spawn.",
6
+ "type": "object",
7
+ "required": ["ladder"],
8
+ "additionalProperties": false,
9
+ "properties": {
10
+ "ladder": {
11
+ "type": "array",
12
+ "minItems": 1,
13
+ "maxItems": 8,
14
+ "items": { "$ref": "#/$defs/rung" },
15
+ "description": "Rungs, tried in order. 1 to 8 (MAX_PLACEMENT_RUNGS, placement-ladder.ts:17)."
16
+ }
17
+ },
18
+ "$defs": {
19
+ "rung": {
20
+ "type": "object",
21
+ "required": ["sandbox"],
22
+ "additionalProperties": false,
23
+ "description": "One placement choice (placement-ladder.ts:26-34). An axis the rung omits inherits the spawn's own top-level value (placement-ladder.ts:125-136).",
24
+ "properties": {
25
+ "sandbox": {
26
+ "description": "A provider slug, or an inline sandbox spec in the AIP-36 inline form (SANDBOX.schema.json). A rung always boots a fresh box: `reuse` is refused (placement-ladder.ts:115-120).",
27
+ "oneOf": [
28
+ { "type": "string", "minLength": 1 },
29
+ {
30
+ "type": "object",
31
+ "required": ["provider"],
32
+ "properties": {
33
+ "provider": { "type": "string", "minLength": 1 }
34
+ },
35
+ "not": { "required": ["reuse"] }
36
+ }
37
+ ]
38
+ },
39
+ "model": {
40
+ "type": "string",
41
+ "minLength": 1,
42
+ "description": "Model id for a session placed on this rung. A metered model id MUST be gated by an owner-controlled allowlist (AIP-36 v1.4 §5)."
43
+ },
44
+ "access": {
45
+ "type": "object",
46
+ "additionalProperties": false,
47
+ "description": "Auth profile override for this rung (AIP-69 profile refs).",
48
+ "properties": {
49
+ "profileRef": { "type": "string", "minLength": 1 },
50
+ "profileRefs": {
51
+ "type": "array",
52
+ "minItems": 1,
53
+ "items": { "type": "string", "minLength": 1 }
54
+ }
55
+ }
56
+ },
57
+ "preflight": {
58
+ "type": "array",
59
+ "items": { "type": "string", "minLength": 1 },
60
+ "description": "Preflight probe ids run on the booted box before the agent starts, in order, stopping at the first `ko` (AIP-36 v1.4 §2). An id no probe is registered under fails the spawn with `sandbox_preflight_invalid`, which ends the walk."
61
+ },
62
+ "turnRetry": {
63
+ "description": "Mid-run turn-retry policy for a session placed on this rung. Replaces, never merges with, the spawn's top-level `turnRetry`. `null` opts out. Mirrors `turnRetryInputSchema` (packages/runtime/src/turn-retry-policy.ts:199-230).",
64
+ "oneOf": [
65
+ { "type": "null" },
66
+ { "$ref": "#/$defs/turnRetry" }
67
+ ]
68
+ }
69
+ }
70
+ },
71
+ "turnRetry": {
72
+ "type": "object",
73
+ "required": ["on"],
74
+ "properties": {
75
+ "on": {
76
+ "type": "array",
77
+ "items": { "enum": ["rate-limit", "upstream-5xx", "no-output-stall", "usage-limit"] }
78
+ },
79
+ "action": { "enum": ["retry", "migrate"] },
80
+ "maxRetries": { "type": "integer", "minimum": 1 },
81
+ "baseDelayMs": { "type": "integer", "minimum": 0 },
82
+ "factor": { "type": "number", "minimum": 1 },
83
+ "maxDelayMs": { "type": "integer", "minimum": 0 },
84
+ "maxMigrations": { "type": "integer", "minimum": 0 },
85
+ "retryAfterToolCalls": { "type": "boolean" },
86
+ "rotate": {
87
+ "type": "array",
88
+ "maxItems": 16,
89
+ "items": {
90
+ "type": "object",
91
+ "required": ["model"],
92
+ "properties": {
93
+ "model": { "type": "string", "minLength": 1 },
94
+ "profileRef": { "type": "string", "minLength": 1 }
95
+ }
96
+ }
97
+ },
98
+ "rotateOn": {
99
+ "type": "array",
100
+ "minItems": 1,
101
+ "items": { "enum": ["rate-limit", "upstream-5xx", "no-output-stall", "usage-limit"] }
102
+ },
103
+ "cooldownMs": { "type": "integer", "minimum": 1 },
104
+ "fallback": {
105
+ "type": "array",
106
+ "maxItems": 16,
107
+ "description": "Ordered config overlays tried after same-config retries are exhausted; the reference implementation's subset of AIP-46 `ConfigOverlay`.",
108
+ "items": {
109
+ "type": "object",
110
+ "anyOf": [
111
+ { "required": ["model"] },
112
+ { "required": ["access"] },
113
+ { "required": ["harness"] }
114
+ ],
115
+ "properties": {
116
+ "model": { "type": "string", "minLength": 1 },
117
+ "access": {
118
+ "type": "object",
119
+ "required": ["profileRef"],
120
+ "properties": { "profileRef": { "type": "string", "minLength": 1 } }
121
+ },
122
+ "harness": { "type": "string", "minLength": 1 }
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+ }
@@ -30,10 +30,10 @@
30
30
  "type": "object",
31
31
  "additionalProperties": true,
32
32
  "properties": {
33
- "installAdapters": {
33
+ "installHarnesses": {
34
34
  "type": "array",
35
35
  "items": { "type": "string", "minLength": 1 },
36
- "description": "Semantic harness slugs to pre-install in the box at boot (e.g. [\"hermes\", \"claude-code\"]). Each expands to @agentproto/adapter-<slug>@latest plus that adapter's declared boot extras; a config.installPackages pin for the same package always wins. Additive — absent means no extra install."
36
+ "description": "Semantic harness slugs to pre-install in the box at boot (e.g. [\"hermes\", \"claude-code\"]). Each expands to @agentproto/harness-<slug>@latest plus that harness's declared boot extras; a config.installPackages pin for the same package always wins. Additive — absent means no extra install."
37
37
  }
38
38
  },
39
39
  "description": "Provider-specific connection fields. Shape varies per provider (see AIP-36 §Provider config shapes)."
@@ -80,7 +80,7 @@
80
80
  "type": "string",
81
81
  "pattern": "^(shared|auto|dedicated|[a-z0-9]{1,8})$",
82
82
  "default": "shared",
83
- "description": "Public source address for outbound traffic (AIP-36 v1.3): shared | auto | dedicated | pool slot id. A provider without an address pool MUST refuse any value other than shared with sandbox_egress_pool_unavailable."
83
+ "description": "Public source address for outbound traffic (AIP-36 v1.3): shared | auto | dedicated | pool slot id. A provider without an address pool MUST refuse any value other than shared with sandbox_egress_pool_unavailable. With auto, a provider given an egress health view skips slots cooling down for the session's model and fails with sandbox_egress_all_cooling, booting nothing, when every slot is cooling (AIP-36 v1.4 §3)."
84
84
  }
85
85
  }
86
86
  },
@@ -248,12 +248,12 @@
248
248
  "properties": {
249
249
  "agent": {
250
250
  "type": "object",
251
- "required": ["adapter", "prompt"],
251
+ "required": ["harness", "prompt"],
252
252
  "additionalProperties": false,
253
253
  "properties": {
254
- "adapter": { "type": "string", "minLength": 1, "description": "Agent adapter slug (e.g. 'claude-code', 'hermes')." },
254
+ "harness": { "type": "string", "minLength": 1, "description": "AIP-45 harness slug (e.g. 'claude-code', 'hermes')." },
255
255
  "prompt": { "type": "string", "minLength": 1, "description": "Initial prompt / consigne sent to the spawned agent." },
256
- "model": { "type": "string", "minLength": 1, "description": "Optional model identifier forwarded to the adapter." },
256
+ "model": { "type": "string", "minLength": 1, "description": "Optional model identifier forwarded to the harness." },
257
257
  "cwd": { "type": "string", "minLength": 1, "description": "Working directory for the spawned session." }
258
258
  }
259
259
  }
@@ -74,11 +74,11 @@
74
74
  "confinedReadPaths": {
75
75
  "type": "array",
76
76
  "items": { "type": "string", "minLength": 1 },
77
- "description": "READ-only paths an OS-confined spawn needs to boot (e.g. the CLI's own global config files under $HOME, which the sandbox denies). `~/...` anchors at the operator's home; a leading `$VAR`/`${VAR}` is read from the per-spawn env and dropped when unset. Never grants write access; mutable state belongs in the adapter's state home."
77
+ "description": "READ-only paths an OS-confined spawn needs to boot (e.g. the CLI's own global config files under $HOME, which the sandbox denies). `~/...` anchors at the operator's home; a leading `$VAR`/`${VAR}` is read from the per-spawn env and dropped when unset. Never grants write access; mutable state belongs in the harness's state home."
78
78
  },
79
79
  "protocol": {
80
80
  "enum": ["acp", "mcp", "proprietary"],
81
- "description": "Wire protocol discriminator. acp = AIP-44 ACP server; mcp = MCP-over-stdio; proprietary = adapter package implements AgentCliClient."
81
+ "description": "Wire protocol discriminator. acp = AIP-44 ACP server; mcp = MCP-over-stdio; proprietary = harness package implements AgentCliClient."
82
82
  },
83
83
  "acp": {
84
84
  "type": "string",
@@ -96,7 +96,7 @@
96
96
  "url": { "type": "string", "format": "uri" }
97
97
  }
98
98
  },
99
- "adapter": {
99
+ "harness": {
100
100
  "type": "string",
101
101
  "pattern": "^@?[a-z0-9][a-z0-9\\-./]*$",
102
102
  "description": "NPM package name implementing AgentCliClient. REQUIRED when protocol=proprietary."
@@ -158,7 +158,7 @@
158
158
  },
159
159
  {
160
160
  "if": { "properties": { "protocol": { "const": "proprietary" } }, "required": ["protocol"] },
161
- "then": { "required": ["adapter"] }
161
+ "then": { "required": ["harness"] }
162
162
  },
163
163
  {
164
164
  "if": {
@@ -314,16 +314,16 @@
314
314
  "type": "object",
315
315
  "additionalProperties": false,
316
316
  "required": ["id"],
317
- "description": "A model id annotated with who serves/bills it and how this adapter reaches it. A bare string (still legal) leaves provider unstated — the projector MUST NOT guess one.",
317
+ "description": "A model id annotated with who serves/bills it and how this harness reaches it. A bare string (still legal) leaves provider unstated — the projector MUST NOT guess one.",
318
318
  "properties": {
319
319
  "id": { "type": "string", "description": "Model id, unchanged on the wire — this is annotation, not renaming." },
320
320
  "provider": { "type": "string", "description": "ProviderPreset id (or direct provider, e.g. \"anthropic\") — who serves and bills this model. Omit when unstated." },
321
- "mode": { "type": "string", "description": "This adapter's mode id that routes to `provider` (e.g. \"moonshot\"). Omit when the adapter routes on its own (e.g. a model-id prefix) or needs no mode switch." }
321
+ "mode": { "type": "string", "description": "This harness's mode id that routes to `provider` (e.g. \"moonshot\"). Omit when the harness routes on its own (e.g. a model-id prefix) or needs no mode switch." }
322
322
  }
323
323
  }
324
324
  ]
325
325
  },
326
- "description": "Model ids the host MAY route to. Each entry is either a bare id (provider unstated, adapter default) or a { id, provider?, mode? } binding declaring who serves it and which adapter mode reaches it."
326
+ "description": "Model ids the host MAY route to. Each entry is either a bare id (provider unstated, harness default) or a { id, provider?, mode? } binding declaring who serves it and which harness mode reaches it."
327
327
  },
328
328
  "env": {
329
329
  "type": "object",
@@ -558,7 +558,7 @@
558
558
  "scrubEnv": {
559
559
  "type": "array",
560
560
  "items": { "type": "string" },
561
- "description": "Env vars to scrub when this preset is active. Optional — an adapter that scrubs in code may omit it. Not surfaced to catalog clients."
561
+ "description": "Env vars to scrub when this preset is active. Optional — a harness that scrubs in code may omit it. Not surfaced to catalog clients."
562
562
  },
563
563
  "defaultModel": { "type": "string", "description": "Conventional default model id for this provider, if any." },
564
564
  "homepage": { "type": "string", "description": "Optional homepage/docs URL for the catalog UI." }
@@ -62,7 +62,13 @@
62
62
  }
63
63
  },
64
64
  "allowFreeText": { "type": "boolean", "description": "A typed answer is accepted: the caller selects freeTextOptionId and puts the text in the resolution's feedback." },
65
- "freeTextOptionId": { "type": "string", "minLength": 1, "description": "REQUIRED when allowFreeText is true. MUST appear in the event's options." }
65
+ "freeTextOptionId": { "type": "string", "minLength": 1, "description": "REQUIRED when allowFreeText is true. MUST appear in the event's options." },
66
+ "fields": {
67
+ "type": "array",
68
+ "minItems": 1,
69
+ "items": { "$ref": "#/$defs/questionField" },
70
+ "description": "Multi-field question (2026-11-03). When present it is the source of truth: the caller answers with respondPermission(toolCallId, { answers }) keyed by field id, and the legacy members (prompt as the overall message, choices, allowFreeText, freeTextOptionId) are a projection for consumers that predate it."
71
+ }
66
72
  },
67
73
  "allOf": [
68
74
  {
@@ -70,11 +76,46 @@
70
76
  "then": { "required": ["freeTextOptionId"] }
71
77
  },
72
78
  {
73
- "if": { "properties": { "allowFreeText": { "const": false } }, "required": ["allowFreeText"] },
79
+ "if": {
80
+ "properties": { "allowFreeText": { "const": false } },
81
+ "required": ["allowFreeText"],
82
+ "not": { "required": ["fields"] }
83
+ },
74
84
  "then": { "properties": { "choices": { "minItems": 1 } } }
75
85
  }
76
86
  ]
77
87
  },
88
+ "questionField": {
89
+ "type": "object",
90
+ "additionalProperties": false,
91
+ "required": ["id", "input", "prompt"],
92
+ "description": "One question of a multi-field prompt. For an ACP form elicitation, one schema property.",
93
+ "properties": {
94
+ "id": { "type": "string", "minLength": 1, "description": "Stable key, unique in the prompt. For an ACP elicitation: the schema property key." },
95
+ "input": { "enum": ["single", "multi", "text", "boolean", "number"] },
96
+ "header": { "type": "string", "description": "Short chip label." },
97
+ "prompt": { "type": "string", "minLength": 1, "description": "The question text for this field." },
98
+ "choices": {
99
+ "type": "array",
100
+ "items": {
101
+ "type": "object",
102
+ "additionalProperties": false,
103
+ "required": ["value", "label"],
104
+ "properties": {
105
+ "value": { "type": "string", "description": "What goes back to the harness." },
106
+ "label": { "type": "string", "minLength": 1 },
107
+ "description": { "type": "string" },
108
+ "preview": { "type": "string" }
109
+ }
110
+ }
111
+ },
112
+ "allowFreeText": { "type": "boolean", "description": "single / multi: the user may type an answer instead of, or in addition to, a choice." },
113
+ "required": { "type": "boolean" },
114
+ "recommended": { "type": "string", "description": "Daemon recommendation, a choices[].value. Never guessed by a client." }
115
+ },
116
+ "if": { "properties": { "input": { "enum": ["single", "multi"] } } },
117
+ "then": { "required": ["choices"], "properties": { "choices": { "minItems": 1 } } }
118
+ },
78
119
  "planApprovalRequest": {
79
120
  "type": "object",
80
121
  "additionalProperties": false,
@@ -92,7 +133,7 @@
92
133
  "type": "object",
93
134
  "additionalProperties": false,
94
135
  "required": ["kind", "sessionId", "toolCallId", "options"],
95
- "description": "The agent asks the caller to choose among options. Answered with respondPermission(toolCallId, { optionId, feedback? } | { cancelled: true }).",
136
+ "description": "The agent asks the caller to choose among options. Answered with respondPermission(toolCallId, { optionId, feedback? } | { answers } | { cancelled: true }); answers only for a question with fields.",
96
137
  "properties": {
97
138
  "kind": { "const": "agent-prompt" },
98
139
  "sessionId": { "type": "string", "minLength": 1 },
@@ -16,12 +16,6 @@
16
16
  "minLength": 1,
17
17
  "description": "AIP-45 harness slug."
18
18
  },
19
- "adapter": {
20
- "type": "string",
21
- "minLength": 1,
22
- "deprecated": true,
23
- "description": "Legacy alias of `harness` (AIP-70). A config MUST NOT carry both."
24
- },
25
19
  "model": {
26
20
  "type": "string",
27
21
  "minLength": 1,
@@ -88,7 +82,7 @@
88
82
  "profileRef": {
89
83
  "type": "string",
90
84
  "minLength": 1,
91
- "description": "AIP-69 auth profile id."
85
+ "description": "AIP-69 auth profile id, or an account slot `slot:<name>`: a named indirection resolved through the host config map `accountSlots` (slot name, no dot -> real auth profile id) at the moment of use (spawn, restart, turn-retry fallback). An unknown slot, or one naming a missing or disabled profile, is an error at use time, never a silent fallback. The session records the real profile it bills and, separately, the slot it asked for (`accessSlot`)."
92
86
  }
93
87
  }
94
88
  },
@@ -96,12 +90,6 @@
96
90
  "type": "object",
97
91
  "description": "Harness-native AIP-45 options, validated against the harness manifest."
98
92
  }
99
- },
100
- "not": {
101
- "required": [
102
- "harness",
103
- "adapter"
104
- ]
105
93
  }
106
94
  },
107
95
  "FailureClass": {
@@ -127,12 +115,6 @@
127
115
  "minLength": 1,
128
116
  "description": "AIP-45 harness slug."
129
117
  },
130
- "adapter": {
131
- "type": "string",
132
- "minLength": 1,
133
- "deprecated": true,
134
- "description": "Legacy alias of `harness` (AIP-70). A config MUST NOT carry both."
135
- },
136
118
  "model": {
137
119
  "type": "string",
138
120
  "minLength": 1,
@@ -199,7 +181,7 @@
199
181
  "profileRef": {
200
182
  "type": "string",
201
183
  "minLength": 1,
202
- "description": "AIP-69 auth profile id."
184
+ "description": "AIP-69 auth profile id, or an account slot `slot:<name>`: a named indirection resolved through the host config map `accountSlots` (slot name, no dot -> real auth profile id) at the moment of use (spawn, restart, turn-retry fallback). An unknown slot, or one naming a missing or disabled profile, is an error at use time, never a silent fallback. The session records the real profile it bills and, separately, the slot it asked for (`accessSlot`)."
203
185
  }
204
186
  }
205
187
  },
@@ -237,12 +219,6 @@
237
219
  "$ref": "#/$defs/ConfigOverlay"
238
220
  }
239
221
  }
240
- },
241
- "not": {
242
- "required": [
243
- "harness",
244
- "adapter"
245
- ]
246
222
  }
247
223
  },
248
224
  "SessionPreset": {
@@ -10,9 +10,9 @@
10
10
  "ref": {
11
11
  "type": "string",
12
12
  "pattern": "^[A-Z0-9][A-Z0-9_]{1,79}$",
13
- "description": "Unique, human-readable key. Convention `<ORIGIN>_<SYMBOL>` (GUILDE_CREDITS, ERC20_USDT, SPL_USDC) or a bare ISO-4217 code (USD, EUR)."
13
+ "description": "Unique, human-readable key. Convention `<ORIGIN>_<SYMBOL>` (ACME_CREDITS, ERC20_USDT, SPL_USDC) or a bare ISO-4217 code (USD, EUR)."
14
14
  },
15
- "name": { "type": "string", "minLength": 1, "description": "Display name, e.g. \"Guilde Credits\"." },
15
+ "name": { "type": "string", "minLength": 1, "description": "Display name, e.g. \"Acme Credits\"." },
16
16
  "symbol": { "type": "string", "minLength": 1, "description": "Short ticker, e.g. GCR." },
17
17
  "decimals": {
18
18
  "type": "integer",