@indexnetwork/protocol 10.1.1-rc.451.1 → 10.1.3-rc.453.1

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 (217) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/IMPLEMENTATION.md +8 -7
  3. package/dist/capabilities/opportunities.facade.d.ts +2 -3
  4. package/dist/capabilities/opportunities.facade.js +1 -2
  5. package/dist/capabilities/opportunities.safety.facade.d.ts +1 -1
  6. package/dist/capabilities/opportunities.safety.facade.js +1 -1
  7. package/dist/chat/chat.agent.d.ts +3 -4
  8. package/dist/chat/chat.agent.js +3 -4
  9. package/dist/contacts/index.d.ts +2 -7
  10. package/dist/contacts/index.js +2 -7
  11. package/dist/contacts/ports/contact.tools.port.d.ts +2 -3
  12. package/dist/contacts/ports/contact.tools.port.js +2 -3
  13. package/dist/contacts/ports/index.d.ts +1 -2
  14. package/dist/contacts/ports/index.js +1 -2
  15. package/dist/integrations/index.d.ts +2 -6
  16. package/dist/integrations/index.js +2 -6
  17. package/dist/integrations/ports/index.d.ts +1 -2
  18. package/dist/integrations/ports/index.js +1 -2
  19. package/dist/integrations/ports/integration.tools.port.d.ts +2 -3
  20. package/dist/integrations/ports/integration.tools.port.js +2 -3
  21. package/dist/maintenance/maintenance.graph.js +2 -2
  22. package/dist/negotiation/index.d.ts +0 -24
  23. package/dist/negotiation/index.js +0 -24
  24. package/dist/negotiation/negotiation.attribution.d.ts +1 -1
  25. package/dist/negotiation/ports/index.d.ts +0 -2
  26. package/dist/negotiation/ports/index.js +0 -2
  27. package/dist/negotiation/ports/negotiation.tools.port.d.ts +0 -1
  28. package/dist/opportunity/application/opportunity.graph.js +9 -9
  29. package/dist/opportunity/application/opportunity.tools.d.ts +1 -1
  30. package/dist/opportunity/domain/index.d.ts +0 -2
  31. package/dist/opportunity/domain/index.js +0 -2
  32. package/dist/opportunity/domain/opportunity.state.d.ts +4 -4
  33. package/dist/opportunity/index.d.ts +0 -8
  34. package/dist/opportunity/index.js +0 -8
  35. package/dist/opportunity/radar/radar.graph.js +6 -6
  36. package/dist/opportunity/radar/radar.health.js +1 -1
  37. package/dist/participant-agents/index.d.ts +1 -4
  38. package/dist/participant-agents/index.js +1 -4
  39. package/dist/participant-agents/ports/index.d.ts +0 -1
  40. package/dist/participant-agents/ports/index.js +0 -1
  41. package/dist/questions/index.d.ts +1 -3
  42. package/dist/questions/index.js +1 -3
  43. package/dist/questions/ports/question.tools.port.d.ts +1 -2
  44. package/dist/shared/agent/canonical-guidance.d.ts +1 -1
  45. package/dist/shared/agent/canonical-guidance.js +8 -11
  46. package/dist/shared/agent/tool.helpers.d.ts +1 -1
  47. package/dist/shared/interfaces/agent-dispatcher.interface.d.ts +1 -1
  48. package/dist/signals/domain/intent.state.d.ts +2 -2
  49. package/package.json +1 -1
  50. package/dist/agent/agent.tools.d.ts +0 -11
  51. package/dist/agent/agent.tools.js +0 -11
  52. package/dist/capabilities/contacts.tools.port.d.ts +0 -9
  53. package/dist/capabilities/contacts.tools.port.js +0 -1
  54. package/dist/capabilities/integrations.tools.port.d.ts +0 -9
  55. package/dist/capabilities/integrations.tools.port.js +0 -1
  56. package/dist/capabilities/negotiation.tools.port.d.ts +0 -5
  57. package/dist/capabilities/negotiation.tools.port.js +0 -1
  58. package/dist/capabilities/opportunities.tools.port.d.ts +0 -5
  59. package/dist/capabilities/opportunities.tools.port.js +0 -1
  60. package/dist/capabilities/participant-agents.tools.port.d.ts +0 -9
  61. package/dist/capabilities/participant-agents.tools.port.js +0 -1
  62. package/dist/capabilities/questions.tools.port.d.ts +0 -5
  63. package/dist/capabilities/questions.tools.port.js +0 -1
  64. package/dist/contact/contact.inviter.d.ts +0 -10
  65. package/dist/contact/contact.inviter.js +0 -9
  66. package/dist/contact/contact.tools.d.ts +0 -9
  67. package/dist/contact/contact.tools.js +0 -9
  68. package/dist/integration/integration.tools.d.ts +0 -9
  69. package/dist/integration/integration.tools.js +0 -9
  70. package/dist/intent/intent.clarifier.d.ts +0 -3
  71. package/dist/intent/intent.clarifier.js +0 -2
  72. package/dist/intent/intent.graph.d.ts +0 -5
  73. package/dist/intent/intent.graph.js +0 -5
  74. package/dist/intent/intent.indexer.d.ts +0 -2
  75. package/dist/intent/intent.indexer.js +0 -2
  76. package/dist/intent/intent.inferrer.d.ts +0 -2
  77. package/dist/intent/intent.inferrer.js +0 -2
  78. package/dist/intent/intent.reconciler.d.ts +0 -2
  79. package/dist/intent/intent.reconciler.js +0 -2
  80. package/dist/intent/intent.specificity.d.ts +0 -2
  81. package/dist/intent/intent.specificity.js +0 -2
  82. package/dist/intent/intent.state.d.ts +0 -10
  83. package/dist/intent/intent.state.js +0 -10
  84. package/dist/intent/intent.tools.d.ts +0 -6
  85. package/dist/intent/intent.tools.js +0 -6
  86. package/dist/intent/intent.verifier.d.ts +0 -2
  87. package/dist/intent/intent.verifier.js +0 -2
  88. package/dist/negotiation/insight.generator.d.ts +0 -5
  89. package/dist/negotiation/insight.generator.js +0 -5
  90. package/dist/negotiation/negotiation.agent.d.ts +0 -5
  91. package/dist/negotiation/negotiation.agent.js +0 -5
  92. package/dist/negotiation/negotiation.consultation-policy.d.ts +0 -5
  93. package/dist/negotiation/negotiation.consultation-policy.js +0 -5
  94. package/dist/negotiation/negotiation.deadlock.contracts.d.ts +0 -5
  95. package/dist/negotiation/negotiation.deadlock.contracts.js +0 -5
  96. package/dist/negotiation/negotiation.deadlock.d.ts +0 -5
  97. package/dist/negotiation/negotiation.deadlock.js +0 -5
  98. package/dist/negotiation/negotiation.detail-reader.d.ts +0 -5
  99. package/dist/negotiation/negotiation.detail-reader.js +0 -5
  100. package/dist/negotiation/negotiation.graph.d.ts +0 -5
  101. package/dist/negotiation/negotiation.graph.js +0 -5
  102. package/dist/negotiation/negotiation.intent-snapshot-provenance.d.ts +0 -5
  103. package/dist/negotiation/negotiation.intent-snapshot-provenance.js +0 -5
  104. package/dist/negotiation/negotiation.lifecycle-narration.d.ts +0 -5
  105. package/dist/negotiation/negotiation.lifecycle-narration.js +0 -5
  106. package/dist/negotiation/negotiation.memory.d.ts +0 -7
  107. package/dist/negotiation/negotiation.memory.js +0 -7
  108. package/dist/negotiation/negotiation.protocol.d.ts +0 -5
  109. package/dist/negotiation/negotiation.protocol.js +0 -5
  110. package/dist/negotiation/negotiation.question-safety.d.ts +0 -5
  111. package/dist/negotiation/negotiation.question-safety.js +0 -5
  112. package/dist/negotiation/negotiation.reflect.d.ts +0 -6
  113. package/dist/negotiation/negotiation.reflect.js +0 -6
  114. package/dist/negotiation/negotiation.screen.d.ts +0 -8
  115. package/dist/negotiation/negotiation.screen.js +0 -8
  116. package/dist/negotiation/negotiation.state.d.ts +0 -5
  117. package/dist/negotiation/negotiation.state.js +0 -5
  118. package/dist/negotiation/negotiation.summarizer.d.ts +0 -5
  119. package/dist/negotiation/negotiation.summarizer.js +0 -5
  120. package/dist/negotiation/negotiation.task-lock-policy.d.ts +0 -5
  121. package/dist/negotiation/negotiation.task-lock-policy.js +0 -5
  122. package/dist/negotiation/negotiation.tools.d.ts +0 -5
  123. package/dist/negotiation/negotiation.tools.js +0 -5
  124. package/dist/network/indexer/indexer.graph.d.ts +0 -5
  125. package/dist/network/indexer/indexer.graph.js +0 -5
  126. package/dist/network/indexer/indexer.state.d.ts +0 -5
  127. package/dist/network/indexer/indexer.state.js +0 -5
  128. package/dist/network/membership/membership.graph.d.ts +0 -5
  129. package/dist/network/membership/membership.graph.js +0 -5
  130. package/dist/network/membership/membership.state.d.ts +0 -5
  131. package/dist/network/membership/membership.state.js +0 -5
  132. package/dist/network/network.graph.d.ts +0 -5
  133. package/dist/network/network.graph.js +0 -5
  134. package/dist/network/network.recommender.d.ts +0 -5
  135. package/dist/network/network.recommender.js +0 -5
  136. package/dist/network/network.state.d.ts +0 -5
  137. package/dist/network/network.state.js +0 -5
  138. package/dist/network/network.tools.d.ts +0 -5
  139. package/dist/network/network.tools.js +0 -5
  140. package/dist/opportunity/delivery-card.cache.d.ts +0 -5
  141. package/dist/opportunity/delivery-card.cache.js +0 -5
  142. package/dist/opportunity/discovery-question.helper.d.ts +0 -5
  143. package/dist/opportunity/discovery-question.helper.js +0 -5
  144. package/dist/opportunity/domain/discovery-question.helper.d.ts +0 -18
  145. package/dist/opportunity/domain/discovery-question.helper.js +0 -15
  146. package/dist/opportunity/negotiation-context.loader.d.ts +0 -5
  147. package/dist/opportunity/negotiation-context.loader.js +0 -5
  148. package/dist/opportunity/negotiation-summary.builder.d.ts +0 -5
  149. package/dist/opportunity/negotiation-summary.builder.js +0 -5
  150. package/dist/opportunity/opportunity.actor.d.ts +0 -5
  151. package/dist/opportunity/opportunity.actor.js +0 -5
  152. package/dist/opportunity/opportunity.card-presentation.d.ts +0 -5
  153. package/dist/opportunity/opportunity.card-presentation.js +0 -5
  154. package/dist/opportunity/opportunity.claim-safety.d.ts +0 -5
  155. package/dist/opportunity/opportunity.claim-safety.js +0 -5
  156. package/dist/opportunity/opportunity.discovery-negotiation-summary.d.ts +0 -5
  157. package/dist/opportunity/opportunity.discovery-negotiation-summary.js +0 -5
  158. package/dist/opportunity/opportunity.enricher.d.ts +0 -5
  159. package/dist/opportunity/opportunity.enricher.js +0 -5
  160. package/dist/opportunity/opportunity.evaluator.d.ts +0 -5
  161. package/dist/opportunity/opportunity.evaluator.js +0 -5
  162. package/dist/opportunity/opportunity.evidence.d.ts +0 -5
  163. package/dist/opportunity/opportunity.evidence.js +0 -5
  164. package/dist/opportunity/opportunity.existing-negotiation.d.ts +0 -5
  165. package/dist/opportunity/opportunity.existing-negotiation.js +0 -5
  166. package/dist/opportunity/opportunity.feed-selection.d.ts +0 -5
  167. package/dist/opportunity/opportunity.feed-selection.js +0 -5
  168. package/dist/opportunity/opportunity.graph.d.ts +0 -5
  169. package/dist/opportunity/opportunity.graph.js +0 -5
  170. package/dist/opportunity/opportunity.introducer.d.ts +0 -5
  171. package/dist/opportunity/opportunity.introducer.js +0 -5
  172. package/dist/opportunity/opportunity.labels.d.ts +0 -5
  173. package/dist/opportunity/opportunity.labels.js +0 -5
  174. package/dist/opportunity/opportunity.lifecycle.d.ts +0 -5
  175. package/dist/opportunity/opportunity.lifecycle.js +0 -5
  176. package/dist/opportunity/opportunity.newborn-stamping.d.ts +0 -5
  177. package/dist/opportunity/opportunity.newborn-stamping.js +0 -5
  178. package/dist/opportunity/opportunity.owner-approval.d.ts +0 -5
  179. package/dist/opportunity/opportunity.owner-approval.js +0 -5
  180. package/dist/opportunity/opportunity.pending-questions.d.ts +0 -5
  181. package/dist/opportunity/opportunity.pending-questions.js +0 -5
  182. package/dist/opportunity/opportunity.persist.d.ts +0 -5
  183. package/dist/opportunity/opportunity.persist.js +0 -5
  184. package/dist/opportunity/opportunity.persistence-admission.d.ts +0 -5
  185. package/dist/opportunity/opportunity.persistence-admission.js +0 -5
  186. package/dist/opportunity/opportunity.presentation-cache.d.ts +0 -5
  187. package/dist/opportunity/opportunity.presentation-cache.js +0 -5
  188. package/dist/opportunity/opportunity.presentation.d.ts +0 -5
  189. package/dist/opportunity/opportunity.presentation.js +0 -5
  190. package/dist/opportunity/opportunity.presenter.d.ts +0 -12
  191. package/dist/opportunity/opportunity.presenter.js +0 -12
  192. package/dist/opportunity/opportunity.safe-presentation.d.ts +0 -5
  193. package/dist/opportunity/opportunity.safe-presentation.js +0 -5
  194. package/dist/opportunity/opportunity.state.d.ts +0 -5
  195. package/dist/opportunity/opportunity.state.js +0 -5
  196. package/dist/opportunity/opportunity.tools.d.ts +0 -5
  197. package/dist/opportunity/opportunity.tools.js +0 -5
  198. package/dist/opportunity/opportunity.update-admission.d.ts +0 -5
  199. package/dist/opportunity/opportunity.update-admission.js +0 -5
  200. package/dist/opportunity/opportunity.utils.d.ts +0 -5
  201. package/dist/opportunity/opportunity.utils.js +0 -5
  202. package/dist/questioner/questioner.agent.d.ts +0 -6
  203. package/dist/questioner/questioner.agent.js +0 -5
  204. package/dist/questioner/questioner.ask.tool.d.ts +0 -5
  205. package/dist/questioner/questioner.ask.tool.js +0 -5
  206. package/dist/questioner/questioner.discovery.prompt.d.ts +0 -5
  207. package/dist/questioner/questioner.discovery.prompt.js +0 -5
  208. package/dist/questioner/questioner.env.d.ts +0 -5
  209. package/dist/questioner/questioner.env.js +0 -5
  210. package/dist/questioner/questioner.presets.d.ts +0 -6
  211. package/dist/questioner/questioner.presets.js +0 -5
  212. package/dist/questioner/questioner.qud.d.ts +0 -5
  213. package/dist/questioner/questioner.qud.js +0 -5
  214. package/dist/questioner/questioner.tools.d.ts +0 -5
  215. package/dist/questioner/questioner.tools.js +0 -5
  216. package/dist/questioner/questioner.types.d.ts +0 -6
  217. package/dist/questioner/questioner.types.js +0 -5
