@c4a/context-cli 0.7.0 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -39
- package/README.zh-CN.md +13 -27
- package/cli.js +59230 -80555
- package/indexers/bundles/context-code-indexer/SKILL.md +30 -3
- package/indexers/bundles/context-code-indexer/context-indexer.yaml +3 -8
- package/indexers/bundles/context-code-indexer/references/indexer.md +110 -7
- package/indexers/bundles/context-code-indexer/references/metrics.md +143 -37
- package/indexers/bundles/context-code-indexer/templates/adapter-integration.md +2 -2
- package/indexers/bundles/context-code-indexer/templates/component-library.md +8 -0
- package/indexers/bundles/context-code-indexer/templates/gateway-facade.md +16 -0
- package/indexers/bundles/context-markdown-indexer/SKILL.md +13 -3
- package/indexers/bundles/context-markdown-indexer/context-indexer.yaml +20 -7
- package/indexers/bundles/context-markdown-indexer/references/indexer.md +33 -4
- package/indexers/bundles/context-markdown-indexer/references/semantic-planning.md +30 -14
- package/indexers/bundles/context-markdown-indexer/references/structure-and-artifacts.md +6 -0
- package/indexers/bundles/context-markdown-indexer/tests/fixtures/anonymous.json +1 -1
- package/indexers/bundles/context-markdown-indexer/tests/fixtures/profiles.json +13 -13
- package/indexers/bundles/context-markdown-indexer/tests/fixtures/routing.json +122 -0
- package/indexers/contracts/operator-contract.json +2 -2
- package/indexers/contracts/profile-contract.json +3819 -454
- package/indexers/release-manifest.json +22 -22
- package/package.json +13 -3
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/context.md +44 -85
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context/SKILL.md +44 -85
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context.md +44 -85
- package/plugins/skills/context/SKILL.md +44 -85
- package/plugins/skills/context-code-indexer/SKILL.md +30 -3
- package/plugins/skills/context-code-indexer/context-indexer.yaml +3 -8
- package/plugins/skills/context-code-indexer/references/indexer.md +110 -7
- package/plugins/skills/context-code-indexer/references/metrics.md +143 -37
- package/plugins/skills/context-code-indexer/templates/adapter-integration.md +2 -2
- package/plugins/skills/context-code-indexer/templates/component-library.md +8 -0
- package/plugins/skills/context-code-indexer/templates/gateway-facade.md +16 -0
- package/plugins/skills/context-markdown-indexer/SKILL.md +13 -3
- package/plugins/skills/context-markdown-indexer/context-indexer.yaml +20 -7
- package/plugins/skills/context-markdown-indexer/references/indexer.md +33 -4
- package/plugins/skills/context-markdown-indexer/references/semantic-planning.md +30 -14
- package/plugins/skills/context-markdown-indexer/references/structure-and-artifacts.md +6 -0
- package/plugins/skills/context-markdown-indexer/tests/fixtures/anonymous.json +1 -1
- package/plugins/skills/context-markdown-indexer/tests/fixtures/profiles.json +13 -13
- package/plugins/skills/context-markdown-indexer/tests/fixtures/routing.json +122 -0
- package/providers/context/actions/advance-current-indexer-lifecycle.yaml +6 -0
- package/providers/context/actions/configure-indexer-providers.yaml +1 -1
- package/providers/context/actions/materialize-indexer-workset-view.yaml +7 -0
- package/providers/context/actions/run-indexer-lifecycle.yaml +7 -0
- package/providers/context/actions/run-indexer-post-author-composer.yaml +1 -1
- package/providers/context/codes.yaml +9 -49
- package/providers/context/graphs/indexer.yaml +75 -592
- package/providers/context/graphs/workspace.yaml +25 -500
- package/providers/context/manifest.json +110 -1199
- package/providers/context/provider.yaml +2 -2
- package/providers/context/resources/diagnostics/projection-stale.md +0 -1
- package/providers/context/resources/dialogue/human-gates.md +3 -3
- package/providers/context/resources/manuals/reference/package-templates.md +2 -3
- package/providers/context/resources/manuals/reference/project-api.md +52 -985
- package/providers/context/resources/procedures/close-and-build.md +8 -23
- package/providers/context/resources/procedures/knowledge-review.md +13 -4
- package/providers/context/resources/procedures/source-capture-detailed.md +6 -8
- package/providers/context/resources/views/authorized-indexer-workset-view.yaml +15 -0
- package/providers/context/resources/views/package-current.yaml +1 -1
- package/providers/context/resources/views/resolved-indexer-instructions.yaml +1 -1
- package/providers/context/resources/views/review-current.yaml +1 -1
- package/providers/context/resources/views/source-boundary.yaml +1 -1
- package/providers/context/resources/views/source-current.yaml +1 -1
- package/providers/context/resources/views/verification-current.yaml +1 -1
- package/providers/context/resources/views/workspace-current.yaml +1 -1
- package/providers/context/schemas/indexer-agent-step-input.schema.json +2 -2
- package/providers/context/schemas/indexer-agent-step-result.schema.json +298 -32
- package/providers/context/schemas/indexer-authorized-workset-view.schema.json +65 -0
- package/providers/context/schemas/indexer-contract-overlay-validation-input.schema.json +0 -42
- package/providers/context/schemas/indexer-contract-overlay-validation-result.schema.json +27 -122
- package/providers/context/schemas/indexer-lifecycle-continuation.schema.json +15 -0
- package/providers/context/schemas/indexer-main-lifecycle-input.schema.json +13 -20
- package/providers/context/schemas/indexer-main-lifecycle-output.schema.json +17 -2
- package/providers/context/schemas/indexer-materialized-resource.schema.json +8 -1
- package/providers/context/schemas/indexer-overlay-question-proposal-input.schema.json +55 -6
- package/providers/context/schemas/indexer-overlay-question-rebind-input.schema.json +4 -4
- package/providers/context/schemas/indexer-workset-view-materialization-request.schema.json +32 -0
- package/providers/context/skills/configure-indexer-providers/SKILL.md +40 -27
- package/providers/context/skills/run-indexer-agent-step/SKILL.md +34 -8
- package/providers/context/skills/run-indexer-lifecycle/SKILL.md +37 -0
- package/providers/context/skills/run-indexer-post-author-composer/SKILL.md +38 -9
- package/docs/document-optimization.md +0 -82
- package/docs/document-optimization.zh-CN.md +0 -70
- package/indexers/capability-manifest.json +0 -40
- package/indexers/contracts/hard-rule-conformance.json +0 -2644
- package/providers/context/actions/accept-main-index-run.yaml +0 -7
- package/providers/context/actions/accept-material-answer-run.yaml +0 -7
- package/providers/context/actions/accept-post-author-composer-run.yaml +0 -7
- package/providers/context/actions/actualize-material-answer-bindings.yaml +0 -8
- package/providers/context/actions/align-next.yaml +0 -6
- package/providers/context/actions/apply-code-index-guidance.yaml +0 -5
- package/providers/context/actions/apply-document-optimization-guidance.yaml +0 -5
- package/providers/context/actions/apply-structure-confirmation.yaml +0 -5
- package/providers/context/actions/audit-material-gap-state.yaml +0 -8
- package/providers/context/actions/audit-projected-artifact-fan-out.yaml +0 -8
- package/providers/context/actions/authorize-indexer-contract-overlay.yaml +0 -7
- package/providers/context/actions/build-main-index-author-worksets.yaml +0 -7
- package/providers/context/actions/build-main-index-catalog-fallback.yaml +0 -7
- package/providers/context/actions/build-main-index-partition-worksets.yaml +0 -7
- package/providers/context/actions/build-material-question-workset.yaml +0 -7
- package/providers/context/actions/build-post-author-composer-worksets.yaml +0 -7
- package/providers/context/actions/build-question-target-inventory.yaml +0 -7
- package/providers/context/actions/build-subject-catalog.yaml +0 -7
- package/providers/context/actions/build-target-resolution-views.yaml +0 -7
- package/providers/context/actions/checkpoint-material-answer-review.yaml +0 -8
- package/providers/context/actions/checkpoint-material-gaps.yaml +0 -8
- package/providers/context/actions/close-indexer-approved-knowledge.yaml +0 -8
- package/providers/context/actions/compile-next.yaml +0 -5
- package/providers/context/actions/compose-indexer-post-author-fragments.yaml +0 -7
- package/providers/context/actions/configure-code-extraction.yaml +0 -5
- package/providers/context/actions/configure-prose-lifecycle.yaml +0 -5
- package/providers/context/actions/converge-main-index-partition-run.yaml +0 -7
- package/providers/context/actions/evaluate-material-gaps.yaml +0 -8
- package/providers/context/actions/extract-next.yaml +0 -5
- package/providers/context/actions/fail-main-index-run.yaml +0 -7
- package/providers/context/actions/fail-material-answer-run.yaml +0 -7
- package/providers/context/actions/fail-post-author-composer-run.yaml +0 -7
- package/providers/context/actions/inspect-code-extraction.yaml +0 -5
- package/providers/context/actions/inspect-document-classification.yaml +0 -5
- package/providers/context/actions/inspect-index-candidate-review-readiness.yaml +0 -8
- package/providers/context/actions/inspect-index-profile-failure.yaml +0 -7
- package/providers/context/actions/inspect-material-answer-review.yaml +0 -8
- package/providers/context/actions/inspect-structure.yaml +0 -5
- package/providers/context/actions/migrate-codeindex.yaml +0 -5
- package/providers/context/actions/observe-main-index-run-ledger.yaml +0 -7
- package/providers/context/actions/observe-material-answer-runs.yaml +0 -7
- package/providers/context/actions/observe-post-author-composer-worksets.yaml +0 -7
- package/providers/context/actions/optimize-documents.yaml +0 -6
- package/providers/context/actions/override-index-profile-audit.yaml +0 -7
- package/providers/context/actions/prepare-main-index-run-ledger.yaml +0 -7
- package/providers/context/actions/prepare-material-answer-runs.yaml +0 -7
- package/providers/context/actions/preview-extraction-batch.yaml +0 -5
- package/providers/context/actions/reconcile-indexer-results.yaml +0 -7
- package/providers/context/actions/reconcile-review-identities.yaml +0 -5
- package/providers/context/actions/record-index-profile-revision.yaml +0 -7
- package/providers/context/actions/report-index-profile-failure.yaml +0 -7
- package/providers/context/actions/resolve-effective-composers.yaml +0 -7
- package/providers/context/actions/review-material-answer-candidate.yaml +0 -8
- package/providers/context/actions/revise-code-index-audit.yaml +0 -5
- package/providers/context/actions/revise-document.yaml +0 -5
- package/providers/context/actions/revise-index-output.yaml +0 -7
- package/providers/context/actions/run-material-answer-indexers.yaml +0 -7
- package/providers/context/actions/start-main-index-run.yaml +0 -7
- package/providers/context/actions/start-material-answer-run.yaml +0 -7
- package/providers/context/actions/start-post-author-composer-run.yaml +0 -7
- package/providers/context/actions/submit-code-index-audit.yaml +0 -6
- package/providers/context/resources/dialogue/code-extraction.md +0 -87
- package/providers/context/resources/dialogue/document-classification.md +0 -33
- package/providers/context/resources/dialogue/structure-confirmation.md +0 -44
- package/providers/context/resources/dialogue/workflow-mode-after-capture.md +0 -25
- package/providers/context/resources/manuals/reference/code-extractors.md +0 -152
- package/providers/context/resources/procedures/code-extraction.md +0 -188
- package/providers/context/resources/procedures/code-index-audit.md +0 -113
- package/providers/context/resources/procedures/document-classification.md +0 -22
- package/providers/context/resources/procedures/document-optimization.md +0 -110
- package/providers/context/resources/procedures/document-revision.md +0 -36
- package/providers/context/resources/procedures/prose-align.md +0 -68
- package/providers/context/resources/procedures/prose-compile.md +0 -23
- package/providers/context/resources/semantic/align/candidate-resolution.md +0 -106
- package/providers/context/resources/semantic/align/density-profile.md +0 -41
- package/providers/context/resources/semantic/align/gates.md +0 -276
- package/providers/context/resources/semantic/align/structure-planning.md +0 -337
- package/providers/context/resources/semantic/code-index/classification.md +0 -270
- package/providers/context/resources/semantic/code-index/templates/adapter.md +0 -118
- package/providers/context/resources/semantic/code-index/templates/api-service.md +0 -116
- package/providers/context/resources/semantic/code-index/templates/background-runtime.md +0 -109
- package/providers/context/resources/semantic/code-index/templates/cli-tool.md +0 -129
- package/providers/context/resources/semantic/code-index/templates/contract-source.md +0 -73
- package/providers/context/resources/semantic/code-index/templates/contracts-and-chains.md +0 -81
- package/providers/context/resources/semantic/code-index/templates/cross-module-chain.md +0 -78
- package/providers/context/resources/semantic/code-index/templates/derived-source.md +0 -116
- package/providers/context/resources/semantic/code-index/templates/domain-service.md +0 -109
- package/providers/context/resources/semantic/code-index/templates/event-flow.md +0 -62
- package/providers/context/resources/semantic/code-index/templates/monorepo-container.md +0 -124
- package/providers/context/resources/semantic/code-index/templates/persistence-boundary.md +0 -56
- package/providers/context/resources/semantic/code-index/templates/plugin-extension.md +0 -52
- package/providers/context/resources/semantic/code-index/templates/protocol-boundary.md +0 -88
- package/providers/context/resources/semantic/code-index/templates/sdk-library.md +0 -132
- package/providers/context/resources/semantic/code-index/templates/web-application.md +0 -145
- package/providers/context/resources/semantic/compile/index.md +0 -31
- package/providers/context/resources/views/code-index-audit.yaml +0 -6
- package/providers/context/resources/views/document-optimization-current.yaml +0 -6
- package/providers/context/resources/views/extraction-preview.yaml +0 -6
- package/providers/context/resources/views/structure-current.yaml +0 -6
- package/providers/context/schemas/code-index-audit-decision.schema.json +0 -94
- package/providers/context/schemas/document-optimization-decisions.schema.json +0 -57
- package/providers/context/schemas/indexer-candidate-review-readiness-input.schema.json +0 -46
- package/providers/context/schemas/indexer-candidate-review-readiness-output.schema.json +0 -104
- package/providers/context/schemas/indexer-contract-overlay-authorization-input.schema.json +0 -32
- package/providers/context/schemas/indexer-contract-overlay-authorization-result.schema.json +0 -121
- package/providers/context/schemas/indexer-material-answer-lifecycle-input.schema.json +0 -90
- package/providers/context/schemas/indexer-material-answer-lifecycle-output.schema.json +0 -80
- package/providers/context/schemas/indexer-material-answer-review-inspection-input.schema.json +0 -32
- package/providers/context/schemas/indexer-material-answer-review-inspection-output.schema.json +0 -32
- package/providers/context/schemas/indexer-material-answer-review-resolution-input.schema.json +0 -19
- package/providers/context/schemas/indexer-material-answer-review-resolution-output.schema.json +0 -87
- package/providers/context/schemas/indexer-material-gap-lifecycle-input.schema.json +0 -86
- package/providers/context/schemas/indexer-material-gap-lifecycle-output.schema.json +0 -19
- package/providers/context/schemas/indexer-post-author-fragment-result.schema.json +0 -18
- package/providers/context/schemas/indexer-post-author-lifecycle-input.schema.json +0 -94
- package/providers/context/schemas/indexer-post-author-lifecycle-output.schema.json +0 -72
- package/providers/context/schemas/indexer-profile-failure-inspection-input.schema.json +0 -13
- package/providers/context/schemas/indexer-profile-failure-inspection-result.schema.json +0 -19
- package/providers/context/schemas/indexer-profile-failure-report-input.schema.json +0 -22
- package/providers/context/schemas/indexer-profile-failure-report-result.schema.json +0 -49
- package/providers/context/schemas/indexer-profile-override-decision.schema.json +0 -20
- package/providers/context/schemas/indexer-profile-override-result.schema.json +0 -49
- package/providers/context/schemas/indexer-profile-revision-agent-input.schema.json +0 -18
- package/providers/context/schemas/indexer-profile-revision-record-input.schema.json +0 -31
- package/providers/context/schemas/indexer-profile-revision-record-result.schema.json +0 -45
- package/providers/context/schemas/indexer-result-reconciliation-input.schema.json +0 -59
- package/providers/context/schemas/indexer-result-reconciliation-output.schema.json +0 -43
- package/providers/context/schemas/prose-structure-batch.schema.json +0 -35
- package/providers/context/skills/revise-index-output/SKILL.md +0 -12
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: accept-main-index-run
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer accept-main-index-run --input .tmp/agent-payloads/indexer-main-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-main-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-main-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: accept-material-answer-run
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer accept-material-answer-run --input .tmp/agent-payloads/indexer-material-answer-accept.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-material-answer-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-material-answer-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: accept-post-author-composer-run
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer accept-post-author-composer-run --input .tmp/agent-payloads/indexer-post-author-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-post-author-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-post-author-lifecycle-output.schema.json
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: actualize-material-answer-bindings
|
|
3
|
-
description: Map answer-approved landings to exact Artifact or Section identities and checkpoint the successor ledger.
|
|
4
|
-
runner: command
|
|
5
|
-
effect: write
|
|
6
|
-
command: context indexer actualize-material-answer-bindings --input .tmp/agent-payloads/indexer-material-answer-actualization.json --format json
|
|
7
|
-
inputSchema: schemas/indexer-material-gap-lifecycle-input.schema.json
|
|
8
|
-
outputSchema: schemas/indexer-material-gap-lifecycle-output.schema.json
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: audit-material-gap-state
|
|
3
|
-
description: Read-only recompute the expected retained material-gap ledger and route lifecycle drift.
|
|
4
|
-
runner: command
|
|
5
|
-
effect: read
|
|
6
|
-
command: context indexer audit-material-gap-state --input .tmp/agent-payloads/indexer-material-gap-audit.json --format json
|
|
7
|
-
inputSchema: schemas/indexer-material-gap-lifecycle-input.schema.json
|
|
8
|
-
outputSchema: schemas/indexer-material-gap-lifecycle-output.schema.json
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: audit-projected-artifact-fan-out
|
|
3
|
-
description: Recompute projected Artifact ownership and stop unsafe fan-out before any Candidate is materialized.
|
|
4
|
-
runner: command
|
|
5
|
-
effect: read
|
|
6
|
-
command: context indexer audit-projected-artifact-fan-out --input .tmp/agent-payloads/indexer-main-lifecycle.json --format json
|
|
7
|
-
inputSchema: schemas/indexer-main-lifecycle-input.schema.json
|
|
8
|
-
outputSchema: schemas/indexer-main-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: authorize-indexer-contract-overlay
|
|
3
|
-
runner: host
|
|
4
|
-
effect: external
|
|
5
|
-
handler: context.authorize-indexer-contract-overlay/v1
|
|
6
|
-
inputSchema: schemas/indexer-contract-overlay-authorization-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-contract-overlay-authorization-result.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: build-main-index-author-worksets
|
|
3
|
-
runner: command
|
|
4
|
-
effect: read
|
|
5
|
-
command: context indexer build-main-index-author-worksets --input .tmp/agent-payloads/indexer-main-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-main-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-main-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: build-main-index-catalog-fallback
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer build-main-index-catalog-fallback --input .tmp/agent-payloads/indexer-main-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-main-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-main-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: build-main-index-partition-worksets
|
|
3
|
-
runner: command
|
|
4
|
-
effect: read
|
|
5
|
-
command: context indexer build-main-index-partition-worksets --input .tmp/agent-payloads/indexer-main-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-main-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-main-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: build-material-question-workset
|
|
3
|
-
runner: command
|
|
4
|
-
effect: read
|
|
5
|
-
command: context indexer build-material-question-workset --input .tmp/agent-payloads/indexer-material-question-workset.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-material-answer-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-material-answer-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: build-post-author-composer-worksets
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer build-post-author-composer-worksets --input .tmp/agent-payloads/indexer-post-author-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-post-author-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-post-author-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: build-question-target-inventory
|
|
3
|
-
runner: command
|
|
4
|
-
effect: read
|
|
5
|
-
command: context indexer build-question-target-inventory --input .tmp/agent-payloads/indexer-main-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-main-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-main-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: build-subject-catalog
|
|
3
|
-
runner: command
|
|
4
|
-
effect: read
|
|
5
|
-
command: context indexer build-subject-catalog --input .tmp/agent-payloads/indexer-main-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-main-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-main-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: build-target-resolution-views
|
|
3
|
-
runner: command
|
|
4
|
-
effect: read
|
|
5
|
-
command: context indexer build-target-resolution-views --input .tmp/agent-payloads/indexer-main-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-main-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-main-lifecycle-output.schema.json
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: checkpoint-material-answer-review
|
|
3
|
-
description: Persist one exact answer-approved Review successor under retained ledger CAS.
|
|
4
|
-
runner: command
|
|
5
|
-
effect: write
|
|
6
|
-
command: context indexer checkpoint-material-answer-review --input .tmp/agent-payloads/indexer-material-answer-review-checkpoint.json --format json
|
|
7
|
-
inputSchema: schemas/indexer-material-gap-lifecycle-input.schema.json
|
|
8
|
-
outputSchema: schemas/indexer-material-gap-lifecycle-output.schema.json
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: checkpoint-material-gaps
|
|
3
|
-
description: Recompute current reconciliation and durably checkpoint retained material gaps before any blocking outcome.
|
|
4
|
-
runner: command
|
|
5
|
-
effect: write
|
|
6
|
-
command: context indexer checkpoint-material-gaps --input .tmp/agent-payloads/indexer-material-gap-checkpoint.json --format json
|
|
7
|
-
inputSchema: schemas/indexer-material-gap-lifecycle-input.schema.json
|
|
8
|
-
outputSchema: schemas/indexer-material-gap-lifecycle-output.schema.json
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: close-indexer-approved-knowledge
|
|
3
|
-
description: Atomically close an approved Indexer structure and reconcile exact resolved material-answer provenance.
|
|
4
|
-
runner: command
|
|
5
|
-
effect: write
|
|
6
|
-
command: context indexer close-indexer-approved-knowledge --input .tmp/agent-payloads/indexer-approved-knowledge-close.json --format json
|
|
7
|
-
inputSchema: schemas/indexer-material-gap-lifecycle-input.schema.json
|
|
8
|
-
outputSchema: schemas/indexer-material-gap-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: compose-indexer-post-author-fragments
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer compose-indexer-post-author-fragments --input .tmp/agent-payloads/indexer-post-author-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-post-author-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-post-author-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: converge-main-index-partition-run
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer converge-main-index-partition-run --input .tmp/agent-payloads/indexer-main-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-main-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-main-lifecycle-output.schema.json
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: evaluate-material-gaps
|
|
3
|
-
description: Derive layout and main Candidate Review admission from the current retained ledger.
|
|
4
|
-
runner: command
|
|
5
|
-
effect: read
|
|
6
|
-
command: context indexer evaluate-material-gaps --input .tmp/agent-payloads/indexer-material-gap-evaluation.json --format json
|
|
7
|
-
inputSchema: schemas/indexer-material-gap-lifecycle-input.schema.json
|
|
8
|
-
outputSchema: schemas/indexer-material-gap-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: fail-main-index-run
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer fail-main-index-run --input .tmp/agent-payloads/indexer-main-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-main-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-main-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: fail-material-answer-run
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer fail-material-answer-run --input .tmp/agent-payloads/indexer-material-answer-fail.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-material-answer-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-material-answer-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: fail-post-author-composer-run
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer fail-post-author-composer-run --input .tmp/agent-payloads/indexer-post-author-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-post-author-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-post-author-lifecycle-output.schema.json
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: inspect-index-candidate-review-readiness
|
|
3
|
-
description: Load exact CLI audit records and prove both mechanical audit stages are current before main Candidate Review.
|
|
4
|
-
runner: command
|
|
5
|
-
effect: read
|
|
6
|
-
command: context indexer inspect-index-candidate-review-readiness --input .tmp/agent-payloads/indexer-candidate-review-readiness.json --format json
|
|
7
|
-
inputSchema: schemas/indexer-candidate-review-readiness-input.schema.json
|
|
8
|
-
outputSchema: schemas/indexer-candidate-review-readiness-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: inspect-index-profile-failure
|
|
3
|
-
runner: command
|
|
4
|
-
effect: read
|
|
5
|
-
command: context indexer inspect-index-profile-failure --input .tmp/agent-payloads/indexer-profile-failure-inspection.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-profile-failure-inspection-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-profile-failure-inspection-result.schema.json
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: inspect-material-answer-review
|
|
3
|
-
description: Recompute the exact reviewable evidence-binding baseline for one material-answer candidate.
|
|
4
|
-
runner: host
|
|
5
|
-
effect: read
|
|
6
|
-
handler: context.inspect-material-answer-review/v1
|
|
7
|
-
inputSchema: schemas/indexer-material-answer-review-inspection-input.schema.json
|
|
8
|
-
outputSchema: schemas/indexer-material-answer-review-inspection-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: observe-main-index-run-ledger
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer observe-main-index-run-ledger --input .tmp/agent-payloads/indexer-main-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-main-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-main-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: observe-material-answer-runs
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer observe-material-answer-runs --input .tmp/agent-payloads/indexer-material-answer-observation.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-material-answer-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-material-answer-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: observe-post-author-composer-worksets
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer observe-post-author-composer-worksets --input .tmp/agent-payloads/indexer-post-author-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-post-author-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-post-author-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: override-index-profile-audit
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer override-index-profile-audit --input .tmp/agent-payloads/indexer-profile-override-decision.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-profile-override-decision.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-profile-override-result.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: prepare-main-index-run-ledger
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer prepare-main-index-run-ledger --input .tmp/agent-payloads/indexer-main-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-main-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-main-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: prepare-material-answer-runs
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer prepare-material-answer-runs --input .tmp/agent-payloads/indexer-material-answer-runs.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-material-answer-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-material-answer-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: reconcile-indexer-results
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer reconcile-indexer-results --input .tmp/agent-payloads/indexer-reconciliation.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-result-reconciliation-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-result-reconciliation-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: record-index-profile-revision
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer record-index-profile-revision --input .tmp/agent-payloads/indexer-profile-revision-record.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-profile-revision-record-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-profile-revision-record-result.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: report-index-profile-failure
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer report-index-profile-failure --input .tmp/agent-payloads/indexer-profile-failure-report.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-profile-failure-report-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-profile-failure-report-result.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: resolve-effective-composers
|
|
3
|
-
runner: command
|
|
4
|
-
effect: read
|
|
5
|
-
command: context indexer resolve-effective-composers --input .tmp/agent-payloads/indexer-post-author-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-post-author-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-post-author-lifecycle-output.schema.json
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: review-material-answer-candidate
|
|
3
|
-
description: Approve or reject only the exact material-answer evidence binding without approving reader content.
|
|
4
|
-
runner: host
|
|
5
|
-
effect: external
|
|
6
|
-
handler: context.review-material-answer-candidate/v1
|
|
7
|
-
inputSchema: schemas/indexer-material-answer-review-resolution-input.schema.json
|
|
8
|
-
outputSchema: schemas/indexer-material-answer-review-resolution-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: revise-index-output
|
|
3
|
-
runner: agent
|
|
4
|
-
effect: write
|
|
5
|
-
skill: skills/revise-index-output/SKILL.md
|
|
6
|
-
inputSchema: schemas/indexer-profile-revision-agent-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-profile-revision-record-input.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: start-main-index-run
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer start-main-index-run --input .tmp/agent-payloads/indexer-main-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-main-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-main-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: start-material-answer-run
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer start-material-answer-run --input .tmp/agent-payloads/indexer-material-answer-start.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-material-answer-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-material-answer-lifecycle-output.schema.json
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
schema: agent-graph.action.v1
|
|
2
|
-
id: start-post-author-composer-run
|
|
3
|
-
runner: command
|
|
4
|
-
effect: write
|
|
5
|
-
command: context indexer start-post-author-composer-run --input .tmp/agent-payloads/indexer-post-author-lifecycle.json --format json
|
|
6
|
-
inputSchema: schemas/indexer-post-author-lifecycle-input.schema.json
|
|
7
|
-
outputSchema: schemas/indexer-post-author-lifecycle-output.schema.json
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: dialogue.code-extraction
|
|
3
|
-
kind: procedure
|
|
4
|
-
mediaType: text/markdown
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Code-extraction dialogue
|
|
8
|
-
|
|
9
|
-
Begin with the Route-selected batch inspection. Classify all modules from that
|
|
10
|
-
evidence before opening any archetype template, inspect source files only for
|
|
11
|
-
unresolved facts, then read every matching Route-recommended type or facet
|
|
12
|
-
template. For all modules in the current batch, state:
|
|
13
|
-
|
|
14
|
-
- the confirmed repository module;
|
|
15
|
-
- the primary and additional module types, composable facets, evidence paths,
|
|
16
|
-
stable responsibility, entries, external protocols and important dependencies;
|
|
17
|
-
- the output owner/profile and planned page kinds;
|
|
18
|
-
- which files or generated/derived areas are excluded;
|
|
19
|
-
- whether extraction follows configured/public entries or scans all matched
|
|
20
|
-
files;
|
|
21
|
-
- whether internal symbols are included; and
|
|
22
|
-
- that the first run or later deltas produce Review candidates rather than
|
|
23
|
-
approved Markdown.
|
|
24
|
-
|
|
25
|
-
Also state the inspected manifest signals and the chosen extractor in one
|
|
26
|
-
sentence. Say whether the selected capability covers the module directly or
|
|
27
|
-
whether a project-owned adapter supplies the missing mapping. Do not ask the
|
|
28
|
-
user to choose between parser package names unless two genuinely incompatible
|
|
29
|
-
technical choices remain.
|
|
30
|
-
|
|
31
|
-
In fully managed mode, write the same fields into one batch report instead of
|
|
32
|
-
asking or narrating them module by module. A typed `material-required` gap and
|
|
33
|
-
the measured scale limit remain observable in both modes; advisory risks do not
|
|
34
|
-
create another confirmation Gate.
|
|
35
|
-
|
|
36
|
-
If a selected package lacks a standard entry, offer two Context-owned choices:
|
|
37
|
-
configure source-relative API roots, or use scan mode for all declarations in
|
|
38
|
-
the confirmed file scope. Do not ask the user to change source code or package
|
|
39
|
-
metadata to satisfy Context.
|
|
40
|
-
|
|
41
|
-
`extractTs()` creates one candidate page per selected symbol and assigns a
|
|
42
|
-
source to one index unit. Use it only when that granular shape is the intended
|
|
43
|
-
public reference. For an aggregate module map, registry, protocol index, or
|
|
44
|
-
cross-module flow—or multiple units over one source—use `extractCustom()` and
|
|
45
|
-
declare candidate ownership. If an optional structural extractor is available,
|
|
46
|
-
use it for syntax facts and keep project-specific classification in the project
|
|
47
|
-
callback; do not imply that installing it adds a new CLI phase.
|
|
48
|
-
|
|
49
|
-
Do not predict page counts from the template examples. Run the route-selected
|
|
50
|
-
batch preview once after the plan is configured. Report discovered, AST-analyzed,
|
|
51
|
-
skipped, symbol, relation, and candidate counts separately, plus resolved
|
|
52
|
-
entries, exported/internal counts, symbol-kind counts, output ownership and the
|
|
53
|
-
proposed knowledge tree.
|
|
54
|
-
Treat those fields as structural scope evidence, not a semantic ranking. Stop
|
|
55
|
-
when the preview crosses the confirmed module boundary or the module
|
|
56
|
-
identity/path shape is wrong.
|
|
57
|
-
|
|
58
|
-
Also report the unit inventory: eligible/analyzed file and LOC counts,
|
|
59
|
-
discovered/read Markdown, target/exported symbols, stable entry and boundary
|
|
60
|
-
targets, exclusions and parser gaps. After extraction, read every independent
|
|
61
|
-
audit dimension and the exact uncovered identities. Use the CLI-selected
|
|
62
|
-
repair actions and matching templates; do not invent a total score.
|
|
63
|
-
|
|
64
|
-
Apply the per-index-unit policy exactly: up to 100 pages proceeds; 101–300 pages
|
|
65
|
-
warns and proceeds; more than 300 pages stops even in fully managed mode. Group
|
|
66
|
-
all oversized or capability-gap units into one explanation and one plan-revision
|
|
67
|
-
Gate instead of asking about modules one by one. If the revision changes a
|
|
68
|
-
module's classification, read the newly selected template before editing the
|
|
69
|
-
plan; otherwise reuse the current classification and avoid another
|
|
70
|
-
classification dialogue.
|
|
71
|
-
|
|
72
|
-
When blocked, propose only legal revisions: narrow `include`, exclude generated
|
|
73
|
-
or mirrored areas, enable `exportedOnly`, change to an aggregate
|
|
74
|
-
`extractCustom()` shape, or register real child sources. Do not split one
|
|
75
|
-
`extractTs()` source into overlapping index units. Report a batch-total page
|
|
76
|
-
advisory as a cost signal, not a new Gate.
|
|
77
|
-
|
|
78
|
-
In fully managed mode, revise absolute failures automatically and aim for each
|
|
79
|
-
recommended target. After three attempts with the same unit/problem fingerprint,
|
|
80
|
-
stop at the single aggregated guidance Gate and report all failed modules,
|
|
81
|
-
dimensions, attempted actions, and likely missing material together. Ordinary
|
|
82
|
-
mode also makes one batch decision; it does not create one user Gate per module.
|
|
83
|
-
|
|
84
|
-
For a multi-module round, finish every pending extraction target before opening
|
|
85
|
-
one Review. For an unchanged repeat run, explain that no added, changed, or
|
|
86
|
-
removed symbols need a decision. Mention `extractTs`, `include`, `entries`,
|
|
87
|
-
`mode`, or `exportedOnly` only in technical configuration detail.
|