@agenticprimitives/ontology 1.0.0-alpha.4 → 1.0.0-alpha.5

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.
@@ -0,0 +1,36 @@
1
+ # C-box — geo controlled vocabularies (spec 251). Closed SKOS codelists for the generic
2
+ # geo substrate: geo feature KINDS (on-chain-bound) + geo RELATIONS (off-chain claim SDK).
3
+ #
4
+ # LOCKSTEP (ADR-0009): the on-chain `GeoFeatureRegistry.KIND_*` constants equal
5
+ # keccak256(<the geoKind concept URI>) declared here; asserted by the lockstep gate.
6
+ #
7
+ # NEUTRAL public geography ONLY (spec 251 GFR-07). A feature is a generic public place —
8
+ # never tagged with operational/sensitivity/ministry data. Sensitivity is an OFF-chain
9
+ # app policy OVER neutral features. The agent↔feature ASSOCIATION is an off-chain vault
10
+ # credential, never on chain; there is NO on-chain skill↔geo mapping.
11
+
12
+ @prefix apg: <https://agenticprimitives.dev/ns/geo#> .
13
+ @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
14
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
15
+
16
+ # ─── geoKind — 5 values, ON-CHAIN-BOUND (GeoFeatureRegistry.KIND_*) ─────────
17
+ apg:geoKind a skos:ConceptScheme ;
18
+ rdfs:label "geoKind" ;
19
+ rdfs:comment "The on-chain-bound geo-feature kind. keccak256 of each concept URI equals the matching GeoFeatureRegistry.KIND_* constant (ADR-0009 lockstep). Generic public geography only." ;
20
+ skos:hasTopConcept apg:Planet, apg:Region, apg:Country, apg:AdminArea, apg:Custom .
21
+ apg:Planet a skos:Concept ; skos:inScheme apg:geoKind ; skos:prefLabel "planet" .
22
+ apg:Region a skos:Concept ; skos:inScheme apg:geoKind ; skos:prefLabel "region" .
23
+ apg:Country a skos:Concept ; skos:inScheme apg:geoKind ; skos:prefLabel "country" .
24
+ apg:AdminArea a skos:Concept ; skos:inScheme apg:geoKind ; skos:prefLabel "admin-area" .
25
+ apg:Custom a skos:Concept ; skos:inScheme apg:geoKind ; skos:prefLabel "custom" .
26
+
27
+ # ─── geoRelation — used by the OFF-CHAIN geo claim credential (not on chain) ──
28
+ apg:geoRelation a skos:ConceptScheme ;
29
+ rdfs:label "geoRelation" ;
30
+ rdfs:comment "Relation a claim credential asserts between a subject SA and a geo feature. Off chain only; never an on-chain row (it would leak operational association)." ;
31
+ skos:hasTopConcept apg:servesWithin, apg:operatesIn, apg:licensedIn, apg:residentOf, apg:originIn .
32
+ apg:servesWithin a skos:Concept ; skos:inScheme apg:geoRelation ; skos:prefLabel "servesWithin" .
33
+ apg:operatesIn a skos:Concept ; skos:inScheme apg:geoRelation ; skos:prefLabel "operatesIn" .
34
+ apg:licensedIn a skos:Concept ; skos:inScheme apg:geoRelation ; skos:prefLabel "licensedIn" .
35
+ apg:residentOf a skos:Concept ; skos:inScheme apg:geoRelation ; skos:prefLabel "residentOf" .
36
+ apg:originIn a skos:Concept ; skos:inScheme apg:geoRelation ; skos:prefLabel "originIn" .
@@ -0,0 +1,50 @@
1
+ # C-box — skill controlled vocabularies (spec 251). Closed SKOS codelists for the
2
+ # generic skills substrate: skill KINDS (on-chain-bound), skill RELATIONS + VISIBILITY
3
+ # modes (used by the off-chain claim credential SDK).
4
+ #
5
+ # LOCKSTEP (ADR-0009): the on-chain `SkillDefinitionRegistry.KIND_*` constants equal
6
+ # keccak256(<the skillKind concept URI>) declared here. The lockstep gate
7
+ # (packages/ontology test) asserts this equality.
8
+ #
9
+ # NEUTRAL substrate — NO domain/faith vocabulary (spec 251 "People groups are excluded").
10
+ # A skill is a generic capability concept; the agent↔skill ASSOCIATION is an off-chain
11
+ # vault credential, never an on-chain row.
12
+
13
+ @prefix aps: <https://agenticprimitives.dev/ns/skill#> .
14
+ @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
15
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
16
+
17
+ # ─── skillKind — 3 values, ON-CHAIN-BOUND (SkillDefinitionRegistry.KIND_*) ──
18
+ aps:skillKind a skos:ConceptScheme ;
19
+ rdfs:label "skillKind" ;
20
+ rdfs:comment "The on-chain-bound skill-definition kind. keccak256 of each concept URI equals the matching SkillDefinitionRegistry.KIND_* constant (ADR-0009 lockstep)." ;
21
+ skos:hasTopConcept aps:Leaf, aps:Domain, aps:Custom .
22
+ aps:Leaf a skos:Concept ; skos:inScheme aps:skillKind ; skos:prefLabel "leaf" ;
23
+ rdfs:comment "A leaf skill in a controlled taxonomy (e.g. an OASF leaf)." .
24
+ aps:Domain a skos:Concept ; skos:inScheme aps:skillKind ; skos:prefLabel "domain" ;
25
+ rdfs:comment "A domain/grouping concept (a non-leaf category)." .
26
+ aps:Custom a skos:Concept ; skos:inScheme aps:skillKind ; skos:prefLabel "custom" ;
27
+ rdfs:comment "A steward-defined custom skill outside the controlled set." .
28
+
29
+ # ─── skillRelation — used by the OFF-CHAIN claim credential (not on chain) ──
30
+ aps:skillRelation a skos:ConceptScheme ;
31
+ rdfs:label "skillRelation" ;
32
+ rdfs:comment "Relation a claim credential asserts between a subject SA and a skill definition. Lives in the credential body (off chain); not an on-chain row." ;
33
+ skos:hasTopConcept aps:hasSkill, aps:practicesSkill, aps:certifiedIn, aps:endorsesSkill, aps:mentorsIn, aps:canTrainOthersIn .
34
+ aps:hasSkill a skos:Concept ; skos:inScheme aps:skillRelation ; skos:prefLabel "hasSkill" .
35
+ aps:practicesSkill a skos:Concept ; skos:inScheme aps:skillRelation ; skos:prefLabel "practicesSkill" .
36
+ aps:certifiedIn a skos:Concept ; skos:inScheme aps:skillRelation ; skos:prefLabel "certifiedIn" .
37
+ aps:endorsesSkill a skos:Concept ; skos:inScheme aps:skillRelation ; skos:prefLabel "endorsesSkill" .
38
+ aps:mentorsIn a skos:Concept ; skos:inScheme aps:skillRelation ; skos:prefLabel "mentorsIn" .
39
+ aps:canTrainOthersIn a skos:Concept ; skos:inScheme aps:skillRelation ; skos:prefLabel "canTrainOthersIn" .
40
+
41
+ # ─── claimVisibility — shared by skill + geo claim credentials ──────────────
42
+ aps:claimVisibility a skos:ConceptScheme ;
43
+ rdfs:label "claimVisibility" ;
44
+ rdfs:comment "Visibility mode of an off-chain skill/geo claim credential." ;
45
+ skos:hasTopConcept aps:Public, aps:PublicCoarse, aps:PrivateCommitment, aps:PrivateZk, aps:OffchainOnly .
46
+ aps:Public a skos:Concept ; skos:inScheme aps:claimVisibility ; skos:prefLabel "public" .
47
+ aps:PublicCoarse a skos:Concept ; skos:inScheme aps:claimVisibility ; skos:prefLabel "public-coarse" .
48
+ aps:PrivateCommitment a skos:Concept ; skos:inScheme aps:claimVisibility ; skos:prefLabel "private-commitment" .
49
+ aps:PrivateZk a skos:Concept ; skos:inScheme aps:claimVisibility ; skos:prefLabel "private-zk" .
50
+ aps:OffchainOnly a skos:Concept ; skos:inScheme aps:claimVisibility ; skos:prefLabel "offchain-only" .
package/context.jsonld CHANGED
@@ -10,12 +10,24 @@
10
10
  "aprel": "https://agenticprimitives.dev/ns/relationships#",