@@ -12,13 +12,10 @@
12
12
  * shared/interfaces/agent.interface.ts, and
13
13
  * shared/interfaces/agent-dispatcher.interface.ts.
14
14
  *
15
- * Legacy paths:
16
- * - agent/* — thin compatibility shims pointing to participant-agents/application
15
+ * Compatibility paths:
17
16
  * - shared/interfaces/agent.interface.ts — re-exports from participant-agents/domain
18
17
  * and participant-agents/ports
19
18
  * - shared/interfaces/agent-dispatcher.interface.ts — re-exports from
20
19
  * participant-agents/ports
21
- * - capabilities/participant-agents.tools.port.ts — re-exports AgentToolDeps
22
- * from participant-agents/ports
23
20
  */
24
21
  export * from "./public/index.js";
@@ -22,7 +22,6 @@
22
22
  * Legacy paths:
23
23
  * - shared/interfaces/agent.interface.ts → re-exports AgentDatabase from here
24
24
  * - shared/interfaces/agent-dispatcher.interface.ts → re-exports from here
25
- * - capabilities/participant-agents.tools.port.ts → re-exports AgentToolDeps from here
26
25
  */
27
26
  export type { AgentDatabase } from "./agent.repository.port.js";
28
27
  export type { AgentDispatcher, AgentDispatchResult, NegotiationTurnPayload, } from "./agent.dispatcher.port.js";
