@c4a/context-cli 0.7.9 → 0.7.10-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,99 +1,109 @@
|
|
|
1
1
|
# Creating a reusable Indexer Skill
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
##
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
source
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
3
|
+
An Indexer is source-specific investigation and writing guidance. It helps the
|
|
4
|
+
Agent understand authorized material and produce useful articles; it does not
|
|
5
|
+
own workflow routing, source authorization, review or permanent article identity.
|
|
6
|
+
Several skills may contribute to one module or article.
|
|
7
|
+
|
|
8
|
+
## Minimal package
|
|
9
|
+
|
|
10
|
+
Start with SKILL.md. Add references for substantial source-specific guidance,
|
|
11
|
+
templates when they help readers, and scripts only when a concrete repeated
|
|
12
|
+
operation needs deterministic assistance. A simple note interpreter needs no
|
|
13
|
+
script, manifest, profile registry or template catalog.
|
|
14
|
+
|
|
15
|
+
Use a discoverable name and a precise description. State when the skill helps,
|
|
16
|
+
which sources it understands, and real limits. Refer to bundled resources by
|
|
17
|
+
portable relative paths. Use an existing host-visible Indexer as a behavioral
|
|
18
|
+
example, not as a collection of fields to copy.
|
|
19
|
+
|
|
20
|
+
Do not generate context-indexer.yaml, an exact-version selection ritual,
|
|
21
|
+
integrity receipts, primary/extension ownership, article producer records or
|
|
22
|
+
a per-member disposition protocol. A release may have ordinary package
|
|
23
|
+
metadata; that is not a requirement for the Agent to verify before working.
|
|
24
|
+
|
|
25
|
+
## Investigation produces a skeleton
|
|
26
|
+
|
|
27
|
+
Explain the recognizable source signals and how to examine them cheaply.
|
|
28
|
+
For code, identify useful feature families from declarations or registrations,
|
|
29
|
+
with names and locations. A dependency or filename is a hint, not proof of
|
|
30
|
+
runtime behavior. For documents, use titles, opening excerpts and heading
|
|
31
|
+
hierarchy, with optional full reading to settle grouping. For saved notes and
|
|
32
|
+
sessions, directly interpret the provided record rather than scanning history.
|
|
33
|
+
|
|
34
|
+
A technology-specific helper, if needed, must have an explicit input boundary,
|
|
35
|
+
bounded time/output and a useful stopping behavior. Return names, counts and
|
|
36
|
+
entry locations, not source bodies or a full symbol/relationship graph during
|
|
37
|
+
planning. Distinguish checked counts from totals and identify unfinished scope.
|
|
38
|
+
Do not fabricate feature counts from file counts or silently treat timeouts as
|
|
39
|
+
empty results. Store large results in temporary files rather than long stdout.
|
|
40
|
+
|
|
41
|
+
Document any prerequisites and error recovery. Do not install dependencies,
|
|
42
|
+
parse the whole repository or read unrelated modules by default. A helper that
|
|
43
|
+
needs expensive semantic analysis belongs to selected writing tasks, not the
|
|
44
|
+
initial investigation path. Direct Agent investigation is a valid default
|
|
45
|
+
when a helper adds no useful capability.
|
|
46
|
+
|
|
47
|
+
## Guide topics without owning the plan
|
|
48
|
+
|
|
49
|
+
Describe which reader questions visible signals can suggest, and what further
|
|
50
|
+
evidence the writer needs. A route family, component or storage boundary may
|
|
51
|
+
justify a recurring outline, but not an automatic fixed number of pages.
|
|
52
|
+
A component manual may require individual analysis during writing.
|
|
53
|
+
|
|
54
|
+
Use existing article titles, descriptions and references as navigation, then
|
|
55
|
+
read relevant bodies or sources when necessary. Code can establish structure;
|
|
56
|
+
documents may supply better business topics. Multiple authorized sources may
|
|
57
|
+
form an article. Avoid duplicating a page merely because another skill or
|
|
58
|
+
source family supplied its material.
|
|
59
|
+
|
|
60
|
+
The current stage provides available-skill declarations and temporary planned
|
|
61
|
+
usage. The Agent selects useful skills and article batches. Keep uncertain
|
|
62
|
+
investigation and real evidence gaps visible. Required scope cannot be dropped
|
|
63
|
+
to reduce processing cost, and long-term exclusions require the applicable
|
|
64
|
+
user decision.
|
|
65
|
+
|
|
66
|
+
## Writing and file handoff
|
|
67
|
+
|
|
68
|
+
Explain source authority, meaningful reader output, real references and
|
|
69
|
+
revision behavior. Keep examples, assumptions and confirmed facts distinct.
|
|
70
|
+
A session summary is not a transcript; a change URL is not proof of deployment;
|
|
71
|
+
a declaration or test double is not independently verified runtime behavior.
|
|
72
|
+
|
|
73
|
+
Consume the current task directory, not a copied schema from a past release.
|
|
74
|
+
New articles use the supplied Markdown/reference contract; revisions can use
|
|
75
|
+
the task's base article and fragment edits. Write drafts and manifests to the
|
|
76
|
+
designated Agent temporary directory. The coordinator submits a finished
|
|
77
|
+
subset through the current CLI action and follows its receipt or recovery.
|
|
78
|
+
|
|
79
|
+
Do not write formal knowledge or mutate sources directly. Do not add a
|
|
80
|
+
parallel Author/Composer result envelope, semantic graph, field-by-field fact
|
|
81
|
+
ledger or skill identity to formal content. Source permissions, input
|
|
82
|
+
baselines, real citations and safe writes remain CLI responsibilities.
|
|
83
|
+
|
|
84
|
+
## Validate the claimed capability
|
|
85
|
+
|
|
86
|
+
Check skill frontmatter and every referenced local resource. Run new scripts
|
|
87
|
+
against small anonymous fixtures, including an empty input, a bounded partial
|
|
88
|
+
scan and any failure/recovery behavior they claim. Confirm the helper does not
|
|
89
|
+
escape its selected scope or emit secret/source-body dumps.
|
|
90
|
+
|
|
91
|
+
Exercise useful output, insufficient evidence and a revision of an existing
|
|
92
|
+
article. For source families advertised by the skill, include representative
|
|
93
|
+
differences: an unadopted proposal, a document requiring optional deeper reading,
|
|
94
|
+
or two technologies in one module. Do not claim support for families not tested.
|
|
95
|
+
|
|
96
|
+
A static resource check does not prove semantic quality, and a reviewed example
|
|
97
|
+
does not prove the CLI submission works. If an actual Context run is available
|
|
98
|
+
and requested, validate through the existing workflow in an isolated workspace,
|
|
99
|
+
including report confirmation and file submission. Report unavailable checks
|
|
100
|
+
honestly; do not fabricate a route or silently install tools to make it pass.
|
|
101
|
+
|
|
102
|
+
## Distribution
|
|
103
|
+
|
|
104
|
+
Keep the package portable and use the user's chosen installation channel.
|
|
105
|
+
The host lists available skills; planning records only useful temporary usage.
|
|
106
|
+
Formal articles, sources and necessary long-term scope decisions survive a
|
|
107
|
+
new machine. Unfinished drafts, candidates, skill choices and execution receipts
|
|
108
|
+
remain temporary; a new user can start a fresh production run without restoring
|
|
109
|
+
the former skill bundle or process.
|
|
@@ -1,36 +1,32 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: context-markdown-indexer
|
|
3
|
-
description:
|
|
3
|
+
description: Investigate captured document outlines and write source-grounded Context articles. Use when selected for the current authorized planning or writing task, not as a standalone import workflow.
|
|
4
4
|
metadata:
|
|
5
5
|
context-role: "indexer-provider"
|
|
6
6
|
context-public-entry: "false"
|
|
7
|
-
context-provider-version: "1.1.3"
|
|
8
7
|
---
|
|
9
8
|
|
|
10
9
|
# Context Markdown Indexer
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
Use the current stage's reader purpose, authorized sources and submission schema.
|
|
12
|
+
Read [planning](references/semantic-planning.md) during investigation and
|
|
13
|
+
[writing](references/indexer.md) when writing. Consult
|
|
14
|
+
[reader outcomes](references/classification.md) or
|
|
15
|
+
[article boundaries](references/structure-and-artifacts.md) when the material
|
|
16
|
+
raises a real grouping choice. Do not read every catalog or template by default.
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
Start with the CLI's document titles, bounded opening excerpts and complete
|
|
19
|
+
H2/H3 outlines. Selectively read authorized full text where needed to decide
|
|
20
|
+
topics and writing batches. The outline is navigation, not evidence that a
|
|
21
|
+
claim is true or a fixed instruction to split one article per heading.
|
|
22
|
+
A coherent source may remain one article; several sources may form one topic.
|
|
19
23
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
back to the source is not useful knowledge and must not be emitted. Keep
|
|
25
|
-
execution receipts, content digests, internal refs, and other recovery machinery
|
|
26
|
-
out of reader Markdown. Bind each reader claim only to the smallest relevant
|
|
27
|
-
source span or captured evidence set; never attach a whole document corpus or
|
|
28
|
-
Authorized Workset View to a generic summary.
|
|
24
|
+
Use existing article navigation, including code-related topics, as possible
|
|
25
|
+
anchors. Do not force business concepts into code directory names. Source and
|
|
26
|
+
skill boundaries do not require separate articles or primary/extension binding.
|
|
27
|
+
No skill version, hash or complete-file receipt is required for production.
|
|
29
28
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
be read remains an explicit gap, not permission to delete the page.
|
|
35
|
-
|
|
36
|
-
The machine-readable authority is `context-indexer.yaml`. Context materializes the detailed guidance only after verifying this Bundle's release identity and complete file ledger.
|
|
29
|
+
Read the relevant full source before writing; retain useful guidance, examples,
|
|
30
|
+
limits and actual regional citations. Write draft Markdown and references or
|
|
31
|
+
section edits in the designated temporary directory and submit through the
|
|
32
|
+
returned CLI action. Do not write formal knowledge or alter sources directly.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
protocol: context.indexer.provider/v1
|
|
2
2
|
id: context-markdown-indexer
|
|
3
|
-
version: 1.1.
|
|
3
|
+
version: 1.1.4-alpha.1
|
|
4
4
|
domains:
|
|
5
5
|
- markdown
|
|
6
6
|
activation:
|
|
@@ -67,7 +67,7 @@ provides:
|
|
|
67
67
|
- decision-record
|
|
68
68
|
logical_units:
|
|
69
69
|
- id: reader-subject
|
|
70
|
-
identity:
|
|
70
|
+
identity: stable-article
|
|
71
71
|
artifacts:
|
|
72
72
|
recommended:
|
|
73
73
|
- content
|
|
@@ -1,63 +1,28 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
| `runbook` | directs operation, diagnosis, mitigation, recovery, or rollback | `runbook` | `operate-or-recover-system` | `content` |
|
|
30
|
-
| `faq-support` | answers a durable reader question with reusable evidence | `faq-support` | `resolve-reader-question` | `content` |
|
|
31
|
-
| `standard-policy` | defines a stable rule, standard, policy, or compliance boundary | `standard-policy` | `follow-standard-or-policy` | `content` |
|
|
32
|
-
| `decision-record` | records alternatives, a choice, rationale, and consequences | `decision-record` | `understand-decision-and-tradeoffs` | `content` |
|
|
33
|
-
| `incident-review` | records impact, timeline, cause, response, and follow-up learning | `incident-review` | `learn-from-incident` | `content` |
|
|
34
|
-
| `test-validation` | defines or reports verification, acceptance, or observed results | `test-validation` | `verify-behavior-or-acceptance` | `content` |
|
|
35
|
-
| release explanation | explains what changed, compatibility, or release impact | `release-guide` | `understand-release-change` | `content` |
|
|
36
|
-
| migration procedure | tells a reader how to migrate, verify, and recover | `migration-guide` | `complete-migration` | `content` |
|
|
37
|
-
|
|
38
|
-
`documentation-site` is an umbrella router. Apply the matching row above to
|
|
39
|
-
each source-backed Section; do not invent a site-wide projection intent and do
|
|
40
|
-
not collapse a multi-document site to one classification.
|
|
41
|
-
|
|
42
|
-
## Classification order
|
|
43
|
-
|
|
44
|
-
1. Establish the Section's current source authority and audience from the
|
|
45
|
-
authorized evidence view.
|
|
46
|
-
2. State the concrete question the Section enables a reader to answer or task
|
|
47
|
-
it enables them to complete.
|
|
48
|
-
3. Choose the narrowest matching `document_kind` and `reader_goal` pair from
|
|
49
|
-
the current profile contract.
|
|
50
|
-
4. Use `artifact_kind: content` for the current community Markdown Bundle. Do
|
|
51
|
-
not invent a specialized Artifact kind unless the supplied profile contract
|
|
52
|
-
explicitly registers it.
|
|
53
|
-
5. Return the intent on every actual or template-projected Section. Do not put
|
|
54
|
-
a collection, directory, filename, or package root in the Result.
|
|
55
|
-
|
|
56
|
-
When a Section mixes multiple reader tasks, split it along continuous evidence
|
|
57
|
-
boundaries. Keep one Section only when the material forms one coherent answer
|
|
58
|
-
for one reader goal. A heading change alone does not require a split, and a
|
|
59
|
-
shared heading does not justify combining unrelated tasks.
|
|
60
|
-
|
|
61
|
-
If no registered intent fits, return a material/capability disposition instead
|
|
62
|
-
of selecting the nearest label. Unsupported or authority-ambiguous material
|
|
63
|
-
must not become a reader Artifact.
|
|
1
|
+
# Choose a useful reader outcome
|
|
2
|
+
|
|
3
|
+
Use the content, audience and reader question, not a required classification
|
|
4
|
+
tuple for every section. The current plan schema supplies supported output
|
|
5
|
+
paths; article title and description belong in its Markdown.
|
|
6
|
+
|
|
7
|
+
| Reader need | Useful form |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| Understand a term, boundary or business rule | Domain explanation with scope and examples |
|
|
10
|
+
| Understand intended product behavior | Requirements and acceptance conditions, distinct from implementation |
|
|
11
|
+
| Understand architecture or integration | Technical explanation, contracts and relevant limitations |
|
|
12
|
+
| Complete a repeatable task | Guide with prerequisites, actions and checks |
|
|
13
|
+
| Look up a public interface | Contract reference with actual parameters and examples |
|
|
14
|
+
| Diagnose or recover | Runbook with symptoms, safe actions and verification |
|
|
15
|
+
| Understand a choice | Decision, alternatives, rationale and consequences |
|
|
16
|
+
| Learn from an incident | Impact, observations, causes and response, separating hypotheses |
|
|
17
|
+
| Interpret a test | Method, scope and what the observed result establishes |
|
|
18
|
+
| Follow a rule or migrate | Normative boundaries or migration steps, compatibility and recovery |
|
|
19
|
+
|
|
20
|
+
These forms guide writing; they are not profile registrations or fixed
|
|
21
|
+
templates. One useful article can contain related explanations, procedures and
|
|
22
|
+
examples. Split only when distinct reader tasks require it, not because two
|
|
23
|
+
sections would previously have had different projection labels.
|
|
24
|
+
|
|
25
|
+
Do not turn a document site into one generic summary or every note into a FAQ.
|
|
26
|
+
An unfamiliar topic or imperfect stock outline is not a missing capability.
|
|
27
|
+
Ask for essential missing material; otherwise preserve bounded uncertainty
|
|
28
|
+
and write what the authorized source actually establishes.
|
|
@@ -92,5 +92,5 @@ Protected-value and reference checks remain mechanical safeguards.
|
|
|
92
92
|
- Struck-through text that is the only surviving historical record may be kept
|
|
93
93
|
when it has continuing reader value; no signal-specific receipt is required.
|
|
94
94
|
|
|
95
|
-
Before
|
|
96
|
-
|
|
95
|
+
Before submitting, check that the revision preserves authority, evidence,
|
|
96
|
+
identity and protected values. Do not submit an outcome ledger for every section.
|
|
@@ -1,113 +1,57 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
Context blocks only conditions it can derive from current inputs: the complete
|
|
60
|
-
source inventory needs dispositions, the selected reader-question set needs a
|
|
61
|
-
complete plan, answered questions must satisfy their evidence contracts, and
|
|
62
|
-
references, layout and currentness must remain valid.
|
|
63
|
-
|
|
64
|
-
Profile metrics are writing guidance rather than a separate pass decision.
|
|
65
|
-
They point out duplicated facts, enumeration where explanation was expected,
|
|
66
|
-
repeated template scaffolding, oversized quoted bodies, traversal-ordered
|
|
67
|
-
Partitions, reference-only targets and unsupported optional Artifacts. Treat a
|
|
68
|
-
finding as a prompt to reread the Section. Do not adjust wording, headings,
|
|
69
|
-
sentence counts or Partitions merely to move a counter.
|
|
70
|
-
|
|
71
|
-
Natural-language statements are not mechanically checked sentence by sentence.
|
|
72
|
-
Use only behavior stated by the supplied material, record a material gap when
|
|
73
|
-
the source does not establish a needed conclusion, and rely on final Review to
|
|
74
|
-
reject unsupported interpretation. When shape guidance conflicts with source
|
|
75
|
-
coverage, preserve the source-backed content and improve its presentation
|
|
76
|
-
rather than deleting it.
|
|
77
|
-
|
|
78
|
-
Do not return output paths, collection names, arbitrary question text, new authority, or pass/fail claims.
|
|
79
|
-
|
|
80
|
-
## Notes and conversation summaries as supporting material
|
|
81
|
-
|
|
82
|
-
Use only the authorized excerpts or summaries and cite the material actually
|
|
83
|
-
read. Distinguish quotations, paraphrases, confirmed decisions and proposals;
|
|
84
|
-
write the explanation useful to the reader instead of copying the source.
|
|
85
|
-
Keep claims within what the captured documents establish. A summary may record that participants reported an implementation or a passing
|
|
86
|
-
test; attribute that report and retain its stated version and scope. Do not
|
|
87
|
-
present it as independently verified in this task. Claims of direct validation
|
|
88
|
-
need the actual relevant code, execution or test results in the authorized
|
|
89
|
-
material. Discussion or a plan alone does not establish completion.
|
|
90
|
-
|
|
91
|
-
Keep this Provider responsible for the existing page. If the host selects a
|
|
92
|
-
Note/Sessions or business Provider extension, apply its supplied instructions
|
|
93
|
-
to the same writing task. Do not load an unselected skill or create a second
|
|
94
|
-
page solely because supporting material has a different source type. An
|
|
95
|
-
independent reader task can use a dedicated Provider selected by the host.
|
|
96
|
-
|
|
97
|
-
If the source is inaccurate, return the correction to the host source-input
|
|
98
|
-
flow; do not edit it from the Indexer. If only the knowledge is misleading,
|
|
99
|
-
revise the page from its approved text through Author/Review. Keep source
|
|
100
|
-
associations in the source and page/section references in structure.yaml;
|
|
101
|
-
do not add provenance fields to the knowledge header.
|
|
102
|
-
|
|
103
|
-
## Diagrams
|
|
104
|
-
|
|
105
|
-
Use the materialized [diagram guidance](diagrams.md) when a diagram clarifies the reader task. This also applies to older templates, source diagrams and Composer summaries. Preserve source strength, version and external boundaries; diagram presence is not a completion requirement.
|
|
106
|
-
|
|
107
|
-
## Existing source images and tables
|
|
108
|
-
|
|
109
|
-
For authorized visual material, follow [source visual processing](visual-source-processing.md): preference, capability-aware conversion, accepted-result reuse and retention. Follow the workspace AGENTS.md for editable diagram style.
|
|
110
|
-
|
|
111
|
-
## Reading selected article material
|
|
112
|
-
|
|
113
|
-
Use the current task's combined writing brief: it includes selected article guidance, examples when supplied, and section/variable slots. Profile bindings can share one article Markdown source; do not open every binding or regenerate every listed article. Keep short collaboration notes and examples beside the relevant guidance instead of requesting separate files. Read extra source or full technical contracts only when this task needs them. The CLI applies executable contracts and evidence bindings; the Agent decides applicability, substance and useful diagrams. Reuse an already-read unchanged shared resource while it remains in context.
|
|
1
|
+
# Write source-grounded document knowledge
|
|
2
|
+
|
|
3
|
+
Read the relevant full source, not only the planning outline. Keep the
|
|
4
|
+
confirmed reader purpose visible: a how-to guide, FAQ and design explanation
|
|
5
|
+
serve different needs even when they cite the same code.
|
|
6
|
+
|
|
7
|
+
Preserve or synthesize the useful guidance in the source: actual steps,
|
|
8
|
+
contracts, conditions, examples, compatibility limits, images and uncertainty.
|
|
9
|
+
An inventory of headings, a generic summary or a link back to the source does
|
|
10
|
+
not replace an article that answers the reader. Preserve exact commands,
|
|
11
|
+
identifiers, numbers and destinations where they matter; do not reproduce
|
|
12
|
+
secrets or incidental conversion metadata.
|
|
13
|
+
|
|
14
|
+
Use [editorial guidance](editorial-policy.md) for a concrete presentation
|
|
15
|
+
problem. It is advice for the Agent and user, not a signal-clearing protocol or
|
|
16
|
+
a CLI prose-quality score. Legitimate code, templates and historical details
|
|
17
|
+
must not be removed merely because they resemble a placeholder.
|
|
18
|
+
|
|
19
|
+
## File submission and references
|
|
20
|
+
|
|
21
|
+
Write a complete new article using the current stage's Markdown and reference
|
|
22
|
+
file schema. For an existing article, use its supplied base and submit only
|
|
23
|
+
needed section edits when appropriate. Stable section markers and title and
|
|
24
|
+
description follow that schema; there is no ArtifactResult, subject identity
|
|
25
|
+
or profile-owned output mapping to assemble.
|
|
26
|
+
|
|
27
|
+
For each output fragment, cite the actual source regions used, at most three
|
|
28
|
+
locations. Use source_ref and an inclusive file/line locator; the CLI computes
|
|
29
|
+
content digests. Do not attach an entire corpus to a generic paragraph or
|
|
30
|
+
combine unrelated locations into a fabricated continuous span. Split genuinely
|
|
31
|
+
distinct explanations when they need distinct references.
|
|
32
|
+
|
|
33
|
+
Place drafts and manifests in the Agent's designated temporary directory.
|
|
34
|
+
Submit completed tasks or a finished subset using the returned action. Do not
|
|
35
|
+
pass long article bodies in shell arguments, write approved knowledge directly,
|
|
36
|
+
or store skills, process receipts or separate provenance lists in article
|
|
37
|
+
frontmatter. Acceptance saves this run's candidate; Review and formal delivery
|
|
38
|
+
remain separate.
|
|
39
|
+
|
|
40
|
+
## Supporting notes and sessions
|
|
41
|
+
|
|
42
|
+
Use only authorized saved material and cite what was actually read. Separate
|
|
43
|
+
quotations, paraphrases, proposals, confirmations and reported test results.
|
|
44
|
+
A discussion can explain rationale but does not independently establish that
|
|
45
|
+
a change merged, deployed or passed tests. Several selected skills may help
|
|
46
|
+
the same article; no primary/extension ownership is required.
|
|
47
|
+
|
|
48
|
+
Correct misleading knowledge through a revision. Correct an inaccurate source
|
|
49
|
+
through its authorized import flow, not by editing evidence from this skill.
|
|
50
|
+
Keep useful prior contributions and real gaps visible during updates.
|
|
51
|
+
|
|
52
|
+
## Visual material
|
|
53
|
+
|
|
54
|
+
Use [diagram guidance](diagrams.md) when it clarifies an important relationship.
|
|
55
|
+
For actual source images or tables, read [visual processing](visual-source-processing.md).
|
|
56
|
+
Preserve source strength and external boundaries; diagrams are not a completion
|
|
57
|
+
requirement. Follow the workspace's visual conventions.
|