11
11
  "aporg": "https://agenticprimitives.dev/ns/org#",
12
12
 
13
+ "apint": "https://agenticprimitives.dev/ns/intent#",
14
+ "apcst": "https://agenticprimitives.dev/ns/constraint#",
15
+ "apres": "https://agenticprimitives.dev/ns/resolution#",
16
+ "apagr": "https://agenticprimitives.dev/ns/agreement#",
17
+ "appay": "https://agenticprimitives.dev/ns/payment#",
18
+ "apful": "https://agenticprimitives.dev/ns/fulfillment#",
19
+ "apatt": "https://agenticprimitives.dev/ns/attestation#",
20
+ "apvc": "https://agenticprimitives.dev/ns/verifiable-credential#",
21
+
13
22
  "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
14
23
  "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
15
24
  "owl": "http://www.w3.org/2002/07/owl#",
16
25
  "xsd": "http://www.w3.org/2001/XMLSchema#",
17
26
  "sh": "http://www.w3.org/ns/shacl#",
18
27
  "skos": "http://www.w3.org/2004/02/skos/core#",
19
- "prov": "http://www.w3.org/ns/prov#"
28
+ "prov": "http://www.w3.org/ns/prov#",
29
+ "vf": "https://w3id.org/valueflows#",
30
+ "ufo-c": "http://purl.org/nemo/ufo-c#",
31
+ "w3cvc": "https://www.w3.org/2018/credentials#"
20
32
  }
21
33
  }
@@ -5,8 +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"];
9
- readonly cbox: readonly ["cbox/canonical-agent-id-shape.shacl.ttl", "cbox/controlled-vocabularies.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"];
9
+ readonly cbox: readonly ["cbox/canonical-agent-id-shape.shacl.ttl", "cbox/controlled-vocabularies.ttl", "cbox/skill-vocabulary.ttl", "cbox/geo-vocabulary.ttl"];
10
+ readonly mappings: readonly ["mappings/spine-standards.ttl"];
10
11
  };
11
12
  /**
12
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;;;;CAIZ,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;;;;;CA0BZ,CAAC;AAEX;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAEzD"}
package/dist/artifacts.js CHANGED
@@ -12,8 +12,30 @@ import { fileURLToPath } from 'node:url';
12
12
  */
13
13
  export const ARTIFACTS = {
14
14
  context: 'context.jsonld',
15
- tbox: ['tbox/core.ttl', 'tbox/identity.ttl'],
16
- cbox: ['cbox/canonical-agent-id-shape.shacl.ttl', 'cbox/controlled-vocabularies.ttl'],
15
+ tbox: [
16
+ // Phase-1 (identity + core)
17
+ 'tbox/core.ttl',
18
+ 'tbox/identity.ttl',
19
+ // Phase-1.5 (v2 coordination substrate spine; spec 225 §11.5)
20
+ 'tbox/intents.ttl',
21
+ 'tbox/constraints.ttl',
22
+ 'tbox/resolution.ttl',
23
+ 'tbox/agreement.ttl',
24
+ 'tbox/payment.ttl',
25
+ 'tbox/fulfillment.ttl',
26
+ 'tbox/attestation.ttl',
27
+ // Generic skills + geo substrate (spec 251)
28
+ 'tbox/skills.ttl',
29
+ 'tbox/geo.ttl',
30
+ ],
31
+ cbox: [
32
+ 'cbox/canonical-agent-id-shape.shacl.ttl',
33
+ 'cbox/controlled-vocabularies.ttl',
34
+ // Generic skills + geo codelists — on-chain-bound kinds (lockstep, ADR-0009)
35
+ 'cbox/skill-vocabulary.ttl',
36
+ 'cbox/geo-vocabulary.ttl',
37
+ ],
38
+ mappings: ['mappings/spine-standards.ttl'],
17
39
  };