@@ -22,6 +22,5 @@
22
22
  * Legacy paths:
23
23
  * - shared/interfaces/agent.interface.ts → re-exports AgentDatabase from here
24
24
  * - shared/interfaces/agent-dispatcher.interface.ts → re-exports from here
25
- * - capabilities/participant-agents.tools.port.ts → re-exports AgentToolDeps from here
26
25
  */
27
26
  export {};
@@ -11,12 +11,10 @@
11
11
  * across questioner/, shared/schemas/question.schema.ts, and
12
12
  * shared/interfaces/questioner.interface.ts.
13
13
  *
14
- * Legacy paths:
15
- * - questioner/* — thin compatibility shims pointing to questions/application
14
+ * Compatibility paths:
16
15
  * - capabilities/questions.facade.ts — re-exports from questions/public/index.js
17
16
  * - shared/schemas/question.schema.ts — re-exports from questions/domain
18
17
  * - shared/interfaces/questioner.interface.ts — re-exports from questions/ports
19
18
  * - shared/interfaces/question-generator.interface.ts — re-exports from questions/ports
20
- * - capabilities/questions.tools.port.ts — re-exports from questions/ports
21
19
  */
22
20
  export * from "./public/index.js";
@@ -11,12 +11,10 @@
11
11
  * across questioner/, shared/schemas/question.schema.ts, and
