@sema-agent/settings-schema 34.0.0 → 35.0.0
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.
- package/CHANGELOG.md +648 -0
- package/README.md +86 -39
- package/conformance/VERSION +1 -1
- package/conformance/cases/c100-a2a-inside-stale-fingerprint-dropped/expected.json +101 -0
- package/conformance/cases/c100-a2a-inside-stale-fingerprint-dropped/input.json +28 -0
- package/conformance/cases/c100-a2a-inside-stale-fingerprint-dropped/meta.json +6 -0
- package/conformance/cases/c101-a2a-inside-incomplete-dropped/expected.json +113 -0
- package/conformance/cases/c101-a2a-inside-incomplete-dropped/input.json +38 -0
- package/conformance/cases/c101-a2a-inside-incomplete-dropped/meta.json +6 -0
- package/conformance/cases/c102-a2a-inside-incomplete-zero-survivors/expected.json +85 -0
- package/conformance/cases/c102-a2a-inside-incomplete-zero-survivors/input.json +34 -0
- package/conformance/cases/c102-a2a-inside-incomplete-zero-survivors/meta.json +6 -0
- package/conformance/cases/c103-mcp-caller-meta-declared/expected.json +106 -0
- package/conformance/cases/c103-mcp-caller-meta-declared/input.json +28 -0
- package/conformance/cases/c103-mcp-caller-meta-declared/meta.json +6 -0
- package/conformance/cases/c98-a2a-registration-keys-carried/expected.json +163 -0
- package/conformance/cases/c98-a2a-registration-keys-carried/input.json +42 -0
- package/conformance/cases/c98-a2a-registration-keys-carried/meta.json +6 -0
- package/conformance/cases/c99-a2a-preapproval-on-outside-peer-dropped/expected.json +100 -0
- package/conformance/cases/c99-a2a-preapproval-on-outside-peer-dropped/input.json +23 -0
- package/conformance/cases/c99-a2a-preapproval-on-outside-peer-dropped/meta.json +6 -0
- package/dist/a2a-peer-identity.d.ts +116 -0
- package/dist/a2a-peer-identity.js +182 -0
- package/dist/api/credentials.d.ts +94 -14
- package/dist/api/credentials.js +33 -8
- package/dist/atomic-write.d.ts +9 -3
- package/dist/atomic-write.js +14 -6
- package/dist/catalog-manages.js +2 -2
- package/dist/config-d-file.d.ts +0 -3
- package/dist/config-d-file.js +1 -6
- package/dist/config-dir-migration.js +0 -1
- package/dist/config-document-refusal.d.ts +1 -1
- package/dist/config-fns.d.ts +21 -8
- package/dist/config-fns.js +16 -3
- package/dist/config-root-documents.d.ts +3 -54
- package/dist/config-root-documents.js +24 -21
- package/dist/config-root-node.d.ts +2 -96
- package/dist/config-root-node.js +15 -163
- package/dist/conformance/warnings.js +1 -1
- package/dist/conformance/web-admin-credential-lock.js +3 -2
- package/dist/cross-session.d.ts +2 -2
- package/dist/env-model-table.d.ts +3 -3
- package/dist/env-model-table.js +5 -5
- package/dist/fleet.d.ts +5 -5
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/mcp-request-entry.d.ts +19 -0
- package/dist/mcp-request-entry.js +15 -13
- package/dist/migration-receipt.d.ts +9 -11
- package/dist/migration-receipt.js +4 -5
- package/dist/node.d.ts +3 -3
- package/dist/node.js +3 -3
- package/dist/one-time-migrations.d.ts +3 -4
- package/dist/one-time-migrations.js +3 -28
- package/dist/plugin-id-segment.d.ts +15 -0
- package/dist/plugin-id-segment.js +15 -0
- package/dist/plugin-settings.d.ts +61 -0
- package/dist/plugin-settings.js +111 -0
- package/dist/retired-envs.js +5 -0
- package/dist/safety-merge-spec.d.ts +23 -2
- package/dist/safety-merge-spec.js +13 -0
- package/dist/scheduler-store-node.d.ts +14 -11
- package/dist/scheduler-store-node.js +22 -34
- package/dist/scheduler-store.d.ts +21 -6
- package/dist/scheduler-store.js +100 -19
- package/dist/settings-units.d.ts +9 -0
- package/dist/settings-units.js +12 -7
- package/dist/types.d.ts +53 -4
- package/dist/types.js +79 -4
- package/docs/API-SURFACE.md +51 -11
- package/docs/CC-DIVERGENCE.md +2 -1
- package/docs/CONFORMANCE.md +4 -4
- package/docs/CONSUMER-INTEGRATION.md +158 -13
- package/llms-full.txt +47 -18
- package/llms.txt +18 -7
- package/package.json +7 -3
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domains": {
|
|
3
|
+
"outcome": "effective",
|
|
4
|
+
"effective": {
|
|
5
|
+
"a2a": {
|
|
6
|
+
"peers": []
|
|
7
|
+
},
|
|
8
|
+
"collab": {
|
|
9
|
+
"templates": []
|
|
10
|
+
},
|
|
11
|
+
"entitlement": {
|
|
12
|
+
"budgetGroups": [],
|
|
13
|
+
"groupBindings": [],
|
|
14
|
+
"subjects": [],
|
|
15
|
+
"tiers": []
|
|
16
|
+
},
|
|
17
|
+
"execution": {
|
|
18
|
+
"allowedLanes": [
|
|
19
|
+
"host"
|
|
20
|
+
],
|
|
21
|
+
"required": false
|
|
22
|
+
},
|
|
23
|
+
"governance": {},
|
|
24
|
+
"hosts": {
|
|
25
|
+
"hosts": []
|
|
26
|
+
},
|
|
27
|
+
"limits": {},
|
|
28
|
+
"mcp": {
|
|
29
|
+
"servers": []
|
|
30
|
+
},
|
|
31
|
+
"models": {
|
|
32
|
+
"atMention": {
|
|
33
|
+
"mode": "all"
|
|
34
|
+
},
|
|
35
|
+
"models": [],
|
|
36
|
+
"roles": {},
|
|
37
|
+
"tierGroups": []
|
|
38
|
+
},
|
|
39
|
+
"plugins": {
|
|
40
|
+
"plugins": []
|
|
41
|
+
},
|
|
42
|
+
"projects": {
|
|
43
|
+
"projects": {}
|
|
44
|
+
},
|
|
45
|
+
"prompts": {},
|
|
46
|
+
"rosters": {
|
|
47
|
+
"rosters": []
|
|
48
|
+
},
|
|
49
|
+
"scenarios": {
|
|
50
|
+
"scenarios": []
|
|
51
|
+
},
|
|
52
|
+
"skills": {
|
|
53
|
+
"skills": []
|
|
54
|
+
},
|
|
55
|
+
"systems": {
|
|
56
|
+
"systems": []
|
|
57
|
+
},
|
|
58
|
+
"workers": {
|
|
59
|
+
"workers": []
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"warnings": [
|
|
63
|
+
{
|
|
64
|
+
"domain": "a2a",
|
|
65
|
+
"kind": "domain-defaulted"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"metadata": {
|
|
69
|
+
"version": 30,
|
|
70
|
+
"updatedAt": "2026-11-17T00:00:00.000Z"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"strictWrite": {
|
|
74
|
+
"outcome": "rejected",
|
|
75
|
+
"stage": "validate",
|
|
76
|
+
"why": "拒:名册里两条内部条目都登记不完备(principal_header_missing / id_missing);读腿零幸存者 ⇒ 整域按缺省读(空名册 + domain-defaulted),严写 ⇒ 整份不受理。"
|
|
77
|
+
},
|
|
78
|
+
"wire": {
|
|
79
|
+
"derive": true
|
|
80
|
+
},
|
|
81
|
+
"localRoot": {
|
|
82
|
+
"derive": true,
|
|
83
|
+
"localVersion": 45548044072782
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"version": 30,
|
|
4
|
+
"updatedAt": "2026-11-17T00:00:00.000Z"
|
|
5
|
+
},
|
|
6
|
+
"domains": {
|
|
7
|
+
"a2a": {
|
|
8
|
+
"peers": [
|
|
9
|
+
{
|
|
10
|
+
"name": "billing",
|
|
11
|
+
"url": "https://billing.internal.example/a2a",
|
|
12
|
+
"id": "peer-billing-01",
|
|
13
|
+
"boundary": "inside",
|
|
14
|
+
"fingerprint": "720c5b110eab3e43cb5dbb22cc7820f6.0949683e0604f4f4ed4dcdc13690fc5e",
|
|
15
|
+
"ownerTeam": "Finance platform",
|
|
16
|
+
"allowSkills": [
|
|
17
|
+
"reconcile"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "ledger",
|
|
22
|
+
"url": "https://billing.internal.example/a2a",
|
|
23
|
+
"boundary": "inside",
|
|
24
|
+
"fingerprint": "720c5b110eab3e43cb5dbb22cc7820f6.0949683e0604f4f4ed4dcdc13690fc5e",
|
|
25
|
+
"ownerTeam": "Finance platform",
|
|
26
|
+
"principalHeader": "X-Principal",
|
|
27
|
+
"allowSkills": [
|
|
28
|
+
"reconcile"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contributor": "contract",
|
|
3
|
+
"claim": "名册里每一条都是登记不完备的内部条目(同 c101 的前两条:一条缺 `principalHeader`、一条缺 `id`)⇒ 零幸存者律:读腿不凭空造出空名册之外的东西,整域按读不进的档位读 —— 空名册 + 一条 `domain-defaulted`(不是两条 `entry-dropped`);严写整份拒。打的是:把零幸存者当逐条丢处置的读者(报两条丢弃、名册里却什么都没有),以及整域读不进时退回「剥掉问题照装」的读者。",
|
|
4
|
+
"firstRedOn": [],
|
|
5
|
+
"note": "firstRedOn 为空:入库的 historical 阶梯不覆盖这一批的新键。`domain-defaulted` 上触发条目的原因词与逐条问题词(`reasonCode: \"entry-registration-refused\"`、`registrationProblems`)是诊断键、不进投影,由 test/a2a-peer-registration.test.ts 钉着。"
|
|
6
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domains": {
|
|
3
|
+
"outcome": "effective",
|
|
4
|
+
"effective": {
|
|
5
|
+
"a2a": {
|
|
6
|
+
"peers": []
|
|
7
|
+
},
|
|
8
|
+
"collab": {
|
|
9
|
+
"templates": []
|
|
10
|
+
},
|
|
11
|
+
"entitlement": {
|
|
12
|
+
"budgetGroups": [],
|
|
13
|
+
"groupBindings": [],
|
|
14
|
+
"subjects": [],
|
|
15
|
+
"tiers": []
|
|
16
|
+
},
|
|
17
|
+
"execution": {
|
|
18
|
+
"allowedLanes": [
|
|
19
|
+
"host"
|
|
20
|
+
],
|
|
21
|
+
"required": false
|
|
22
|
+
},
|
|
23
|
+
"governance": {},
|
|
24
|
+
"hosts": {
|
|
25
|
+
"hosts": []
|
|
26
|
+
},
|
|
27
|
+
"limits": {},
|
|
28
|
+
"mcp": {
|
|
29
|
+
"servers": [
|
|
30
|
+
{
|
|
31
|
+
"callerMeta": true,
|
|
32
|
+
"elicitation": false,
|
|
33
|
+
"enabled": true,
|
|
34
|
+
"name": "announced",
|
|
35
|
+
"rosters": [],
|
|
36
|
+
"scenarios": [],
|
|
37
|
+
"transport": {
|
|
38
|
+
"command": "c",
|
|
39
|
+
"kind": "stdio"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"models": {
|
|
45
|
+
"atMention": {
|
|
46
|
+
"mode": "all"
|
|
47
|
+
},
|
|
48
|
+
"models": [],
|
|
49
|
+
"roles": {},
|
|
50
|
+
"tierGroups": []
|
|
51
|
+
},
|
|
52
|
+
"plugins": {
|
|
53
|
+
"plugins": []
|
|
54
|
+
},
|
|
55
|
+
"projects": {
|
|
56
|
+
"projects": {}
|
|
57
|
+
},
|
|
58
|
+
"prompts": {},
|
|
59
|
+
"rosters": {
|
|
60
|
+
"rosters": []
|
|
61
|
+
},
|
|
62
|
+
"scenarios": {
|
|
63
|
+
"scenarios": []
|
|
64
|
+
},
|
|
65
|
+
"skills": {
|
|
66
|
+
"skills": []
|
|
67
|
+
},
|
|
68
|
+
"systems": {
|
|
69
|
+
"systems": []
|
|
70
|
+
},
|
|
71
|
+
"workers": {
|
|
72
|
+
"workers": []
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"warnings": [
|
|
76
|
+
{
|
|
77
|
+
"domain": "mcp",
|
|
78
|
+
"identity": {
|
|
79
|
+
"name": "stringly"
|
|
80
|
+
},
|
|
81
|
+
"kind": "entry-dropped",
|
|
82
|
+
"path": [
|
|
83
|
+
"servers",
|
|
84
|
+
1
|
|
85
|
+
],
|
|
86
|
+
"reasonCode": "entry-schema-invalid"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"metadata": {
|
|
90
|
+
"version": 34,
|
|
91
|
+
"updatedAt": "2026-11-24T00:00:00.000Z"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"strictWrite": {
|
|
95
|
+
"outcome": "rejected",
|
|
96
|
+
"stage": "validate",
|
|
97
|
+
"why": "拒:`callerMeta` 只收布尔,字符串 `\"true\"` 不读成任一边(与引擎判官同答);读腿逐条丢那一台(entry-dropped),严写 ⇒ 整份不受理。"
|
|
98
|
+
},
|
|
99
|
+
"wire": {
|
|
100
|
+
"derive": true
|
|
101
|
+
},
|
|
102
|
+
"localRoot": {
|
|
103
|
+
"derive": true,
|
|
104
|
+
"localVersion": 2150350812194851
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"version": 34,
|
|
4
|
+
"updatedAt": "2026-11-24T00:00:00.000Z"
|
|
5
|
+
},
|
|
6
|
+
"domains": {
|
|
7
|
+
"mcp": {
|
|
8
|
+
"servers": [
|
|
9
|
+
{
|
|
10
|
+
"name": "announced",
|
|
11
|
+
"transport": {
|
|
12
|
+
"kind": "stdio",
|
|
13
|
+
"command": "c"
|
|
14
|
+
},
|
|
15
|
+
"callerMeta": true
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "stringly",
|
|
19
|
+
"transport": {
|
|
20
|
+
"kind": "stdio",
|
|
21
|
+
"command": "c"
|
|
22
|
+
},
|
|
23
|
+
"callerMeta": "true"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contributor": "contract",
|
|
3
|
+
"claim": "MCP 条目的可选布尔键 `callerMeta`:`true` 的那一台照装、值逐字在场(`callerMeta === true`);`\"true\"`(字符串,不是布尔)的那一台整条判拒 —— 读腿逐条丢它(`entry-dropped`,`entry-schema-invalid`,坐标 `[\"servers\", 1]`,身份 = 条目名),兄弟照读;严写整份拒。打的是:读者没有这把键(默认剥键 / 条目因未知键整条丢),或把非布尔值读成某一边(`\"true\"` 当真、剥成缺席)—— 写的人以为开了,引擎读到的是缺席,或读到一个与写下的不同的答案。",
|
|
4
|
+
"firstRedOn": [],
|
|
5
|
+
"note": "firstRedOn 为空:historical 阶梯里没有对它的真跑读数;按读码,22.0.0 – 34.0.x 的读腿对带 `callerMeta` 的条目按未知键处置(`entry-unknown-key`)、严写剥键后受理,这一条在那些版上会红 —— 要入账请重跑 historical。"
|
|
6
|
+
}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domains": {
|
|
3
|
+
"outcome": "effective",
|
|
4
|
+
"effective": {
|
|
5
|
+
"a2a": {
|
|
6
|
+
"peers": [
|
|
7
|
+
{
|
|
8
|
+
"askEverySkills": [
|
|
9
|
+
"delete-page"
|
|
10
|
+
],
|
|
11
|
+
"boundary": "outside",
|
|
12
|
+
"displayName": "Knowledge base",
|
|
13
|
+
"enabled": true,
|
|
14
|
+
"fingerprint": "709730df2971415b79b15e58fd26f948.5d757d1581026c5aa60aa2bb31686b8b",
|
|
15
|
+
"id": "peer-kb-01",
|
|
16
|
+
"name": "kb",
|
|
17
|
+
"ownerTeam": "Knowledge base team",
|
|
18
|
+
"scenarios": [],
|
|
19
|
+
"url": "https://kb.example/a2a"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"allowSkills": [
|
|
23
|
+
"reconcile"
|
|
24
|
+
],
|
|
25
|
+
"boundary": "inside",
|
|
26
|
+
"displayName": "Billing reconciliation",
|
|
27
|
+
"enabled": true,
|
|
28
|
+
"fingerprint": "720c5b110eab3e43cb5dbb22cc7820f6.0949683e0604f4f4ed4dcdc13690fc5e",
|
|
29
|
+
"id": "peer-billing-01",
|
|
30
|
+
"name": "billing",
|
|
31
|
+
"ownerTeam": "Finance platform",
|
|
32
|
+
"preApprovedFor": "720c5b110eab3e43cb5dbb22cc7820f6.0949683e0604f4f4ed4dcdc13690fc5e",
|
|
33
|
+
"principalHeader": "X-Principal",
|
|
34
|
+
"scenarios": [],
|
|
35
|
+
"url": "https://billing.internal.example/a2a"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"enabled": true,
|
|
39
|
+
"name": "ops",
|
|
40
|
+
"scenarios": [],
|
|
41
|
+
"url": "https://ops.example/"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"collab": {
|
|
46
|
+
"templates": []
|
|
47
|
+
},
|
|
48
|
+
"entitlement": {
|
|
49
|
+
"budgetGroups": [],
|
|
50
|
+
"groupBindings": [],
|
|
51
|
+
"subjects": [],
|
|
52
|
+
"tiers": []
|
|
53
|
+
},
|
|
54
|
+
"execution": {
|
|
55
|
+
"allowedLanes": [
|
|
56
|
+
"host"
|
|
57
|
+
],
|
|
58
|
+
"required": false
|
|
59
|
+
},
|
|
60
|
+
"governance": {},
|
|
61
|
+
"hosts": {
|
|
62
|
+
"hosts": []
|
|
63
|
+
},
|
|
64
|
+
"limits": {},
|
|
65
|
+
"mcp": {
|
|
66
|
+
"servers": []
|
|
67
|
+
},
|
|
68
|
+
"models": {
|
|
69
|
+
"atMention": {
|
|
70
|
+
"mode": "all"
|
|
71
|
+
},
|
|
72
|
+
"models": [],
|
|
73
|
+
"roles": {},
|
|
74
|
+
"tierGroups": []
|
|
75
|
+
},
|
|
76
|
+
"plugins": {
|
|
77
|
+
"plugins": []
|
|
78
|
+
},
|
|
79
|
+
"projects": {
|
|
80
|
+
"projects": {}
|
|
81
|
+
},
|
|
82
|
+
"prompts": {},
|
|
83
|
+
"rosters": {
|
|
84
|
+
"rosters": []
|
|
85
|
+
},
|
|
86
|
+
"scenarios": {
|
|
87
|
+
"scenarios": []
|
|
88
|
+
},
|
|
89
|
+
"skills": {
|
|
90
|
+
"skills": []
|
|
91
|
+
},
|
|
92
|
+
"systems": {
|
|
93
|
+
"systems": []
|
|
94
|
+
},
|
|
95
|
+
"workers": {
|
|
96
|
+
"workers": []
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"warnings": [],
|
|
100
|
+
"metadata": {
|
|
101
|
+
"version": 30,
|
|
102
|
+
"updatedAt": "2026-11-17T00:00:00.000Z"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"strictWrite": {
|
|
106
|
+
"outcome": "effective",
|
|
107
|
+
"effective": {
|
|
108
|
+
"a2a": {
|
|
109
|
+
"peers": [
|
|
110
|
+
{
|
|
111
|
+
"askEverySkills": [
|
|
112
|
+
"delete-page"
|
|
113
|
+
],
|
|
114
|
+
"boundary": "outside",
|
|
115
|
+
"displayName": "Knowledge base",
|
|
116
|
+
"enabled": true,
|
|
117
|
+
"fingerprint": "709730df2971415b79b15e58fd26f948.5d757d1581026c5aa60aa2bb31686b8b",
|
|
118
|
+
"id": "peer-kb-01",
|
|
119
|
+
"name": "kb",
|
|
120
|
+
"ownerTeam": "Knowledge base team",
|
|
121
|
+
"scenarios": [],
|
|
122
|
+
"url": "https://kb.example/a2a"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"allowSkills": [
|
|
126
|
+
"reconcile"
|
|
127
|
+
],
|
|
128
|
+
"boundary": "inside",
|
|
129
|
+
"displayName": "Billing reconciliation",
|
|
130
|
+
"enabled": true,
|
|
131
|
+
"fingerprint": "720c5b110eab3e43cb5dbb22cc7820f6.0949683e0604f4f4ed4dcdc13690fc5e",
|
|
132
|
+
"id": "peer-billing-01",
|
|
133
|
+
"name": "billing",
|
|
134
|
+
"ownerTeam": "Finance platform",
|
|
135
|
+
"preApprovedFor": "720c5b110eab3e43cb5dbb22cc7820f6.0949683e0604f4f4ed4dcdc13690fc5e",
|
|
136
|
+
"principalHeader": "X-Principal",
|
|
137
|
+
"scenarios": [],
|
|
138
|
+
"url": "https://billing.internal.example/a2a"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"enabled": true,
|
|
142
|
+
"name": "ops",
|
|
143
|
+
"scenarios": [],
|
|
144
|
+
"url": "https://ops.example/"
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"warnings": [],
|
|
150
|
+
"metadata": {
|
|
151
|
+
"version": 30,
|
|
152
|
+
"updatedAt": "2026-11-17T00:00:00.000Z"
|
|
153
|
+
},
|
|
154
|
+
"why": "受理:三条都合 `A2aPeerSpec` —— 新键各自的形(编号形、内外两词、戳的拼写、非空且至多 160 字的两段文字、值名单)都过,`preApprovedFor` 在内部条目上,`id` 不重;严写收下的就是读腿 a2a 那一格。"
|
|
155
|
+
},
|
|
156
|
+
"wire": {
|
|
157
|
+
"derive": true
|
|
158
|
+
},
|
|
159
|
+
"localRoot": {
|
|
160
|
+
"derive": true,
|
|
161
|
+
"localVersion": 4257670056990876
|
|
162
|
+
}
|
|
163
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"version": 30,
|
|
4
|
+
"updatedAt": "2026-11-17T00:00:00.000Z"
|
|
5
|
+
},
|
|
6
|
+
"domains": {
|
|
7
|
+
"a2a": {
|
|
8
|
+
"peers": [
|
|
9
|
+
{
|
|
10
|
+
"name": "kb",
|
|
11
|
+
"url": "https://kb.example/a2a",
|
|
12
|
+
"id": "peer-kb-01",
|
|
13
|
+
"boundary": "outside",
|
|
14
|
+
"fingerprint": "709730df2971415b79b15e58fd26f948.5d757d1581026c5aa60aa2bb31686b8b",
|
|
15
|
+
"ownerTeam": "Knowledge base team",
|
|
16
|
+
"displayName": "Knowledge base",
|
|
17
|
+
"askEverySkills": [
|
|
18
|
+
"delete-page"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "billing",
|
|
23
|
+
"url": "https://billing.internal.example/a2a",
|
|
24
|
+
"id": "peer-billing-01",
|
|
25
|
+
"boundary": "inside",
|
|
26
|
+
"fingerprint": "720c5b110eab3e43cb5dbb22cc7820f6.0949683e0604f4f4ed4dcdc13690fc5e",
|
|
27
|
+
"ownerTeam": "Finance platform",
|
|
28
|
+
"displayName": "Billing reconciliation",
|
|
29
|
+
"principalHeader": "X-Principal",
|
|
30
|
+
"allowSkills": [
|
|
31
|
+
"reconcile"
|
|
32
|
+
],
|
|
33
|
+
"preApprovedFor": "720c5b110eab3e43cb5dbb22cc7820f6.0949683e0604f4f4ed4dcdc13690fc5e"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "ops",
|
|
37
|
+
"url": "https://ops.example/"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contributor": "contract",
|
|
3
|
+
"claim": "`a2a` 对端条目的登记键在四条腿上同读:一条外部条目带 `id` / `boundary: \"outside\"` / `fingerprint` / `ownerTeam` / `displayName` / `askEverySkills`,一条完备的内部条目再带 `principalHeader` / 非空 `allowSkills` / `preApprovedFor`(等于它自己的戳;两枚戳都由 `mintA2aPeerFingerprint` 铸、摘要半段与身份字段对得上),外加一条不带新键的旧条目 —— 新键原样读出、不补任何缺省(旧条目照旧只补 `scenarios: []` / `enabled: true`),零告警。打的是:仍按加键之前的条目形读的读腿,会把前两条当带未知键的条目整条丢(`entry-dropped`,`entry-unknown-key`),只剩 `ops`。",
|
|
4
|
+
"firstRedOn": [],
|
|
5
|
+
"note": "firstRedOn 为空:入库的 historical 阶梯不覆盖这一批的新键;旧读方(22.0.0 起、这一批之前的每一版)对这份文档整条丢前两条的读数由 test/a2a-peer-registration.test.ts 钉 8 钉着(同一只逐条丢弃律,旧条目形),不在入库的真跑证据里。"
|
|
6
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domains": {
|
|
3
|
+
"outcome": "effective",
|
|
4
|
+
"effective": {
|
|
5
|
+
"a2a": {
|
|
6
|
+
"peers": [
|
|
7
|
+
{
|
|
8
|
+
"enabled": true,
|
|
9
|
+
"name": "ops",
|
|
10
|
+
"scenarios": [],
|
|
11
|
+
"url": "https://ops.example/"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"collab": {
|
|
16
|
+
"templates": []
|
|
17
|
+
},
|
|
18
|
+
"entitlement": {
|
|
19
|
+
"budgetGroups": [],
|
|
20
|
+
"groupBindings": [],
|
|
21
|
+
"subjects": [],
|
|
22
|
+
"tiers": []
|
|
23
|
+
},
|
|
24
|
+
"execution": {
|
|
25
|
+
"allowedLanes": [
|
|
26
|
+
"host"
|
|
27
|
+
],
|
|
28
|
+
"required": false
|
|
29
|
+
},
|
|
30
|
+
"governance": {},
|
|
31
|
+
"hosts": {
|
|
32
|
+
"hosts": []
|
|
33
|
+
},
|
|
34
|
+
"limits": {},
|
|
35
|
+
"mcp": {
|
|
36
|
+
"servers": []
|
|
37
|
+
},
|
|
38
|
+
"models": {
|
|
39
|
+
"atMention": {
|
|
40
|
+
"mode": "all"
|
|
41
|
+
},
|
|
42
|
+
"models": [],
|
|
43
|
+
"roles": {},
|
|
44
|
+
"tierGroups": []
|
|
45
|
+
},
|
|
46
|
+
"plugins": {
|
|
47
|
+
"plugins": []
|
|
48
|
+
},
|
|
49
|
+
"projects": {
|
|
50
|
+
"projects": {}
|
|
51
|
+
},
|
|
52
|
+
"prompts": {},
|
|
53
|
+
"rosters": {
|
|
54
|
+
"rosters": []
|
|
55
|
+
},
|
|
56
|
+
"scenarios": {
|
|
57
|
+
"scenarios": []
|
|
58
|
+
},
|
|
59
|
+
"skills": {
|
|
60
|
+
"skills": []
|
|
61
|
+
},
|
|
62
|
+
"systems": {
|
|
63
|
+
"systems": []
|
|
64
|
+
},
|
|
65
|
+
"workers": {
|
|
66
|
+
"workers": []
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"warnings": [
|
|
70
|
+
{
|
|
71
|
+
"domain": "a2a",
|
|
72
|
+
"identity": {
|
|
73
|
+
"name": "kb"
|
|
74
|
+
},
|
|
75
|
+
"kind": "entry-dropped",
|
|
76
|
+
"path": [
|
|
77
|
+
"peers",
|
|
78
|
+
0
|
|
79
|
+
],
|
|
80
|
+
"reasonCode": "entry-schema-invalid"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"metadata": {
|
|
84
|
+
"version": 30,
|
|
85
|
+
"updatedAt": "2026-11-17T00:00:00.000Z"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"strictWrite": {
|
|
89
|
+
"outcome": "rejected",
|
|
90
|
+
"stage": "validate",
|
|
91
|
+
"why": "拒:`preApprovedFor` 只许在内部条目上(条目判;`boundary` 缺席读外部)。"
|
|
92
|
+
},
|
|
93
|
+
"wire": {
|
|
94
|
+
"derive": true
|
|
95
|
+
},
|
|
96
|
+
"localRoot": {
|
|
97
|
+
"derive": true,
|
|
98
|
+
"localVersion": 2768878534830856
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"version": 30,
|
|
4
|
+
"updatedAt": "2026-11-17T00:00:00.000Z"
|
|
5
|
+
},
|
|
6
|
+
"domains": {
|
|
7
|
+
"a2a": {
|
|
8
|
+
"peers": [
|
|
9
|
+
{
|
|
10
|
+
"name": "kb",
|
|
11
|
+
"url": "https://kb.example/a2a",
|
|
12
|
+
"fingerprint": "709730df2971415b79b15e58fd26f948.5d757d1581026c5aa60aa2bb31686b8b",
|
|
13
|
+
"ownerTeam": "Knowledge base team",
|
|
14
|
+
"preApprovedFor": "709730df2971415b79b15e58fd26f948.5d757d1581026c5aa60aa2bb31686b8b"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "ops",
|
|
18
|
+
"url": "https://ops.example/"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contributor": "contract",
|
|
3
|
+
"claim": "`preApprovedFor`(全员预批)只许出现在内部条目上:一条 `boundary` 缺席(= 外部)的条目带它 ⇒ 读腿整条丢(`entry-dropped`,`entry-schema-invalid`,身份点名)、兄弟存活;严写整份拒。打的是:把预批当成任意条目上的普通键读进来的读者 —— 外部对端于是带着一枚「全员免确认」的预批被挂上,缺席的 `boundary` 被读成了内部。",
|
|
4
|
+
"firstRedOn": [],
|
|
5
|
+
"note": "firstRedOn 为空:入库的 historical 阶梯不覆盖这一批的新键;旧读方(22.0.0 起、这一批之前的每一版)对这一条同样整条丢,但原因词是 `entry-unknown-key`(它不认识这些键),不是本条要打的那条律。"
|
|
6
|
+
}
|