@agenticprimitives/ontology 1.0.0-alpha.15 → 1.0.0-alpha.17

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.
Files changed (39) hide show
  1. package/cbox/guidance-vocabulary.ttl +22 -0
  2. package/cbox/interaction-vocabulary.ttl +102 -0
  3. package/cbox/scope-vocabulary.ttl +112 -0
  4. package/cbox/skill-grounding-vocabulary.ttl +18 -0
  5. package/context.jsonld +6 -0
  6. package/dist/artifacts.d.ts +3 -3
  7. package/dist/artifacts.d.ts.map +1 -1
  8. package/dist/artifacts.js +33 -0
  9. package/dist/artifacts.js.map +1 -1
  10. package/dist/grounded-vocabulary.d.ts +29 -0
  11. package/dist/grounded-vocabulary.d.ts.map +1 -0
  12. package/dist/grounded-vocabulary.js +110 -0
  13. package/dist/grounded-vocabulary.js.map +1 -0
  14. package/dist/index.d.ts +157 -2
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +193 -4
  17. package/dist/index.js.map +1 -1
  18. package/mappings/actor-context-standards.ttl +89 -0
  19. package/mappings/collaboration-crosswalk-actors.ttl +30 -0
  20. package/mappings/collaboration-crosswalk-authority.ttl +31 -0
  21. package/mappings/collaboration-crosswalk-guidance.ttl +29 -0
  22. package/mappings/collaboration-crosswalk-intent.ttl +29 -0
  23. package/mappings/collaboration-crosswalk-messaging.ttl +37 -0
  24. package/mappings/collaboration-crosswalk-organization.ttl +44 -0
  25. package/mappings/collaboration-crosswalk-protocols.ttl +46 -0
  26. package/mappings/collaboration-crosswalk-skills.ttl +45 -0
  27. package/mappings/collaboration-profile.ttl +74 -0
  28. package/package.json +1 -1
  29. package/tbox/actor-context.ttl +134 -0
  30. package/tbox/entitlement.ttl +41 -0
  31. package/tbox/fabric.ttl +59 -0
  32. package/tbox/guidance.ttl +40 -0
  33. package/tbox/intents.ttl +66 -11
  34. package/tbox/messaging.ttl +134 -0
  35. package/tbox/org.ttl +122 -0
  36. package/tbox/scope.ttl +59 -0
  37. package/tbox/situation.ttl +56 -0
  38. package/tbox/skills.ttl +104 -12
  39. package/tbox/verification-receipt.ttl +127 -0
@@ -0,0 +1,22 @@
1
+ # C-box — skill layer disambiguation (ADR-0050).
2
+ # Use aps:skillLayer to tag which sense of "skill" applies in prose, tooling, and adapters.
3
+
4
+ @prefix aps: <https://agenticprimitives.dev/ns/skill#> .
5
+ @prefix apguide: <https://agenticprimitives.dev/ns/guidance#> .
6
+ @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
7
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
8
+
9
+ aps:skillLayer a skos:ConceptScheme ;
10
+ rdfs:label "skillLayer" ;
11
+ rdfs:comment "Which architectural layer a 'skill' reference belongs to — never collapse layers." ;
12
+ skos:hasTopConcept aps:GuidanceSkillLayer, aps:ExecutableSkillLayer .
13
+
14
+ aps:GuidanceSkillLayer a skos:Concept ; skos:inScheme aps:skillLayer ;
15
+ skos:prefLabel "guidance" ;
16
+ rdfs:seeAlso apguide:AgentSkillPackage ;
17
+ rdfs:comment "Agent Skill packages (SKILL.md) — steers coding agents only." .
18
+
19
+ aps:ExecutableSkillLayer a skos:Concept ; skos:inScheme aps:skillLayer ;
20
+ skos:prefLabel "executable" ;
21
+ rdfs:seeAlso aps:CapabilityDefinition , aps:Skill , aps:SkillClaim ;
22
+ rdfs:comment "Smart Agent capabilities: CapabilityDefinition, claims, OASF/A2A/MCP projections." .
@@ -0,0 +1,102 @@
1
+ # C-box — interaction / organization controlled vocabularies (spec 324 §4).
2
+ # Closed SKOS codelists for performatives, membership/enrollment/role status,
3
+ # conversation profiles, and discussion status.
4
+
5
+ @prefix apmsg: <https://agenticprimitives.dev/ns/messaging#> .
6
+ @prefix aporg: <https://agenticprimitives.dev/ns/org#> .
7
+ @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
8
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9
+
10
+ # ─── performative (CommunicativeAct) ───────────────────────────────────
11
+
12
+ apmsg:performativeScheme a skos:ConceptScheme ;
13
+ rdfs:label "performative" ;
14
+ skos:hasTopConcept apmsg:INFORM, apmsg:QUERY, apmsg:REQUEST, apmsg:PROPOSE, apmsg:COUNTER,
15
+ apmsg:ACCEPT, apmsg:REJECT, apmsg:NOTIFY, apmsg:ACKNOWLEDGE, apmsg:ISSUE, apmsg:RETRACT,
16
+ apmsg:SUBSCRIBE, apmsg:UNSUBSCRIBE .
17
+
18
+ apmsg:INFORM a skos:Concept ; skos:inScheme apmsg:performativeScheme ; skos:prefLabel "INFORM" .
19
+ apmsg:QUERY a skos:Concept ; skos:inScheme apmsg:performativeScheme ; skos:prefLabel "QUERY" .
20
+ apmsg:REQUEST a skos:Concept ; skos:inScheme apmsg:performativeScheme ; skos:prefLabel "REQUEST" .
21
+ apmsg:PROPOSE a skos:Concept ; skos:inScheme apmsg:performativeScheme ; skos:prefLabel "PROPOSE" .
22
+ apmsg:COUNTER a skos:Concept ; skos:inScheme apmsg:performativeScheme ; skos:prefLabel "COUNTER" .
23
+ apmsg:ACCEPT a skos:Concept ; skos:inScheme apmsg:performativeScheme ; skos:prefLabel "ACCEPT" .
24
+ apmsg:REJECT a skos:Concept ; skos:inScheme apmsg:performativeScheme ; skos:prefLabel "REJECT" .
25
+ apmsg:NOTIFY a skos:Concept ; skos:inScheme apmsg:performativeScheme ; skos:prefLabel "NOTIFY" .
26
+ apmsg:ACKNOWLEDGE a skos:Concept ; skos:inScheme apmsg:performativeScheme ; skos:prefLabel "ACKNOWLEDGE" .
27
+ apmsg:ISSUE a skos:Concept ; skos:inScheme apmsg:performativeScheme ; skos:prefLabel "ISSUE" .
28
+ apmsg:RETRACT a skos:Concept ; skos:inScheme apmsg:performativeScheme ; skos:prefLabel "RETRACT" .
29
+ apmsg:SUBSCRIBE a skos:Concept ; skos:inScheme apmsg:performativeScheme ; skos:prefLabel "SUBSCRIBE" .
30
+ apmsg:UNSUBSCRIBE a skos:Concept ; skos:inScheme apmsg:performativeScheme ; skos:prefLabel "UNSUBSCRIBE" .
31
+
32
+ # ─── membership status ─────────────────────────────────────────────────
33
+
34
+ aporg:membershipStatusScheme a skos:ConceptScheme ;
35
+ rdfs:label "membershipStatus" ;
36
+ skos:hasTopConcept aporg:membershipActive, aporg:membershipSuspended, aporg:membershipEnded .
37
+
38
+ aporg:membershipActive a skos:Concept ; skos:inScheme aporg:membershipStatusScheme ; skos:prefLabel "active" .
39
+ aporg:membershipSuspended a skos:Concept ; skos:inScheme aporg:membershipStatusScheme ; skos:prefLabel "suspended" .
40
+ aporg:membershipEnded a skos:Concept ; skos:inScheme aporg:membershipStatusScheme ; skos:prefLabel "ended" .
41
+
42
+ # ─── membership end reason ─────────────────────────────────────────────
43
+
44
+ aporg:membershipEndReasonScheme a skos:ConceptScheme ;
45
+ rdfs:label "membershipEndReason" ;
46
+ skos:hasTopConcept aporg:endLeft, aporg:endRemoved, aporg:endExcluded, aporg:endExpired .
47
+
48
+ aporg:endLeft a skos:Concept ; skos:inScheme aporg:membershipEndReasonScheme ; skos:prefLabel "left" .
49
+ aporg:endRemoved a skos:Concept ; skos:inScheme aporg:membershipEndReasonScheme ; skos:prefLabel "removed" .
50
+ aporg:endExcluded a skos:Concept ; skos:inScheme aporg:membershipEndReasonScheme ; skos:prefLabel "excluded" .
51
+ aporg:endExpired a skos:Concept ; skos:inScheme aporg:membershipEndReasonScheme ; skos:prefLabel "expired" .
52
+
53
+ # ─── enrollment status ─────────────────────────────────────────────────
54
+
55
+ aporg:enrollmentStatusScheme a skos:ConceptScheme ;
56
+ rdfs:label "enrollmentStatus" ;
57
+ skos:hasTopConcept aporg:enrollDraft, aporg:enrollSubmitted, aporg:enrollUnderReview,
58
+ aporg:enrollApproved, aporg:enrollRejected, aporg:enrollWithdrawn, aporg:enrollExpired .
59
+
60
+ aporg:enrollDraft a skos:Concept ; skos:inScheme aporg:enrollmentStatusScheme ; skos:prefLabel "draft" .
61
+ aporg:enrollSubmitted a skos:Concept ; skos:inScheme aporg:enrollmentStatusScheme ; skos:prefLabel "submitted" .
62
+ aporg:enrollUnderReview a skos:Concept ; skos:inScheme aporg:enrollmentStatusScheme ; skos:prefLabel "under-review" .
63
+ aporg:enrollApproved a skos:Concept ; skos:inScheme aporg:enrollmentStatusScheme ; skos:prefLabel "approved" .
64
+ aporg:enrollRejected a skos:Concept ; skos:inScheme aporg:enrollmentStatusScheme ; skos:prefLabel "rejected" .
65
+ aporg:enrollWithdrawn a skos:Concept ; skos:inScheme aporg:enrollmentStatusScheme ; skos:prefLabel "withdrawn" .
66
+ aporg:enrollExpired a skos:Concept ; skos:inScheme aporg:enrollmentStatusScheme ; skos:prefLabel "expired" .
67
+
68
+ # ─── role assignment status ──────────────────────────────────────────────
69
+
70
+ aporg:roleAssignmentStatusScheme a skos:ConceptScheme ;
71
+ rdfs:label "roleAssignmentStatus" ;
72
+ skos:hasTopConcept aporg:roleActive, aporg:roleSuspended, aporg:roleRevoked, aporg:roleExpired .
73
+
74
+ aporg:roleActive a skos:Concept ; skos:inScheme aporg:roleAssignmentStatusScheme ; skos:prefLabel "active" .
75
+ aporg:roleSuspended a skos:Concept ; skos:inScheme aporg:roleAssignmentStatusScheme ; skos:prefLabel "suspended" .
76
+ aporg:roleRevoked a skos:Concept ; skos:inScheme aporg:roleAssignmentStatusScheme ; skos:prefLabel "revoked" .
77
+ aporg:roleExpired a skos:Concept ; skos:inScheme aporg:roleAssignmentStatusScheme ; skos:prefLabel "expired" .
78
+
79
+ # ─── conversation profile ──────────────────────────────────────────────
80
+
81
+ apmsg:conversationProfileScheme a skos:ConceptScheme ;
82
+ rdfs:label "conversationProfile" ;
83
+ skos:hasTopConcept apmsg:profileDirect, apmsg:profileGroup, apmsg:profileDiscussion,
84
+ apmsg:profileBroadcast, apmsg:profileForum, apmsg:profileAnnouncement, apmsg:profileSupport .
85
+
86
+ apmsg:profileDirect a skos:Concept ; skos:inScheme apmsg:conversationProfileScheme ; skos:prefLabel "direct" .
87
+ apmsg:profileGroup a skos:Concept ; skos:inScheme apmsg:conversationProfileScheme ; skos:prefLabel "group" .
88
+ apmsg:profileDiscussion a skos:Concept ; skos:inScheme apmsg:conversationProfileScheme ; skos:prefLabel "discussion" .
89
+ apmsg:profileBroadcast a skos:Concept ; skos:inScheme apmsg:conversationProfileScheme ; skos:prefLabel "broadcast" .
90
+ apmsg:profileForum a skos:Concept ; skos:inScheme apmsg:conversationProfileScheme ; skos:prefLabel "forum" .
91
+ apmsg:profileAnnouncement a skos:Concept ; skos:inScheme apmsg:conversationProfileScheme ; skos:prefLabel "announcement" .
92
+ apmsg:profileSupport a skos:Concept ; skos:inScheme apmsg:conversationProfileScheme ; skos:prefLabel "support" .
93
+
94
+ # ─── discussion status ───────────────────────────────────────────────────
95
+
96
+ apmsg:discussionStatusScheme a skos:ConceptScheme ;
97
+ rdfs:label "discussionStatus" ;
98
+ skos:hasTopConcept apmsg:discussionOpen, apmsg:discussionClosed, apmsg:discussionArchived .
99
+
100
+ apmsg:discussionOpen a skos:Concept ; skos:inScheme apmsg:discussionStatusScheme ; skos:prefLabel "open" .
101
+ apmsg:discussionClosed a skos:Concept ; skos:inScheme apmsg:discussionStatusScheme ; skos:prefLabel "closed" .
102
+ apmsg:discussionArchived a skos:Concept ; skos:inScheme apmsg:discussionStatusScheme ; skos:prefLabel "archived" .
@@ -0,0 +1,112 @@
1
+ # C-box — AP-Scope-V1 controlled vocabularies (spec 308 / G-8). The SMALL,
2
+ # BORING, verifier-friendly scope vocabulary the article's adoption critique
3
+ # demands: closed SKOS codelists for action/resource/purpose classes, reliance
4
+ # classes, revocation modes, and value-limit kinds — plus the machine-readable
5
+ # reliance PROFILE (each RelianceClass carries its required revocation mode +
6
+ # verifier obligations as annotations).
7
+ #
8
+ # NEUTRAL substrate — no vertical vocabulary (ADR-0021). Deliberately coarse:
9
+ # abstract classes over precise values (the W3C ageOver-not-birthdate rule
10
+ # applied to agent authority). External adoption beats semantic perfection.
11
+
12
+ @prefix apscope: <https://agenticprimitives.dev/ns/scope#> .
13
+ @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
14
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
15
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
16
+
17
+ # ─── actionClass — what KIND of act the authority covers ────────────────
18
+ apscope:actionClass a skos:ConceptScheme ;
19
+ rdfs:label "actionClass" ;
20
+ rdfs:comment "Coarse verb classes for delegated authority. A scope names classes, not tool names — tool names are per-deployment; classes are cross-party." ;
21
+ skos:hasTopConcept apscope:Read, apscope:Write, apscope:Purchase, apscope:Transfer,
22
+ apscope:Publish, apscope:Disclose, apscope:Sign, apscope:Schedule, apscope:Cancel .
23
+ apscope:Read a skos:Concept ; skos:inScheme apscope:actionClass ; skos:prefLabel "read" .
24
+ apscope:Write a skos:Concept ; skos:inScheme apscope:actionClass ; skos:prefLabel "write" .
25
+ apscope:Purchase a skos:Concept ; skos:inScheme apscope:actionClass ; skos:prefLabel "purchase" .
26
+ apscope:Transfer a skos:Concept ; skos:inScheme apscope:actionClass ; skos:prefLabel "transfer" .
27
+ apscope:Publish a skos:Concept ; skos:inScheme apscope:actionClass ; skos:prefLabel "publish" .
28
+ apscope:Disclose a skos:Concept ; skos:inScheme apscope:actionClass ; skos:prefLabel "disclose" .
29
+ apscope:Sign a skos:Concept ; skos:inScheme apscope:actionClass ; skos:prefLabel "sign" .
30
+ apscope:Schedule a skos:Concept ; skos:inScheme apscope:actionClass ; skos:prefLabel "schedule" .
31
+ apscope:Cancel a skos:Concept ; skos:inScheme apscope:actionClass ; skos:prefLabel "cancel" .
32
+
33
+ # ─── resourceClass — what KIND of thing it touches ──────────────────────
34
+ apscope:resourceClass a skos:ConceptScheme ;
35
+ rdfs:label "resourceClass" ;
36
+ skos:hasTopConcept apscope:AccountResource, apscope:PaymentResource, apscope:PiiResource,
37
+ apscope:RecordResource, apscope:BookingResource, apscope:ContentResource,
38
+ apscope:CredentialResource, apscope:ToolResource .
39
+ apscope:AccountResource a skos:Concept ; skos:inScheme apscope:resourceClass ; skos:prefLabel "account" .
40
+ apscope:PaymentResource a skos:Concept ; skos:inScheme apscope:resourceClass ; skos:prefLabel "payment" .
41
+ apscope:PiiResource a skos:Concept ; skos:inScheme apscope:resourceClass ; skos:prefLabel "pii" .
42
+ apscope:RecordResource a skos:Concept ; skos:inScheme apscope:resourceClass ; skos:prefLabel "record" .
43
+ apscope:BookingResource a skos:Concept ; skos:inScheme apscope:resourceClass ; skos:prefLabel "booking" .
44
+ apscope:ContentResource a skos:Concept ; skos:inScheme apscope:resourceClass ; skos:prefLabel "content" .
45
+ apscope:CredentialResource a skos:Concept ; skos:inScheme apscope:resourceClass ; skos:prefLabel "credential" .
46
+ apscope:ToolResource a skos:Concept ; skos:inScheme apscope:resourceClass ; skos:prefLabel "tool" .
47
+
48
+ # ─── purposeClass — WHY (mirrors the DecryptGrant/entitlement purpose seam) ─
49
+ apscope:purposeClass a skos:ConceptScheme ;
50
+ rdfs:label "purposeClass" ;
51
+ skos:hasTopConcept apscope:Support, apscope:Fulfillment, apscope:Research,
52
+ apscope:Billing, apscope:Compliance .
53
+ apscope:Support a skos:Concept ; skos:inScheme apscope:purposeClass ; skos:prefLabel "support" .
54
+ apscope:Fulfillment a skos:Concept ; skos:inScheme apscope:purposeClass ; skos:prefLabel "fulfillment" .
55
+ apscope:Research a skos:Concept ; skos:inScheme apscope:purposeClass ; skos:prefLabel "research" .
56
+ apscope:Billing a skos:Concept ; skos:inScheme apscope:purposeClass ; skos:prefLabel "billing" .
57
+ apscope:Compliance a skos:Concept ; skos:inScheme apscope:purposeClass ; skos:prefLabel "compliance" .
58
+
59
+ # ─── valueLimitKind — the SHAPE of a value cap (values live in caveats) ──
60
+ apscope:valueLimitKind a skos:ConceptScheme ;
61
+ rdfs:label "valueLimitKind" ;
62
+ skos:hasTopConcept apscope:PerCall, apscope:Cumulative, apscope:Periodic, apscope:Category .
63
+ apscope:PerCall a skos:Concept ; skos:inScheme apscope:valueLimitKind ; skos:prefLabel "per-call" .
64
+ apscope:Cumulative a skos:Concept ; skos:inScheme apscope:valueLimitKind ; skos:prefLabel "cumulative" .
65
+ apscope:Periodic a skos:Concept ; skos:inScheme apscope:valueLimitKind ; skos:prefLabel "periodic" .
66
+ apscope:Category a skos:Concept ; skos:inScheme apscope:valueLimitKind ; skos:prefLabel "category" .
67
+
68
+ # ─── revocationMode — HOW currency-of-authority is checked (ONE per class) ─
69
+ apscope:revocationMode a skos:ConceptScheme ;
70
+ rdfs:label "revocationMode" ;
71
+ rdfs:comment "One required mode per reliance class (ADR-0013 — never a ladder). emergency-stop is NOT a class mode: it is an override every class honors." ;
72
+ skos:hasTopConcept apscope:ChainPull, apscope:StatusList, apscope:Accumulator,
73
+ apscope:ShortLived, apscope:EmergencyStop .
74
+ apscope:ChainPull a skos:Concept ; skos:inScheme apscope:revocationMode ; skos:prefLabel "chain-pull" ;
75
+ rdfs:comment "Live on-chain read within a bounded freshness window (spec 289 chain-state)." .
76
+ apscope:StatusList a skos:Concept ; skos:inScheme apscope:revocationMode ; skos:prefLabel "status-list" ;
77
+ rdfs:comment "Signed status-list snapshot with bounded staleness (BitstringStatus tier)." .
78
+ apscope:Accumulator a skos:Concept ; skos:inScheme apscope:revocationMode ; skos:prefLabel "accumulator" ;
79
+ rdfs:comment "Cryptographic accumulator / non-revocation proof (privacy tier; W2+ suites)." .
80
+ apscope:ShortLived a skos:Concept ; skos:inScheme apscope:revocationMode ; skos:prefLabel "short-lived" ;
81
+ rdfs:comment "Expiry-over-revocation: credentials/proofs too short-lived to need a status check." .
82
+ apscope:EmergencyStop a skos:Concept ; skos:inScheme apscope:revocationMode ; skos:prefLabel "emergency-stop" ;
83
+ rdfs:comment "Principal-published stop assertion; overrides any cached status in EVERY class." .
84
+
85
+ # ─── relianceClass — with the MACHINE-READABLE verifier profile ──────────
86
+ # The article's revocation ladder, as data: each class carries its required
87
+ # mode + obligations. statusFreshnessMs 12000 = chain-state's shipped bounded
88
+ # freshness window (spec 289); 0 = a live read per call, no caching.
89
+ apscope:relianceClass a skos:ConceptScheme ;
90
+ rdfs:label "relianceClass" ;
91
+ rdfs:comment "How much a counterparty stakes on the verification. Selects the required revocation mode, freshness, and receipt duty (spec 308 profile)." ;
92
+ skos:hasTopConcept apscope:Advisory, apscope:Operational, apscope:Financial,
93
+ apscope:Regulated, apscope:SafetyCritical .
94
+ apscope:Advisory a skos:Concept ; skos:inScheme apscope:relianceClass ; skos:prefLabel "advisory" ;
95
+ apscope:requiredRevocationMode apscope:ShortLived ;
96
+ apscope:mustRetainReceipt false .
97
+ apscope:Operational a skos:Concept ; skos:inScheme apscope:relianceClass ; skos:prefLabel "operational" ;
98
+ apscope:requiredRevocationMode apscope:StatusList ;
99
+ apscope:statusFreshnessMs "300000"^^xsd:integer ;
100
+ apscope:mustRetainReceipt true .
101
+ apscope:Financial a skos:Concept ; skos:inScheme apscope:relianceClass ; skos:prefLabel "financial" ;
102
+ apscope:requiredRevocationMode apscope:ChainPull ;
103
+ apscope:statusFreshnessMs "12000"^^xsd:integer ;
104
+ apscope:mustRetainReceipt true .
105
+ apscope:Regulated a skos:Concept ; skos:inScheme apscope:relianceClass ; skos:prefLabel "regulated" ;
106
+ apscope:requiredRevocationMode apscope:ChainPull ;
107
+ apscope:statusFreshnessMs "12000"^^xsd:integer ;
108
+ apscope:mustRetainReceipt true .
109
+ apscope:SafetyCritical a skos:Concept ; skos:inScheme apscope:relianceClass ; skos:prefLabel "safety-critical" ;
110
+ apscope:requiredRevocationMode apscope:ChainPull ;
111
+ apscope:statusFreshnessMs "0"^^xsd:integer ;
112
+ apscope:mustRetainReceipt true .
@@ -0,0 +1,18 @@
1
+ # C-box — skill grounding protocol codelist (spec 325 §4.5).
2
+ # Closed SKOS scheme for aps:groundingProtocol on aps:SkillGrounding.
3
+
4
+ @prefix aps: <https://agenticprimitives.dev/ns/skill#> .
5
+ @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
6
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
7
+
8
+ aps:groundingProtocol a skos:ConceptScheme ;
9
+ rdfs:label "groundingProtocol" ;
10
+ rdfs:comment "Protocol binding for CapabilityDefinition invocation." ;
11
+ skos:hasTopConcept aps:MCP, aps:A2A, aps:HTTP, aps:WoT, aps:Contract, aps:Local .
12
+
13
+ aps:MCP a skos:Concept ; skos:inScheme aps:groundingProtocol ; skos:prefLabel "mcp" .
14
+ aps:A2A a skos:Concept ; skos:inScheme aps:groundingProtocol ; skos:prefLabel "a2a" .
15
+ aps:HTTP a skos:Concept ; skos:inScheme aps:groundingProtocol ; skos:prefLabel "http" .
16
+ aps:WoT a skos:Concept ; skos:inScheme aps:groundingProtocol ; skos:prefLabel "wot" .
17
+ aps:Contract a skos:Concept ; skos:inScheme aps:groundingProtocol ; skos:prefLabel "contract" .
18
+ aps:Local a skos:Concept ; skos:inScheme aps:groundingProtocol ; skos:prefLabel "local" .
package/context.jsonld CHANGED
@@ -27,6 +27,12 @@
27
27
  "apdisc": "https://agenticprimitives.dev/ns/discovery#",