12
12
  * shared/interfaces/questioner.interface.ts.
13
13
  *
14
- * Legacy paths:
15
- * - questioner/* — thin compatibility shims pointing to questions/application
14
+ * Compatibility paths:
16
15
  * - capabilities/questions.facade.ts — re-exports from questions/public/index.js
17
16
  * - shared/schemas/question.schema.ts — re-exports from questions/domain
18
17
  * - shared/interfaces/questioner.interface.ts — re-exports from questions/ports
19
18
  * - shared/interfaces/question-generator.interface.ts — re-exports from questions/ports
20
- * - capabilities/questions.tools.port.ts — re-exports from questions/ports
21
19
  */
22
20
  export * from "./public/index.js";
@@ -5,8 +5,7 @@
5
5
  * (question delivery and chat-inline ask_user_question) without importing
6
6
  * the full ToolRegistryCompositionDeps interface.
7
7
  *
8
- * IND-547: canonical home — previously capabilities/questions.tools.port.ts.
9
- * Legacy path is a thin compatibility shim pointing here.
8
+ * IND-547: canonical tool-host port.
10
9
  */
11
10
  import type { ToolRegistryCompositionDeps } from "../../shared/agent/tool.helpers.js";
12
11
  /** Host capabilities consumed by asynchronous question delivery tools. */
@@ -22,7 +22,7 @@ export type CanonicalGuidanceTopic = (typeof CANONICAL_GUIDANCE_TOPICS)[number];
22
22
  * Never mentions retired contact/Gmail/scrape/profile/ghost-user guidance.
23
23
  * Optimized to ~1900 chars to leave room for MCP_INSTRUCTIONS context budget.
24
24
  */
