@c4a/context-cli 0.7.9 → 0.7.10-alpha.2
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/cli.js +59387 -99747
- package/indexers/bundles/context-code-indexer/SKILL.md +19 -44
- package/indexers/bundles/context-code-indexer/context-indexer.yaml +2 -19
- package/indexers/bundles/context-code-indexer/references/composers/contracts-and-chains.md +7 -2
- package/indexers/bundles/context-code-indexer/references/composers/cross-module-chain.md +7 -2
- package/indexers/bundles/context-code-indexer/references/composers/development-and-delivery.md +7 -2
- package/indexers/bundles/context-code-indexer/references/composers/event-flow.md +7 -2
- package/indexers/bundles/context-code-indexer/references/composers/examples-and-documentation.md +7 -2
- package/indexers/bundles/context-code-indexer/references/composers/persistence-boundary.md +7 -2
- package/indexers/bundles/context-code-indexer/references/composers/protocol-boundary.md +8 -3
- package/indexers/bundles/context-code-indexer/references/composers/public-contract.md +9 -4
- package/indexers/bundles/context-code-indexer/references/indexer.md +137 -328
- package/indexers/bundles/context-code-indexer/references/metrics.md +1 -1
- package/indexers/bundles/context-code-indexer/templates/adapter-integration-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/adapter-integration-request-adaptation-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/adapter-integration-usage-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/api-service-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/api-service-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/background-runtime-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/background-runtime-task-runtime-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/cli-tool-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/cli-tool-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/cli-tool-usage-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/component-library-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/component-library-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/component-library-usage-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/contract-source-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/contract-source-usage-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation-task-runtime-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation.md +5 -6
- package/indexers/bundles/context-code-indexer/templates/derived-generated-source-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/derived-generated-source-usage-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/domain-service-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/domain-service-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/event-consumer-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/event-consumer-task-runtime-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/gateway-facade-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/gateway-facade-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/gateway-facade-request-adaptation-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/monorepo-container-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/monorepo-container-usage-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/plugin-extension-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/plugin-extension-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/plugin-extension-usage-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/sdk-library-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/sdk-library-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/sdk-library-usage-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/storage-repository-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/storage-repository-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/web-application-federation-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/web-application-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/web-application-page-task-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/tests/fixtures/composers.json +8 -8
- package/indexers/bundles/context-code-indexer/tests/fixtures/profiles.json +240 -48
- package/indexers/bundles/context-markdown-indexer/SKILL.md +20 -24
- package/indexers/bundles/context-markdown-indexer/context-indexer.yaml +2 -2
- package/indexers/bundles/context-markdown-indexer/references/classification.md +28 -63
- package/indexers/bundles/context-markdown-indexer/references/editorial-policy.md +2 -2
- package/indexers/bundles/context-markdown-indexer/references/indexer.md +57 -113
- package/indexers/bundles/context-markdown-indexer/references/semantic-planning.md +48 -176
- package/indexers/bundles/context-markdown-indexer/references/structure-and-artifacts.md +33 -115
- package/indexers/bundles/context-markdown-indexer/tests/fixtures/anonymous.json +0 -6
- package/indexers/bundles/context-markdown-indexer/tests/fixtures/profiles.json +195 -39
- package/indexers/bundles/context-note-indexer/SKILL.md +20 -5
- package/indexers/bundles/context-note-indexer/context-indexer.yaml +2 -371
- package/indexers/bundles/context-note-indexer/references/classification.md +22 -49
- package/indexers/bundles/context-note-indexer/references/customization.md +19 -32
- package/indexers/bundles/context-note-indexer/references/extension-placement.md +13 -39
- package/indexers/bundles/context-note-indexer/references/indexer.md +6 -2
- package/indexers/bundles/context-note-indexer/references/updates-and-composition.md +26 -32
- package/indexers/bundles/context-note-indexer/references/writing.md +4 -4
- package/indexers/bundles/context-note-indexer/tests/fixtures/profiles.json +0 -54
- package/indexers/bundles/context-sessions-indexer/SKILL.md +20 -5
- package/indexers/bundles/context-sessions-indexer/context-indexer.yaml +2 -371
- package/indexers/bundles/context-sessions-indexer/references/classification.md +22 -50
- package/indexers/bundles/context-sessions-indexer/references/customization.md +19 -32
- package/indexers/bundles/context-sessions-indexer/references/extension-placement.md +12 -39
- package/indexers/bundles/context-sessions-indexer/references/indexer.md +6 -2
- package/indexers/bundles/context-sessions-indexer/references/updates-and-composition.md +26 -32
- package/indexers/bundles/context-sessions-indexer/references/writing.md +4 -4
- package/indexers/bundles/context-sessions-indexer/tests/fixtures/profiles.json +0 -54
- package/indexers/contracts/operator-contract.json +2 -4
- package/indexers/contracts/profile-contract.json +246 -940
- package/indexers/release-manifest.json +94 -98
- package/package.json +12 -12
- package/parserEntryWorker.js +2759 -16446
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/context.md +6 -7
- package/plugins/claude/skills/context-indexer-create/SKILL.md +31 -70
- package/plugins/claude/skills/context-indexer-create/references/guides/indexer-skill-creation.md +107 -97
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context/SKILL.md +6 -7
- package/plugins/codex/skills/context-indexer-create/SKILL.md +31 -70
- package/plugins/codex/skills/context-indexer-create/references/guides/indexer-skill-creation.md +107 -97
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context.md +6 -7
- package/plugins/cursor/skills/context-indexer-create/SKILL.md +31 -70
- package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-skill-creation.md +107 -97
- package/plugins/skills/context/SKILL.md +6 -7
- package/plugins/skills/context-code-indexer/SKILL.md +19 -44
- package/plugins/skills/context-code-indexer/context-indexer.yaml +2 -19
- package/plugins/skills/context-code-indexer/references/composers/contracts-and-chains.md +7 -2
- package/plugins/skills/context-code-indexer/references/composers/cross-module-chain.md +7 -2
- package/plugins/skills/context-code-indexer/references/composers/development-and-delivery.md +7 -2
- package/plugins/skills/context-code-indexer/references/composers/event-flow.md +7 -2
- package/plugins/skills/context-code-indexer/references/composers/examples-and-documentation.md +7 -2
- package/plugins/skills/context-code-indexer/references/composers/persistence-boundary.md +7 -2
- package/plugins/skills/context-code-indexer/references/composers/protocol-boundary.md +8 -3
- package/plugins/skills/context-code-indexer/references/composers/public-contract.md +9 -4
- package/plugins/skills/context-code-indexer/references/indexer.md +137 -328
- package/plugins/skills/context-code-indexer/references/metrics.md +1 -1
- package/plugins/skills/context-code-indexer/templates/adapter-integration-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/adapter-integration-request-adaptation-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/adapter-integration-usage-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/api-service-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/api-service-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/background-runtime-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/background-runtime-task-runtime-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/cli-tool-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/cli-tool-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/cli-tool-usage-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/component-library-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/component-library-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/component-library-usage-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/contract-source-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/contract-source-usage-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation-task-runtime-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation.md +5 -6
- package/plugins/skills/context-code-indexer/templates/derived-generated-source-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/derived-generated-source-usage-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/domain-service-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/domain-service-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/event-consumer-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/event-consumer-task-runtime-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/gateway-facade-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/gateway-facade-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/gateway-facade-request-adaptation-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/monorepo-container-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/monorepo-container-usage-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/plugin-extension-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/plugin-extension-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/plugin-extension-usage-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/sdk-library-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/sdk-library-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/sdk-library-usage-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/storage-repository-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/storage-repository-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/web-application-federation-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/web-application-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/web-application-page-task-guide.md +1 -9
- package/plugins/skills/context-code-indexer/tests/fixtures/composers.json +8 -8
- package/plugins/skills/context-code-indexer/tests/fixtures/profiles.json +240 -48
- package/plugins/skills/context-indexer-create/SKILL.md +31 -70
- package/plugins/skills/context-indexer-create/references/guides/indexer-skill-creation.md +107 -97
- package/plugins/skills/context-markdown-indexer/SKILL.md +20 -24
- package/plugins/skills/context-markdown-indexer/context-indexer.yaml +2 -2
- package/plugins/skills/context-markdown-indexer/references/classification.md +28 -63
- package/plugins/skills/context-markdown-indexer/references/editorial-policy.md +2 -2
- package/plugins/skills/context-markdown-indexer/references/indexer.md +57 -113
- package/plugins/skills/context-markdown-indexer/references/semantic-planning.md +48 -176
- package/plugins/skills/context-markdown-indexer/references/structure-and-artifacts.md +33 -115
- package/plugins/skills/context-markdown-indexer/tests/fixtures/anonymous.json +0 -6
- package/plugins/skills/context-markdown-indexer/tests/fixtures/profiles.json +195 -39
- package/plugins/skills/context-note-indexer/SKILL.md +20 -5
- package/plugins/skills/context-note-indexer/context-indexer.yaml +2 -371
- package/plugins/skills/context-note-indexer/references/classification.md +22 -49
- package/plugins/skills/context-note-indexer/references/customization.md +19 -32
- package/plugins/skills/context-note-indexer/references/extension-placement.md +13 -39
- package/plugins/skills/context-note-indexer/references/indexer.md +6 -2
- package/plugins/skills/context-note-indexer/references/updates-and-composition.md +26 -32
- package/plugins/skills/context-note-indexer/references/writing.md +4 -4
- package/plugins/skills/context-note-indexer/tests/fixtures/profiles.json +0 -54
- package/plugins/skills/context-sessions-indexer/SKILL.md +20 -5
- package/plugins/skills/context-sessions-indexer/context-indexer.yaml +2 -371
- package/plugins/skills/context-sessions-indexer/references/classification.md +22 -50
- package/plugins/skills/context-sessions-indexer/references/customization.md +19 -32
- package/plugins/skills/context-sessions-indexer/references/extension-placement.md +12 -39
- package/plugins/skills/context-sessions-indexer/references/indexer.md +6 -2
- package/plugins/skills/context-sessions-indexer/references/updates-and-composition.md +26 -32
- package/plugins/skills/context-sessions-indexer/references/writing.md +4 -4
- package/plugins/skills/context-sessions-indexer/tests/fixtures/profiles.json +0 -54
- package/providers/context/actions/approve-production-report.yaml +5 -0
- package/providers/context/actions/configure-production-requirements.yaml +5 -0
- package/providers/context/actions/prepare-production-stage.yaml +5 -0
- package/providers/context/actions/register-source-batch.yaml +1 -1
- package/providers/context/actions/run-indexer-lifecycle.yaml +4 -1
- package/providers/context/actions/work-production-stage.yaml +5 -0
- package/providers/context/codes.yaml +10 -7
- package/providers/context/graphs/indexer.yaml +127 -596
- package/providers/context/graphs/workspace.yaml +2 -37
- package/providers/context/manifest.json +106 -813
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/contracts/indexer-provider-guide.yaml +2 -2
- package/providers/context/resources/diagnostics/verification.md +4 -6
- package/providers/context/resources/dialogue/source-boundary.md +5 -7
- package/providers/context/resources/manuals/guides/code-indexer-skill-authoring.md +84 -0
- package/providers/context/resources/manuals/guides/indexer-provider-and-customization.md +117 -0
- package/providers/context/resources/manuals/guides/knowledge-updates.md +35 -14
- package/providers/context/resources/manuals/guides/markdown-indexer-skill-authoring.md +65 -0
- package/providers/context/resources/manuals/reference/package-templates.md +39 -65
- package/providers/context/resources/manuals/reference/template-variables.md +2 -3
- package/providers/context/resources/procedures/approved-revision.md +28 -35
- package/providers/context/resources/procedures/knowledge-review.md +1 -1
- package/providers/context/resources/procedures/knowledge-updates.md +35 -14
- package/providers/context/resources/procedures/parallel-agent-batch.md +33 -134
- package/providers/context/resources/procedures/production-requirements.md +61 -0
- package/providers/context/resources/procedures/production-stage-files.md +57 -0
- package/providers/context/resources/procedures/source-boundary.md +8 -10
- package/providers/context/resources/procedures/task-recovery.md +15 -20
- package/providers/context/resources/procedures/work-start-report.md +91 -413
- package/providers/context/resources/templates/indexer-agent-worker.md +20 -61
- package/providers/context/resources/templates/work-start-report.md +43 -279
- package/providers/context/schemas/approved-revision-result.schema.json +61 -2
- package/providers/context/schemas/indexer-agent-step-result.schema.json +128 -2043
- package/providers/context/schemas/source-batch-input.schema.json +0 -14
- package/providers/context/skills/resolve-current-indexer-gate/SKILL.md +11 -50
- package/providers/context/skills/run-indexer-agent-step/SKILL.md +19 -425
- package/providers/context/skills/run-indexer-lifecycle/SKILL.md +28 -214
- package/providers/context/skills/work-production-stage/SKILL.md +35 -0
- package/indexers/bundles/context-markdown-indexer/tests/fixtures/migration-equivalence.json +0 -186
- package/plugins/claude/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +0 -180
- package/plugins/claude/skills/context-indexer-create/references/guides/indexer-manifest-example.md +0 -103
- package/plugins/claude/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +0 -471
- package/plugins/claude/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +0 -136
- package/plugins/claude/skills/context-indexer-create/references/guides/note.md +0 -37
- package/plugins/claude/skills/context-indexer-create/references/guides/sessions.md +0 -50
- package/plugins/claude/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +0 -854
- package/plugins/codex/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +0 -180
- package/plugins/codex/skills/context-indexer-create/references/guides/indexer-manifest-example.md +0 -103
- package/plugins/codex/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +0 -471
- package/plugins/codex/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +0 -136
- package/plugins/codex/skills/context-indexer-create/references/guides/note.md +0 -37
- package/plugins/codex/skills/context-indexer-create/references/guides/sessions.md +0 -50
- package/plugins/codex/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +0 -854
- package/plugins/cursor/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +0 -180
- package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-manifest-example.md +0 -103
- package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +0 -471
- package/plugins/cursor/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +0 -136
- package/plugins/cursor/skills/context-indexer-create/references/guides/note.md +0 -37
- package/plugins/cursor/skills/context-indexer-create/references/guides/sessions.md +0 -50
- package/plugins/cursor/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +0 -854
- package/plugins/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +0 -180
- package/plugins/skills/context-indexer-create/references/guides/indexer-manifest-example.md +0 -103
- package/plugins/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +0 -471
- package/plugins/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +0 -136
- package/plugins/skills/context-indexer-create/references/guides/note.md +0 -37
- package/plugins/skills/context-indexer-create/references/guides/sessions.md +0 -50
- package/plugins/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +0 -854
- package/plugins/skills/context-markdown-indexer/tests/fixtures/migration-equivalence.json +0 -186
- package/providers/context/actions/advance-current-indexer-lifecycle.yaml +0 -6
- package/providers/context/actions/apply-indexer-project.yaml +0 -7
- package/providers/context/actions/authorize-current-indexer-provider-program.yaml +0 -6
- package/providers/context/actions/authorize-indexer-dependencies.yaml +0 -7
- package/providers/context/actions/authorize-indexer-program-execution.yaml +0 -7
- package/providers/context/actions/compile-indexer-candidates.yaml +0 -8
- package/providers/context/actions/configure-community-indexer-fallback.yaml +0 -6
- package/providers/context/actions/configure-indexer-providers.yaml +0 -6
- package/providers/context/actions/confirm-index-requirement-workset.yaml +0 -8
- package/providers/context/actions/confirm-subject-reidentification.yaml +0 -8
- package/providers/context/actions/discover-markdown-indexer-providers.yaml +0 -6
- package/providers/context/actions/finalize-current-indexer-provider-selection.yaml +0 -5
- package/providers/context/actions/inspect-indexer-dependencies.yaml +0 -7
- package/providers/context/actions/inspect-indexer-program-execution.yaml +0 -7
- package/providers/context/actions/inspect-indexer-project-proposal.yaml +0 -7
- package/providers/context/actions/inspect-markdown-provider-capture.yaml +0 -7
- package/providers/context/actions/maintain-evidence.yaml +0 -6
- package/providers/context/actions/materialize-indexer-instructions.yaml +0 -7
- package/providers/context/actions/materialize-indexer-workset-view.yaml +0 -7
- package/providers/context/actions/observe-indexer-project.yaml +0 -7
- package/providers/context/actions/prepare-indexer-customization-project.yaml +0 -7
- package/providers/context/actions/propose-indexer-customization.yaml +0 -7
- package/providers/context/actions/propose-overlay-question-amendment.yaml +0 -7
- package/providers/context/actions/rebind-indexer-selection-to-requirement.yaml +0 -7
- package/providers/context/actions/report-indexer-incremental-impact.yaml +0 -8
- package/providers/context/actions/resolve-current-indexer-provider.yaml +0 -6
- package/providers/context/actions/route-index-requirement-confirmation.yaml +0 -8
- package/providers/context/actions/route-indexer-provider-selection.yaml +0 -7
- package/providers/context/actions/run-indexer-agent-step.yaml +0 -7
- package/providers/context/actions/run-indexer-post-author-composer.yaml +0 -7
- package/providers/context/actions/validate-indexer-contract-overlays.yaml +0 -7
- package/providers/context/actions/validate-indexer-customization.yaml +0 -7
- package/providers/context/actions/validate-indexer-selection-proposal.yaml +0 -7
- package/providers/context/actions/validate-main-index-run.yaml +0 -7
- package/providers/context/actions/validate-markdown-provider-selection.yaml +0 -7
- package/providers/context/actions/validate-subject-key-schemas.yaml +0 -8
- package/providers/context/resources/dialogue/evidence-maintenance.md +0 -26
- package/providers/context/resources/procedures/evidence-maintenance.md +0 -20
- package/providers/context/resources/views/authorized-indexer-workset-view.yaml +0 -15
- package/providers/context/resources/views/resolved-indexer-instructions.yaml +0 -21
- package/providers/context/schemas/evidence-maintenance-input.schema.json +0 -30
- package/providers/context/schemas/indexer-agent-step-input.schema.json +0 -80
- package/providers/context/schemas/indexer-authorized-workset-view.schema.json +0 -65
- package/providers/context/schemas/indexer-candidate-compile-input.schema.json +0 -57
- package/providers/context/schemas/indexer-candidate-compile-output.schema.json +0 -38
- package/providers/context/schemas/indexer-contract-overlay-validation-input.schema.json +0 -48
- package/providers/context/schemas/indexer-contract-overlay-validation-result.schema.json +0 -63
- package/providers/context/schemas/indexer-customization-project-preparation-result.schema.json +0 -44
- package/providers/context/schemas/indexer-customization-proposal-draft.schema.json +0 -83
- package/providers/context/schemas/indexer-customization-validation-result.schema.json +0 -36
- package/providers/context/schemas/indexer-dependency-authorization-input.schema.json +0 -71
- package/providers/context/schemas/indexer-dependency-authorization-result.schema.json +0 -138
- package/providers/context/schemas/indexer-incremental-impact-input.schema.json +0 -31
- package/providers/context/schemas/indexer-incremental-impact-output.schema.json +0 -52
- package/providers/context/schemas/indexer-main-lifecycle-input.schema.json +0 -180
- package/providers/context/schemas/indexer-main-lifecycle-output.schema.json +0 -194
- package/providers/context/schemas/indexer-markdown-provider-capture-input.schema.json +0 -17
- package/providers/context/schemas/indexer-markdown-provider-capture-output.schema.json +0 -54
- package/providers/context/schemas/indexer-markdown-provider-validation-input.schema.json +0 -34
- package/providers/context/schemas/indexer-markdown-provider-validation-output.schema.json +0 -75
- package/providers/context/schemas/indexer-materialize-request.schema.json +0 -49
- package/providers/context/schemas/indexer-materialized-resource.schema.json +0 -64
- package/providers/context/schemas/indexer-overlay-question-amendment.schema.json +0 -13
- package/providers/context/schemas/indexer-overlay-question-proposal-input.schema.json +0 -89
- package/providers/context/schemas/indexer-overlay-question-rebind-input.schema.json +0 -35
- package/providers/context/schemas/indexer-overlay-question-rebind-result.schema.json +0 -25
- package/providers/context/schemas/indexer-program-execution-authorization-input.schema.json +0 -145
- package/providers/context/schemas/indexer-program-execution-authorization-result.schema.json +0 -60
- package/providers/context/schemas/indexer-project-action-result.schema.json +0 -19
- package/providers/context/schemas/indexer-project-gate-input.schema.json +0 -100
- package/providers/context/schemas/indexer-project-observation-input.schema.json +0 -16
- package/providers/context/schemas/indexer-project-observation-result.schema.json +0 -42
- package/providers/context/schemas/indexer-provider-route-input.schema.json +0 -55
- package/providers/context/schemas/indexer-provider-route-report.schema.json +0 -188
- package/providers/context/schemas/indexer-requirement-confirmation-input.schema.json +0 -27
- package/providers/context/schemas/indexer-requirement-confirmation-output.schema.json +0 -24
- package/providers/context/schemas/indexer-selection-proposal-input.schema.json +0 -12
- package/providers/context/schemas/indexer-selection-proposal-validation.schema.json +0 -23
- package/providers/context/schemas/indexer-subject-reidentification-input.schema.json +0 -37
- package/providers/context/schemas/indexer-subject-reidentification-output.schema.json +0 -31
- package/providers/context/schemas/indexer-workset-view-materialization-request.schema.json +0 -35
- package/providers/context/skills/authorize-current-indexer-provider-program/SKILL.md +0 -20
- package/providers/context/skills/configure-indexer-providers/SKILL.md +0 -137
- package/providers/context/skills/configure-indexer-providers/references/guides/code-indexer-skill-authoring.md +0 -180
- package/providers/context/skills/configure-indexer-providers/references/guides/indexer-provider-and-customization.md +0 -471
- package/providers/context/skills/configure-indexer-providers/references/guides/markdown-indexer-skill-authoring.md +0 -136
- package/providers/context/skills/configure-indexer-providers/references/guides/note.md +0 -37
- package/providers/context/skills/configure-indexer-providers/references/guides/sessions.md +0 -50
- package/providers/context/skills/configure-indexer-providers/references/reference/indexer-provider-protocol.md +0 -854
- package/providers/context/skills/prepare-indexer-customization-project/SKILL.md +0 -31
- package/providers/context/skills/propose-indexer-customization/SKILL.md +0 -40
- package/providers/context/skills/resolve-current-indexer-provider/SKILL.md +0 -20
- package/providers/context/skills/run-indexer-post-author-composer/SKILL.md +0 -122
|
@@ -1,229 +1,43 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: context-run-indexer-lifecycle
|
|
3
|
-
description: Continue
|
|
3
|
+
description: Continue Context investigation and article production only when selected by the workspace Route.
|
|
4
4
|
metadata:
|
|
5
5
|
agent-graph: path:../../provider.yaml
|
|
6
6
|
agent-graph.graph: workspace
|
|
7
7
|
agent-graph.entry: context
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
-
#
|
|
10
|
+
# Continue current knowledge work
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
Use the current Route's command, resources and file contract. This outer action
|
|
13
|
+
has no submission of its own. Reuse the user's settled reader purpose and source
|
|
14
|
+
scope; ask only about a missing decision that changes the work, including in
|
|
15
|
+
managed mode. Explain decisions in the user's conversation language.
|
|
16
16
|
|
|
17
|
+
Start with authorized code skeletons and document outlines. Read original text
|
|
18
|
+
selectively to decide article topics and writing batches, then more deeply for
|
|
19
|
+
the actual claims being written. Skill guidance is optional assistance with
|
|
20
|
+
discovery and writing, not a version-bound production credential.
|
|
17
21
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
knowledge is an input to incremental planning, never a parallel authoring path.
|
|
22
|
+
Submit the lightweight plan, present the work-start report and wait for explicit
|
|
23
|
+
user feedback before writing. Use the report resources selected by the Route;
|
|
24
|
+
unchanged scope does not need another report merely because a batch ends.
|
|
22
25
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
Route returns `configuration`, edit the named project file and re-evaluate;
|
|
29
|
-
do not submit a lifecycle Result or repeatedly run an unconfigured project. Otherwise
|
|
30
|
-
continue the current registry selection, Provider resolution, execution,
|
|
31
|
-
reconciliation, mechanical validation, layout, and Candidate compile subroute. The Indexer
|
|
32
|
-
Graph is the authority for each substep. Never skip directly to compile and
|
|
33
|
-
never synthesize a Provider Result or a default plan.
|
|
26
|
+
Write in the issued Agent directories and submit completed subsets using the
|
|
27
|
+
returned file contract. Reuse available shared materials and follow the next
|
|
28
|
+
directory or recovery command; do not query full status between ready batches.
|
|
29
|
+
Only receipts establish acceptance. Distinguish drafted, accepted, reviewed and
|
|
30
|
+
built articles when reporting progress; no slice count proves whole-task completion.
|
|
34
31
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
committed tasks to obtain missing output. If `next_preparation` failed, use its
|
|
39
|
-
recovery command; committed tasks remain saved. For a long submission use a UTF-8
|
|
40
|
-
JSON/YAML file in `.tmp/` with `--input <file>` rather than feeding a long line into
|
|
41
|
-
an interactive PTY. Keep the Route revision and completion command unchanged.
|
|
32
|
+
Use multiple workers only when the current host supports them and the invocation
|
|
33
|
+
declares that capability. The coordinator owns shared CLI writes and each worker
|
|
34
|
+
uses its assigned draft directory. Keep all process state in `.tmp`.
|
|
42
35
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
Fully managed execution does not authorize choosing an unclear purpose. Ask and
|
|
48
|
-
wait when these choices remain unresolved, without re-asking explicit decisions.
|
|
49
|
-
Ask at most three questions in one round, without filling unused slots: combine
|
|
50
|
-
reader and task into one question, then clarify substantive scope, then only a
|
|
51
|
-
real tradeoff. Use the current conversation language and a shared human/Agent
|
|
52
|
-
knowledge package by default; do not ask about reading audience or language.
|
|
53
|
-
Recommend organization and templates, and test that recommendation with the
|
|
54
|
-
first small delivery instead of asking abstract classification questions.
|
|
55
|
-
Save the short conclusion as `purpose` in the existing requirement, with scopes
|
|
56
|
-
and exclusions in their existing fields. When an agreed exclusion maps to exact
|
|
57
|
-
repository files or directories, set `exclusions[].paths` to those repository-relative
|
|
58
|
-
paths and retain its `scope` and `reason`. No wildcards are accepted. Context filters
|
|
59
|
-
these before Parser/Partition work; an omitted `paths` means the whole stated scope.
|
|
60
|
-
Do not translate a vague age or naming clue into an exclusion. A shared Indexer
|
|
61
|
-
retains files still needed by another applicable requirement. Confirm the scope
|
|
62
|
-
before bulk work: unnecessary inputs consume tokens and slow useful delivery. Do not store a questionnaire or add
|
|
63
|
-
another confirmation after an explicit answer. Silence is not approval.
|
|
64
|
-
During the authorized source overview and representative reading, actively assess
|
|
65
|
-
which regions serve the reader's task, which only support it, and which appear
|
|
66
|
-
unnecessary. Check available entrypoints, maintained guidance and lifecycle or
|
|
67
|
-
version notices; deprecation is one possible scope concern, not the sole trigger.
|
|
68
|
-
Names, age, file counts and generated status are clues, not exclusion rules.
|
|
69
|
-
Propose concrete boundaries with reasons. Explain a material tradeoff once:
|
|
70
|
-
including large irrelevant regions increases token use and processing time and
|
|
71
|
-
can dilute useful knowledge with repetitive or conflicting pages. Do not claim
|
|
72
|
-
measured savings or reduce requested coverage merely to make the run faster.
|
|
73
|
-
Resolve meaningful unanswered scope choices with the user before dependent bulk
|
|
74
|
-
work, including in managed mode, unless the user explicitly delegated that scope
|
|
75
|
-
choice. General managed/no-review permission alone is not that delegation. Reuse
|
|
76
|
-
an applicable inclusion/exclusion decision in later structure previews; do not
|
|
77
|
-
turn the same decision into another human gate. Ask only about material new
|
|
78
|
-
findings and describe the wait as a scope question, not a CLI failure. Carry out settled choices within existing
|
|
79
|
-
authorization without asking per file. Use available counts with their unit and
|
|
80
|
-
coverage, not an exhaustive scan just to obtain a number. If the relevant boundary
|
|
81
|
-
is not yet checked, say what remains to inspect rather than declaring it absent.
|
|
82
|
-
Preserve decisions in existing requirements and the report when applicable.
|
|
83
|
-
Revisit only material new findings on continuation; do not restart accepted work
|
|
84
|
-
or delete existing knowledge to implement a proposed scope reduction.
|
|
85
|
-
Read authorized captured sources before raising material gaps; only unresolved
|
|
86
|
-
core questions requiring new sources or human knowledge need another question.
|
|
36
|
+
For explicitly requested early delivery, use `context run --deliver --format json`
|
|
37
|
+
and follow Review, close and build. A successful delivery resumes remaining work;
|
|
38
|
+
`context run --resume-writing --format json` cancels the pause without discarding
|
|
39
|
+
drafts. Do not automatically request delivery after every subset submission.
|
|
87
40
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
planning. Do not replace it or create another report per Indexer or batch. For an
|
|
92
|
-
existing workspace task that legitimately had no first-task report, follow the
|
|
93
|
-
Route's `procedure.work-start-report` and `template.work-start-report` when the
|
|
94
|
-
task is substantial or preserves material choices. The source-boundary Gate owns
|
|
95
|
-
the initial user feedback; do not add a second report approval state here.
|
|
96
|
-
|
|
97
|
-
When the current subroute is a Gate, follow `gate.resolution_action` rather
|
|
98
|
-
than looking for a top-level `action`. Read its Skill and output schema, use its
|
|
99
|
-
Route input, and submit the resulting value through the Route completion
|
|
100
|
-
command. The Indexer Graph owns the Gate identity, authority, delegation and
|
|
101
|
-
resolution Action; do not replace them with an inferred command or handler.
|
|
102
|
-
|
|
103
|
-
Stop on the first Host permission, non-delegatable Gate, validation failure, or
|
|
104
|
-
human decision. Once current Candidates have been compiled, return control to
|
|
105
|
-
`context status --format json`; the workspace Graph will select Knowledge
|
|
106
|
-
Review. This outer Action has no payload of its own and must never be submitted
|
|
107
|
-
through `complete-current`. Context projects it to the one current Indexer
|
|
108
|
-
subroute; follow that Route's command and output schema exactly. If project
|
|
109
|
-
configuration was edited, re-run `context status --format json` to obtain the
|
|
110
|
-
new revision instead of inventing a lifecycle continuation result.
|
|
111
|
-
|
|
112
|
-
## Readable delivery batches
|
|
113
|
-
|
|
114
|
-
Planning can pause at a settled ready-theme wave while unfinished Partition
|
|
115
|
-
entries remain saved. After the wave's structure/content Review, close and build,
|
|
116
|
-
resume the fresh Route back to planning. Never call the workspace complete from
|
|
117
|
-
one wave's Author or build count. The `planning` progress block includes the
|
|
118
|
-
suspended remainder. Later material may improve an already delivered subject;
|
|
119
|
-
retain its identity and approved prose instead of treating it as a new page.
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
Follow the current Context Route through Review, close, and build as soon as a
|
|
123
|
-
page delivery is ready. Automatic theme waves grow as 3, 7, 10, 20, 30, 30,
|
|
124
|
-
then 50. A fully planned scope with fewer than 10 themes stays together. A final
|
|
125
|
-
remainder may be smaller. Each wave completes Review/close/build before the
|
|
126
|
-
next; repairs or build failures hold the next wave at the current step.
|
|
127
|
-
Theme targets are not guaranteed output-page counts. For an explicit user
|
|
128
|
-
preference, `context run --delivery-size 20 --format json` sets future waves
|
|
129
|
-
for this task; `--delivery-size auto` restores automatic sizing. Existing active
|
|
130
|
-
waves remain intact. Fixed sizes accept 1–50.
|
|
131
|
-
Count pages, not Author calls or worksets. An accepted multi-page Result can
|
|
132
|
-
span deliveries without resubmission. A successful package build is a delivery
|
|
133
|
-
checkpoint, not evidence that every Author task is complete: evaluate the Route
|
|
134
|
-
again and continue pending work. Never manually clear accepted runtime state.
|
|
135
|
-
|
|
136
|
-
If the user explicitly asks to inspect the current work earlier, run
|
|
137
|
-
`context run --deliver --format json`, then follow its current Route. This asks
|
|
138
|
-
for an earlier checkpoint; it does not authorize content or bypass Review.
|
|
139
|
-
The Author Route exposes this user-requested alternative under `delivery`,
|
|
140
|
-
including accepted pages waiting and the actual waiting condition. It is not an
|
|
141
|
-
automatic command to run on every batch. If Author work is already running,
|
|
142
|
-
finish that current batch; the next lifecycle advance selects complete accepted
|
|
143
|
-
pages before starting another batch. Follow any required Composer, Review,
|
|
144
|
-
close and build steps, then resume the remaining Author work with its new Route.
|
|
145
|
-
`delivery_boundary: false` only means no explicit reader-task boundary; it does
|
|
146
|
-
not disable the automatic delivery-wave checkpoint. Never predict all tasks must
|
|
147
|
-
finish from that flag. A user asking when pages will appear needs this
|
|
148
|
-
explanation; asking to see them now authorizes the early-delivery request.
|
|
149
|
-
Ordinary mode retains the current batch's approval Gate. Existing managed
|
|
150
|
-
approval covers delegatable batch Gates without another mode questionnaire.
|
|
151
|
-
A failed build retains the same current pages; fix the reported build problem
|
|
152
|
-
and rerun the returned command before authoring another batch.
|
|
153
|
-
|
|
154
|
-
At workflow completion, return to the Context entry and reconcile the user's
|
|
155
|
-
remaining requests with delivered pages and registered maintenance targets.
|
|
156
|
-
Composer tasks are derivation checks, not a list of queued page revisions.
|
|
157
|
-
Empty proposals may finish an already delivered scope without another Review or
|
|
158
|
-
build. Continue authorized, unregistered revisions through the normal entry;
|
|
159
|
-
do not resubmit accepted Composer tasks or treat an empty queue as proof that
|
|
160
|
-
every conversational request was completed.
|
|
161
|
-
|
|
162
|
-
## Continue the current handoff
|
|
163
|
-
|
|
164
|
-
An `agent-required` handoff asks you to do the next task in this authorized
|
|
165
|
-
conversation. Read the current Route, perform its task and follow its returned
|
|
166
|
-
`next_route.file`; do not end after a successful small batch just because the
|
|
167
|
-
CLI returned. Stop for a real missing decision, external blocker, completion or
|
|
168
|
-
a Host limit, and state the exact continuation point. Reuse material whose
|
|
169
|
-
content digest and source scope are unchanged and which is still available in
|
|
170
|
-
your context; a new Route revision alone does not require reading it all again.
|
|
171
|
-
|
|
172
|
-
`batch_budget` describes a transport batch, not a delivery or approval boundary.
|
|
173
|
-
For Partition its input-byte scope excludes optional detail files and independent
|
|
174
|
-
source exploration. It is not an actual token bill or the total eventual reading
|
|
175
|
-
cost. Read linked details where the compact overview cannot resolve the task.
|
|
176
|
-
The input bytes include shared instructions and deduplicated material; they are
|
|
177
|
-
not tokens. A task cap, input/output budget, View budget or Provider boundary can
|
|
178
|
-
limit the batch without indicating an error. Keep every task's authorized input
|
|
179
|
-
and outcome complete.
|
|
180
|
-
|
|
181
|
-
For generated APIs, `table-complete` permits omitting a declaration already
|
|
182
|
-
expressed by the table, `component-wrapper` omits only the redundant wrapper,
|
|
183
|
-
and `not-provided` means these facts contain no separate declaration. None
|
|
184
|
-
proves that a page meets its purpose. Verify the actual changed rows and sources;
|
|
185
|
-
resolve an explicit request for a complete declaration with the user instead
|
|
186
|
-
of repeatedly repairing identical inputs or silently changing that request.
|
|
187
|
-
|
|
188
|
-
## User-facing progress
|
|
189
|
-
|
|
190
|
-
Use CLI `progress.scopes` (or `indexerProgress.scopes` in status) as the
|
|
191
|
-
single source for progress in conversation and reports. It separates:
|
|
192
|
-
- `overall`: delivered pages and cumulative planning for the current Indexer run;
|
|
193
|
-
- `wave`: writing tasks, observed pages and composition for the current wave;
|
|
194
|
-
- `slice`: tasks in the currently active Route slice.
|
|
195
|
-
|
|
196
|
-
Planning completed counts currently valid accepted tasks, not lifetime effort.
|
|
197
|
-
When overall.planning.needs_recheck is nonzero, report “规划当前有效 X/Y 项;Z 项因任务绑定变化待复核”.
|
|
198
|
-
Do not describe a lower valid count as lost pages or silently restarting from zero.
|
|
199
|
-
The CLI reason identifies binding changes, not proof that source code changed;
|
|
200
|
-
do not invent a more specific cause.
|
|
201
|
-
|
|
202
|
-
Keep these scopes separate. A wave or pause target never replaces the overall
|
|
203
|
-
scope. Preserve overall planning across Author, Composer and Review transitions.
|
|
204
|
-
Use each counter's `unit`: task means 项/任务, page means 页. A writing task is
|
|
205
|
-
not automatically one page. A null total means 总数待确定, not zero or the
|
|
206
|
-
number of currently prepared tasks. Revisions can overlap delivered pages;
|
|
207
|
-
do not add wave tasks to delivered pages to invent a page total.
|
|
208
|
-
|
|
209
|
-
Use two bold progress lines. The first combines `overall` and a clearly labelled
|
|
210
|
-
`wave` supplement; the second describes the current action, using `slice` counts
|
|
211
|
-
when available. Internal wave/slice names need not appear in user-facing text. For example, with matching CLI values:
|
|
212
|
-
**[总体进展:已交付 33 页,总页数待确定;规划完成 50/122 项;本轮写作完成 30/30 项]**
|
|
213
|
-
**[当前进展:补充内容检查 0/8 项]**
|
|
214
|
-
|
|
215
|
-
A completion receipt's `submitted_slice` describes the slice just submitted;
|
|
216
|
-
`progress.scopes.slice` can already describe the next Route. Use the former when
|
|
217
|
-
reporting submission success and the latter when announcing the next slice.
|
|
218
|
-
Never combine their numerators and denominators. A null slice means no active
|
|
219
|
-
Agent task slice, not that the workflow is complete. During Review/build, state
|
|
220
|
-
the returned Route action briefly rather than inventing a slice ratio.
|
|
221
|
-
Before counters exist or after task cleanup, describe the known stage and current
|
|
222
|
-
action instead of repeatedly saying counters are unavailable. For example:
|
|
223
|
-
**[总体进展:正在准备知识工作区]**
|
|
224
|
-
**[当前进展:已读取启动清单,正在整理仓库与文档范围]**
|
|
225
|
-
During review or packaging, name that action rather than a nonexistent slice.
|
|
226
|
-
Do not turn the last wave into the overall scope or report delivery as zero.
|
|
227
|
-
Continue authorized work after an update; only the agreed delivery stop or an
|
|
228
|
-
actual unresolved blocker permits stopping. This format governs progress, not
|
|
229
|
-
answers, review findings or necessary questions.
|
|
41
|
+
Continue authorized work until its actual delivery boundary or a real missing
|
|
42
|
+
decision, source, permission or host limit. After cleanup, a new request starts
|
|
43
|
+
fresh production from formal articles and sources, not an old process ledger.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: work-production-stage
|
|
3
|
+
description: Investigate or write within the current Context production directory, or present its work-start report, when selected by the workflow Route.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Use only the current Route's stage and authorized materials. Explain decisions
|
|
7
|
+
in the user's conversation language.
|
|
8
|
+
|
|
9
|
+
For investigation, use the supplied directory and its submission schema. Start
|
|
10
|
+
with code skeletons and document outlines; selectively read original material
|
|
11
|
+
where needed to decide reader topics, source grouping and writing batches.
|
|
12
|
+
Indexer guidance discovers a skeleton, not a mandatory deep parse or a ledger
|
|
13
|
+
of every symbol. Declare relevant available skills and record planned uses;
|
|
14
|
+
do not collect skill hashes, versions or article ownership credentials.
|
|
15
|
+
Submit the plan before presenting the work-start report. Planning does not
|
|
16
|
+
authorize writing or approve the report.
|
|
17
|
+
|
|
18
|
+
At the work-start-report Gate, read the planned topics and selected report
|
|
19
|
+
resources, present the proposal, and wait for explicit user feedback. Managed
|
|
20
|
+
execution does not replace this confirmation. Submit approval only after that
|
|
21
|
+
feedback; requested changes belong in the plan before writing.
|
|
22
|
+
|
|
23
|
+
For writing, read the stage entry and issued batch directories. Choose how to
|
|
24
|
+
read and write within those tasks. Use child Agents only when the current host
|
|
25
|
+
supports them and the call explicitly enables multi-agent scheduling; otherwise
|
|
26
|
+
finish the one issued batch. Workers edit their assigned drafts, and one
|
|
27
|
+
coordinator submits completed task subsets.
|
|
28
|
+
|
|
29
|
+
Follow the file contract selected by the Route. Keep long content in the Agent
|
|
30
|
+
temporary directory, not CLI arguments. Use the returned task handles unchanged.
|
|
31
|
+
Follow the returned next directory or preparation-retry command after submission;
|
|
32
|
+
do not repeat accepted tasks or query full workspace status between ready batches.
|
|
33
|
+
|
|
34
|
+
Drafts, candidate receipts, skill choices and process state stay in `.tmp`.
|
|
35
|
+
A cleared temporary directory means a new production run, not recovery from Git.
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"protocol": "context.indexer.markdown-migration-equivalence-fixture-set/v1",
|
|
3
|
-
"anonymized": true,
|
|
4
|
-
"cases": [
|
|
5
|
-
{
|
|
6
|
-
"id": "evidence-first",
|
|
7
|
-
"rule_id": "evidence-first",
|
|
8
|
-
"authority": "community-instructions",
|
|
9
|
-
"source_shape": "A captured page has an operations-looking path but its body is a product acceptance specification.",
|
|
10
|
-
"expected_decision": "classify-from-body-authority-and-reader-task",
|
|
11
|
-
"forbidden_decision": "classify-from-path",
|
|
12
|
-
"recovery": "Read the complete authorized evidence before returning a Section intent."
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"id": "complete-evidence-read",
|
|
16
|
-
"rule_id": "complete-evidence-read",
|
|
17
|
-
"authority": "community-instructions",
|
|
18
|
-
"source_shape": "A long page preview shows only headings while the required evidence view still has unread pages.",
|
|
19
|
-
"expected_decision": "continue-current-evidence-read",
|
|
20
|
-
"forbidden_decision": "decide-from-heading-preview",
|
|
21
|
-
"recovery": "Follow the current workset evidence continuation before authoring."
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"id": "mixed-section-intents",
|
|
25
|
-
"rule_id": "mixed-section-intents",
|
|
26
|
-
"authority": "community-instructions",
|
|
27
|
-
"source_shape": "One document contains product behavior, technical design, and a recovery procedure.",
|
|
28
|
-
"expected_decision": "classify-each-section",
|
|
29
|
-
"forbidden_decision": "force-one-document-classification",
|
|
30
|
-
"recovery": "Split along continuous reader-task boundaries and return registered intents."
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"id": "reuse-exact-subject",
|
|
34
|
-
"rule_id": "reuse-exact-subject",
|
|
35
|
-
"authority": "community-instructions",
|
|
36
|
-
"source_shape": "The target-resolution view contains an exact current subject with matching evidence.",
|
|
37
|
-
"expected_decision": "reuse-existing",
|
|
38
|
-
"forbidden_decision": "create-title-alias",
|
|
39
|
-
"recovery": "Use the supplied target identity and leave identity derivation to Context."
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"id": "independent-subject",
|
|
43
|
-
"rule_id": "independent-subject",
|
|
44
|
-
"authority": "community-instructions",
|
|
45
|
-
"source_shape": "A separately named component has its own contract, lifecycle, and standalone reader questions.",
|
|
46
|
-
"expected_decision": "create-independent",
|
|
47
|
-
"forbidden_decision": "merge-into-unrelated-parent",
|
|
48
|
-
"recovery": "Bind the independent decision to current evidence and a permitted SubjectKey schema."
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"id": "local-heading-stays-section",
|
|
52
|
-
"rule_id": "local-heading-stays-section",
|
|
53
|
-
"authority": "community-instructions",
|
|
54
|
-
"source_shape": "A local heading contains one warning that only makes sense inside the parent guide.",
|
|
55
|
-
"expected_decision": "retain-section-group",
|
|
56
|
-
"forbidden_decision": "create-thin-subject",
|
|
57
|
-
"recovery": "Keep the warning as a source-backed Section under the owning Artifact."
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"id": "navigation-only",
|
|
61
|
-
"rule_id": "navigation-only",
|
|
62
|
-
"authority": "community-instructions",
|
|
63
|
-
"source_shape": "A page contains labels and unresolved links but no citable reader content.",
|
|
64
|
-
"expected_decision": "request-material",
|
|
65
|
-
"forbidden_decision": "publish-empty-artifact",
|
|
66
|
-
"recovery": "Return the registered missing-material or unsupported disposition."
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"id": "density-only-guides-reading",
|
|
70
|
-
"rule_id": "density-only-guides-reading",
|
|
71
|
-
"authority": "community-instructions",
|
|
72
|
-
"source_shape": "A fragmented note contains many short independent claims.",
|
|
73
|
-
"expected_decision": "use-micro-reading",
|
|
74
|
-
"forbidden_decision": "infer-quality-from-density",
|
|
75
|
-
"recovery": "Keep evidence windows narrow, then apply the normal semantic gates."
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"id": "duplicate-same-boundary",
|
|
79
|
-
"rule_id": "duplicate-same-boundary",
|
|
80
|
-
"authority": "community-instructions",
|
|
81
|
-
"source_shape": "Two paragraphs repeat the same claim for the same reader task and authority.",
|
|
82
|
-
"expected_decision": "collapse-duplicate",
|
|
83
|
-
"forbidden_decision": "publish-repeated-sections",
|
|
84
|
-
"recovery": "Retain one canonical statement with its evidence boundary."
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"id": "conflicting-evidence",
|
|
88
|
-
"rule_id": "conflicting-evidence",
|
|
89
|
-
"authority": "community-instructions",
|
|
90
|
-
"source_shape": "Two current sources disagree and the workset supplies no precedence.",
|
|
91
|
-
"expected_decision": "keep-unresolved",
|
|
92
|
-
"forbidden_decision": "choose-by-file-order",
|
|
93
|
-
"recovery": "Return a material question or supported diagnostic instead of guessing."
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"id": "source-backed-relation",
|
|
97
|
-
"rule_id": "source-backed-relation",
|
|
98
|
-
"authority": "community-instructions",
|
|
99
|
-
"source_shape": "A cited Section explicitly states that one authorized component consumes another component's output.",
|
|
100
|
-
"expected_decision": "emit-owned-cited-claim",
|
|
101
|
-
"forbidden_decision": "emit-endpoint-only-relation",
|
|
102
|
-
"recovery": "Keep the claim only under the Section carrying relation evidence."
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"id": "source-authored-uncertainty",
|
|
106
|
-
"rule_id": "source-authored-uncertainty",
|
|
107
|
-
"authority": "community-instructions",
|
|
108
|
-
"source_shape": "The source explicitly describes a possible cause, while the structured schema has no confidence field.",
|
|
109
|
-
"expected_decision": "preserve-uncertainty-in-prose",
|
|
110
|
-
"forbidden_decision": "invent-confidence-field",
|
|
111
|
-
"recovery": "Keep Agent uncertainty unresolved and preserve only source-authored uncertainty."
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"id": "canonical-layout-identity",
|
|
115
|
-
"rule_id": "canonical-layout-identity",
|
|
116
|
-
"authority": "context-layout",
|
|
117
|
-
"source_shape": "An accepted Result carries a current SubjectKey and Section projection intents.",
|
|
118
|
-
"expected_decision": "derive-node-artifact-view-section-and-path",
|
|
119
|
-
"forbidden_decision": "accept-hand-authored-path",
|
|
120
|
-
"recovery": "Recompute the proposal from the current Result and contract."
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"id": "layout-collision",
|
|
124
|
-
"rule_id": "layout-collision",
|
|
125
|
-
"authority": "context-layout",
|
|
126
|
-
"source_shape": "Two proposals claim the same Node, Artifact, Section, or output path.",
|
|
127
|
-
"expected_decision": "reject-collision",
|
|
128
|
-
"forbidden_decision": "resolve-with-alias",
|
|
129
|
-
"recovery": "Return to current subject resolution instead of mutating a path."
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"id": "destructive-layout-change",
|
|
133
|
-
"rule_id": "destructive-layout-change",
|
|
134
|
-
"authority": "context-layout",
|
|
135
|
-
"source_shape": "A current Artifact would be removed or moved after a new Result.",
|
|
136
|
-
"expected_decision": "require-confirm-layout-change",
|
|
137
|
-
"forbidden_decision": "apply-destructive-change-silently",
|
|
138
|
-
"recovery": "Bind one human confirmation to the exact base and target digests."
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"id": "eligible-omission",
|
|
142
|
-
"rule_id": "eligible-omission",
|
|
143
|
-
"authority": "community-instructions",
|
|
144
|
-
"source_shape": "A Section is only an unanswered placeholder and the analyzer supplies an eligible omission reason.",
|
|
145
|
-
"expected_decision": "omit-with-exact-reason",
|
|
146
|
-
"forbidden_decision": "publish-placeholder",
|
|
147
|
-
"recovery": "Use the exact eligible omission reason and preserve lifecycle audit in Context."
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"id": "protected-knowledge-retention",
|
|
151
|
-
"rule_id": "protected-knowledge-retention",
|
|
152
|
-
"authority": "community-instructions",
|
|
153
|
-
"source_shape": "A question has an evidence-backed answer and a deprecation names its replacement.",
|
|
154
|
-
"expected_decision": "retain-knowledge",
|
|
155
|
-
"forbidden_decision": "omit-by-label",
|
|
156
|
-
"recovery": "Repair or reshape without removing the answer or replacement."
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"id": "missing-input",
|
|
160
|
-
"rule_id": "missing-input",
|
|
161
|
-
"authority": "community-instructions",
|
|
162
|
-
"source_shape": "A Section contains an ambiguous owner or link purpose that current evidence cannot recover.",
|
|
163
|
-
"expected_decision": "request-input",
|
|
164
|
-
"forbidden_decision": "keep-to-avoid-pause",
|
|
165
|
-
"recovery": "Ask one concise batched question after completing independent safe work."
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"id": "stale-recovery",
|
|
169
|
-
"rule_id": "stale-recovery",
|
|
170
|
-
"authority": "context-layout",
|
|
171
|
-
"source_shape": "The workset, profile contract, or source digest changes before layout acceptance.",
|
|
172
|
-
"expected_decision": "reject-stale-and-recompute",
|
|
173
|
-
"forbidden_decision": "patch-digest-or-path",
|
|
174
|
-
"recovery": "Resume from the fresh Context route and recompute the bound Result and layout."
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"id": "three-attempt-guidance",
|
|
178
|
-
"rule_id": "three-attempt-guidance",
|
|
179
|
-
"authority": "context-revision",
|
|
180
|
-
"source_shape": "The same current quality problem survives three accepted revision attempts while other Sections pass.",
|
|
181
|
-
"expected_decision": "request-aggregated-guidance",
|
|
182
|
-
"forbidden_decision": "restart-passing-sections",
|
|
183
|
-
"recovery": "Ask for content organization, source fidelity, or missing material once."
|
|
184
|
-
}
|
|
185
|
-
]
|
|
186
|
-
}
|