18
40
  /**
19
41
  * Resolve a shipped artifact's relative path (see {@link ARTIFACTS}) to an
@@ -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,MAAM,UAAU,CAAC;AAEzC;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,OAAO,EAAE,gBAAgB;IACzB,IAAI,EAAE,CAAC,eAAe,EAAE,mBAAmB,CAAC;IAC5C,IAAI,EAAE,CAAC,yCAAyC,EAAE,kCAAkC,CAAC;CAC7E,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"}
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,MAAM,UAAU,CAAC;AAEzC;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,OAAO,EAAE,gBAAgB;IACzB,IAAI,EAAE;QACJ,4BAA4B;QAC5B,eAAe;QACf,mBAAmB;QACnB,8DAA8D;QAC9D,kBAAkB;QAClB,sBAAsB;QACtB,qBAAqB;QACrB,oBAAoB;QACpB,kBAAkB;QAClB,sBAAsB;QACtB,sBAAsB;QACtB,4CAA4C;QAC5C,iBAAiB;QACjB,cAAc;KACf;IACD,IAAI,EAAE;QACJ,yCAAyC;QACzC,kCAAkC;QAClC,6EAA6E;QAC7E,2BAA2B;QAC3B,yBAAyB;KAC1B;IACD,QAAQ,EAAE,CAAC,8BAA8B,CAAC;CAClC,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"}
package/dist/index.d.ts CHANGED
@@ -4,6 +4,12 @@ export declare const ONTOLOGY_VERSION: "0.1.0";
4
4
  * Namespace IRIs, split per domain (mirrors the reference
5
5
  * `smartagent.io/ontology/<domain>#` scheme; spec 225 §4). Pinned base:
6
6
  * `https://agenticprimitives.dev/ns/`.
7
+ *
8
+ * Wave 1 (2026-06-02b) added the v2 coordination substrate namespaces per
9
+ * spec 225 §11.5 (apint / apcst / apres / apagr / appay / apful / apatt /
10
+ * apvc) — substrate-wide T-box vocabulary for the 15-layer coordination spine
11
+ * (ADR-0024). Runtime SHACL shapes for each live in their owning packages
12
+ * per PD-19.
7
13
  */
8
14
  export declare const NS: {
9
15
  readonly ap: "https://agenticprimitives.dev/ns/core#";
@@ -15,6 +21,16 @@ export declare const NS: {
15
21
  readonly apnam: "https://agenticprimitives.dev/ns/naming#";
16
22
  readonly aprel: "https://agenticprimitives.dev/ns/relationships#";
17
23
  readonly aporg: "https://agenticprimitives.dev/ns/org#";
24
+ readonly apint: "https://agenticprimitives.dev/ns/intent#";
25
+ readonly apcst: "https://agenticprimitives.dev/ns/constraint#";
26
+ readonly apres: "https://agenticprimitives.dev/ns/resolution#";
27
+ readonly apagr: "https://agenticprimitives.dev/ns/agreement#";
28
+ readonly appay: "https://agenticprimitives.dev/ns/payment#";
29
+ readonly apful: "https://agenticprimitives.dev/ns/fulfillment#";
30
+ readonly apatt: "https://agenticprimitives.dev/ns/attestation#";
31
+ readonly apvc: "https://agenticprimitives.dev/ns/verifiable-credential#";
32
+ readonly aps: "https://agenticprimitives.dev/ns/skill#";
33
+ readonly apg: "https://agenticprimitives.dev/ns/geo#";
18
34
  };
19
35
  /** Class IRIs (T-box). Each is `<namespace><LocalName>`. */
20
36
  export declare const CLASS: {
@@ -26,6 +42,59 @@ export declare const CLASS: {
26
42
  readonly NameFacet: "https://agenticprimitives.dev/ns/naming#NameFacet";
27
43
  readonly OidcSubject: "https://agenticprimitives.dev/ns/identity#OidcSubject";
28
44
  readonly Org: "https://agenticprimitives.dev/ns/org#Org";
45
+ readonly Desire: "https://agenticprimitives.dev/ns/intent#Desire";
46
+ readonly Intent: "https://agenticprimitives.dev/ns/intent#Intent";
47
+ readonly ReceiveIntent: "https://agenticprimitives.dev/ns/intent#ReceiveIntent";
48
+ readonly GiveIntent: "https://agenticprimitives.dev/ns/intent#GiveIntent";
49
+ readonly MatchInitiation: "https://agenticprimitives.dev/ns/intent#MatchInitiation";
50
+ readonly IntentMatch: "https://agenticprimitives.dev/ns/intent#IntentMatch";
51
+ readonly Commitment: "https://agenticprimitives.dev/ns/intent#Commitment";
52
+ readonly Proposal: "https://agenticprimitives.dev/ns/intent#Proposal";
53
+ readonly SolverBid: "https://agenticprimitives.dev/ns/intent#SolverBid";
54
+ readonly ConstraintSet: "https://agenticprimitives.dev/ns/constraint#ConstraintSet";
55
+ readonly Constraint: "https://agenticprimitives.dev/ns/constraint#Constraint";
56
+ readonly HardConstraint: "https://agenticprimitives.dev/ns/constraint#HardConstraint";
57
+ readonly SoftConstraint: "https://agenticprimitives.dev/ns/constraint#SoftConstraint";
58
+ readonly ConstraintDomain: "https://agenticprimitives.dev/ns/constraint#ConstraintDomain";
59
+ readonly EnumDomain: "https://agenticprimitives.dev/ns/constraint#EnumDomain";
60
+ readonly RangeDomain: "https://agenticprimitives.dev/ns/constraint#RangeDomain";
61
+ readonly SetDomain: "https://agenticprimitives.dev/ns/constraint#SetDomain";
62
+ readonly PredicateDomain: "https://agenticprimitives.dev/ns/constraint#PredicateDomain";
63
+ readonly AssumptionSet: "https://agenticprimitives.dev/ns/constraint#AssumptionSet";
64
+ readonly NamedAssumption: "https://agenticprimitives.dev/ns/constraint#NamedAssumption";
65
+ readonly ValidationRequirement: "https://agenticprimitives.dev/ns/constraint#ValidationRequirement";
66
+ readonly Resolver: "https://agenticprimitives.dev/ns/resolution#Resolver";
67
+ readonly ResolvedOrder: "https://agenticprimitives.dev/ns/resolution#ResolvedOrder";
68
+ readonly ResolutionReceipt: "https://agenticprimitives.dev/ns/resolution#ResolutionReceipt";
69
+ readonly PolicyCheckResult: "https://agenticprimitives.dev/ns/resolution#PolicyCheckResult";
70
+ readonly ToolCallTrace: "https://agenticprimitives.dev/ns/resolution#ToolCallTrace";
71
+ readonly AgreementCommitment: "https://agenticprimitives.dev/ns/agreement#AgreementCommitment";
72
+ readonly AgreementCredential: "https://agenticprimitives.dev/ns/agreement#AgreementCredential";
73
+ readonly AgreementStatus: "https://agenticprimitives.dev/ns/agreement#AgreementStatus";
74
+ readonly PaymentMandate: "https://agenticprimitives.dev/ns/payment#PaymentMandate";
75
+ readonly OpenPaymentMandate: "https://agenticprimitives.dev/ns/payment#OpenPaymentMandate";
76
+ readonly ClosedPaymentMandate: "https://agenticprimitives.dev/ns/payment#ClosedPaymentMandate";
77
+ readonly PaymentReceipt: "https://agenticprimitives.dev/ns/payment#PaymentReceipt";
78
+ readonly MandateConstraints: "https://agenticprimitives.dev/ns/payment#MandateConstraints";
79
+ readonly ContextBinding: "https://agenticprimitives.dev/ns/payment#ContextBinding";
80
+ readonly PaymentRail: "https://agenticprimitives.dev/ns/payment#PaymentRail";
81
+ readonly FulfillmentCase: "https://agenticprimitives.dev/ns/fulfillment#FulfillmentCase";
82
+ readonly FulfillmentTopology: "https://agenticprimitives.dev/ns/fulfillment#FulfillmentTopology";
83
+ readonly Task: "https://agenticprimitives.dev/ns/fulfillment#Task";
84
+ readonly HandoffPolicy: "https://agenticprimitives.dev/ns/fulfillment#HandoffPolicy";
85
+ readonly Message: "https://agenticprimitives.dev/ns/fulfillment#Message";
86
+ readonly Artifact: "https://agenticprimitives.dev/ns/fulfillment#Artifact";
87
+ readonly ArtifactKind: "https://agenticprimitives.dev/ns/fulfillment#ArtifactKind";
88
+ readonly IntentTraceSpan: "https://agenticprimitives.dev/ns/fulfillment#IntentTraceSpan";
89
+ readonly Attestation: "https://agenticprimitives.dev/ns/attestation#Attestation";
90
+ readonly EvidenceCredential: "https://agenticprimitives.dev/ns/attestation#EvidenceCredential";
91
+ readonly OutcomeCredential: "https://agenticprimitives.dev/ns/attestation#OutcomeCredential";
92
+ readonly ValidationCredential: "https://agenticprimitives.dev/ns/attestation#ValidationCredential";
93
+ readonly Validator: "https://agenticprimitives.dev/ns/attestation#Validator";
94
+ readonly ValidatorKind: "https://agenticprimitives.dev/ns/attestation#ValidatorKind";
95
+ readonly TrustUpdate: "https://agenticprimitives.dev/ns/attestation#TrustUpdate";
96
+ readonly AssociationCredential: "https://agenticprimitives.dev/ns/attestation#AssociationCredential";
97
+ readonly VerifiableCredential: "https://agenticprimitives.dev/ns/verifiable-credential#VerifiableCredential";
29
98
  };
30
99
  /** Predicate / property IRIs (T-box). */
31
100
  export declare const PREDICATE: {
@@ -37,8 +106,94 @@ export declare const PREDICATE: {
37
106
  readonly resolvesTo: "https://agenticprimitives.dev/ns/naming#resolvesTo";
38
107
  readonly memberOf: "https://agenticprimitives.dev/ns/org#memberOf";
39
108
  readonly delegatesTo: "https://agenticprimitives.dev/ns/delegation#delegatesTo";
109
+ readonly direction: "https://agenticprimitives.dev/ns/intent#direction";
110
+ readonly object: "https://agenticprimitives.dev/ns/intent#object";
111
+ readonly topic: "https://agenticprimitives.dev/ns/intent#topic";
112
+ readonly expressedBy: "https://agenticprimitives.dev/ns/intent#expressedBy";
113
+ readonly addressedTo: "https://agenticprimitives.dev/ns/intent#addressedTo";
114
+ readonly hasConstraintSet: "https://agenticprimitives.dev/ns/intent#hasConstraintSet";
115
+ readonly hasAssumptionSet: "https://agenticprimitives.dev/ns/intent#hasAssumptionSet";
116
+ readonly expectedOutcome: "https://agenticprimitives.dev/ns/intent#expectedOutcome";
117
+ readonly visibility: "https://agenticprimitives.dev/ns/intent#visibility";
118
+ readonly status: "https://agenticprimitives.dev/ns/intent#status";
119
+ readonly matchedWith: "https://agenticprimitives.dev/ns/intent#matchedWith";
120
+ readonly variable: "https://agenticprimitives.dev/ns/constraint#variable";
121
+ readonly domain: "https://agenticprimitives.dev/ns/constraint#domain";
122
+ readonly source: "https://agenticprimitives.dev/ns/constraint#source";
123
+ readonly rationale: "https://agenticprimitives.dev/ns/constraint#rationale";
124
+ readonly strength: "https://agenticprimitives.dev/ns/constraint#strength";
125
+ readonly enforcement: "https://agenticprimitives.dev/ns/constraint#enforcement";
126
+ readonly fieldDisclosure: "https://agenticprimitives.dev/ns/constraint#fieldDisclosure";
127
+ readonly resolverId: "https://agenticprimitives.dev/ns/constraint#resolverId";
128
+ readonly trustLevel: "https://agenticprimitives.dev/ns/constraint#trustLevel";
129
+ readonly risk: "https://agenticprimitives.dev/ns/constraint#risk";
130
+ readonly evidenceRef: "https://agenticprimitives.dev/ns/constraint#evidenceRef";
131
+ readonly resolvedFrom: "https://agenticprimitives.dev/ns/resolution#resolvedFrom";
132
+ readonly canonicalConstraints: "https://agenticprimitives.dev/ns/resolution#canonicalConstraints";
133
+ readonly expandedAssumptions: "https://agenticprimitives.dev/ns/resolution#expandedAssumptions";
134
+ readonly resolverAgent: "https://agenticprimitives.dev/ns/resolution#resolverAgent";
135
+ readonly resolverVersion: "https://agenticprimitives.dev/ns/resolution#resolverVersion";
136
+ readonly modelName: "https://agenticprimitives.dev/ns/resolution#modelName";
137
+ readonly confidence: "https://agenticprimitives.dev/ns/resolution#confidence";
138
+ readonly requiresUserConfirmation: "https://agenticprimitives.dev/ns/resolution#requiresUserConfirmation";
139
+ readonly userConfirmedAt: "https://agenticprimitives.dev/ns/resolution#userConfirmedAt";
140
+ readonly policyVersion: "https://agenticprimitives.dev/ns/resolution#policyVersion";
141
+ readonly hasPolicyCheck: "https://agenticprimitives.dev/ns/resolution#hasPolicyCheck";
142
+ readonly hasToolCall: "https://agenticprimitives.dev/ns/resolution#hasToolCall";
143
+ readonly hasIssuer: "https://agenticprimitives.dev/ns/agreement#hasIssuer";
144
+ readonly hasParty: "https://agenticprimitives.dev/ns/agreement#hasParty";
145
+ readonly agreementCommitmentHash: "https://agenticprimitives.dev/ns/agreement#agreementCommitmentHash";
146
+ readonly schemaHash: "https://agenticprimitives.dev/ns/agreement#schemaHash";
147
+ readonly agreementStatus: "https://agenticprimitives.dev/ns/agreement#status";
148
+ readonly createdEpochBucket: "https://agenticprimitives.dev/ns/agreement#createdEpochBucket";
149
+ readonly fromIntentMatch: "https://agenticprimitives.dev/ns/agreement#fromIntentMatch";
150
+ readonly payer: "https://agenticprimitives.dev/ns/payment#payer";
151
+ readonly payee: "https://agenticprimitives.dev/ns/payment#payee";
152
+ readonly granter: "https://agenticprimitives.dev/ns/payment#granter";
153
+ readonly rail: "https://agenticprimitives.dev/ns/payment#rail";
154
+ readonly mode: "https://agenticprimitives.dev/ns/payment#mode";
155
+ readonly requiresClosedMandateForFinalCharge: "https://agenticprimitives.dev/ns/payment#requiresClosedMandateForFinalCharge";
156
+ readonly contextBindingIntent: "https://agenticprimitives.dev/ns/payment#contextBindingIntent";
157
+ readonly contextBindingAgreement: "https://agenticprimitives.dev/ns/payment#contextBindingAgreement";
158
+ readonly chain: "https://agenticprimitives.dev/ns/payment#chain";
159
+ readonly maxAggregateAmount: "https://agenticprimitives.dev/ns/payment#maxAggregateAmount";
160
+ readonly nonce: "https://agenticprimitives.dev/ns/payment#nonce";
161
+ readonly maxRedemptions: "https://agenticprimitives.dev/ns/payment#maxRedemptions";
162
+ readonly expiresAt: "https://agenticprimitives.dev/ns/payment#expiresAt";
163
+ readonly hasParentAgreement: "https://agenticprimitives.dev/ns/fulfillment#hasParentAgreement";
164
+ readonly topology: "https://agenticprimitives.dev/ns/fulfillment#topology";
165
+ readonly taskState: "https://agenticprimitives.dev/ns/fulfillment#taskState";
166
+ readonly assignee: "https://agenticprimitives.dev/ns/fulfillment#assignee";
167
+ readonly assigneeKind: "https://agenticprimitives.dev/ns/fulfillment#assigneeKind";
168
+ readonly permissionGrantRef: "https://agenticprimitives.dev/ns/fulfillment#permissionGrantRef";
169
+ readonly paymentMandateRef: "https://agenticprimitives.dev/ns/fulfillment#paymentMandateRef";
170
+ readonly sender: "https://agenticprimitives.dev/ns/fulfillment#sender";
171
+ readonly bodyRef: "https://agenticprimitives.dev/ns/fulfillment#bodyRef";
172
+ readonly bodyHash: "https://agenticprimitives.dev/ns/fulfillment#bodyHash";
173
+ readonly artifactKind: "https://agenticprimitives.dev/ns/fulfillment#artifactKind";
174
+ readonly disclosurePolicy: "https://agenticprimitives.dev/ns/fulfillment#disclosurePolicy";
175
+ readonly spanType: "https://agenticprimitives.dev/ns/fulfillment#spanType";
176
+ readonly parentSpan: "https://agenticprimitives.dev/ns/fulfillment#parentSpan";
177
+ readonly uid: "https://agenticprimitives.dev/ns/attestation#uid";
178
+ readonly credentialType: "https://agenticprimitives.dev/ns/attestation#credentialType";
179
+ readonly credentialHash: "https://agenticprimitives.dev/ns/attestation#credentialHash";
180
+ readonly refUID: "https://agenticprimitives.dev/ns/attestation#refUID";
181
+ readonly bilateralConsentRef: "https://agenticprimitives.dev/ns/attestation#bilateralConsentRef";
182
+ readonly basedOnIntent: "https://agenticprimitives.dev/ns/attestation#basedOnIntent";
183
+ readonly basedOnArtifact: "https://agenticprimitives.dev/ns/attestation#basedOnArtifact";
184
+ readonly citesEvidence: "https://agenticprimitives.dev/ns/attestation#citesEvidence";
185
+ readonly citesValidation: "https://agenticprimitives.dev/ns/attestation#citesValidation";
186
+ readonly validatorKind: "https://agenticprimitives.dev/ns/attestation#validatorKind";
187
+ readonly offchainCredentialStatusList: "https://agenticprimitives.dev/ns/attestation#offchainCredentialStatusList";
40
188
  };
41
- /** SHACL shape IRIs (C-box). */
189
+ /** SHACL shape IRIs (C-box).
190
+ *
191
+ * NOTE: substrate-spine runtime SHACL shapes live in their OWNING packages
192
+ * per PD-19, NOT in this package. The shape IRIs below are only the ones
193
+ * the ontology package itself ships (identity / core layer); for spine
194
+ * shapes (intents, constraints, agreement, payment, fulfillment, credentials,
195
+ * a2a-task), import from the owning package.
196
+ */
42
197
  export declare const SHAPE: {
43
198
  readonly CanonicalAgentId: "https://agenticprimitives.dev/ns/core#CanonicalAgentIdShape";
44
199
  readonly CredentialFacet: "https://agenticprimitives.dev/ns/credential#CredentialFacetShape";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAmBA,+DAA+D;AAC/D,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD;;;;GAIG;AACH,eAAO,MAAM,EAAE;;;;;;;;;;CAUL,CAAC;AAEX,4DAA4D;AAC5D,eAAO,MAAM,KAAK;;;;;;;;;CASR,CAAC;AAEX,yCAAyC;AACzC,eAAO,MAAM,SAAS;;;;;;;;;CASZ,CAAC;AAEX,gCAAgC;AAChC,eAAO,MAAM,KAAK;;;CAGR,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAmBA,+DAA+D;AAC/D,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;CAuBL,CAAC;AAEX,4DAA4D;AAC5D,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuER,CAAC;AAEX,yCAAyC;AACzC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgGZ,CAAC;AAEX;;;;;;;GAOG;AACH,eAAO,MAAM,KAAK;;;CAGR,CAAC"}
package/dist/index.js CHANGED
@@ -22,8 +22,15 @@ export const ONTOLOGY_VERSION = '0.1.0';
22
22
  * Namespace IRIs, split per domain (mirrors the reference
23
23
  * `smartagent.io/ontology/<domain>#` scheme; spec 225 §4). Pinned base:
24
24
  * `https://agenticprimitives.dev/ns/`.
25
+ *
26
+ * Wave 1 (2026-06-02b) added the v2 coordination substrate namespaces per
27
+ * spec 225 §11.5 (apint / apcst / apres / apagr / appay / apful / apatt /
28
+ * apvc) — substrate-wide T-box vocabulary for the 15-layer coordination spine
29
+ * (ADR-0024). Runtime SHACL shapes for each live in their owning packages
30
+ * per PD-19.
25
31
  */
26
32
  export const NS = {
33
+ // Phase-1 (existing)
27
34
  ap: 'https://agenticprimitives.dev/ns/core#',
28
35
  apid: 'https://agenticprimitives.dev/ns/identity#',
29
36
  apcr: 'https://agenticprimitives.dev/ns/credential#',
@@ -33,9 +40,22 @@ export const NS = {
33
40
  apnam: 'https://agenticprimitives.dev/ns/naming#',
34
41
  aprel: 'https://agenticprimitives.dev/ns/relationships#',
35
42
  aporg: 'https://agenticprimitives.dev/ns/org#',
43
+ // Phase-1.5 (v2 coordination substrate spine; spec 225 §11.5)
44
+ apint: 'https://agenticprimitives.dev/ns/intent#',
45
+ apcst: 'https://agenticprimitives.dev/ns/constraint#',
46
+ apres: 'https://agenticprimitives.dev/ns/resolution#',
47
+ apagr: 'https://agenticprimitives.dev/ns/agreement#',
48
+ appay: 'https://agenticprimitives.dev/ns/payment#',
49
+ apful: 'https://agenticprimitives.dev/ns/fulfillment#',
50
+ apatt: 'https://agenticprimitives.dev/ns/attestation#',
51
+ apvc: 'https://agenticprimitives.dev/ns/verifiable-credential#',
52
+ // Generic skills + geo substrate (spec 251)
53
+ aps: 'https://agenticprimitives.dev/ns/skill#',
54
+ apg: 'https://agenticprimitives.dev/ns/geo#',
36
55
  };
37
56
  /** Class IRIs (T-box). Each is `<namespace><LocalName>`. */
38
57
  export const CLASS = {
58
+ // Phase-1
39
59
  Agent: `${NS.ap}Agent`,
40
60
  CanonicalAgentId: `${NS.ap}CanonicalAgentId`,
41
61
  Facet: `${NS.ap}Facet`,
@@ -44,9 +64,71 @@ export const CLASS = {
44
64
  NameFacet: `${NS.apnam}NameFacet`,
45
65
  OidcSubject: `${NS.apid}OidcSubject`,
46
66
  Org: `${NS.aporg}Org`,
67
+ // Phase-1.5: intent layer
68
+ Desire: `${NS.apint}Desire`,
69
+ Intent: `${NS.apint}Intent`,
70
+ ReceiveIntent: `${NS.apint}ReceiveIntent`,
71
+ GiveIntent: `${NS.apint}GiveIntent`,
72
+ MatchInitiation: `${NS.apint}MatchInitiation`,
73
+ IntentMatch: `${NS.apint}IntentMatch`,
74
+ Commitment: `${NS.apint}Commitment`,
75
+ Proposal: `${NS.apint}Proposal`,
76
+ SolverBid: `${NS.apint}SolverBid`,
77
+ // Phase-1.5: constraint layer
78
+ ConstraintSet: `${NS.apcst}ConstraintSet`,
79
+ Constraint: `${NS.apcst}Constraint`,
80
+ HardConstraint: `${NS.apcst}HardConstraint`,
81
+ SoftConstraint: `${NS.apcst}SoftConstraint`,
82
+ ConstraintDomain: `${NS.apcst}ConstraintDomain`,
83
+ EnumDomain: `${NS.apcst}EnumDomain`,
84
+ RangeDomain: `${NS.apcst}RangeDomain`,
85
+ SetDomain: `${NS.apcst}SetDomain`,
86
+ PredicateDomain: `${NS.apcst}PredicateDomain`,
87
+ AssumptionSet: `${NS.apcst}AssumptionSet`,
88
+ NamedAssumption: `${NS.apcst}NamedAssumption`,
89
+ ValidationRequirement: `${NS.apcst}ValidationRequirement`,
90
+ // Phase-1.5: resolution layer
91
+ Resolver: `${NS.apres}Resolver`,
92
+ ResolvedOrder: `${NS.apres}ResolvedOrder`,
93
+ ResolutionReceipt: `${NS.apres}ResolutionReceipt`,
94
+ PolicyCheckResult: `${NS.apres}PolicyCheckResult`,
95
+ ToolCallTrace: `${NS.apres}ToolCallTrace`,
96
+ // Phase-1.5: agreement layer
97
+ AgreementCommitment: `${NS.apagr}AgreementCommitment`,
98
+ AgreementCredential: `${NS.apagr}AgreementCredential`,
99
+ AgreementStatus: `${NS.apagr}AgreementStatus`,
100
+ // Phase-1.5: payment layer
101
+ PaymentMandate: `${NS.appay}PaymentMandate`,
102
+ OpenPaymentMandate: `${NS.appay}OpenPaymentMandate`,
103
+ ClosedPaymentMandate: `${NS.appay}ClosedPaymentMandate`,
104
+ PaymentReceipt: `${NS.appay}PaymentReceipt`,
105
+ MandateConstraints: `${NS.appay}MandateConstraints`,
106
+ ContextBinding: `${NS.appay}ContextBinding`,
107
+ PaymentRail: `${NS.appay}PaymentRail`,
108
+ // Phase-1.5: fulfillment layer
109
+ FulfillmentCase: `${NS.apful}FulfillmentCase`,
110
+ FulfillmentTopology: `${NS.apful}FulfillmentTopology`,
111
+ Task: `${NS.apful}Task`,
112
+ HandoffPolicy: `${NS.apful}HandoffPolicy`,
113
+ Message: `${NS.apful}Message`,
114
+ Artifact: `${NS.apful}Artifact`,
115
+ ArtifactKind: `${NS.apful}ArtifactKind`,
116
+ IntentTraceSpan: `${NS.apful}IntentTraceSpan`,
117
+ // Phase-1.5: attestation layer
118
+ Attestation: `${NS.apatt}Attestation`,
119
+ EvidenceCredential: `${NS.apatt}EvidenceCredential`,
120
+ OutcomeCredential: `${NS.apatt}OutcomeCredential`,
121
+ ValidationCredential: `${NS.apatt}ValidationCredential`,
122
+ Validator: `${NS.apatt}Validator`,
123
+ ValidatorKind: `${NS.apatt}ValidatorKind`,
124
+ TrustUpdate: `${NS.apatt}TrustUpdate`,
125
+ AssociationCredential: `${NS.apatt}AssociationCredential`,
126
+ // Phase-1.5: VC envelope
127
+ VerifiableCredential: `${NS.apvc}VerifiableCredential`,
47
128
  };
48
129
  /** Predicate / property IRIs (T-box). */
49
130
  export const PREDICATE = {
131
+ // Phase-1
50
132
  isFacetOf: `${NS.apid}isFacetOf`,
51
133
  controls: `${NS.apcr}controls`,
52
134
  hasEvidence: `${NS.ap}hasEvidence`,
@@ -55,8 +137,101 @@ export const PREDICATE = {
55
137
  resolvesTo: `${NS.apnam}resolvesTo`,
56
138
  memberOf: `${NS.aporg}memberOf`,
57
139
  delegatesTo: `${NS.apdel}delegatesTo`,
140
+ // Phase-1.5: intent
141
+ direction: `${NS.apint}direction`,
142
+ object: `${NS.apint}object`,
143
+ topic: `${NS.apint}topic`,
144
+ expressedBy: `${NS.apint}expressedBy`,
145
+ addressedTo: `${NS.apint}addressedTo`,
146
+ hasConstraintSet: `${NS.apint}hasConstraintSet`,
147
+ hasAssumptionSet: `${NS.apint}hasAssumptionSet`,
148
+ expectedOutcome: `${NS.apint}expectedOutcome`,
149
+ visibility: `${NS.apint}visibility`,
150
+ status: `${NS.apint}status`,
151
+ matchedWith: `${NS.apint}matchedWith`,
152
+ // Phase-1.5: constraint
153
+ variable: `${NS.apcst}variable`,
154
+ domain: `${NS.apcst}domain`,
155
+ source: `${NS.apcst}source`,
156
+ rationale: `${NS.apcst}rationale`,
157
+ strength: `${NS.apcst}strength`,
158
+ enforcement: `${NS.apcst}enforcement`,
159
+ fieldDisclosure: `${NS.apcst}fieldDisclosure`,
160
+ resolverId: `${NS.apcst}resolverId`,
161
+ trustLevel: `${NS.apcst}trustLevel`,
162
+ risk: `${NS.apcst}risk`,
163
+ evidenceRef: `${NS.apcst}evidenceRef`,
164
+ // Phase-1.5: resolution
165
+ resolvedFrom: `${NS.apres}resolvedFrom`,
166
+ canonicalConstraints: `${NS.apres}canonicalConstraints`,
167
+ expandedAssumptions: `${NS.apres}expandedAssumptions`,
168
+ resolverAgent: `${NS.apres}resolverAgent`,
169
+ resolverVersion: `${NS.apres}resolverVersion`,
170
+ modelName: `${NS.apres}modelName`,
171
+ confidence: `${NS.apres}confidence`,
172
+ requiresUserConfirmation: `${NS.apres}requiresUserConfirmation`,
173
+ userConfirmedAt: `${NS.apres}userConfirmedAt`,
174
+ policyVersion: `${NS.apres}policyVersion`,
175
+ hasPolicyCheck: `${NS.apres}hasPolicyCheck`,
176
+ hasToolCall: `${NS.apres}hasToolCall`,
177
+ // Phase-1.5: agreement
178
+ hasIssuer: `${NS.apagr}hasIssuer`,
179
+ hasParty: `${NS.apagr}hasParty`,
180
+ agreementCommitmentHash: `${NS.apagr}agreementCommitmentHash`,
181
+ schemaHash: `${NS.apagr}schemaHash`,
182
+ agreementStatus: `${NS.apagr}status`,
183
+ createdEpochBucket: `${NS.apagr}createdEpochBucket`,
184
+ fromIntentMatch: `${NS.apagr}fromIntentMatch`,
185
+ // Phase-1.5: payment
186
+ payer: `${NS.appay}payer`,
187
+ payee: `${NS.appay}payee`,
188
+ granter: `${NS.appay}granter`,
189
+ rail: `${NS.appay}rail`,
190
+ mode: `${NS.appay}mode`,
191
+ requiresClosedMandateForFinalCharge: `${NS.appay}requiresClosedMandateForFinalCharge`,
192
+ contextBindingIntent: `${NS.appay}contextBindingIntent`,
193
+ contextBindingAgreement: `${NS.appay}contextBindingAgreement`,
194
+ chain: `${NS.appay}chain`,
195
+ maxAggregateAmount: `${NS.appay}maxAggregateAmount`,
196
+ nonce: `${NS.appay}nonce`,
197
+ maxRedemptions: `${NS.appay}maxRedemptions`,
198
+ expiresAt: `${NS.appay}expiresAt`,
199
+ // Phase-1.5: fulfillment
200
+ hasParentAgreement: `${NS.apful}hasParentAgreement`,
201
+ topology: `${NS.apful}topology`,
202
+ taskState: `${NS.apful}taskState`,
203
+ assignee: `${NS.apful}assignee`,
204
+ assigneeKind: `${NS.apful}assigneeKind`,
205
+ permissionGrantRef: `${NS.apful}permissionGrantRef`,
206
+ paymentMandateRef: `${NS.apful}paymentMandateRef`,
207
+ sender: `${NS.apful}sender`,
208
+ bodyRef: `${NS.apful}bodyRef`,
209
+ bodyHash: `${NS.apful}bodyHash`,
210
+ artifactKind: `${NS.apful}artifactKind`,
211
+ disclosurePolicy: `${NS.apful}disclosurePolicy`,
212
+ spanType: `${NS.apful}spanType`,
213
+ parentSpan: `${NS.apful}parentSpan`,
214
+ // Phase-1.5: attestation
215
+ uid: `${NS.apatt}uid`,
216
+ credentialType: `${NS.apatt}credentialType`,
217
+ credentialHash: `${NS.apatt}credentialHash`,
218
+ refUID: `${NS.apatt}refUID`,
219
+ bilateralConsentRef: `${NS.apatt}bilateralConsentRef`,
220
+ basedOnIntent: `${NS.apatt}basedOnIntent`,
221
+ basedOnArtifact: `${NS.apatt}basedOnArtifact`,
222
+ citesEvidence: `${NS.apatt}citesEvidence`,
223
+ citesValidation: `${NS.apatt}citesValidation`,
224
+ validatorKind: `${NS.apatt}validatorKind`,
225
+ offchainCredentialStatusList: `${NS.apatt}offchainCredentialStatusList`,
58
226
  };
59
- /** SHACL shape IRIs (C-box). */
227
+ /** SHACL shape IRIs (C-box).
228
+ *
229
+ * NOTE: substrate-spine runtime SHACL shapes live in their OWNING packages
230
+ * per PD-19, NOT in this package. The shape IRIs below are only the ones
231
+ * the ontology package itself ships (identity / core layer); for spine
232
+ * shapes (intents, constraints, agreement, payment, fulfillment, credentials,
233
+ * a2a-task), import from the owning package.
234
+ */
60
235
  export const SHAPE = {
61
236
  CanonicalAgentId: `${NS.ap}CanonicalAgentIdShape`,
62
237
  CredentialFacet: `${NS.apcr}CredentialFacetShape`,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,EAAE;AACF,8EAA8E;AAC9E,2EAA2E;AAC3E,8EAA8E;AAC9E,2EAA2E;AAC3E,iDAAiD;AACjD,EAAE;AACF,OAAO;AACP,iDAAiD;AACjD,uFAAuF;AACvF,mGAAmG;AACnG,EAAE;AACF,yEAAyE;AACzE,6EAA6E;AAC7E,gFAAgF;AAChF,iFAAiF;AACjF,2CAA2C;AAE3C,+DAA+D;AAC/D,MAAM,CAAC,MAAM,gBAAgB,GAAG,OAAgB,CAAC;AAEjD;;;;GAIG;AACH,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,EAAE,EAAE,wCAAwC;IAC5C,IAAI,EAAE,4CAA4C;IAClD,IAAI,EAAE,8CAA8C;IACpD,KAAK,EAAE,8CAA8C;IACrD,KAAK,EAAE,2CAA2C;IAClD,KAAK,EAAE,yCAAyC;IAChD,KAAK,EAAE,0CAA0C;IACjD,KAAK,EAAE,iDAAiD;IACxD,KAAK,EAAE,uCAAuC;CACtC,CAAC;AAEX,4DAA4D;AAC5D,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO;IACtB,gBAAgB,EAAE,GAAG,EAAE,CAAC,EAAE,kBAAkB;IAC5C,KAAK,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO;IACtB,QAAQ,EAAE,GAAG,EAAE,CAAC,EAAE,UAAU;IAC5B,eAAe,EAAE,GAAG,EAAE,CAAC,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6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticprimitives/ontology",
3
- "version": "1.0.0-alpha.4",
3
+ "version": "1.0.0-alpha.5",
4
4
  "description": "Monorepo-wide formal vocabulary (RDFS/OWL T-box + SHACL/SKOS C-box + A-box fixtures) for agentic primitives. Off-chain source of truth the on-chain ontology (ADR-0009) instantiates. Ships TTL/JSON-LD artifacts + typed IRI constants.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,7 +38,7 @@
38
38
  "access": "public"
39
39
  },
40
40
  "devDependencies": {
41
- "vitest": "^2.1.0"
41
+ "vitest": "^4.1.8"
42
42
  },
43
43
  "keywords": [
44
44
  "ontology",