25
- export declare const CANONICAL_GUIDANCE_SUMMARY = "# Index Network Protocol\n\nIndex Network is a private, intent-driven discovery protocol. Users express signals (intents), agents find matches within shared networks, and decisions proceed through clear gates.\n\n## Core Concepts\n\n**Identity & Context** \u2014 User profile (name, bio, skills, interests, location) and current scope (networks, intents, stage).\n\n**Premises** \u2014 Foundational facts: background, experience, stage, timeline, constraints.\n\n**Signals** \u2014 What users seek (intents, opportunities). Drive semantic matching.\n\n**Communities & Networks** \u2014 Private groups where members share signals and discover connections via shared membership.\n\n**Opportunities** \u2014 Discovered matches between users. Lifecycle: draft \u2192 pending \u2192 accepted/rejected/expired.\n\n**Negotiations** \u2014 Agents coordinate, users approve. **A2A acceptance is not owner approval.** These are separate gates.\n\n**Workflows** \u2014 H2A (users express signals \u2192 agents discover) and A2A (agents coordinate) over MCP. Further escalation via native surfaces (human-to-human threads do not cross MCP).\n\n## Canonical Topics\n\nRefer to these for detailed entity facts and lifecycle:\n\n- **identity-context** \u2014 Profile structure, context scoping\n- **premises** \u2014 Background, stage, constraints\n- **signals** \u2014 Intent inference, classification\n- **communities-networks** \u2014 Membership, auto-assign\n- **opportunities** \u2014 Discovery, roles, reasoning\n- **negotiations** \u2014 Owner approval vs A2A, acceptance gates\n- **workflows** \u2014 H2A and A2A tool sequences";
25
+ export declare const CANONICAL_GUIDANCE_SUMMARY = "# Index Network Protocol\n\nIndex Network is a private, intent-driven discovery protocol. Users express signals (intents), agents find matches within shared networks, and decisions proceed through clear gates.\n\n## Core Concepts\n\n**Identity & Context** \u2014 Account and presentation metadata plus scoped runtime state (networks, signals, stage).\n\n**Premises** \u2014 Foundational facts: background, experience, stage, timeline, constraints.\n\n**Signals** \u2014 What users seek (intents, opportunities). Drive semantic matching.\n\n**Communities & Networks** \u2014 Private groups where members share signals and discover connections via shared membership.\n\n**Opportunities** \u2014 Discovered matches between users. Lifecycle: draft \u2192 pending \u2192 accepted/rejected/expired.\n\n**Negotiations** \u2014 Agents coordinate, users approve. **A2A acceptance is not owner approval.** These are separate gates.\n\n**Workflows** \u2014 H2A (users express signals \u2192 agents discover) and A2A (agents coordinate) over MCP. Further escalation via native surfaces (human-to-human threads do not cross MCP).\n\n## Canonical Topics\n\nRefer to these for detailed entity facts and lifecycle:\n\n- **identity-context** \u2014 Presentation identity, context scoping, matching inputs\n- **premises** \u2014 Background, stage, constraints\n- **signals** \u2014 Intent inference, classification\n- **communities-networks** \u2014 Membership, auto-assign\n- **opportunities** \u2014 Discovery, roles, reasoning\n- **negotiations** \u2014 Owner approval vs A2A, acceptance gates\n- **workflows** \u2014 H2A and A2A tool sequences";
26
26
  /**
27
27
  * Detailed canonical topic content for read_docs.
28
28
  * Indexed by topic name; each contains current entity, capability, and lifecycle facts.
@@ -35,7 +35,7 @@ Index Network is a private, intent-driven discovery protocol. Users express sign
35
35
 
36
36
  ## Core Concepts
37
37
 
38
- **Identity & Context** — User profile (name, bio, skills, interests, location) and current scope (networks, intents, stage).
38
+ **Identity & Context** — Account and presentation metadata plus scoped runtime state (networks, signals, stage).
39
39
 
40
40
  **Premises** — Foundational facts: background, experience, stage, timeline, constraints.
41
41
 
@@ -53,7 +53,7 @@ Index Network is a private, intent-driven discovery protocol. Users express sign
53
53
 
54
54
  Refer to these for detailed entity facts and lifecycle:
55
55
 
56
- - **identity-context** — Profile structure, context scoping
56
+ - **identity-context** — Presentation identity, context scoping, matching inputs
57
57
  - **premises** — Background, stage, constraints
58
58
  - **signals** — Intent inference, classification
59
59
  - **communities-networks** — Membership, auto-assign
@@ -67,23 +67,20 @@ Refer to these for detailed entity facts and lifecycle:
67
67
  export const CANONICAL_GUIDANCE_TOPICS_CONTENT = {
68
68
  "identity-context": `## Identity & Context
69
69
 
70
- **Identity** is the user's profile on the platform: name, bio, skills, interests, location, social links. It's used for semantic matching and is enriched from social URLs (LinkedIn, GitHub) or explicit user input.
70
+ **Identity** is account and presentation metadata: name, bio, location, skills, interests, and social links. It identifies and presents the user; it does not provide a profile-vector matching corpus.
71
71
 
72
- **Context** is the user's current scope: which networks they belong to, what intents they've expressed, their stage (onboarding vs established), their preferences (e.g. geographic scope). Context shapes what discovery surfaces and what tools are available.
72
+ **Context** is scoped runtime state: network memberships, approved signals, lifecycle stage, and current opportunity or negotiation state. It determines the user's active scope and available workflow state.
73
73
 
74
- ### Profile Structure
75
- - Name, bio, location
76
- - Skills and interests (arrays)
77
- - Social links (LinkedIn, GitHub, Twitter, personal websites)
78
- - Embeddings for semantic matching (generated via HyDE — hypothetical document embedding)
74
+ ### Matching Inputs
75
+ Matching uses approved signals, premises, shared network membership, and current opportunity or negotiation state. Premises supply the asserted background, constraints, and capabilities that ground relevant matches.
79
76
 
80
77
  ### Context Scoping
81
78
  - Users can belong to multiple networks
82
79
  - Each network has a scope (open to all members or invite-only)
83
- - Discovery is scoped to shared networks
80
+ - Matching is scoped to shared networks
84
81
 
85
82
  ### Key Distinction
86
- Identity is static and represents who the user is. Context is dynamic and represents where they are in their journey and what they're focused on at this moment.`,
83
+ Identity is account/presentation metadata. Context is dynamic, scoped runtime state for what the user is doing now.`,
87
84
  premises: `## Premises
88
85
 
89
86
  **Premise** is the foundational context that shapes what matches will be relevant: a user's background, experience level, location, timeline, stage of life, constraints, and what they can actually commit to.
@@ -21,7 +21,7 @@ import type { AgentDispatcher } from "../interfaces/agent-dispatcher.interface.j
21
21
  import type { DeliveryLedger } from "../interfaces/delivery-ledger.interface.js";
22
22
  import type { ChatQuestionsHost, QuestionerDatabase } from "../interfaces/questioner.interface.js";
23
23
  import type { NegotiatorMemoryToolsHost } from "../interfaces/negotiator-memory.interface.js";
24
- import type { QuestionerEnqueueFn } from "../../questioner/questioner.types.js";
24
+ import type { QuestionerEnqueueFn } from "../../questions/application/question.input.js";
25
25
  import type { PendingQuestionSummary } from "../schemas/pending-question.schema.js";
26
26
  import type { QuestionMode, QuestionPurpose } from "../schemas/question.schema.js";
27
27
  import type { EnrichmentRunQueue, EnrichmentRunStore } from "../interfaces/enrichment-run.interface.js";
@@ -10,7 +10,7 @@
10
10
  * module cycle through the negotiation capability facade.
11
11
  */
12
12
  import type { NegotiationTurn, UserNegotiationContext, SeedAssessment } from '../schemas/negotiation-state.schema.js';
13
- import type { NegotiatorMemoryEntry } from '../../negotiation/negotiation.memory.js';
13
+ import type { NegotiatorMemoryEntry } from '../../negotiation/domain/negotiation.memory.js';
14
14
  import type { AttributedPriorDialogue } from '../../negotiation/negotiation.attribution.js';
15
15
  import type { NegotiationPrivateConsultation } from './database.interface.js';
16
16
  /** Payload sent to the dispatcher for each negotiation turn. */
@@ -1,6 +1,6 @@
1
1
  import { BaseMessage } from "@langchain/core/messages";
2
- import { InferredIntent } from "../../intent/intent.inferrer.js";
3
- import { SemanticVerifierOutput } from "../../intent/intent.verifier.js";
2
+ import { InferredIntent } from "../application/intent.inferrer.js";
3
+ import { SemanticVerifierOutput } from "../application/intent.verifier.js";
4
4
  import type { DebugMetaAgent } from '../../capabilities/participant-agents.debug.facade.js';
5
5
  import type { ToolScopeType } from '../../shared/agent/tool.scope.js';
6
6
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indexnetwork/protocol",
3
- "version": "10.1.1-rc.451.1",
3
+ "version": "10.1.3-rc.453.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,11 +0,0 @@
1
- /**
2
- * @deprecated — compatibility shim.
3
- *
4
- * Canonical implementation has moved to participant-agents/application.
5
- * This re-export exists solely to avoid breaking imports that pre-date IND-548.
6
- * Import from the participant-agents module or capabilities/participant-agents.facade.ts
7
- * for new code.
8
- *
9
- * IND-548: migrated to src/participant-agents/application/agent.tools.ts.
10
- */
11
- export { createAgentTools } from '../participant-agents/application/index.js';
@@ -1,11 +0,0 @@
1
- /**
2
- * @deprecated — compatibility shim.
3
- *
4
- * Canonical implementation has moved to participant-agents/application.
5
- * This re-export exists solely to avoid breaking imports that pre-date IND-548.
6
- * Import from the participant-agents module or capabilities/participant-agents.facade.ts
7
- * for new code.
8
- *
9
- * IND-548: migrated to src/participant-agents/application/agent.tools.ts.
10
- */
11
- export { createAgentTools } from '../participant-agents/application/index.js';
@@ -1,9 +0,0 @@
1
- /**
2
- * @deprecated — compatibility shim.
3
- *
4
- * Canonical type has moved to contacts/ports.
5
- * This re-export exists solely to avoid breaking imports that pre-date IND-549.
6
- *
7
- * IND-549: migrated to src/contacts/ports/contact.tools.port.ts.
8
- */
9
- export type { ContactToolDeps } from '../contacts/ports/index.js';
@@ -1 +0,0 @@
1
- export {};
@@ -1,9 +0,0 @@
1
- /**
2
- * @deprecated — compatibility shim.
3
- *
4
- * Canonical type has moved to integrations/ports.
5
- * This re-export exists solely to avoid breaking imports that pre-date IND-549.
6
- *
7
- * IND-549: migrated to src/integrations/ports/integration.tools.port.ts.
8
- */
9
- export type { IntegrationToolDeps } from '../integrations/ports/index.js';
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim for the negotiation tool-host port — IND-550.
3
- * Canonical location: negotiation/ports/negotiation.tools.port.ts
4
- */
5
- export type { NegotiationToolDeps } from "../negotiation/ports/negotiation.tools.port.js";
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-551.
3
- * Canonical location: opportunity/ports/opportunity.tools.port.ts
4
- */
5
- export type { OpportunityToolDeps } from "../opportunity/ports/index.js";
@@ -1 +0,0 @@
1
- export {};
@@ -1,9 +0,0 @@
1
- /**
2
- * @deprecated — compatibility shim.
3
- *
4
- * Canonical type has moved to participant-agents/ports.
5
- * This re-export exists solely to avoid breaking imports that pre-date IND-548.
6
- *
7
- * IND-548: migrated to src/participant-agents/ports/agent.tools.port.ts.
8
- */
9
- export type { AgentToolDeps } from '../participant-agents/ports/index.js';
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- /**
2
- * @deprecated Canonical location: questions/ports/question.tools.port — retained
3
- * for backward compatibility (IND-547).
4
- */
5
- export type { QuestionerToolDeps, AskUserQuestionToolDeps } from "../questions/ports/question.tools.port.js";
@@ -1 +0,0 @@
1
- export {};
@@ -1,10 +0,0 @@
1
- /**
2
- * @deprecated Canonical location: contacts/application/contact.inviter
3
- * Retained for backward compatibility during IND-549 migration.
4
- * Import generateInviteMessage from contacts/application or via
5
- * capabilities/contacts.facade.ts instead.
6
- *
7
- * IND-549: migrated to src/contacts/application/contact.inviter.ts.
8
- */
9
- export { generateInviteMessage } from "../contacts/application/index.js";
10
- export type { InviteInput, InviteOutput } from "../contacts/application/index.js";
@@ -1,9 +0,0 @@
1
- /**
2
- * @deprecated Canonical location: contacts/application/contact.inviter
3
- * Retained for backward compatibility during IND-549 migration.
4
- * Import generateInviteMessage from contacts/application or via
5
- * capabilities/contacts.facade.ts instead.
6
- *
7
- * IND-549: migrated to src/contacts/application/contact.inviter.ts.
8
- */
9
- export { generateInviteMessage } from "../contacts/application/index.js";
@@ -1,9 +0,0 @@
1
- /**
2
- * @deprecated Canonical location: contacts/application/contact.tools
3
- * Retained for backward compatibility during IND-549 migration.
4
- * Import createContactTools from contacts/application or via
5
- * capabilities/contacts.facade.ts instead.
6
- *
7
- * IND-549: migrated to src/contacts/application/contact.tools.ts.
8
- */
9
- export { createContactTools } from "../contacts/application/index.js";
@@ -1,9 +0,0 @@
1
- /**
2
- * @deprecated Canonical location: contacts/application/contact.tools
3
- * Retained for backward compatibility during IND-549 migration.
4
- * Import createContactTools from contacts/application or via
5
- * capabilities/contacts.facade.ts instead.
6
- *
7
- * IND-549: migrated to src/contacts/application/contact.tools.ts.
8
- */
9
- export { createContactTools } from "../contacts/application/index.js";
@@ -1,9 +0,0 @@
1
- /**
2
- * @deprecated Canonical location: integrations/application/integration.tools
3
- * Retained for backward compatibility during IND-549 migration.
4
- * Import createIntegrationTools from integrations/application or via
5
- * capabilities/integrations.facade.ts instead.
6
- *
7
- * IND-549: migrated to src/integrations/application/integration.tools.ts.
8
- */
9
- export { createIntegrationTools } from "../integrations/application/index.js";
@@ -1,9 +0,0 @@
1
- /**
2
- * @deprecated Canonical location: integrations/application/integration.tools
3
- * Retained for backward compatibility during IND-549 migration.
4
- * Import createIntegrationTools from integrations/application or via
5
- * capabilities/integrations.facade.ts instead.
6
- *
7
- * IND-549: migrated to src/integrations/application/integration.tools.ts.
8
- */
9
- export { createIntegrationTools } from "../integrations/application/index.js";
@@ -1,3 +0,0 @@
1
- /** @deprecated Canonical location: signals/application/intent.clarifier — retained for backward compatibility (IND-544). */
2
- export { IntentClarifier } from "../signals/application/intent.clarifier.js";
3
- export type { IntentClarifierOutput } from "../signals/application/intent.clarifier.js";
@@ -1,2 +0,0 @@
1
- /** @deprecated Canonical location: signals/application/intent.clarifier — retained for backward compatibility (IND-544). */
2
- export { IntentClarifier } from "../signals/application/intent.clarifier.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * @deprecated Canonical location: signals/application/intent.graph
3
- * Retained for backward compatibility during IND-544 migration.
4
- */
5
- export { IntentGraphFactory, enforceIntentActionBoundary, buildExplicitUpdateActions, } from "../signals/application/intent.graph.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * @deprecated Canonical location: signals/application/intent.graph
3
- * Retained for backward compatibility during IND-544 migration.
4
- */
5
- export { IntentGraphFactory, enforceIntentActionBoundary, buildExplicitUpdateActions, } from "../signals/application/intent.graph.js";
@@ -1,2 +0,0 @@
1
- /** @deprecated Canonical location: signals/application/intent.indexer — retained for backward compatibility (IND-544). */
2
- export { IntentIndexer, IntentIndexerOutputSchema, type IntentIndexerOutput, } from "../signals/application/intent.indexer.js";
@@ -1,2 +0,0 @@
1
- /** @deprecated Canonical location: signals/application/intent.indexer — retained for backward compatibility (IND-544). */
2
- export { IntentIndexer, IntentIndexerOutputSchema, } from "../signals/application/intent.indexer.js";
@@ -1,2 +0,0 @@
1
- /** @deprecated Canonical location: signals/application/intent.inferrer — retained for backward compatibility (IND-544). */
2
- export { ExplicitIntentInferrer, type InferrerOptions, type InferredIntent, } from "../signals/application/intent.inferrer.js";
@@ -1,2 +0,0 @@
1
- /** @deprecated Canonical location: signals/application/intent.inferrer — retained for backward compatibility (IND-544). */
2
- export { ExplicitIntentInferrer, } from "../signals/application/intent.inferrer.js";
@@ -1,2 +0,0 @@
1
- /** @deprecated Canonical location: signals/application/intent.reconciler — retained for backward compatibility (IND-544). */
2
- export { IntentReconciler, type IntentReconcilerOutput, type NormalizedIntentAction, } from "../signals/application/intent.reconciler.js";
@@ -1,2 +0,0 @@
1
- /** @deprecated Canonical location: signals/application/intent.reconciler — retained for backward compatibility (IND-544). */
2
- export { IntentReconciler, } from "../signals/application/intent.reconciler.js";
@@ -1,2 +0,0 @@
1
- /** @deprecated Canonical location: signals/domain/signal.specificity — retained for backward compatibility (IND-544). */
2
- export { DEFAULT_SPECIFICITY_WARNING } from "../signals/domain/signal.specificity.js";
@@ -1,2 +0,0 @@
1
- /** @deprecated Canonical location: signals/domain/signal.specificity — retained for backward compatibility (IND-544). */
2
- export { DEFAULT_SPECIFICITY_WARNING } from "../signals/domain/signal.specificity.js";
@@ -1,10 +0,0 @@
1
- /**
2
- * @deprecated — canonical location is `signals/domain/intent.state`.
3
- * This module is a backward-compatibility re-export retained so existing
4
- * imports inside `intent/` continue to resolve without change while the
5
- * signals module migration (IND-544) proceeds incrementally.
6
- *
7
- * Do not add new exports here; add them to `signals/domain/intent.state.ts`
8
- * and let them flow through this shim.
9
- */
10
- export { type VerifiedIntent, type IntentValidationFailureCategory, type IntentValidationFailure, type ExecutionResult, IntentGraphState, } from "../signals/domain/intent.state.js";
@@ -1,10 +0,0 @@
1
- /**
2
- * @deprecated — canonical location is `signals/domain/intent.state`.
3
- * This module is a backward-compatibility re-export retained so existing
4
- * imports inside `intent/` continue to resolve without change while the
5
- * signals module migration (IND-544) proceeds incrementally.
6
- *
7
- * Do not add new exports here; add them to `signals/domain/intent.state.ts`
8
- * and let them flow through this shim.
9
- */
10
- export { IntentGraphState, } from "../signals/domain/intent.state.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @deprecated Canonical location: signals/application/intent.tools (tool factory)
3
- * and runtime/foreground/signals/intent.tools (foreground adapter).
4
- * Retained for backward compatibility during IND-544 migration.
5
- */
6
- export { createIntentTools, setIntentClarifierForTesting, describeIntentUpdateFailure, } from "../signals/application/intent.tools.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @deprecated Canonical location: signals/application/intent.tools (tool factory)
3
- * and runtime/foreground/signals/intent.tools (foreground adapter).
4
- * Retained for backward compatibility during IND-544 migration.
5
- */
6
- export { createIntentTools, setIntentClarifierForTesting, describeIntentUpdateFailure, } from "../signals/application/intent.tools.js";
@@ -1,2 +0,0 @@
1
- /** @deprecated Canonical location: signals/application/intent.verifier — retained for backward compatibility (IND-544). */
2
- export { SemanticVerifier, type SemanticVerifierOutput, } from "../signals/application/intent.verifier.js";
@@ -1,2 +0,0 @@
1
- /** @deprecated Canonical location: signals/application/intent.verifier — retained for backward compatibility (IND-544). */
2
- export { SemanticVerifier, } from "../signals/application/intent.verifier.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/application/insight.generator.ts
4
- */
5
- export * from "./application/insight.generator.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/application/insight.generator.ts
4
- */
5
- export * from "./application/insight.generator.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/application/negotiation.agent.ts
4
- */
5
- export * from "./application/negotiation.agent.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/application/negotiation.agent.ts
4
- */
5
- export * from "./application/negotiation.agent.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/domain/negotiation.consultation-policy.ts
4
- */
5
- export * from "./domain/negotiation.consultation-policy.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/domain/negotiation.consultation-policy.ts
4
- */
5
- export * from "./domain/negotiation.consultation-policy.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/domain/negotiation.deadlock.contracts.ts
4
- */
5
- export * from "./domain/negotiation.deadlock.contracts.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/domain/negotiation.deadlock.contracts.ts
4
- */
5
- export * from "./domain/negotiation.deadlock.contracts.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/domain/negotiation.deadlock.ts
4
- */
5
- export * from "./domain/negotiation.deadlock.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/domain/negotiation.deadlock.ts
4
- */
5
- export * from "./domain/negotiation.deadlock.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/application/negotiation.detail-reader.ts
4
- */
5
- export * from "./application/negotiation.detail-reader.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/application/negotiation.detail-reader.ts
4
- */
5
- export * from "./application/negotiation.detail-reader.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/application/negotiation.graph.ts
4
- */
5
- export * from "./application/negotiation.graph.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/application/negotiation.graph.ts
4
- */
5
- export * from "./application/negotiation.graph.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/domain/negotiation.intent-snapshot-provenance.ts
4
- */
5
- export * from "./domain/negotiation.intent-snapshot-provenance.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/domain/negotiation.intent-snapshot-provenance.ts
4
- */
5
- export * from "./domain/negotiation.intent-snapshot-provenance.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/domain/negotiation.lifecycle-narration.ts
4
- */
5
- export * from "./domain/negotiation.lifecycle-narration.js";
@@ -1,5 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/domain/negotiation.lifecycle-narration.ts
4
- */
5
- export * from "./domain/negotiation.lifecycle-narration.js";
@@ -1,7 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/domain/negotiation.memory.ts
4
- * DistilledMemoryKind / NEGOTIATOR_MEMORY_KINDS are also exported from here
5
- * (previously in negotiation.reflect.ts) so existing imports remain valid.
6
- */
7
- export * from "./domain/negotiation.memory.js";
@@ -1,7 +0,0 @@
1
- /**
2
- * Thin backward-compat shim — IND-550.
3
- * Canonical location: negotiation/domain/negotiation.memory.ts
4
- * DistilledMemoryKind / NEGOTIATOR_MEMORY_KINDS are also exported from here
5
- * (previously in negotiation.reflect.ts) so existing imports remain valid.
6
- */
7
- export * from "./domain/negotiation.memory.js";