28
28
  "apsec": "https://agenticprimitives.dev/ns/security-exposure#",
29
29
  "aptrust": "https://agenticprimitives.dev/ns/trust#",
30
+ "apvr": "https://agenticprimitives.dev/ns/verification-receipt#",
31
+ "apscope": "https://agenticprimitives.dev/ns/scope#",
32
+ "apmsg": "https://agenticprimitives.dev/ns/messaging#",
33
+ "apsit": "https://agenticprimitives.dev/ns/situation#",
34
+ "apent": "https://agenticprimitives.dev/ns/entitlement#",
35
+ "apfab": "https://agenticprimitives.dev/ns/fabric#",
30
36
 
31
37
  "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
32
38
  "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
@@ -5,9 +5,9 @@
5
5
  */
6
6
  export declare const ARTIFACTS: {
7
7
  readonly context: "context.jsonld";
8
- readonly tbox: readonly ["tbox/core.ttl", "tbox/identity.ttl", "tbox/intents.ttl", "tbox/constraints.ttl", "tbox/resolution.ttl", "tbox/agreement.ttl", "tbox/payment.ttl", "tbox/fulfillment.ttl", "tbox/attestation.ttl", "tbox/skills.ttl", "tbox/geo.ttl", "tbox/content.ttl", "tbox/registry.ttl", "tbox/discovery.ttl", "tbox/trust.ttl", "tbox/security-exposure.ttl"];
9
- readonly cbox: readonly ["cbox/canonical-agent-id-shape.shacl.ttl", "cbox/controlled-vocabularies.ttl", "cbox/skill-vocabulary.ttl", "cbox/geo-vocabulary.ttl", "cbox/content-vocabulary.ttl", "cbox/discovery-graph-shapes.shacl.ttl"];
10
- readonly mappings: readonly ["mappings/spine-standards.ttl", "mappings/agent-discovery-standards.ttl"];
8
+ readonly tbox: readonly ["tbox/core.ttl", "tbox/identity.ttl", "tbox/intents.ttl", "tbox/constraints.ttl", "tbox/resolution.ttl", "tbox/agreement.ttl", "tbox/payment.ttl", "tbox/fulfillment.ttl", "tbox/attestation.ttl", "tbox/skills.ttl", "tbox/geo.ttl", "tbox/content.ttl", "tbox/registry.ttl", "tbox/discovery.ttl", "tbox/trust.ttl", "tbox/security-exposure.ttl", "tbox/verification-receipt.ttl", "tbox/scope.ttl", "tbox/situation.ttl", "tbox/org.ttl", "tbox/entitlement.ttl", "tbox/fabric.ttl", "tbox/messaging.ttl", "tbox/guidance.ttl", "tbox/actor-context.ttl"];
9
+ readonly cbox: readonly ["cbox/canonical-agent-id-shape.shacl.ttl", "cbox/controlled-vocabularies.ttl", "cbox/skill-vocabulary.ttl", "cbox/geo-vocabulary.ttl", "cbox/scope-vocabulary.ttl", "cbox/content-vocabulary.ttl", "cbox/discovery-graph-shapes.shacl.ttl", "cbox/interaction-vocabulary.ttl", "cbox/skill-grounding-vocabulary.ttl", "cbox/guidance-vocabulary.ttl"];
10
+ readonly mappings: readonly ["mappings/spine-standards.ttl", "mappings/agent-discovery-standards.ttl", "mappings/collaboration-profile.ttl", "mappings/collaboration-crosswalk-actors.ttl", "mappings/collaboration-crosswalk-organization.ttl", "mappings/collaboration-crosswalk-messaging.ttl", "mappings/collaboration-crosswalk-intent.ttl", "mappings/collaboration-crosswalk-skills.ttl", "mappings/collaboration-crosswalk-authority.ttl", "mappings/collaboration-crosswalk-protocols.ttl", "mappings/collaboration-crosswalk-guidance.ttl", "mappings/actor-context-standards.ttl"];
11
11
  };
