@c4a/context-cli 0.7.4 → 0.7.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.
Files changed (47) hide show
  1. package/cli.js +6420 -1986
  2. package/indexers/bundles/context-code-indexer/SKILL.md +1 -1
  3. package/indexers/bundles/context-code-indexer/context-indexer.yaml +1 -1
  4. package/indexers/bundles/context-markdown-indexer/SKILL.md +1 -1
  5. package/indexers/bundles/context-markdown-indexer/context-indexer.yaml +1 -1
  6. package/indexers/contracts/profile-contract.json +245 -245
  7. package/indexers/release-manifest.json +11 -11
  8. package/package.json +12 -12
  9. package/plugins/VERSION +1 -1
  10. package/plugins/claude/.claude-plugin/plugin.json +1 -1
  11. package/plugins/claude/commands/context.md +15 -25
  12. package/plugins/codex/.codex-plugin/plugin.json +2 -2
  13. package/plugins/codex/skills/context/SKILL.md +15 -25
  14. package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
  15. package/plugins/cursor/commands/c4a-context.md +15 -25
  16. package/plugins/skills/context/SKILL.md +15 -25
  17. package/plugins/skills/context-code-indexer/SKILL.md +1 -1
  18. package/plugins/skills/context-code-indexer/context-indexer.yaml +1 -1
  19. package/plugins/skills/context-markdown-indexer/SKILL.md +1 -1
  20. package/plugins/skills/context-markdown-indexer/context-indexer.yaml +1 -1
  21. package/providers/context/actions/authorize-current-indexer-provider-program.yaml +6 -0
  22. package/providers/context/actions/finalize-current-indexer-provider-selection.yaml +5 -0
  23. package/providers/context/actions/resolve-current-indexer-gate.yaml +6 -0
  24. package/providers/context/actions/resolve-current-indexer-provider.yaml +6 -0
  25. package/providers/context/actions/run-indexer-lifecycle.yaml +0 -1
  26. package/providers/context/actions/run-indexer-post-author-composer.yaml +1 -1
  27. package/providers/context/codes.yaml +2 -0
  28. package/providers/context/graphs/indexer.yaml +22 -0
  29. package/providers/context/graphs/workspace.yaml +1 -0
  30. package/providers/context/manifest.json +78 -48
  31. package/providers/context/provider.yaml +1 -1
  32. package/providers/context/resources/dialogue/knowledge-review.md +6 -3
  33. package/providers/context/resources/procedures/knowledge-review.md +11 -8
  34. package/providers/context/resources/views/resolved-indexer-instructions.yaml +2 -4
  35. package/providers/context/schemas/indexer-agent-step-input.schema.json +71 -21
  36. package/providers/context/schemas/indexer-agent-step-result.schema.json +107 -20
  37. package/providers/context/schemas/indexer-materialize-request.schema.json +4 -8
  38. package/providers/context/schemas/indexer-workset-view-materialization-request.schema.json +4 -1
  39. package/providers/context/skills/authorize-current-indexer-provider-program/SKILL.md +20 -0
  40. package/providers/context/skills/configure-indexer-providers/SKILL.md +15 -14
  41. package/providers/context/skills/resolve-current-indexer-gate/SKILL.md +27 -0
  42. package/providers/context/skills/resolve-current-indexer-provider/SKILL.md +20 -0
  43. package/providers/context/skills/run-indexer-agent-step/SKILL.md +27 -14
  44. package/providers/context/skills/run-indexer-lifecycle/SKILL.md +14 -9
  45. package/providers/context/skills/run-indexer-post-author-composer/SKILL.md +35 -23
  46. package/providers/context/schemas/indexer-lifecycle-continuation.schema.json +0 -15
  47. package/providers/context/schemas/indexer-post-author-fragment-request.schema.json +0 -26