12
12
  /**
13
13
  * Resolve a shipped artifact's relative path (see {@link ARTIFACTS}) to an
@@ -1 +1 @@
1
- {"version":3,"file":"artifacts.d.ts","sourceRoot":"","sources":["../src/artifacts.ts"],"names":[],"mappings":"AASA;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;;;CAwCZ,CAAC;AAEX;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAEzD"}
1
+ {"version":3,"file":"artifacts.d.ts","sourceRoot":"","sources":["../src/artifacts.ts"],"names":[],"mappings":"AASA;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;;;CAyEZ,CAAC;AAEX;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAEzD"}
package/dist/artifacts.js CHANGED
@@ -34,6 +34,20 @@ export const ARTIFACTS = {
34
34
  'tbox/discovery.ttl',
35
35
  'tbox/trust.ttl',
36
36
  'tbox/security-exposure.ttl',
37
+ // Verification-receipt provenance, PROV-O-grounded (spec 303)
38
+ 'tbox/verification-receipt.ttl',
39
+ // AP-Scope-V1 (spec 308)
40
+ 'tbox/scope.ttl',
41
+ // Unified interaction ontology (spec 324; ADR-0048)
42
+ 'tbox/situation.ttl',
43
+ 'tbox/org.ttl',
44
+ 'tbox/entitlement.ttl',
45
+ 'tbox/fabric.ttl',
46
+ 'tbox/messaging.ttl',
47
+ // Agent guidance layer — IDE SKILL.md / CLAUDE.md (ADR-0050); NOT executable skills
48
+ 'tbox/guidance.ttl',
49
+ // Actor context + portable authority chain (spec 326; ADR-0052)
50
+ 'tbox/actor-context.ttl',
37
51
  ],
38
52
  cbox: [
39
53
  'cbox/canonical-agent-id-shape.shacl.ttl',
@@ -41,14 +55,33 @@ export const ARTIFACTS = {
41
55
  // Generic skills + geo codelists — on-chain-bound kinds (lockstep, ADR-0009)
42
56
  'cbox/skill-vocabulary.ttl',
43
57
  'cbox/geo-vocabulary.ttl',
58
+ // AP-Scope-V1 codelists + the reliance profile (spec 308)
59
+ 'cbox/scope-vocabulary.ttl',
44
60
  // Verifiable-content codelists + ContentDescriptor shape (spec 266)
45
61
  'cbox/content-vocabulary.ttl',
46
62
  // GraphDB A-box ingestion + discovery/trust/admin findings shapes
47
63
  'cbox/discovery-graph-shapes.shacl.ttl',
64
+ // Interaction / organization codelists (spec 324)
65
+ 'cbox/interaction-vocabulary.ttl',
66
+ // Skill grounding protocols (spec 325)
67
+ 'cbox/skill-grounding-vocabulary.ttl',
68
+ 'cbox/guidance-vocabulary.ttl',
48
69
  ],
49
70
  mappings: [
50
71
  'mappings/spine-standards.ttl',
51
72
  'mappings/agent-discovery-standards.ttl',
73
+ // Collaboration Profile crosswalks (spec 325; ADR-0049)
74
+ 'mappings/collaboration-profile.ttl',
75
+ 'mappings/collaboration-crosswalk-actors.ttl',
76
+ 'mappings/collaboration-crosswalk-organization.ttl',
77
+ 'mappings/collaboration-crosswalk-messaging.ttl',
78
+ 'mappings/collaboration-crosswalk-intent.ttl',
79
+ 'mappings/collaboration-crosswalk-skills.ttl',
80
+ 'mappings/collaboration-crosswalk-authority.ttl',
81
+ 'mappings/collaboration-crosswalk-protocols.ttl',
82
+ 'mappings/collaboration-crosswalk-guidance.ttl',
83
+ // Actor-context DUAL grounding — web2 (IAM/legal) + web3 (ERC/CAIP) (spec 326; ADR-0052)
84
+ 'mappings/actor-context-standards.ttl',
52
85
  ],
53
86
  };
54
87
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"artifacts.js","sourceRoot":"","sources":["../src/artifacts.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,EAAE;AACF,0EAA0E;AAC1E,8EAA8E;AAC9E,6EAA6E;AAC7E,yCAAyC;AAEzC,OAAO,EAAE,aAAa,EAAE,MA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AoB;QACpB,kBAAkB;QAClB,sBAAsB;QACtB,sBAAsB;QACtB,4CAA4C;QAC5C,iBAAiB;QACjB,cAAc;QACd,kDAAkD;QAClD,kBAAkB;QAClB,oEAAoE;QACpE,mBAAmB;QACnB,oBAAoB;QACpB,gBAAgB;QAChB,4BAA4B;QAC5B,8DAA8D;QAC9D,+BAA+B;QAC/B,yBAAyB;QACzB,gBAAgB;QAChB,oDAAoD;QACpD,oBAAoB;QACpB,cAAc;QACd,sBAAsB;QACtB,iBAAiB;QACjB,oBAAoB;QACpB,oFAAoF;QACpF,mBAAmB;QACnB,gEAAgE;QAChE,wBAAwB;KACzB;IACD,IAAI,EAAE;QACJ,yCAAyC;QACzC,kCAAkC;QAClC,6EAA6E;QAC7E,2BAA2B;QAC3B,yBAAyB;QACzB,0DAA0D;QAC1D,2BAA2B;QAC3B,oEAAoE;QACpE,6BAA6B;QAC7B,kEAAkE;QAClE,uCAAuC;QACvC,kDAAkD;QAClD,iCAAiC;QACjC,uCAAuC;QACvC,qCAAqC;QACrC,8BAA8B;KAC/B;IACD,QAAQ,EAAE;QACR,8BAA8B;QAC9B,wCAAwC;QACxC,wDAAwD;QACxD,oCAAoC;QACpC,6CAA6C;QAC7C,mDAAmD;QACnD,gDAAgD;QAChD,6CAA6C;QAC7C,6CAA6C;QAC7C,gDAAgD;QAChD,gDAAgD;QAChD,+CAA+C;QAC/C,yFAAyF;QACzF,sCAAsC;KACvC;CACO,CAAC;AAEX;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,YAAoB;IAC/C,OAAO,aAAa,CAAC,IAAI,GAAG,CAAC,MAAM,YAAY,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AACvE,CAAC"}
@@ -0,0 +1,29 @@
1
+ export interface StandardGrounding {
2
+ /** The recognizable term in that world (e.g. "OAuth cnf", "ERC-4337 account"). */
3
+ term: string;
4
+ /** The owning standard / body (e.g. "RFC 7800", "GDPR Art. 4", "CAIP-10"). */
5
+ standard: string;
6
+ /** Canonical URL for the standard. */
7
+ ref: string;
8
+ }
9
+ export interface GroundedTerm {
10
+ /** Canonical AP name — identical to the TS type/field name AND the ontology `rdfs:label`. */
11
+ term: string;
12
+ /** The ontology IRI (T-box term in `tbox/actor-context.ttl`). */
13
+ iri: string;
14
+ /** Human label for UX surfaces. */
15
+ label: string;
16
+ /** One-line, jargon-free gloss for a non-expert. */
17
+ plainEnglish: string;
18
+ /** What a web2 IAM / security / legal reader already calls this. */
19
+ web2: StandardGrounding;
20
+ /** What a web3 reader already calls this. */
21
+ web3: StandardGrounding;
22
+ /** True for terms that carry context/presentation only — they NEVER authorize (ADR-0010/0020/0052). */
23
+ notAuthority?: boolean;
24
+ }
25
+ /** The actor-context / accountability vocabulary, each term dual-grounded (web2 + web3). Order is narrative. */
26
+ export declare const GROUNDED_VOCABULARY: readonly GroundedTerm[];
27
+ /** Look up a grounded term by its canonical name (the TS/ontology name). */
28
+ export declare function groundedTerm(term: string): GroundedTerm | undefined;
29
+ //# sourceMappingURL=grounded-vocabulary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grounded-vocabulary.d.ts","sourceRoot":"","sources":["../src/grounded-vocabulary.ts"],"names":[],"mappings":"AAYA,MAAM,WAAW,iBAAiB;IAChC,kFAAkF;IAClF,IAAI,EAAE,MAAM,CAAC;IACb,8EAA8E;IAC9E,QAAQ,EAAE,MAAM,CAAC;IACjB,sCAAsC;IACtC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,YAAY;IAC3B,6FAA6F;IAC7F,IAAI,EAAE,MAAM,CAAC;IACb,iEAAiE;IACjE,GAAG,EAAE,MAAM,CAAC;IACZ,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,YAAY,EAAE,MAAM,CAAC;IACrB,oEAAoE;IACpE,IAAI,EAAE,iBAAiB,CAAC;IACxB,6CAA6C;IAC7C,IAAI,EAAE,iBAAiB,CAAC;IACxB,uGAAuG;IACvG,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAID,gHAAgH;AAChH,eAAO,MAAM,mBAAmB,EAAE,SAAS,YAAY,EA2FtD,CAAC;AAIF,4EAA4E;AAC5E,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAEnE"}
@@ -0,0 +1,110 @@
1
+ // Grounded vocabulary — spec 326 W1 (ADR-0052). The machine-readable, dual-grounded glossary.
2
+ //
3
+ // WHY THIS EXISTS: explainability lives in the TERMS, carried consistently across ontology, code, and UX — not
4
+ // in a side document. This is the single source those three consumers share: the ontology IRI (`iri`), the code
5
+ // type name (`term`), and the UX label (`label`) are the SAME concept, and each carries the web2 IAM/legal term
6
+ // AND the web3 term a reader already recognizes. A UI renders `label` + a "web2 · web3" tooltip; a doc generates
7
+ // from `plainEnglish`; a type name matches `term`. Pure browser-safe data — no Node builtins.
8
+ // Namespace base inlined (NOT imported from ./index) to avoid a module-eval circular-init cycle — index.ts
9
+ // re-exports this file, so importing NS back would read it in TDZ. Value is identical to `NS.apactor`.
10
+ const APACTOR_NS = 'https://agenticprimitives.dev/ns/actor#';
11
+ const A = (local) => `${APACTOR_NS}${local}`;
12
+ /** The actor-context / accountability vocabulary, each term dual-grounded (web2 + web3). Order is narrative. */
13
+ export const GROUNDED_VOCABULARY = [
14
+ {
15
+ term: 'accountabilityRoot',
16
+ iri: A('AccountabilityRoot'),
17
+ label: 'Accountable party',
18
+ plainEnglish: 'The durable anchor everything serious traces back to — custody, revocation, disputes.',
19
+ web2: { term: 'accountable party / controller', standard: 'GDPR Art. 4', ref: 'https://gdpr-info.eu/art-4-gdpr/' },
20
+ web3: { term: 'ERC-4337 Smart Agent', standard: 'ERC-4337 / CAIP-10', ref: 'https://eips.ethereum.org/EIPS/eip-4337' },
21
+ },
22
+ {
23
+ term: 'presentationIdentifier',
24
+ iri: A('PresentationIdentifier'),
25
+ label: 'Shown as',
26
+ plainEnglish: 'What one specific counterparty or surface is shown — a name, a pseudonym, or a proof.',
27
+ web2: { term: 'pairwise subject identifier', standard: 'OpenID Connect Core §8', ref: 'https://openid.net/specs/openid-connect-core-1_0.html#SubjectIDTypes' },
28
+ web3: { term: 'displayed address / registry entry', standard: 'ERC-8004', ref: 'https://eips.ethereum.org/EIPS/eip-8004' },
29
+ notAuthority: true,
30
+ },
31
+ {
32
+ term: 'rootPrincipal',
33
+ iri: A('rootPrincipal'),
34
+ label: 'On behalf of',
35
+ plainEnglish: 'The human or organization ultimately represented — may be shown pseudonymously.',
36
+ web2: { term: 'resource owner / principal', standard: 'OAuth 2.0 (RFC 6749)', ref: 'https://www.rfc-editor.org/rfc/rfc6749#section-1.1' },
37
+ web3: { term: 'controlling Person/Org SA', standard: 'CAIP-10', ref: 'https://chainagnostic.org/CAIPs/caip-10' },
38
+ },
39
+ {
40
+ term: 'originatingAgent',
41
+ iri: A('originatingAgent'),
42
+ label: 'Started by',
43
+ plainEnglish: 'The agent that kicked off the overall task.',
44
+ web2: { term: 'initiating client', standard: 'OAuth 2.0', ref: 'https://www.rfc-editor.org/rfc/rfc6749' },
45
+ web3: { term: 'originating Smart Agent', standard: 'CAIP-10', ref: 'https://chainagnostic.org/CAIPs/caip-10' },
46
+ },
47
+ {
48
+ term: 'actingAgent',
49
+ iri: A('actingAgent'),
50
+ label: 'Acting agent',
51
+ plainEnglish: 'The agent performing this particular step — possibly a sub-agent.',
52
+ web2: { term: 'actor (act claim)', standard: 'Token Exchange (RFC 8693)', ref: 'https://www.rfc-editor.org/rfc/rfc8693#section-4.1' },
53
+ web3: { term: 'session-key Smart Agent', standard: 'ERC-4337', ref: 'https://eips.ethereum.org/EIPS/eip-4337' },
54
+ },
55
+ {
56
+ term: 'agentInstance',
57
+ iri: A('AgentInstance'),
58
+ label: 'Running instance',
59
+ plainEnglish: 'The specific task, session, or container actually running right now.',
60
+ web2: { term: 'workload instance', standard: 'WIMSE / SPIFFE', ref: 'https://spiffe.io/docs/latest/spiffe-about/spiffe-concepts/' },
61
+ web3: { term: 'running session/container', standard: 'spec 326', ref: 'https://eips.ethereum.org/EIPS/eip-4337' },
62
+ },
63
+ {
64
+ term: 'confirmationKey',
65
+ iri: A('ConfirmationKey'),
66
+ label: 'Proof key',
67
+ plainEnglish: 'A key that proves possession — not who the agent is. It can rotate freely.',
68
+ web2: { term: 'cnf proof-of-possession', standard: 'RFC 7800', ref: 'https://www.rfc-editor.org/rfc/rfc7800' },
69
+ web3: { term: 'session key / passkey signer', standard: 'WebAuthn', ref: 'https://www.w3.org/TR/webauthn-3/' },
70
+ notAuthority: true,
71
+ },
72
+ {
73
+ term: 'SubjectRef',
74
+ iri: A('SubjectRef'),
75
+ label: 'Subject reference',
76
+ plainEnglish: 'A pointer to a party in any trust domain — kept typed so they are never confused.',
77
+ web2: { term: 'subject identifier', standard: 'RFC 9493', ref: 'https://www.rfc-editor.org/rfc/rfc9493' },
78
+ web3: { term: 'CAIP-10 account id', standard: 'CAIP-10', ref: 'https://chainagnostic.org/CAIPs/caip-10' },
79
+ },
80
+ {
81
+ term: 'SubjectBinding',
82
+ iri: A('SubjectBinding'),
83
+ label: 'Verified link',
84
+ plainEnglish: 'Signed proof that two identifiers refer to the same party — without merging them.',
85
+ web2: { term: 'account linking / VC', standard: 'W3C VC Data Model 2.0', ref: 'https://www.w3.org/TR/vc-data-model-2.0/' },
86
+ web3: { term: 'ERC-1271-verified signed link', standard: 'ERC-1271', ref: 'https://eips.ethereum.org/EIPS/eip-1271' },
87
+ },
88
+ {
89
+ term: 'delegatedTo',
90
+ iri: A('delegatedTo'),
91
+ label: 'Permission to act',
92
+ plainEnglish: 'Bounded permission to act on someone else’s behalf.',
93
+ web2: { term: 'delegation / power of attorney', standard: 'Token Exchange (RFC 8693)', ref: 'https://www.rfc-editor.org/rfc/rfc8693' },
94
+ web3: { term: 'on-chain Delegation', standard: 'ERC-7710', ref: 'https://eips.ethereum.org/EIPS/eip-7710' },
95
+ },
96
+ {
97
+ term: 'AuthorityChainEnvelope',
98
+ iri: A('AuthorityChainEnvelope'),
99
+ label: 'Authority chain',
100
+ plainEnglish: 'The portable, ordered record of how permission flowed from the root to this step.',
101
+ web2: { term: 'nested act delegation chain', standard: 'Token Exchange (RFC 8693)', ref: 'https://www.rfc-editor.org/rfc/rfc8693' },
102
+ web3: { term: 'on-chain delegation chain', standard: 'ERC-7710', ref: 'https://eips.ethereum.org/EIPS/eip-7710' },
103
+ },
104
+ ];
105
+ const BY_TERM = new Map(GROUNDED_VOCABULARY.map((t) => [t.term, t]));
106
+ /** Look up a grounded term by its canonical name (the TS/ontology name). */
107
+ export function groundedTerm(term) {
108
+ return BY_TERM.get(term);
109
+ }
110
+ //# sourceMappingURL=grounded-vocabulary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grounded-vocabulary.js","sourceRoot":"","sources":["../src/grounded-vocabulary.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,EAAE;AACF,+GAA+G;AAC/G,gHAAgH;AAChH,gHAAgH;AAChH,iHAAiH;AACjH,8FAA8F;AAE9F,2GAA2G;AAC3G,uGAAuG;AACvG,MAAM,UAAU,GAAG,yCAAyC,CAAC;AA4B7D,MAAM,CAAC,GAAG,CAAC,KAAa,EAAU,EAAE,CAAC,GAAG,UAAU,GAAG,KAAK,EAAE,CAAC;AAE7D,gHAAgH;AAChH,MAAM,CAAC,MAAM,mBAAmB,GAA4B;IAC1D;QACE,IAAI,EAAE,oBAAoB;QAC1B,GAAG,EAAE,CAAC,CAAC,oBAAoB,CAAC;QAC5B,KAAK,EAAE,mBAAmB;QAC1B,YAAY,EAAE,uFAAuF;QACrG,IAAI,EAAE,EAAE,IAAI,EAAE,gCAAgC,EAAE,QAAQ,EAAE,aAAa,EAAE,GAAG,EAAE,kCAAkC,EAAE;QAClH,IAAI,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,QAAQ,EAAE,oBAAoB,EAAE,GAAG,EAAE,yCAAyC,EAAE;KACvH;IACD;QACE,IAAI,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