@@ -1,26 +1,26 @@
1
1
  {
2
2
  "protocol": "context.indexer.cli-release-manifest/v1",
3
3
  "package": "@c4a/context-cli",
4
- "version": "0.7.4",
4
+ "version": "0.7.5",
5
5
  "issuer": "context4ai/context",
6
6
  "bundles": [
7
7
  {
8
8
  "skill": "context-code-indexer",
9
- "version": "1.1.1",
9
+ "version": "1.1.2",
10
10
  "distribution": {
11
11
  "kind": "cli-bundled",
12
12
  "locator": "cli-bundled://context/context-code-indexer"
13
13
  },
14
- "integrity": "sha256:80c85d8cb10af8e65a85cc22d6102ccafe1fe661696c856ffafd4ee0c42aa6d1",
15
- "manifest_digest": "sha256:69cc16d6e680b840879bb20570e56e64b38a5d83755a5f7996a718c03a62ef66",
14
+ "integrity": "sha256:1ed6831f383cee2399b3c49b01378010ed40c65dce554cf50fc0a5d8ecac6a04",
15
+ "manifest_digest": "sha256:17f70fd4018068892a8067a3008855d2914f16728a90134328b5da4754429c11",
16
16
  "files": [
17
17
  {
18
18
  "path": "SKILL.md",
19
- "digest": "sha256:9f844460d49494bcb708162ddd983b36908305836c7015d46803e6bfedd6e70f"
19
+ "digest": "sha256:d08738034dc6ed4fab857184ea92927a207a4c712be7626ae58ce3a0be1499fd"
20
20
  },
21
21
  {
22
22
  "path": "context-indexer.yaml",
23
- "digest": "sha256:69cc16d6e680b840879bb20570e56e64b38a5d83755a5f7996a718c03a62ef66"
23
+ "digest": "sha256:17f70fd4018068892a8067a3008855d2914f16728a90134328b5da4754429c11"
24
24
  },
25
25
  {
26
26
  "path": "references/composers/contracts-and-chains.md",
@@ -146,21 +146,21 @@
146
146
  },
147
147
  {
148
148
  "skill": "context-markdown-indexer",
149
- "version": "1.1.0",
149
+ "version": "1.1.1",
150
150
  "distribution": {
151
151
  "kind": "cli-bundled",
152
152
  "locator": "cli-bundled://context/context-markdown-indexer"
153
153
  },
154
- "integrity": "sha256:58104934dad8aaa934c45bac646dfd1e8ec952eb00aadb44fcf84af1d620638f",
155
- "manifest_digest": "sha256:7e2b153d37fa3c4b7c916b3efff95b0fd1c489a50ba1ffab7c80bf43fb4e43f5",
154
+ "integrity": "sha256:082664b409f05861cf69c77f45de0cf9c3269522c949b1c1f5fb25d2e78d59b9",
155
+ "manifest_digest": "sha256:6ed1f921e340d1ba8876dec57da9a41308cb72bd12c7aacf24acd93c7dd59439",
156
156
  "files": [
157
157
  {
158
158
  "path": "SKILL.md",
159
- "digest": "sha256:e4959961af57d30d8b4468e997a5d64eb3fb98e4c7be8884a217b65df24709e8"
159
+ "digest": "sha256:ed1684c9b2659ec5f42a3785803f6bf3fec3061cc5bc6f4ea69cc3b0a5a42b6e"
160
160
  },
161
161
  {
162
162
  "path": "context-indexer.yaml",
163
- "digest": "sha256:7e2b153d37fa3c4b7c916b3efff95b0fd1c489a50ba1ffab7c80bf43fb4e43f5"
163
+ "digest": "sha256:6ed1f921e340d1ba8876dec57da9a41308cb72bd12c7aacf24acd93c7dd59439"
164
164
  },
165
165
  {
166
166
  "path": "references/classification.md",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c4a/context-cli",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "type": "module",
5
5
  "description": "Local runtime and Agent integration for traceable knowledge production",
6
6
  "license": "MIT",
@@ -24,17 +24,17 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@c4a/agent-graph": "0.3.0",
27
- "@c4a/context": "0.7.4",
28
- "@c4a/extract": "0.7.4",
29
- "@c4a/extract-contract": "0.7.4",
30
- "@c4a/extract-go": "0.7.4",
31
- "@c4a/extract-mdx": "0.7.4",
32
- "@c4a/extract-proto": "0.7.4",
33
- "@c4a/extract-rush": "0.7.4",
34
- "@c4a/extract-sql": "0.7.4",
35
- "@c4a/extract-style": "0.7.4",
36
- "@c4a/extract-thrift": "0.7.4",
37
- "@c4a/extract-ts": "0.7.4",
27
+ "@c4a/context": "0.7.5",
28
+ "@c4a/extract": "0.7.5",
29
+ "@c4a/extract-contract": "0.7.5",
30
+ "@c4a/extract-go": "0.7.5",
31
+ "@c4a/extract-mdx": "0.7.5",
32
+ "@c4a/extract-proto": "0.7.5",
33
+ "@c4a/extract-rush": "0.7.5",
34
+ "@c4a/extract-sql": "0.7.5",
35
+ "@c4a/extract-style": "0.7.5",
36
+ "@c4a/extract-thrift": "0.7.5",
37
+ "@c4a/extract-ts": "0.7.5",
38
38
  "commander": "^11.0.0",
39
39
  "fast-xml-parser": "^5.10.1",
40
40
  "handlebars": "^4.7.8",
package/plugins/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.4
1
+ 0.7.5
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "c4a",
3
3
  "description": "Start or continue a project-local knowledge workspace through one graph-routed entry.",
4
- "version": "0.7.4",
4
+ "version": "0.7.5",
5
5
  "author": { "name": "c4a" },
6
6
  "license": "MIT",
7
7
  "keywords": ["context", "knowledge-base", "wiki", "claude-plugin", "c4a"]
@@ -119,7 +119,7 @@ and do not create a retry ledger or override Gate. If a legacy workspace returns
119
119
  `route.extract.codeindex-migration-required`, execute only its migration
120
120
  command; do not rename `codegraph` paths manually.
121
121
 
122
- ### Discover Indexer Providers before selection
122
+ ### Select Indexer Providers
123
123
 
124
124
  For `indexer-provider-required`, `indexer-provider-unavailable`,
125
125
  `indexer-customization-required`, `indexer-customization-invalid`, or
@@ -132,30 +132,20 @@ remembered or host-specific workflow.
132
132
 
133
133
  When the current Route starts a new Code or Markdown indexing task, its
134
134
  `configure-indexer-providers` Action input already contains the exact applied
135
- requirements and CLI-bundled Provider catalog. Report those bundled entries
136
- together with every other Indexer Skill already visible through the current
137
- host. The conversational report must
138
- include each Skill name, readable exact version when available, and source type
139
- (CLI-bundled community, workspace, installed plugin, or authorized marketplace
140
- result). When the host already exposes an exact Skill root or `SKILL.md` path,
141
- read only its YAML frontmatter and sibling `context-indexer.yaml` during
142
- discovery. The manifest version is authoritative;
143
- `metadata.context-provider-version` is a readable copy that must match it. Do
144
- not load the Provider body or other guidance until the Route selects it. If the
145
- host exposes no readable root or exact version, report the version as
146
- unavailable rather than guessing it.
147
-
148
- Group observations with the same Skill name and exact version into one
149
- conversational item and list all observed source types on that item. An
150
- installed projection of an identical CLI-bundled identity is not a second
151
- Provider. Keep different versions separate; never use source count or discovery order as
152
- selection precedence. Do not search arbitrary directories, infer host cache
153
- paths, install a plugin, or query a marketplace unless the user separately
154
- authorizes it. Keep this discovery report only in the conversation: do not
155
- write it to `src/`, `package.json`, lifecycle state, receipts, audit output, or
156
- `dist/`. Do not repeat it during an unchanged task resume; repeat it only for a
157
- new indexing task, a changed host-visible Skill set, or an explicit diagnostic
158
- request.
135
+ requirements and CLI-bundled Provider catalog. Select applicable Providers from
136
+ the Skills already visible to the Host and that supplied catalog. Do not add a
137
+ catalog command, installation preflight, discovery report, or discovery-only
138
+ confirmation to the normal workflow. The main entry being visible is not proof
139
+ that every Provider is available; the CLI checks the selected distribution
140
+ when it is used and returns any missing/version-conflict recovery.
141
+
142
+ Use the supplied CLI-bundled identity for a selected shipped Provider, including
143
+ when the same Skill/version is also visible as an installed projection. Do not
144
+ resolve that copy through the Host or re-read its installed metadata. For a
145
+ relevant external Skill, read only the exact Host-exposed frontmatter and
146
+ sibling `context-indexer.yaml` needed for selection; do not guess a version or
147
+ scan caches. Different versions remain distinct. Read Provider guidance only
148
+ when selected. Discovery is not a durable workspace artifact.
159
149
 
160
150
  Return only `stage: provider-selection`, the non-CLI
161
151
  `host_visible_skills`, and the selected semantic `indexers` through the exact
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c4a",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "Start or continue a project-local knowledge workspace through one graph-routed entry.",
5
5
  "author": { "name": "c4a" },
6
6
  "homepage": "https://github.com/context4ai/c4a",
@@ -10,7 +10,7 @@
10
10
  "skills": "./skills/",
11
11
  "interface": {
12
12
  "displayName": "C4A Context",
13
- "shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.7.4",
13
+ "shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.7.5",
14
14
  "longDescription": "Create a Context workspace and use agent-guided next steps to register sources, run extraction, review candidates, build package outputs, and verify health without silently mutating source repositories.",
15
15
  "developerName": "c4a",
16
16
  "category": "Productivity",
@@ -120,7 +120,7 @@ and do not create a retry ledger or override Gate. If a legacy workspace returns
120
120
  `route.extract.codeindex-migration-required`, execute only its migration
121
121
  command; do not rename `codegraph` paths manually.
122
122
 
123
- ### Discover Indexer Providers before selection
123
+ ### Select Indexer Providers
124
124
 
125
125
  For `indexer-provider-required`, `indexer-provider-unavailable`,
126
126
  `indexer-customization-required`, `indexer-customization-invalid`, or
@@ -133,30 +133,20 @@ remembered or host-specific workflow.
133
133
 
134
134
  When the current Route starts a new Code or Markdown indexing task, its
135
135
  `configure-indexer-providers` Action input already contains the exact applied
136
- requirements and CLI-bundled Provider catalog. Report those bundled entries
137
- together with every other Indexer Skill already visible through the current
138
- host. The conversational report must
139
- include each Skill name, readable exact version when available, and source type
140
- (CLI-bundled community, workspace, installed plugin, or authorized marketplace
141
- result). When the host already exposes an exact Skill root or `SKILL.md` path,
142
- read only its YAML frontmatter and sibling `context-indexer.yaml` during
143
- discovery. The manifest version is authoritative;
144
- `metadata.context-provider-version` is a readable copy that must match it. Do
145
- not load the Provider body or other guidance until the Route selects it. If the
146
- host exposes no readable root or exact version, report the version as
147
- unavailable rather than guessing it.
148
-
149
- Group observations with the same Skill name and exact version into one
150
- conversational item and list all observed source types on that item. An
151
- installed projection of an identical CLI-bundled identity is not a second
152
- Provider. Keep different versions separate; never use source count or discovery order as
153
- selection precedence. Do not search arbitrary directories, infer host cache
154
- paths, install a plugin, or query a marketplace unless the user separately
155
- authorizes it. Keep this discovery report only in the conversation: do not
156
- write it to `src/`, `package.json`, lifecycle state, receipts, audit output, or
157
- `dist/`. Do not repeat it during an unchanged task resume; repeat it only for a
158
- new indexing task, a changed host-visible Skill set, or an explicit diagnostic
159
- request.
136
+ requirements and CLI-bundled Provider catalog. Select applicable Providers from
137
+ the Skills already visible to the Host and that supplied catalog. Do not add a
138
+ catalog command, installation preflight, discovery report, or discovery-only
139
+ confirmation to the normal workflow. The main entry being visible is not proof
140
+ that every Provider is available; the CLI checks the selected distribution
141
+ when it is used and returns any missing/version-conflict recovery.
142
+
143
+ Use the supplied CLI-bundled identity for a selected shipped Provider, including
144
+ when the same Skill/version is also visible as an installed projection. Do not
145
+ resolve that copy through the Host or re-read its installed metadata. For a
146
+ relevant external Skill, read only the exact Host-exposed frontmatter and
147
+ sibling `context-indexer.yaml` needed for selection; do not guess a version or
148
+ scan caches. Different versions remain distinct. Read Provider guidance only
149
+ when selected. Discovery is not a durable workspace artifact.
160
150
 
161
151
  Return only `stage: provider-selection`, the non-CLI
162
152
  `host_visible_skills`, and the selected semantic `indexers` through the exact
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "c4a",
3
3
  "displayName": "C4A Context",
4
- "version": "0.7.4",
4
+ "version": "0.7.5",
5
5
  "description": "Start or continue a project-local knowledge workspace through one graph-routed entry.",
6
6
  "author": { "name": "Context4AI", "email": "support@context4ai.dev" },
7
7
  "homepage": "https://github.com/context4ai/c4a",
@@ -121,7 +121,7 @@ and do not create a retry ledger or override Gate. If a legacy workspace returns
121
121
  `route.extract.codeindex-migration-required`, execute only its migration
122
122
  command; do not rename `codegraph` paths manually.
123
123
 
124
- ### Discover Indexer Providers before selection
124
+ ### Select Indexer Providers
125
125
 
126
126
  For `indexer-provider-required`, `indexer-provider-unavailable`,
127
127
  `indexer-customization-required`, `indexer-customization-invalid`, or
@@ -134,30 +134,20 @@ remembered or host-specific workflow.
134
134
 
135
135
  When the current Route starts a new Code or Markdown indexing task, its
136
136
  `configure-indexer-providers` Action input already contains the exact applied
137
- requirements and CLI-bundled Provider catalog. Report those bundled entries
138
- together with every other Indexer Skill already visible through the current
139
- host. The conversational report must
140
- include each Skill name, readable exact version when available, and source type
141
- (CLI-bundled community, workspace, installed plugin, or authorized marketplace
142
- result). When the host already exposes an exact Skill root or `SKILL.md` path,
143
- read only its YAML frontmatter and sibling `context-indexer.yaml` during
144
- discovery. The manifest version is authoritative;
145
- `metadata.context-provider-version` is a readable copy that must match it. Do
146
- not load the Provider body or other guidance until the Route selects it. If the
147
- host exposes no readable root or exact version, report the version as
148
- unavailable rather than guessing it.
149
-
150
- Group observations with the same Skill name and exact version into one
151
- conversational item and list all observed source types on that item. An
152
- installed projection of an identical CLI-bundled identity is not a second
153
- Provider. Keep different versions separate; never use source count or discovery order as
154
- selection precedence. Do not search arbitrary directories, infer host cache
155
- paths, install a plugin, or query a marketplace unless the user separately
156
- authorizes it. Keep this discovery report only in the conversation: do not
157
- write it to `src/`, `package.json`, lifecycle state, receipts, audit output, or
158
- `dist/`. Do not repeat it during an unchanged task resume; repeat it only for a
159
- new indexing task, a changed host-visible Skill set, or an explicit diagnostic
160
- request.
137
+ requirements and CLI-bundled Provider catalog. Select applicable Providers from
138
+ the Skills already visible to the Host and that supplied catalog. Do not add a
139
+ catalog command, installation preflight, discovery report, or discovery-only
140
+ confirmation to the normal workflow. The main entry being visible is not proof
141
+ that every Provider is available; the CLI checks the selected distribution
142
+ when it is used and returns any missing/version-conflict recovery.
143
+
144
+ Use the supplied CLI-bundled identity for a selected shipped Provider, including
145
+ when the same Skill/version is also visible as an installed projection. Do not
146
+ resolve that copy through the Host or re-read its installed metadata. For a
147
+ relevant external Skill, read only the exact Host-exposed frontmatter and
148
+ sibling `context-indexer.yaml` needed for selection; do not guess a version or
149
+ scan caches. Different versions remain distinct. Read Provider guidance only
150
+ when selected. Discovery is not a durable workspace artifact.
161
151
 
162
152
  Return only `stage: provider-selection`, the non-CLI
163
153
  `host_visible_skills`, and the selected semantic `indexers` through the exact
@@ -120,7 +120,7 @@ and do not create a retry ledger or override Gate. If a legacy workspace returns
120
120
  `route.extract.codeindex-migration-required`, execute only its migration
121
121
  command; do not rename `codegraph` paths manually.
122
122
 
123
- ### Discover Indexer Providers before selection
123
+ ### Select Indexer Providers
124
124
 
125
125
  For `indexer-provider-required`, `indexer-provider-unavailable`,
126
126
  `indexer-customization-required`, `indexer-customization-invalid`, or
@@ -133,30 +133,20 @@ remembered or host-specific workflow.
133
133
 
134
134
  When the current Route starts a new Code or Markdown indexing task, its
135
135
  `configure-indexer-providers` Action input already contains the exact applied
136
- requirements and CLI-bundled Provider catalog. Report those bundled entries
137
- together with every other Indexer Skill already visible through the current
138
- host. The conversational report must
139
- include each Skill name, readable exact version when available, and source type
140
- (CLI-bundled community, workspace, installed plugin, or authorized marketplace
141
- result). When the host already exposes an exact Skill root or `SKILL.md` path,
142
- read only its YAML frontmatter and sibling `context-indexer.yaml` during
143
- discovery. The manifest version is authoritative;
144
- `metadata.context-provider-version` is a readable copy that must match it. Do
145
- not load the Provider body or other guidance until the Route selects it. If the
146
- host exposes no readable root or exact version, report the version as
147
- unavailable rather than guessing it.
148
-
149
- Group observations with the same Skill name and exact version into one
150
- conversational item and list all observed source types on that item. An
151
- installed projection of an identical CLI-bundled identity is not a second
152
- Provider. Keep different versions separate; never use source count or discovery order as
153
- selection precedence. Do not search arbitrary directories, infer host cache
154
- paths, install a plugin, or query a marketplace unless the user separately
155
- authorizes it. Keep this discovery report only in the conversation: do not
156
- write it to `src/`, `package.json`, lifecycle state, receipts, audit output, or
157
- `dist/`. Do not repeat it during an unchanged task resume; repeat it only for a
158
- new indexing task, a changed host-visible Skill set, or an explicit diagnostic
159
- request.
136
+ requirements and CLI-bundled Provider catalog. Select applicable Providers from
137
+ the Skills already visible to the Host and that supplied catalog. Do not add a
138
+ catalog command, installation preflight, discovery report, or discovery-only
139
+ confirmation to the normal workflow. The main entry being visible is not proof
140
+ that every Provider is available; the CLI checks the selected distribution
141
+ when it is used and returns any missing/version-conflict recovery.
142
+
143
+ Use the supplied CLI-bundled identity for a selected shipped Provider, including
144
+ when the same Skill/version is also visible as an installed projection. Do not
145
+ resolve that copy through the Host or re-read its installed metadata. For a
146
+ relevant external Skill, read only the exact Host-exposed frontmatter and
147
+ sibling `context-indexer.yaml` needed for selection; do not guess a version or
148
+ scan caches. Different versions remain distinct. Read Provider guidance only
149
+ when selected. Discovery is not a durable workspace artifact.
160
150
 
161
151
  Return only `stage: provider-selection`, the non-CLI
162
152
  `host_visible_skills`, and the selected semantic `indexers` through the exact
@@ -4,7 +4,7 @@ description: Context-managed Provider for source-grounded code knowledge. Use on
4
4
  metadata:
5
5
  context-role: "indexer-provider"
6
6
  context-public-entry: "false"
7
- context-provider-version: "1.1.1"
7
+ context-provider-version: "1.1.2"
8
8
  ---
9
9
 
10
10
  # Context Code Indexer
@@ -1,6 +1,6 @@
1
1
  protocol: context.indexer.provider/v1
2
2
  id: context-code-indexer
3
- version: 1.1.1
3
+ version: 1.1.2
4
4
  domains: [code]
5
5
 
6
6
  activation:
@@ -4,7 +4,7 @@ description: Context-managed Provider for source-grounded document knowledge. Us
4
4
  metadata:
5
5
  context-role: "indexer-provider"
6
6
  context-public-entry: "false"
7
- context-provider-version: "1.1.0"
7
+ context-provider-version: "1.1.1"
8
8
  ---
9
9
 
10
10
  # Context Markdown Indexer
@@ -1,6 +1,6 @@
1
1
  protocol: context.indexer.provider/v1
2
2
  id: context-markdown-indexer
3
- version: 1.1.0
3
+ version: 1.1.1
4
4
  domains: [markdown]
5
5
 
6
6
  activation:
@@ -0,0 +1,6 @@
1
+ schema: agent-graph.action.v1
2
+ id: authorize-current-indexer-provider-program
3
+ runner: agent
4
+ effect: external
5
+ skill: skills/authorize-current-indexer-provider-program/SKILL.md
6
+ outputSchema: schemas/indexer-agent-step-result.schema.json
@@ -0,0 +1,5 @@
1
+ schema: agent-graph.action.v1
2
+ id: finalize-current-indexer-provider-selection
3
+ runner: command
4
+ effect: write
5
+ command: context run --format json
@@ -0,0 +1,6 @@
1
+ schema: agent-graph.action.v1
2
+ id: resolve-current-indexer-gate
3
+ runner: agent
4
+ effect: write
5
+ skill: skills/resolve-current-indexer-gate/SKILL.md
6
+ outputSchema: schemas/indexer-agent-step-result.schema.json
@@ -0,0 +1,6 @@
1
+ schema: agent-graph.action.v1
2
+ id: resolve-current-indexer-provider
3
+ runner: agent
4
+ effect: external
5
+ skill: skills/resolve-current-indexer-provider/SKILL.md
6
+ outputSchema: schemas/indexer-agent-step-result.schema.json
@@ -4,4 +4,3 @@ description: Continue the unique registry-and-Provider Indexer lifecycle until c
4
4
  runner: agent
5
5
  effect: write
6
6
  skill: skills/run-indexer-lifecycle/SKILL.md
7
- outputSchema: schemas/indexer-lifecycle-continuation.schema.json
@@ -3,5 +3,5 @@ id: run-indexer-post-author-composer
3
3
  runner: agent
4
4
  effect: write
5
5
  skill: skills/run-indexer-post-author-composer/SKILL.md
6
- inputSchema: schemas/indexer-post-author-fragment-request.schema.json
6
+ inputSchema: schemas/indexer-agent-step-input.schema.json
7
7
  outputSchema: schemas/indexer-agent-step-result.schema.json
@@ -33,6 +33,8 @@ codes:
33
33
  - { code: route.indexer.layout-confirmation-required, kind: route-reason, summary: Confirm the proposed knowledge layout change or reject it with revision feedback. }
34
34
  - { code: route.indexer.agent-step, kind: route-reason, summary: Run one digest-bound Indexer workset with the static Context Agent Action. }
35
35
  - { code: route.indexer.provider-configuration, kind: route-reason, summary: Configure an exact path-free Provider selection from currently visible Indexer Skills. }
36
+ - { code: route.indexer.provider-host-resolution-required, kind: route-reason, summary: Resolve the exact current Indexer Provider through its declared Host Action. }
37
+ - { code: route.indexer.provider-finalization-required, kind: route-reason, summary: Deterministically validate and apply the fully resolved current Indexer Provider selection. }
36
38
  - { code: route.indexer.markdown-capture-validation, kind: route-reason, summary: Require exact current document capture before discovering a semantic Markdown Provider. }
37
39
  - { code: route.indexer.markdown-provider-discovery, kind: route-reason, summary: Report visible Markdown Indexer Skills and build one capture-bound Provider route input. }
38
40
  - { code: route.indexer.markdown-provider-validation, kind: route-reason, summary: Revalidate the capture-bound selection and resolve it through the exact CLI or Host boundary. }
@@ -4,6 +4,9 @@ description: Static Agent route for one digest-bound Indexer workset.
4
4
  entrypoints:
5
5
  agent-step: run-indexer-agent-step
6
6
  provider-selection: configure-indexer-providers
7
+ current-provider-resolution: resolve-current-indexer-provider
8
+ current-provider-program-authorization: authorize-current-indexer-provider-program
9
+ current-provider-finalization: finalize-current-indexer-provider-selection
7
10
  markdown-provider: inspect-markdown-provider-capture
8
11
  requirement-confirmation: route-index-requirement-confirmation
9
12
  contract-overlay-validation: validate-indexer-contract-overlays
@@ -41,6 +44,7 @@ nodes:
41
44
  - id: review-current-indexer-structure
42
45
  kind: gate
43
46
  reasonCode: route.indexer.semantic-structure-review
47
+ resolutionAction: actions/resolve-current-indexer-gate.yaml
44
48
  gate:
45
49
  id: indexer-semantic-structure-review
46
50
  prompt: Review the complete semantic structure and its create-or-enrich targets before authoring.
@@ -72,6 +76,7 @@ nodes:
72
76
  - id: confirm-current-indexer-layout
73
77
  kind: gate
74
78
  reasonCode: route.indexer.layout-confirmation-required
79
+ resolutionAction: actions/resolve-current-indexer-gate.yaml
75
80
  gate:
76
81
  id: confirm-layout-change
77
82
  prompt: Confirm the proposed knowledge layout change or reject it with revision feedback.
@@ -86,6 +91,23 @@ nodes:
86
91
  kind: action
87
92
  reasonCode: route.indexer.provider-configuration
88
93
  action: actions/configure-indexer-providers.yaml
94
+ - id: resolve-current-indexer-provider
95
+ kind: action
96
+ reasonCode: route.indexer.provider-host-resolution-required
97
+ action: actions/resolve-current-indexer-provider.yaml
98
+ - id: authorize-current-indexer-provider-program
99
+ kind: gate
100
+ reasonCode: route.indexer.program-execution-authorization
101
+ resolutionAction: actions/authorize-current-indexer-provider-program.yaml
102
+ gate:
103
+ id: authorize-indexer-program-execution
104
+ prompt: Authorize the exact current Provider program for trusted non-sandboxed execution.
105
+ authority: context.indexer-program-execution
106
+ delegatable: true
107
+ - id: finalize-current-indexer-provider-selection
108
+ kind: action
109
+ reasonCode: route.indexer.provider-finalization-required
110
+ action: actions/finalize-current-indexer-provider-selection.yaml
89
111
  - id: inspect-markdown-provider-capture
90
112
  kind: action
91
113
  reasonCode: route.indexer.markdown-capture-validation
@@ -196,6 +196,7 @@ nodes:
196
196
  inspectionAction: actions/inspect-review.yaml
197
197
  resolutionAction: actions/apply-forced-review.yaml
198
198
  delegated:
199
+ inspection: skip
199
200
  resolutionAction: actions/apply-managed-review.yaml
200
201
  resources:
201
202
  required: