@c4a/context-cli 0.7.5 → 0.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +63 -2
- package/README.zh-CN.md +16 -0
- package/cli.js +132471 -111134
- package/docs/context-debug-event-v1.schema.json +3 -1
- package/docs/debug-tracing.md +17 -1
- package/indexers/bundles/context-code-indexer/SKILL.md +10 -1
- package/indexers/bundles/context-code-indexer/context-indexer.yaml +3102 -64
- package/indexers/bundles/context-code-indexer/references/article-catalog/adapter-integration-article-catalog.md +20 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/api-service-article-catalog.md +20 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/background-runtime-article-catalog.md +19 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/cli-tool-article-catalog.md +17 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/component-library-article-catalog.md +18 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/contract-source-article-catalog.md +17 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/data-sync-reconciliation-article-catalog.md +19 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/derived-generated-source-article-catalog.md +17 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/domain-service-article-catalog.md +23 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/event-consumer-article-catalog.md +19 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/gateway-facade-article-catalog.md +21 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/monorepo-container-article-catalog.md +17 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/plugin-extension-article-catalog.md +17 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/sdk-library-article-catalog.md +18 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/storage-repository-article-catalog.md +19 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/web-application-article-catalog.md +30 -0
- package/indexers/bundles/context-code-indexer/references/composers/public-contract.md +13 -1
- package/indexers/bundles/context-code-indexer/references/diagrams.md +122 -0
- package/indexers/bundles/context-code-indexer/references/indexer.md +184 -8
- package/indexers/bundles/context-code-indexer/references/visual-source-processing.md +42 -0
- package/indexers/bundles/context-code-indexer/templates/adapter-integration-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/adapter-integration-request-adaptation-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/adapter-integration-usage-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/api-service-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/api-service-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/articles/c01.md +49 -0
- package/indexers/bundles/context-code-indexer/templates/articles/c02.md +36 -0
- package/indexers/bundles/context-code-indexer/templates/articles/c03.md +28 -0
- package/indexers/bundles/context-code-indexer/templates/articles/c04.md +29 -0
- package/indexers/bundles/context-code-indexer/templates/articles/c05.md +30 -0
- package/indexers/bundles/context-code-indexer/templates/articles/c07.md +51 -0
- package/indexers/bundles/context-code-indexer/templates/articles/d01.md +31 -0
- package/indexers/bundles/context-code-indexer/templates/articles/d02.md +32 -0
- package/indexers/bundles/context-code-indexer/templates/articles/d03.md +32 -0
- package/indexers/bundles/context-code-indexer/templates/articles/d04.md +38 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f01.md +50 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f02.md +33 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f03.md +38 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f04.md +32 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f05.md +32 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f06.md +32 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f07.md +31 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f08.md +36 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f09.md +32 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f10.md +32 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f11.md +39 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f12.md +59 -0
- package/indexers/bundles/context-code-indexer/templates/articles/l01.md +38 -0
- package/indexers/bundles/context-code-indexer/templates/articles/l02.md +103 -0
- package/indexers/bundles/context-code-indexer/templates/articles/l03.md +92 -0
- package/indexers/bundles/context-code-indexer/templates/articles/l04.md +30 -0
- package/indexers/bundles/context-code-indexer/templates/articles/l05.md +50 -0
- package/indexers/bundles/context-code-indexer/templates/articles/q03.md +29 -0
- package/indexers/bundles/context-code-indexer/templates/articles/q05.md +29 -0
- package/indexers/bundles/context-code-indexer/templates/articles/q06.md +29 -0
- package/indexers/bundles/context-code-indexer/templates/articles/s01.md +31 -0
- package/indexers/bundles/context-code-indexer/templates/articles/s02.md +30 -0
- package/indexers/bundles/context-code-indexer/templates/articles/s03.md +34 -0
- package/indexers/bundles/context-code-indexer/templates/articles/s04.md +35 -0
- package/indexers/bundles/context-code-indexer/templates/articles/s05.md +30 -0
- package/indexers/bundles/context-code-indexer/templates/articles/s06.md +30 -0
- package/indexers/bundles/context-code-indexer/templates/articles/s07.md +33 -0
- package/indexers/bundles/context-code-indexer/templates/background-runtime-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/background-runtime-task-runtime-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/cli-tool-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/cli-tool-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/cli-tool-usage-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/component-library-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/component-library-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/component-library-usage-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/component-library.md +40 -3
- package/indexers/bundles/context-code-indexer/templates/contract-source-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/contract-source-usage-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/contract-source.md +49 -0
- package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation-task-runtime-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/derived-generated-source-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/derived-generated-source-usage-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/derived-generated-source.md +15 -0
- package/indexers/bundles/context-code-indexer/templates/domain-service-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/domain-service-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/event-consumer-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/event-consumer-task-runtime-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/gateway-facade-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/gateway-facade-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/gateway-facade-request-adaptation-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/monorepo-container-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/monorepo-container-usage-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/monorepo-container.md +9 -0
- package/indexers/bundles/context-code-indexer/templates/plugin-extension-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/plugin-extension-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/plugin-extension-usage-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/sdk-library-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/sdk-library-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/sdk-library-usage-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/storage-repository-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/storage-repository-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/web-application-federation-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/web-application-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/web-application-page-task-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/tests/fixtures/composers.json +1 -1
- package/indexers/bundles/context-code-indexer/tests/fixtures/scenarios.json +1 -1
- package/indexers/bundles/context-markdown-indexer/SKILL.md +7 -1
- package/indexers/bundles/context-markdown-indexer/context-indexer.yaml +856 -15
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/documentation-site-article-catalog.md +8 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/public-api-reference-article-catalog.md +10 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/release-migration-guide-article-catalog.md +11 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/standard-policy-article-catalog.md +10 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
- package/indexers/bundles/context-markdown-indexer/references/diagrams.md +122 -0
- package/indexers/bundles/context-markdown-indexer/references/editorial-policy.md +19 -29
- package/indexers/bundles/context-markdown-indexer/references/indexer.md +63 -2
- package/indexers/bundles/context-markdown-indexer/references/semantic-planning.md +22 -8
- package/indexers/bundles/context-markdown-indexer/references/visual-source-processing.md +42 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/c01.md +37 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/c02.md +34 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/c03.md +26 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/c04.md +27 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/c05.md +28 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/c06.md +28 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/c07.md +27 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/d01.md +29 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/d02.md +30 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/d03.md +30 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/d04.md +44 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/f01.md +30 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/f05.md +30 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/f06.md +30 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/f08.md +34 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/f09.md +30 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/l01.md +35 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/l02.md +101 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/l03.md +90 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/l04.md +28 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/l05.md +48 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/q01.md +32 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/q02.md +33 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/q03.md +27 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/q04.md +32 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/q05.md +27 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/q06.md +27 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/q07.md +32 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/s01.md +29 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/s02.md +27 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/s03.md +31 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/s04.md +33 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/s05.md +28 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/s06.md +28 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/s07.md +31 -0
- package/indexers/bundles/context-note-indexer/SKILL.md +16 -0
- package/indexers/bundles/context-note-indexer/context-indexer.yaml +1459 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
- package/indexers/bundles/context-note-indexer/references/classification.md +55 -0
- package/indexers/bundles/context-note-indexer/references/customization.md +36 -0
- package/indexers/bundles/context-note-indexer/references/diagrams.md +122 -0
- package/indexers/bundles/context-note-indexer/references/extension-placement.md +57 -0
- package/indexers/bundles/context-note-indexer/references/indexer.md +43 -0
- package/indexers/bundles/context-note-indexer/references/updates-and-composition.md +37 -0
- package/indexers/bundles/context-note-indexer/references/visual-source-processing.md +42 -0
- package/indexers/bundles/context-note-indexer/references/writing.md +57 -0
- package/indexers/bundles/context-note-indexer/templates/articles/c01.md +37 -0
- package/indexers/bundles/context-note-indexer/templates/articles/c02.md +34 -0
- package/indexers/bundles/context-note-indexer/templates/articles/c03.md +26 -0
- package/indexers/bundles/context-note-indexer/templates/articles/c04.md +27 -0
- package/indexers/bundles/context-note-indexer/templates/articles/c05.md +28 -0
- package/indexers/bundles/context-note-indexer/templates/articles/c06.md +28 -0
- package/indexers/bundles/context-note-indexer/templates/articles/c07.md +27 -0
- package/indexers/bundles/context-note-indexer/templates/articles/d01.md +29 -0
- package/indexers/bundles/context-note-indexer/templates/articles/d02.md +30 -0
- package/indexers/bundles/context-note-indexer/templates/articles/d03.md +30 -0
- package/indexers/bundles/context-note-indexer/templates/articles/d04.md +36 -0
- package/indexers/bundles/context-note-indexer/templates/articles/f01.md +30 -0
- package/indexers/bundles/context-note-indexer/templates/articles/f06.md +30 -0
- package/indexers/bundles/context-note-indexer/templates/articles/f08.md +34 -0
- package/indexers/bundles/context-note-indexer/templates/articles/f09.md +30 -0
- package/indexers/bundles/context-note-indexer/templates/articles/l01.md +35 -0
- package/indexers/bundles/context-note-indexer/templates/articles/l02.md +101 -0
- package/indexers/bundles/context-note-indexer/templates/articles/l03.md +90 -0
- package/indexers/bundles/context-note-indexer/templates/articles/l04.md +28 -0
- package/indexers/bundles/context-note-indexer/templates/articles/l05.md +48 -0
- package/indexers/bundles/context-note-indexer/templates/articles/q01.md +32 -0
- package/indexers/bundles/context-note-indexer/templates/articles/q02.md +33 -0
- package/indexers/bundles/context-note-indexer/templates/articles/q03.md +27 -0
- package/indexers/bundles/context-note-indexer/templates/articles/q04.md +32 -0
- package/indexers/bundles/context-note-indexer/templates/articles/q05.md +27 -0
- package/indexers/bundles/context-note-indexer/templates/articles/q06.md +27 -0
- package/indexers/bundles/context-note-indexer/templates/articles/q07.md +32 -0
- package/indexers/bundles/context-note-indexer/templates/articles/s01.md +29 -0
- package/indexers/bundles/context-note-indexer/templates/articles/s04.md +33 -0
- package/indexers/bundles/context-note-indexer/templates/articles/s05.md +28 -0
- package/indexers/bundles/context-note-indexer/templates/articles/s06.md +28 -0
- package/indexers/bundles/context-note-indexer/templates/articles/s07.md +31 -0
- package/indexers/bundles/context-note-indexer/templates/decision-record.md +33 -0
- package/indexers/bundles/context-note-indexer/templates/domain-reference.md +31 -0
- package/indexers/bundles/context-note-indexer/templates/faq-support.md +30 -0
- package/indexers/bundles/context-note-indexer/templates/incident-review.md +28 -0
- package/indexers/bundles/context-note-indexer/templates/product-requirements.md +29 -0
- package/indexers/bundles/context-note-indexer/templates/runbook.md +30 -0
- package/indexers/bundles/context-note-indexer/templates/technical-guide.md +31 -0
- package/indexers/bundles/context-note-indexer/templates/test-validation.md +28 -0
- package/indexers/bundles/context-note-indexer/templates/user-and-developer-guide.md +28 -0
- package/indexers/bundles/context-note-indexer/tests/fixtures/profiles.json +281 -0
- package/indexers/bundles/context-sessions-indexer/SKILL.md +16 -0
- package/indexers/bundles/context-sessions-indexer/context-indexer.yaml +1459 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
- package/indexers/bundles/context-sessions-indexer/references/classification.md +56 -0
- package/indexers/bundles/context-sessions-indexer/references/customization.md +36 -0
- package/indexers/bundles/context-sessions-indexer/references/diagrams.md +122 -0
- package/indexers/bundles/context-sessions-indexer/references/extension-placement.md +63 -0
- package/indexers/bundles/context-sessions-indexer/references/indexer.md +48 -0
- package/indexers/bundles/context-sessions-indexer/references/updates-and-composition.md +37 -0
- package/indexers/bundles/context-sessions-indexer/references/visual-source-processing.md +42 -0
- package/indexers/bundles/context-sessions-indexer/references/writing.md +63 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/c01.md +37 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/c02.md +34 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/c03.md +26 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/c04.md +27 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/c05.md +28 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/c06.md +28 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/c07.md +27 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/d01.md +29 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/d02.md +30 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/d03.md +30 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/d04.md +36 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/f01.md +30 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/f06.md +30 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/f08.md +34 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/f09.md +30 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/l01.md +35 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/l02.md +101 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/l03.md +90 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/l04.md +28 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/l05.md +48 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/q01.md +32 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/q02.md +33 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/q03.md +27 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/q04.md +32 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/q05.md +27 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/q06.md +27 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/q07.md +32 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/s01.md +29 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/s04.md +33 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/s05.md +28 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/s06.md +28 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/s07.md +31 -0
- package/indexers/bundles/context-sessions-indexer/templates/decision-record.md +43 -0
- package/indexers/bundles/context-sessions-indexer/templates/domain-reference.md +31 -0
- package/indexers/bundles/context-sessions-indexer/templates/faq-support.md +33 -0
- package/indexers/bundles/context-sessions-indexer/templates/incident-review.md +37 -0
- package/indexers/bundles/context-sessions-indexer/templates/product-requirements.md +35 -0
- package/indexers/bundles/context-sessions-indexer/templates/runbook.md +32 -0
- package/indexers/bundles/context-sessions-indexer/templates/technical-guide.md +31 -0
- package/indexers/bundles/context-sessions-indexer/templates/test-validation.md +37 -0
- package/indexers/bundles/context-sessions-indexer/templates/user-and-developer-guide.md +31 -0
- package/indexers/bundles/context-sessions-indexer/tests/fixtures/profiles.json +281 -0
- package/indexers/contracts/profile-contract.json +657 -277
- package/indexers/release-manifest.json +1120 -32
- package/package.json +14 -12
- package/parserEntryWorker.js +34606 -0
- package/plugins/README.md +24 -6
- package/plugins/README_CN.md +21 -5
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +14 -3
- package/plugins/claude/commands/context-inspect-search.md +159 -0
- package/plugins/claude/commands/context.md +375 -211
- package/plugins/claude/skills/context-indexer-create/SKILL.md +80 -0
- package/plugins/claude/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +180 -0
- package/plugins/claude/skills/context-indexer-create/references/guides/indexer-manifest-example.md +103 -0
- package/plugins/claude/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +471 -0
- package/plugins/claude/skills/context-indexer-create/references/guides/indexer-skill-creation.md +99 -0
- package/plugins/claude/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +136 -0
- package/plugins/claude/skills/context-indexer-create/references/guides/note.md +37 -0
- package/plugins/claude/skills/context-indexer-create/references/guides/sessions.md +50 -0
- package/plugins/claude/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +854 -0
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context/SKILL.md +372 -211
- package/plugins/codex/skills/context/agents/openai.yaml +2 -0
- package/plugins/codex/skills/context-indexer-create/SKILL.md +80 -0
- package/plugins/codex/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +180 -0
- package/plugins/codex/skills/context-indexer-create/references/guides/indexer-manifest-example.md +103 -0
- package/plugins/codex/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +471 -0
- package/plugins/codex/skills/context-indexer-create/references/guides/indexer-skill-creation.md +99 -0
- package/plugins/codex/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +136 -0
- package/plugins/codex/skills/context-indexer-create/references/guides/note.md +37 -0
- package/plugins/codex/skills/context-indexer-create/references/guides/sessions.md +50 -0
- package/plugins/codex/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +854 -0
- package/plugins/codex/skills/context-inspect-search/SKILL.md +159 -0
- package/plugins/codex/skills/context-inspect-search/agents/openai.yaml +2 -0
- package/plugins/cursor/.cursor-plugin/plugin.json +21 -5
- package/plugins/cursor/commands/c4a-context-inspect-search.md +157 -0
- package/plugins/cursor/commands/c4a-context.md +371 -214
- package/plugins/cursor/skills/context-indexer-create/SKILL.md +80 -0
- package/plugins/cursor/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +180 -0
- package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-manifest-example.md +103 -0
- package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +471 -0
- package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-skill-creation.md +99 -0
- package/plugins/cursor/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +136 -0
- package/plugins/cursor/skills/context-indexer-create/references/guides/note.md +37 -0
- package/plugins/cursor/skills/context-indexer-create/references/guides/sessions.md +50 -0
- package/plugins/cursor/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +854 -0
- package/plugins/skills/context/SKILL.md +372 -211
- package/plugins/skills/context/agents/openai.yaml +2 -0
- package/plugins/skills/context-code-indexer/SKILL.md +10 -1
- package/plugins/skills/context-code-indexer/context-indexer.yaml +3102 -64
- package/plugins/skills/context-code-indexer/references/article-catalog/adapter-integration-article-catalog.md +20 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/api-service-article-catalog.md +20 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/background-runtime-article-catalog.md +19 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/cli-tool-article-catalog.md +17 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/component-library-article-catalog.md +18 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/contract-source-article-catalog.md +17 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/data-sync-reconciliation-article-catalog.md +19 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/derived-generated-source-article-catalog.md +17 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/domain-service-article-catalog.md +23 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/event-consumer-article-catalog.md +19 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/gateway-facade-article-catalog.md +21 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/monorepo-container-article-catalog.md +17 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/plugin-extension-article-catalog.md +17 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/sdk-library-article-catalog.md +18 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/storage-repository-article-catalog.md +19 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/web-application-article-catalog.md +30 -0
- package/plugins/skills/context-code-indexer/references/composers/public-contract.md +13 -1
- package/plugins/skills/context-code-indexer/references/diagrams.md +122 -0
- package/plugins/skills/context-code-indexer/references/indexer.md +184 -8
- package/plugins/skills/context-code-indexer/references/visual-source-processing.md +42 -0
- package/plugins/skills/context-code-indexer/templates/adapter-integration-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/adapter-integration-request-adaptation-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/adapter-integration-usage-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/api-service-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/api-service-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/articles/c01.md +49 -0
- package/plugins/skills/context-code-indexer/templates/articles/c02.md +36 -0
- package/plugins/skills/context-code-indexer/templates/articles/c03.md +28 -0
- package/plugins/skills/context-code-indexer/templates/articles/c04.md +29 -0
- package/plugins/skills/context-code-indexer/templates/articles/c05.md +30 -0
- package/plugins/skills/context-code-indexer/templates/articles/c07.md +51 -0
- package/plugins/skills/context-code-indexer/templates/articles/d01.md +31 -0
- package/plugins/skills/context-code-indexer/templates/articles/d02.md +32 -0
- package/plugins/skills/context-code-indexer/templates/articles/d03.md +32 -0
- package/plugins/skills/context-code-indexer/templates/articles/d04.md +38 -0
- package/plugins/skills/context-code-indexer/templates/articles/f01.md +50 -0
- package/plugins/skills/context-code-indexer/templates/articles/f02.md +33 -0
- package/plugins/skills/context-code-indexer/templates/articles/f03.md +38 -0
- package/plugins/skills/context-code-indexer/templates/articles/f04.md +32 -0
- package/plugins/skills/context-code-indexer/templates/articles/f05.md +32 -0
- package/plugins/skills/context-code-indexer/templates/articles/f06.md +32 -0
- package/plugins/skills/context-code-indexer/templates/articles/f07.md +31 -0
- package/plugins/skills/context-code-indexer/templates/articles/f08.md +36 -0
- package/plugins/skills/context-code-indexer/templates/articles/f09.md +32 -0
- package/plugins/skills/context-code-indexer/templates/articles/f10.md +32 -0
- package/plugins/skills/context-code-indexer/templates/articles/f11.md +39 -0
- package/plugins/skills/context-code-indexer/templates/articles/f12.md +59 -0
- package/plugins/skills/context-code-indexer/templates/articles/l01.md +38 -0
- package/plugins/skills/context-code-indexer/templates/articles/l02.md +103 -0
- package/plugins/skills/context-code-indexer/templates/articles/l03.md +92 -0
- package/plugins/skills/context-code-indexer/templates/articles/l04.md +30 -0
- package/plugins/skills/context-code-indexer/templates/articles/l05.md +50 -0
- package/plugins/skills/context-code-indexer/templates/articles/q03.md +29 -0
- package/plugins/skills/context-code-indexer/templates/articles/q05.md +29 -0
- package/plugins/skills/context-code-indexer/templates/articles/q06.md +29 -0
- package/plugins/skills/context-code-indexer/templates/articles/s01.md +31 -0
- package/plugins/skills/context-code-indexer/templates/articles/s02.md +30 -0
- package/plugins/skills/context-code-indexer/templates/articles/s03.md +34 -0
- package/plugins/skills/context-code-indexer/templates/articles/s04.md +35 -0
- package/plugins/skills/context-code-indexer/templates/articles/s05.md +30 -0
- package/plugins/skills/context-code-indexer/templates/articles/s06.md +30 -0
- package/plugins/skills/context-code-indexer/templates/articles/s07.md +33 -0
- package/plugins/skills/context-code-indexer/templates/background-runtime-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/background-runtime-task-runtime-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/cli-tool-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/cli-tool-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/cli-tool-usage-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/component-library-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/component-library-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/component-library-usage-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/component-library.md +40 -3
- package/plugins/skills/context-code-indexer/templates/contract-source-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/contract-source-usage-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/contract-source.md +49 -0
- package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation-task-runtime-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/derived-generated-source-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/derived-generated-source-usage-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/derived-generated-source.md +15 -0
- package/plugins/skills/context-code-indexer/templates/domain-service-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/domain-service-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/event-consumer-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/event-consumer-task-runtime-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/gateway-facade-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/gateway-facade-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/gateway-facade-request-adaptation-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/monorepo-container-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/monorepo-container-usage-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/monorepo-container.md +9 -0
- package/plugins/skills/context-code-indexer/templates/plugin-extension-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/plugin-extension-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/plugin-extension-usage-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/sdk-library-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/sdk-library-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/sdk-library-usage-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/storage-repository-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/storage-repository-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/web-application-federation-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/web-application-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/web-application-page-task-guide.md +81 -0
- package/plugins/skills/context-code-indexer/tests/fixtures/composers.json +1 -1
- package/plugins/skills/context-code-indexer/tests/fixtures/scenarios.json +1 -1
- package/plugins/skills/context-indexer-create/SKILL.md +80 -0
- package/plugins/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +180 -0
- package/plugins/skills/context-indexer-create/references/guides/indexer-manifest-example.md +103 -0
- package/plugins/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +471 -0
- package/plugins/skills/context-indexer-create/references/guides/indexer-skill-creation.md +99 -0
- package/plugins/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +136 -0
- package/plugins/skills/context-indexer-create/references/guides/note.md +37 -0
- package/plugins/skills/context-indexer-create/references/guides/sessions.md +50 -0
- package/plugins/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +854 -0
- package/plugins/skills/context-inspect-search/SKILL.md +159 -0
- package/plugins/skills/context-inspect-search/agents/openai.yaml +2 -0
- package/plugins/skills/context-markdown-indexer/SKILL.md +7 -1
- package/plugins/skills/context-markdown-indexer/context-indexer.yaml +856 -15
- package/plugins/skills/context-markdown-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/documentation-site-article-catalog.md +8 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/public-api-reference-article-catalog.md +10 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/release-migration-guide-article-catalog.md +11 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/standard-policy-article-catalog.md +10 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
- package/plugins/skills/context-markdown-indexer/references/diagrams.md +122 -0
- package/plugins/skills/context-markdown-indexer/references/editorial-policy.md +19 -29
- package/plugins/skills/context-markdown-indexer/references/indexer.md +63 -2
- package/plugins/skills/context-markdown-indexer/references/semantic-planning.md +22 -8
- package/plugins/skills/context-markdown-indexer/references/visual-source-processing.md +42 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/c01.md +37 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/c02.md +34 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/c03.md +26 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/c04.md +27 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/c05.md +28 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/c06.md +28 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/c07.md +27 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/d01.md +29 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/d02.md +30 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/d03.md +30 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/d04.md +44 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/f01.md +30 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/f05.md +30 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/f06.md +30 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/f08.md +34 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/f09.md +30 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/l01.md +35 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/l02.md +101 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/l03.md +90 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/l04.md +28 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/l05.md +48 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/q01.md +32 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/q02.md +33 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/q03.md +27 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/q04.md +32 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/q05.md +27 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/q06.md +27 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/q07.md +32 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/s01.md +29 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/s02.md +27 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/s03.md +31 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/s04.md +33 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/s05.md +28 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/s06.md +28 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/s07.md +31 -0
- package/plugins/skills/context-note-indexer/SKILL.md +16 -0
- package/plugins/skills/context-note-indexer/context-indexer.yaml +1459 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
- package/plugins/skills/context-note-indexer/references/classification.md +55 -0
- package/plugins/skills/context-note-indexer/references/customization.md +36 -0
- package/plugins/skills/context-note-indexer/references/diagrams.md +122 -0
- package/plugins/skills/context-note-indexer/references/extension-placement.md +57 -0
- package/plugins/skills/context-note-indexer/references/indexer.md +43 -0
- package/plugins/skills/context-note-indexer/references/updates-and-composition.md +37 -0
- package/plugins/skills/context-note-indexer/references/visual-source-processing.md +42 -0
- package/plugins/skills/context-note-indexer/references/writing.md +57 -0
- package/plugins/skills/context-note-indexer/templates/articles/c01.md +37 -0
- package/plugins/skills/context-note-indexer/templates/articles/c02.md +34 -0
- package/plugins/skills/context-note-indexer/templates/articles/c03.md +26 -0
- package/plugins/skills/context-note-indexer/templates/articles/c04.md +27 -0
- package/plugins/skills/context-note-indexer/templates/articles/c05.md +28 -0
- package/plugins/skills/context-note-indexer/templates/articles/c06.md +28 -0
- package/plugins/skills/context-note-indexer/templates/articles/c07.md +27 -0
- package/plugins/skills/context-note-indexer/templates/articles/d01.md +29 -0
- package/plugins/skills/context-note-indexer/templates/articles/d02.md +30 -0
- package/plugins/skills/context-note-indexer/templates/articles/d03.md +30 -0
- package/plugins/skills/context-note-indexer/templates/articles/d04.md +36 -0
- package/plugins/skills/context-note-indexer/templates/articles/f01.md +30 -0
- package/plugins/skills/context-note-indexer/templates/articles/f06.md +30 -0
- package/plugins/skills/context-note-indexer/templates/articles/f08.md +34 -0
- package/plugins/skills/context-note-indexer/templates/articles/f09.md +30 -0
- package/plugins/skills/context-note-indexer/templates/articles/l01.md +35 -0
- package/plugins/skills/context-note-indexer/templates/articles/l02.md +101 -0
- package/plugins/skills/context-note-indexer/templates/articles/l03.md +90 -0
- package/plugins/skills/context-note-indexer/templates/articles/l04.md +28 -0
- package/plugins/skills/context-note-indexer/templates/articles/l05.md +48 -0
- package/plugins/skills/context-note-indexer/templates/articles/q01.md +32 -0
- package/plugins/skills/context-note-indexer/templates/articles/q02.md +33 -0
- package/plugins/skills/context-note-indexer/templates/articles/q03.md +27 -0
- package/plugins/skills/context-note-indexer/templates/articles/q04.md +32 -0
- package/plugins/skills/context-note-indexer/templates/articles/q05.md +27 -0
- package/plugins/skills/context-note-indexer/templates/articles/q06.md +27 -0
- package/plugins/skills/context-note-indexer/templates/articles/q07.md +32 -0
- package/plugins/skills/context-note-indexer/templates/articles/s01.md +29 -0
- package/plugins/skills/context-note-indexer/templates/articles/s04.md +33 -0
- package/plugins/skills/context-note-indexer/templates/articles/s05.md +28 -0
- package/plugins/skills/context-note-indexer/templates/articles/s06.md +28 -0
- package/plugins/skills/context-note-indexer/templates/articles/s07.md +31 -0
- package/plugins/skills/context-note-indexer/templates/decision-record.md +33 -0
- package/plugins/skills/context-note-indexer/templates/domain-reference.md +31 -0
- package/plugins/skills/context-note-indexer/templates/faq-support.md +30 -0
- package/plugins/skills/context-note-indexer/templates/incident-review.md +28 -0
- package/plugins/skills/context-note-indexer/templates/product-requirements.md +29 -0
- package/plugins/skills/context-note-indexer/templates/runbook.md +30 -0
- package/plugins/skills/context-note-indexer/templates/technical-guide.md +31 -0
- package/plugins/skills/context-note-indexer/templates/test-validation.md +28 -0
- package/plugins/skills/context-note-indexer/templates/user-and-developer-guide.md +28 -0
- package/plugins/skills/context-note-indexer/tests/fixtures/profiles.json +281 -0
- package/plugins/skills/context-sessions-indexer/SKILL.md +16 -0
- package/plugins/skills/context-sessions-indexer/context-indexer.yaml +1459 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
- package/plugins/skills/context-sessions-indexer/references/classification.md +56 -0
- package/plugins/skills/context-sessions-indexer/references/customization.md +36 -0
- package/plugins/skills/context-sessions-indexer/references/diagrams.md +122 -0
- package/plugins/skills/context-sessions-indexer/references/extension-placement.md +63 -0
- package/plugins/skills/context-sessions-indexer/references/indexer.md +48 -0
- package/plugins/skills/context-sessions-indexer/references/updates-and-composition.md +37 -0
- package/plugins/skills/context-sessions-indexer/references/visual-source-processing.md +42 -0
- package/plugins/skills/context-sessions-indexer/references/writing.md +63 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/c01.md +37 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/c02.md +34 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/c03.md +26 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/c04.md +27 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/c05.md +28 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/c06.md +28 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/c07.md +27 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/d01.md +29 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/d02.md +30 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/d03.md +30 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/d04.md +36 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/f01.md +30 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/f06.md +30 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/f08.md +34 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/f09.md +30 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/l01.md +35 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/l02.md +101 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/l03.md +90 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/l04.md +28 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/l05.md +48 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/q01.md +32 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/q02.md +33 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/q03.md +27 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/q04.md +32 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/q05.md +27 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/q06.md +27 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/q07.md +32 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/s01.md +29 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/s04.md +33 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/s05.md +28 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/s06.md +28 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/s07.md +31 -0
- package/plugins/skills/context-sessions-indexer/templates/decision-record.md +43 -0
- package/plugins/skills/context-sessions-indexer/templates/domain-reference.md +31 -0
- package/plugins/skills/context-sessions-indexer/templates/faq-support.md +33 -0
- package/plugins/skills/context-sessions-indexer/templates/incident-review.md +37 -0
- package/plugins/skills/context-sessions-indexer/templates/product-requirements.md +35 -0
- package/plugins/skills/context-sessions-indexer/templates/runbook.md +32 -0
- package/plugins/skills/context-sessions-indexer/templates/technical-guide.md +31 -0
- package/plugins/skills/context-sessions-indexer/templates/test-validation.md +37 -0
- package/plugins/skills/context-sessions-indexer/templates/user-and-developer-guide.md +31 -0
- package/plugins/skills/context-sessions-indexer/tests/fixtures/profiles.json +281 -0
- package/providers/context/actions/advance-knowledge-maintenance.yaml +5 -0
- package/providers/context/actions/author-approved-revision.yaml +6 -0
- package/providers/context/actions/finish-rollback.yaml +5 -0
- package/providers/context/actions/inspect-source-update.yaml +6 -0
- package/providers/context/actions/inspect-task-recovery.yaml +5 -0
- package/providers/context/actions/record-workspace-version.yaml +5 -0
- package/providers/context/actions/register-source-batch.yaml +1 -1
- package/providers/context/actions/repair-project-entry.yaml +9 -0
- package/providers/context/actions/resume-workspace-task.yaml +5 -0
- package/providers/context/codes.yaml +11 -0
- package/providers/context/graphs/indexer.yaml +93 -2
- package/providers/context/graphs/workspace.yaml +86 -6
- package/providers/context/manifest.json +371 -59
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/contracts/indexer-provider-guide.yaml +6 -0
- package/providers/context/resources/contracts/indexer-registry-bootstrap.yaml +6 -0
- package/providers/context/resources/diagnostics/verification.md +6 -4
- package/providers/context/resources/dialogue/knowledge-review.md +16 -9
- package/providers/context/resources/dialogue/package-output.md +18 -5
- package/providers/context/resources/dialogue/source-boundary.md +12 -2
- package/providers/context/resources/dialogue/workflow-mode-after-creation.md +15 -17
- package/providers/context/resources/manuals/guides/knowledge-updates.md +428 -0
- package/providers/context/resources/manuals/guides/lark-resources.md +5 -1
- package/providers/context/resources/manuals/guides/note.md +43 -0
- package/providers/context/resources/manuals/guides/package-outputs.md +231 -60
- package/providers/context/resources/manuals/guides/sessions.md +56 -0
- package/providers/context/resources/manuals/guides/workspace-commit.md +51 -0
- package/providers/context/resources/manuals/guides/workspace-prepare.md +78 -0
- package/providers/context/resources/manuals/guides/workspace-restore.md +65 -0
- package/providers/context/resources/manuals/reference/code-extractors.md +57 -0
- package/providers/context/resources/manuals/reference/package-templates.md +10 -9
- package/providers/context/resources/manuals/reference/project-api.md +100 -13
- package/providers/context/resources/manuals/reference/template-variables.md +7 -7
- package/providers/context/resources/procedures/approved-revision.md +159 -0
- package/providers/context/resources/procedures/close-and-build.md +58 -1
- package/providers/context/resources/procedures/homogeneous-source-review.md +123 -0
- package/providers/context/resources/procedures/knowledge-maintenance.md +68 -0
- package/providers/context/resources/procedures/knowledge-review.md +69 -6
- package/providers/context/resources/procedures/knowledge-updates.md +428 -0
- package/providers/context/resources/procedures/note.md +43 -0
- package/providers/context/resources/procedures/package-output.md +20 -1
- package/providers/context/resources/procedures/parallel-agent-batch.md +140 -0
- package/providers/context/resources/procedures/project-configuration.md +6 -0
- package/providers/context/resources/procedures/sessions.md +56 -0
- package/providers/context/resources/procedures/source-boundary.md +24 -1
- package/providers/context/resources/procedures/source-capture-detailed.md +36 -2
- package/providers/context/resources/procedures/source-update.md +50 -0
- package/providers/context/resources/procedures/task-recovery.md +71 -0
- package/providers/context/resources/procedures/verify-and-repair.md +5 -0
- package/providers/context/resources/procedures/work-start-report.md +419 -0
- package/providers/context/resources/procedures/workspace-commit.md +51 -0
- package/providers/context/resources/procedures/workspace-prepare.md +78 -0
- package/providers/context/resources/procedures/workspace-restore.md +65 -0
- package/providers/context/resources/templates/indexer-agent-worker.md +67 -0
- package/providers/context/resources/templates/recovery-issue.md +54 -0
- package/providers/context/resources/templates/work-start-report.md +302 -0
- package/providers/context/schemas/approved-revision-result.schema.json +88 -0
- package/providers/context/schemas/indexer-agent-step-result.schema.json +2232 -318
- package/providers/context/schemas/indexer-main-lifecycle-output.schema.json +1 -2
- package/providers/context/schemas/indexer-registry-bootstrap.schema.json +227 -0
- package/providers/context/schemas/source-batch-input.schema.json +15 -8
- package/providers/context/schemas/source-update-result.schema.json +83 -0
- package/providers/context/skills/configure-indexer-providers/SKILL.md +70 -5
- package/providers/context/skills/configure-indexer-providers/references/guides/code-indexer-skill-authoring.md +180 -0
- package/providers/context/skills/configure-indexer-providers/references/guides/indexer-provider-and-customization.md +471 -0
- package/providers/context/skills/configure-indexer-providers/references/guides/markdown-indexer-skill-authoring.md +136 -0
- package/providers/context/skills/configure-indexer-providers/references/guides/note.md +37 -0
- package/providers/context/skills/configure-indexer-providers/references/guides/sessions.md +50 -0
- package/providers/context/skills/configure-indexer-providers/references/reference/indexer-provider-protocol.md +854 -0
- package/providers/context/skills/prepare-indexer-customization-project/SKILL.md +1 -1
- package/providers/context/skills/propose-indexer-customization/SKILL.md +1 -1
- package/providers/context/skills/record-workspace-version/SKILL.md +46 -0
- package/providers/context/skills/recover-workspace/SKILL.md +15 -0
- package/providers/context/skills/resolve-current-indexer-gate/SKILL.md +33 -1
- package/providers/context/skills/run-indexer-agent-step/SKILL.md +403 -26
- package/providers/context/skills/run-indexer-lifecycle/SKILL.md +188 -1
- package/providers/context/skills/run-indexer-post-author-composer/SKILL.md +60 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.sdk.code-extractors
|
|
3
|
+
kind: procedure
|
|
4
|
+
mediaType: text/markdown
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Code Parser Selection
|
|
8
|
+
|
|
9
|
+
Code parsing is an Indexer Provider implementation detail. A knowledge
|
|
10
|
+
workspace selects the Provider and profile in `src/indexers.yaml`; it does not
|
|
11
|
+
declare a separate extraction phase in `src/index.ts`.
|
|
12
|
+
|
|
13
|
+
## Selection order
|
|
14
|
+
|
|
15
|
+
1. Identify the target boundary and the knowledge questions.
|
|
16
|
+
2. Let the selected Provider inspect language, manifests, entries, routes, and
|
|
17
|
+
contracts.
|
|
18
|
+
3. Use the smallest parser set that covers those questions.
|
|
19
|
+
4. Keep deterministic parser output as Provider facts; let the Provider author
|
|
20
|
+
reader-oriented knowledge pages from those facts and readable sources.
|
|
21
|
+
|
|
22
|
+
## Community parser packages
|
|
23
|
+
|
|
24
|
+
| Package | Useful structural facts |
|
|
25
|
+
|---|---|
|
|
26
|
+
| `@c4a/extract-ts` | TypeScript/JavaScript symbols, exports, imports, calls, and React Router routes |
|
|
27
|
+
| `@c4a/extract-go` | Go declarations, imports, calls, and common HTTP routes |
|
|
28
|
+
| `@c4a/extract-rush` | Rush projects, tags, entries, dependencies, and owner boundaries |
|
|
29
|
+
| `@c4a/extract-thrift` | Thrift services, methods and declared data types |
|
|
30
|
+
| `@c4a/extract-proto` | Protobuf messages, fields and service definitions |
|
|
31
|
+
| `@c4a/extract-mdx` | Markdown/MDX document structure and source spans |
|
|
32
|
+
| `@c4a/extract-contract` | Supported structured API contract declarations |
|
|
33
|
+
| `@c4a/extract-style` | Stylesheet declarations, selectors and related structure |
|
|
34
|
+
| `@c4a/extract-sql` | Supported SQL schema declarations |
|
|
35
|
+
| `@c4a/extract` | Shared extraction result and adapter contracts |
|
|
36
|
+
|
|
37
|
+
These packages do not create Candidate rows, write `knowledge/`, or control
|
|
38
|
+
Review. The CLI owns those lifecycle responsibilities; Providers interpret the
|
|
39
|
+
supplied facts and sources and return structured semantic results. Package
|
|
40
|
+
presence alone does not prove a parser is selected or supports every dialect.
|
|
41
|
+
Use the selected profile's actual capabilities and parser diagnostics.
|
|
42
|
+
|
|
43
|
+
## Unsupported technologies
|
|
44
|
+
|
|
45
|
+
When a required boundary is unsupported, distinguish a parser limitation from
|
|
46
|
+
missing writing guidance. Config can select supported behavior; instructions or
|
|
47
|
+
templates cannot create missing structural facts. Follow the current Route's
|
|
48
|
+
capability-gap report and smallest supported customization step. A program
|
|
49
|
+
extension requires its existing execution authorization. Prefer a reusable
|
|
50
|
+
parser when the same technology is useful across projects; do not create a
|
|
51
|
+
parallel project-local knowledge pipeline.
|
|
52
|
+
|
|
53
|
+
Mechanical inventory closure requires an explicit disposition for each supplied
|
|
54
|
+
item. It does not prove that the pages answer the reader's questions. Review
|
|
55
|
+
checks usefulness and fidelity separately. Internal or out-of-scope items can
|
|
56
|
+
have justified exclusions without generating pages; symbol count is not a
|
|
57
|
+
knowledge-quality measure.
|
|
@@ -188,7 +188,7 @@ Built-in variables:
|
|
|
188
188
|
| `{{displayName}}` | Display name. Defaults to a title-cased `packageName`; override with `template.vars.displayName`. |
|
|
189
189
|
| `{{knowledgeCount}}` | Number of selected approved Markdown files. |
|
|
190
190
|
| `{{knowledgeTimestamp}}` | Latest `timestamp` from selected approved Markdown, or `1970-01-01T00:00:00.000Z` when empty. |
|
|
191
|
-
| `{{knowledge}}` | Concatenated selected approved
|
|
191
|
+
| `{{knowledge}}` | Concatenated consumer projection of selected approved pages, with path headings and without lifecycle metadata. |
|
|
192
192
|
| `{{approvedKnowledge}}` | Alias for `{{knowledge}}`. |
|
|
193
193
|
| `{{knowledgeItems}}` | Array of selected approved knowledge page metadata for loops. |
|
|
194
194
|
| `{{knowledgeGroups}}` | Selected approved knowledge pages grouped by OKF root and first directory segment; each item also exposes `internal_collection`. |
|
|
@@ -328,7 +328,7 @@ Approved Markdown under `knowledge/` and its deterministic
|
|
|
328
328
|
revision, or build. Do not copy a compact page as a new page without using a
|
|
329
329
|
Context authoring command;
|
|
330
330
|
- do not nest Context production metadata under `context`; fields such as
|
|
331
|
-
`context.sources` and `context.code_symbols` are not
|
|
331
|
+
`context.sources` and `context.code_symbols` are not accepted production fields;
|
|
332
332
|
- section provenance lives in `<!-- context:section ... source_ref="..." -->`
|
|
333
333
|
comments. When a Section needs more than one citation, the CLI preserves the
|
|
334
334
|
complete set in its adjacent `context:source_refs` block;
|
|
@@ -358,8 +358,9 @@ treat the complete `source_ref` as opaque. Production pages do not expose
|
|
|
358
358
|
Candidate fingerprints, Indexer digests, or `code_origin`.
|
|
359
359
|
|
|
360
360
|
`#span:` refs retain source snapshot line ranges for human review, diffing, and
|
|
361
|
-
stable re-pinning. They resolve against
|
|
362
|
-
not the code symbol index.
|
|
361
|
+
stable re-pinning. They resolve against the stored file/Lark snapshot or the saved
|
|
362
|
+
Note/Sessions Markdown, not the code symbol index. A session's optional commit/MR
|
|
363
|
+
association stays in its source file; knowledge does not duplicate those fields.
|
|
363
364
|
|
|
364
365
|
The kb package root may contain agent files such as `AGENTS.md` and `skills/`.
|
|
365
366
|
The OKF-compatible surface is the selected `wikis/`, `guides/`, `rules/`, and
|
|
@@ -379,11 +380,11 @@ The OKF-compatible surface is the selected `wikis/`, `guides/`, `rules/`, and
|
|
|
379
380
|
6. Writes output under `dist/<package-name>/`.
|
|
380
381
|
|
|
381
382
|
`context-build-inventory.json` records what was selected and why. Each selected
|
|
382
|
-
file includes `selected_by` entries such as `{ "kind": "collection" }
|
|
383
|
-
`
|
|
384
|
-
and
|
|
385
|
-
|
|
386
|
-
|
|
383
|
+
file includes `selected_by` entries such as `{ "kind": "collection" }`,
|
|
384
|
+
`{ "kind": "okf_root" }`, `{ "kind": "include" }`, or `{ "kind": "default" }`,
|
|
385
|
+
and a `production_metadata` object for selected page-level production fields.
|
|
386
|
+
Child and relationship records use the inventory's canonical structure
|
|
387
|
+
projection. The inventory exposes package-visible typed
|
|
387
388
|
edges under `structure.edge_records`; these records are filtered to edges whose
|
|
388
389
|
endpoints are present in the selected package. Use those edge records for
|
|
389
390
|
relationship citations inside the package instead of assuming the workspace
|
|
@@ -32,14 +32,30 @@ state.
|
|
|
32
32
|
|
|
33
33
|
```ts
|
|
34
34
|
const repo = source("20260901", "component-lib");
|
|
35
|
-
const docs = source("product-docs", { type: "file" });
|
|
36
|
-
const handbook = source("handbook", { type: "lark" });
|
|
37
|
-
const
|
|
35
|
+
const docs = source("20260901/product-docs", { type: "file" });
|
|
36
|
+
const handbook = source("20260901/handbook", { type: "lark" });
|
|
37
|
+
const note = source("20260908/decision-context.md", { type: "note" });
|
|
38
|
+
const session = source("20260908/design-discussion.md", { type: "sessions" });
|
|
39
|
+
const everyRepo = allSources("repo"); // array: use ...everyRepo inside sources
|
|
40
|
+
const everySession = allSources("sessions");
|
|
38
41
|
```
|
|
39
42
|
|
|
40
|
-
|
|
41
|
-
`sources
|
|
42
|
-
|
|
43
|
+
Repo, file and Lark references resolve against their respective
|
|
44
|
+
`sources/<type>/index.yaml`. Their names include the registration date and module.
|
|
45
|
+
Register or refresh them through `context source ...`.
|
|
46
|
+
|
|
47
|
+
Note and Sessions references resolve directly to saved Markdown under
|
|
48
|
+
`sources/note/YYYYMMDD/topic.md` and `sources/sessions/YYYYMMDD/topic.md`.
|
|
49
|
+
Use `context source import` to save them; they have no separate registry or
|
|
50
|
+
capture phase. Explicitly include the desired typed references in `sources`,
|
|
51
|
+
for example `sources: [note, session]`, or use `sources: [...everySession]`
|
|
52
|
+
when all saved sessions are intended. Merely saving a source does not select it.
|
|
53
|
+
|
|
54
|
+
A project's source list enables acquisition and initial selection; requirements
|
|
55
|
+
and the selected Indexer's target/read scopes determine what it owns and may read.
|
|
56
|
+
Supporting text does not require a separate page or primary Indexer. See
|
|
57
|
+
[note preparation](../guides/note.md), [sessions preparation](../guides/sessions.md)
|
|
58
|
+
and [knowledge updates](../guides/knowledge-updates.md).
|
|
43
59
|
|
|
44
60
|
## Capture phases
|
|
45
61
|
|
|
@@ -50,8 +66,55 @@ captureLark({ source: handbook });
|
|
|
50
66
|
```
|
|
51
67
|
|
|
52
68
|
Capture only creates a deterministic readable snapshot. Classification,
|
|
53
|
-
partitioning
|
|
54
|
-
|
|
69
|
+
partitioning and authoring use the selected Provider's guidance. The CLI owns
|
|
70
|
+
worksets, Candidate creation, Review application and delivery. Code, Markdown,
|
|
71
|
+
Note and Sessions Providers can use authorized supporting documents without
|
|
72
|
+
creating a second capture or knowledge pipeline.
|
|
73
|
+
|
|
74
|
+
### Batch capture from the source registry
|
|
75
|
+
|
|
76
|
+
When all registered Lark documents are intended for this project and share capture
|
|
77
|
+
settings, read the registry once instead of copying its module names into
|
|
78
|
+
`src/index.ts`. For the standard `src/index.ts` entry:
|
|
79
|
+
|
|
80
|
+
```ts
|
|
81
|
+
import { fileURLToPath } from "node:url";
|
|
82
|
+
import {
|
|
83
|
+
allSources, captureLark, defineProject, loadSourcesRegistry, source,
|
|
84
|
+
} from "@c4a/context";
|
|
85
|
+
|
|
86
|
+
const workspaceRoot = fileURLToPath(new URL("../", import.meta.url));
|
|
87
|
+
const registry = await loadSourcesRegistry({ rootDir: workspaceRoot });
|
|
88
|
+
const documents = registry.larks.map(entry =>
|
|
89
|
+
source(entry.name, { type: "lark" }),
|
|
90
|
+
);
|
|
91
|
+
|
|
92
|
+
export default defineProject({
|
|
93
|
+
sources: [...allSources("repo"), ...documents],
|
|
94
|
+
phases: documents.map(document => captureLark({ source: document })),
|
|
95
|
+
packages: [],
|
|
96
|
+
});
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Merge this pattern into existing declarations; preserve unrelated phases and
|
|
100
|
+
package outputs. Adjust the root calculation if the entry lives elsewhere.
|
|
101
|
+
Registry loading only reads local registrations; it does not fetch documents.
|
|
102
|
+
|
|
103
|
+
- `sources/lark/index.yaml` owns document identities, URLs and titles. The project
|
|
104
|
+
selects those identities and declares capture settings. This example includes
|
|
105
|
+
future registrations too; use it only when the entire registered set is intended.
|
|
106
|
+
- For a subset, filter registry entries by the intended namespace or names before
|
|
107
|
+
mapping. Apply exceptional resource settings within the same map instead of
|
|
108
|
+
declaring a second phase for the same document.
|
|
109
|
+
- File documents use `registry.files`, `source(entry.name, { type: "file" })`
|
|
110
|
+
and `captureFile`. Group by actual processor needs; do not apply `mdxJsonDocs()`
|
|
111
|
+
indiscriminately to all file sources.
|
|
112
|
+
- `allSources("lark")` selects a collection; its array contains a collection
|
|
113
|
+
reference, not individual documents. It neither expands capture phases nor
|
|
114
|
+
supports mapping its entries into `captureLark`.
|
|
115
|
+
- The map declares one phase per document. It does not fetch URLs, change capture
|
|
116
|
+
permissions, or request parallel execution. Run the declared phases through the
|
|
117
|
+
existing CLI flow so each document retains independent refresh and retry behavior.
|
|
55
118
|
|
|
56
119
|
## `customPhase`
|
|
57
120
|
|
|
@@ -71,6 +134,7 @@ kbPackage({
|
|
|
71
134
|
name: "component-kb",
|
|
72
135
|
template: "src/package-templates/kb",
|
|
73
136
|
select: { collections: ["codeindex", "architecture"] },
|
|
137
|
+
site: { title: "Component knowledge", lang: "en-US", base: "/" },
|
|
74
138
|
});
|
|
75
139
|
|
|
76
140
|
llmsPackage({
|
|
@@ -83,10 +147,19 @@ llmsPackage({
|
|
|
83
147
|
Package selection reads approved `knowledge/` only. `dist/` is generated and
|
|
84
148
|
may be rebuilt; it is not an authoring source.
|
|
85
149
|
|
|
150
|
+
`kbPackage.site` optionally adds a VitePress website at `dist/<base>-site/` in
|
|
151
|
+
the same build, beside the KB directory. `<base>` removes one trailing `-kb`
|
|
152
|
+
from the package name, if present. Omit it for KB-only output. It accepts `title`, `description`,
|
|
153
|
+
`lang` and a deployment `base` path. Knowledge map is projected from
|
|
154
|
+
`src/knowledge-map.yaml` independently of KB directories; see
|
|
155
|
+
[Package Outputs](../guides/package-outputs.md#optional-static-documentation-website).
|
|
156
|
+
|
|
86
157
|
## Indexer registry
|
|
87
158
|
|
|
88
|
-
|
|
89
|
-
|
|
159
|
+
When this file is absent, the configuration Route supplies the initial schema:
|
|
160
|
+
write confirmed `requirements` with `indexers: []`, then re-evaluate. The Provider
|
|
161
|
+
selection Action supplies its own completion schema; that payload is not the
|
|
162
|
+
configuration file. Subsequent changes use typed proposals and applicable gates. Each selected Indexer binds requirements and scopes to one
|
|
90
163
|
primary Provider, with optional declared layers or composers. Provider code
|
|
91
164
|
must return the current Indexer result protocol; it must not write Candidate,
|
|
92
165
|
knowledge, or Review files directly.
|
|
@@ -96,6 +169,20 @@ current workflow Route when it is needed.
|
|
|
96
169
|
|
|
97
170
|
## Persistent versus runtime state
|
|
98
171
|
|
|
99
|
-
|
|
100
|
-
and approved knowledge
|
|
101
|
-
|
|
172
|
+
Source registries and snapshots, saved notes/summaries, project declarations,
|
|
173
|
+
package templates and approved knowledge are durable inputs. Version them only
|
|
174
|
+
when Git operations are authorized. Keep `.tmp/context-runtime/` out of Git;
|
|
175
|
+
it contains unfinished execution state, not the sole source of recovery truth.
|
|
176
|
+
|
|
177
|
+
`knowledge/structure.yaml` keeps shared page/source metadata and compact
|
|
178
|
+
`processed_scopes` for completed requirement/source/module ranges. A partial
|
|
179
|
+
update or failed build does not advance the whole range's processed version.
|
|
180
|
+
Session commit/MR associations stay in the saved source frontmatter, not copied
|
|
181
|
+
into every knowledge page. Use the CLI to adjust or roll back current work;
|
|
182
|
+
do not edit these baselines or remove runtime files to simulate completion.
|
|
183
|
+
|
|
184
|
+
## Source visual conversion preference
|
|
185
|
+
|
|
186
|
+
Workspace `package.json` accepts `context.convertVisuals` (boolean, default `true`). Initialization writes it explicitly; older workspaces without the field also default to enabled. This lets a capable Author Agent attempt faithful structural diagram/table conversion. Explicit session instructions override the saved preference. It does not disable native table capture or existing Mermaid when false.
|
|
187
|
+
|
|
188
|
+
Diagram style follows the workspace’s editable `AGENTS.md`; newly initialized workspaces default to minimal theme-aware diagrams without decorative colors. If the Agent cannot read the image or cannot preserve its meaning, it retains the original through the existing asset workflow. Source-based reuse avoids rereading unchanged visuals; file integrity and package hashes continue to reflect actual output changes.
|
|
@@ -25,7 +25,7 @@ Approved pages: {{knowledgeCount}}
|
|
|
25
25
|
Values support dotted paths:
|
|
26
26
|
|
|
27
27
|
```md
|
|
28
|
-
{{
|
|
28
|
+
{{buildInventory.package.name}}
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
### Loop
|
|
@@ -108,7 +108,7 @@ Read node_modules/@c4a/context/docs/reference/template-variables.md.
|
|
|
108
108
|
| `skillPath` | string | Final package-relative `SKILL.md` path for the Skill currently being rendered. Empty outside a Skill template. |
|
|
109
109
|
| `knowledgeCount` | number | Selected approved Markdown file count. |
|
|
110
110
|
| `knowledgeTimestamp` | string | Latest selected approved Markdown `timestamp`, or epoch when empty. |
|
|
111
|
-
| `knowledge` | string | Concatenated selected approved
|
|
111
|
+
| `knowledge` | string | Concatenated consumer projection of selected approved pages, with path headings. It omits lifecycle metadata and can be large. |
|
|
112
112
|
| `approvedKnowledge` | string | Alias for `knowledge`. |
|
|
113
113
|
| `knowledgeItems` | array | One record per selected approved Markdown page. |
|
|
114
114
|
| `knowledgeGroups` | array | Selected pages grouped by OKF root and the first directory segment under that root; each item also exposes `internal_collection`. |
|
|
@@ -137,7 +137,7 @@ Each item contains:
|
|
|
137
137
|
|
|
138
138
|
| Field | Meaning |
|
|
139
139
|
|---|---|
|
|
140
|
-
| `path` | Package-relative OKF path, for example `
|
|
140
|
+
| `path` | Package-relative OKF path, for example `guides/architecture/entity/button.md`. |
|
|
141
141
|
| `sourcePath` | Approved knowledge path before OKF output mapping, for example `architecture/entity/button.md`. |
|
|
142
142
|
| `approved_path` | Alias for `sourcePath`. |
|
|
143
143
|
| `dist_path` | Alias for `path`. |
|
|
@@ -148,11 +148,11 @@ Each item contains:
|
|
|
148
148
|
| `okf_root_path` | Final flat package-relative OKF root. |
|
|
149
149
|
| `node_ref` | Stable NodeRef from approved frontmatter, for example `entity/button`. |
|
|
150
150
|
| `view_ref` | Stable ViewRef from approved frontmatter, for example `architecture:entity/button`. |
|
|
151
|
-
| `pathWithinCollection` | Path below the OKF root, for example `
|
|
151
|
+
| `pathWithinCollection` | Path below the OKF root, for example `architecture/entity/button.md`. |
|
|
152
152
|
| `href` | Link relative to the template file currently being rendered. Use this in custom templates. |
|
|
153
153
|
| `hrefFromTemplate` | Alias for `href`. |
|
|
154
|
-
| `hrefFromPackageRoot` | Link from a package-root file such as `AGENTS.md`, for example `./
|
|
155
|
-
| `hrefFromCollectionIndex` | Link from the current OKF root index, for example `./
|
|
154
|
+
| `hrefFromPackageRoot` | Link from a package-root file such as `AGENTS.md`, for example `./guides/architecture/entity/button.md`. |
|
|
155
|
+
| `hrefFromCollectionIndex` | Link from the current OKF root index, for example `./architecture/entity/button.md` for a `guides` item. |
|
|
156
156
|
| `title` | Page title from frontmatter, or a title derived from the file name. |
|
|
157
157
|
| `type` | OKF `type` from frontmatter. |
|
|
158
158
|
| `description` | OKF `description` from frontmatter, when present. |
|
|
@@ -188,7 +188,7 @@ Each group contains:
|
|
|
188
188
|
| `count` | Number of selected pages in this group. |
|
|
189
189
|
| `hasIndex` | Whether the active package navigation policy generates `indexPath`. |
|
|
190
190
|
| `has_index` | Alias for `hasIndex`. |
|
|
191
|
-
| `indexPath` | OKF-root-aware index path, for example `wikis/
|
|
191
|
+
| `indexPath` | OKF-root-aware index path, for example `wikis/codeindex/index.md`, `guides/architecture/index.md`, or `rules/index.md` for a root group. |
|
|
192
192
|
| `indexHrefFromTemplate` | Link from the template file currently being rendered to `indexPath`. Check `hasIndex` before rendering it. |
|
|
193
193
|
| `indexHrefFromCollectionIndex` | Link from the OKF root index to `indexPath`. |
|
|
194
194
|
| `items` | `knowledgeItems` in the group. |
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: procedure.approved-revision
|
|
3
|
+
kind: procedure
|
|
4
|
+
mediaType: text/markdown
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Revise an approved page
|
|
8
|
+
|
|
9
|
+
The current action contains the approved page and the user's instruction. Read
|
|
10
|
+
the entire page first. Revise only what the instruction and available sources
|
|
11
|
+
support; retain still-correct explanations and confirmed user contributions.
|
|
12
|
+
|
|
13
|
+
For an expression-only change, the approved text is enough. Do not capture,
|
|
14
|
+
parse, partition, or reconfigure its source. For changed facts, read the relevant
|
|
15
|
+
registered material with the available host tools. Missing evidence is a reason
|
|
16
|
+
to ask about the affected claim, not to reconstruct the whole knowledge base.
|
|
17
|
+
Record new factual contributions as managed sources before expanding source
|
|
18
|
+
ownership; an editing instruction alone is not a permanent factual source.
|
|
19
|
+
|
|
20
|
+
Return the full revised Markdown in the supplied output schema, preserving the
|
|
21
|
+
page's identity, source list, and source-bound section markup. Do not silently
|
|
22
|
+
turn paraphrased text into a verbatim quotation. Do not directly write knowledge
|
|
23
|
+
files. Context prepares a Candidate and routes it through the existing Review,
|
|
24
|
+
apply, close, and build steps. Managed mode delegates Review, not source truth.
|
|
25
|
+
|
|
26
|
+
If Context reports that the approved page changed, read that version and restart
|
|
27
|
+
the revision. Never overwrite a concurrent edit with the old page snapshot.
|
|
28
|
+
|
|
29
|
+
When `target.base_digest` is null, this is a new page in the confirmed update scope.
|
|
30
|
+
The supplied Markdown contains only its stable identity and initial metadata.
|
|
31
|
+
Read the specified source material and write the complete page with source-bound
|
|
32
|
+
sections, using the existing purpose and page forms. Do not treat the initial
|
|
33
|
+
heading as an already written page.
|
|
34
|
+
|
|
35
|
+
Use `target.source_refs` as the final page source list. It can include explicitly
|
|
36
|
+
selected supporting material absent from the old Markdown. Read that material
|
|
37
|
+
before using it, add only its relevant explanation, and cite it in the affected
|
|
38
|
+
sections. A session rationale is not proof of runtime behavior.
|
|
39
|
+
|
|
40
|
+
When `target.previous_path` is present, the user explicitly selected a page move.
|
|
41
|
+
Keep its stable Node/View identity. The supplied Markdown already rebases its
|
|
42
|
+
relative links for `target.path`; do not put them back at the old location.
|
|
43
|
+
Explain the move in the review summary. Approval moves the page and updates
|
|
44
|
+
incoming Markdown navigation together; do not create a second copy or manually
|
|
45
|
+
delete the old file. A changed destination or original page requires a fresh
|
|
46
|
+
revision, not an overwrite.
|
|
47
|
+
|
|
48
|
+
For selected `note` inputs, read [note guidance](note.md). For `sessions`,
|
|
49
|
+
read [sessions guidance](sessions.md). Read only the applicable source guide.
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
Read `writing_context` for the selected Provider, reader profile, current sections
|
|
53
|
+
and actual template resources. These apply to direct page corrections too.
|
|
54
|
+
Preserve the current page form; choose a different form only for an explicit
|
|
55
|
+
change of purpose. Do not replace API tables with generic explanatory prose.
|
|
56
|
+
The current sections are approved content, not freshly extracted API facts.
|
|
57
|
+
For source updates or an explicit regeneration request, `program_blocks` contains API tables computed from current
|
|
58
|
+
scoped Parser facts with the ordinary deterministic renderer. Select only the
|
|
59
|
+
relevant blocks and place their exact `token` inside the corresponding sourced
|
|
60
|
+
section. The CLI expands it at submission; do not retype its rows. Do not use an
|
|
61
|
+
unrelated declaration merely because it shares a module. If a needed block is
|
|
62
|
+
absent, report the missing material rather than present an old table as fresh.
|
|
63
|
+
|
|
64
|
+
Compare the relevant generated rows with the requested correction before
|
|
65
|
+
submitting. If the source is available but its type or expression cannot be
|
|
66
|
+
resolved, state that specific limit instead of requesting the same files again
|
|
67
|
+
or guessing a value. If a supplied block contradicts a confirmed fact, report the
|
|
68
|
+
field and source location; do not rewrite the token's table by hand. The final
|
|
69
|
+
Candidate still needs Review: a token or accepted submission does not establish
|
|
70
|
+
that the requested correction reached the page.
|
|
71
|
+
|
|
72
|
+
Context collects complete pages into a delivery batch. An Author completion can
|
|
73
|
+
therefore lead to another Author before Review. Follow that Route; do not close
|
|
74
|
+
or build after each page. Review, close and build operate on the assembled batch.
|
|
75
|
+
A new topic reaches this action only after its affected structure is approved.
|
|
76
|
+
|
|
77
|
+
After a Review rejection, the current Author action contains the rejected draft
|
|
78
|
+
and its original task. Apply the user's feedback, or ask what should change if
|
|
79
|
+
it is unclear; do not resubmit the same rejected proposal without addressing the
|
|
80
|
+
decision. Other approved pages remain approved. Revisiting an earlier batch page
|
|
81
|
+
also retains the interrupted Author in the same task queue, so follow the next
|
|
82
|
+
Route instead of restarting the update.
|
|
83
|
+
|
|
84
|
+
For note/sessions contributions, `writing_context.sources` supplies the exact
|
|
85
|
+
saved-source paths and optional known change associations. Read the relevant
|
|
86
|
+
summary before revising. A source change reference does not authorize an external
|
|
87
|
+
fetch or prove upstream adoption. Keep the existing knowledge header minimal;
|
|
88
|
+
page/section source relationships belong in structure.yaml.
|
|
89
|
+
|
|
90
|
+
When the Route selects merge recovery, approved content changed during revision.
|
|
91
|
+
Read its latest target and merge_context, retain the concurrent edits and any
|
|
92
|
+
still-applicable draft changes, and submit the merged Markdown with the returned
|
|
93
|
+
revision. Ask the user if the changes conflict in meaning; a deleted page is not
|
|
94
|
+
permission to recreate it. The CLI checks the new baseline again and sends the
|
|
95
|
+
result through ordinary Review. Unaffected batch pages and queued operations stay
|
|
96
|
+
in place. Do not retry an older revision or overwrite the approved file directly.
|
|
97
|
+
|
|
98
|
+
## Local section edits and optional preview
|
|
99
|
+
|
|
100
|
+
For a small change, submit `sections` instead of `markdown`. Select exact IDs from
|
|
101
|
+
`writing_context.current_sections`; each edit contains `section_id` and `content`,
|
|
102
|
+
an ordered array of `{ "markdown": "replacement text" }` or
|
|
103
|
+
`{ "program": "exact token from program_blocks" }`. The CLI retains untouched
|
|
104
|
+
sections, page identity and the edited section's source references. Do not include
|
|
105
|
+
section wrappers in replacement text. Use full Markdown for new pages, changed
|
|
106
|
+
structure or pages without unambiguous section IDs. Both forms use the current
|
|
107
|
+
Action schema and the same source and baseline validation.
|
|
108
|
+
|
|
109
|
+
For example, after substituting IDs/tokens from this Route:
|
|
110
|
+
|
|
111
|
+
```json
|
|
112
|
+
{"stage":"approved-revision","sections":[{"section_id":"usage","content":[{"markdown":"Revised explanation."},{"program":"<current program token>"}]}]}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Use `--input <file>` on the Route command. If useful, append `--preview` to that
|
|
116
|
+
same command: it returns the assembled Markdown and prior text without accepting
|
|
117
|
+
or advancing the revision. Submit without `--preview` after checking it. Preview
|
|
118
|
+
is optional; it does not replace Review or authorize a stale revision.
|
|
119
|
+
|
|
120
|
+
## Interpreting generated API output
|
|
121
|
+
|
|
122
|
+
Check fields, types, requiredness and supported defaults against the selected
|
|
123
|
+
source version. A table can completely express a simple declaration; omitting
|
|
124
|
+
that duplicate folded declaration is intentional. Complex relationships or
|
|
125
|
+
constraints not represented in rows remain in a named declaration. Program
|
|
126
|
+
`declaration_status`, when present, distinguishes `table-complete`,
|
|
127
|
+
`component-wrapper`, `retained` and `not-provided`; its `fact_ref` and `source_ref`
|
|
128
|
+
locate the input. Missing folds alone do not establish a parser failure.
|
|
129
|
+
|
|
130
|
+
If the user explicitly requires a different presentation, explain the difference
|
|
131
|
+
and resolve that choice before accepting it. Do not rerun unchanged Repair to
|
|
132
|
+
force a format the program deliberately omits. Check the actual resulting page;
|
|
133
|
+
accepted tasks or an empty Composer result alone do not demonstrate a correction.
|
|
134
|
+
|
|
135
|
+
## Changed supporting articles
|
|
136
|
+
|
|
137
|
+
`knowledge_input` separates approved interpretation from source-bound facts.
|
|
138
|
+
Recheck the relevant interpretation when an upstream article changes; ordinary
|
|
139
|
+
revision refreshes its version only after Review. Waiting input does not make
|
|
140
|
+
old statements current, and a wording-only edit must retain the review warning.
|
|
141
|
+
|
|
142
|
+
For a split, merge or removed upstream, use the existing `context task adjust
|
|
143
|
+
--input - --format json` with `instruction` and `knowledge_dependencies`:
|
|
144
|
+
|
|
145
|
+
```json
|
|
146
|
+
{"instruction":"Rebind the affected explanation to the approved replacement","knowledge_dependencies":{"dependencies":[{"artifact_ref":"<approved article identity>","section_refs":[],"required":true}]}}
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
Select identities from the authorized approved article catalog; do not guess
|
|
150
|
+
paths or promote prose into parser facts. Read the new current Route's
|
|
151
|
+
`knowledge_input`, then repeat the adjustment with the same dependencies plus
|
|
152
|
+
`sections`: each item has the retained `section_key`, selected `fact_refs` and
|
|
153
|
+
`evidence_refs`. These are a full support replacement for those sections, not an
|
|
154
|
+
append. Use only the supplied replacement facts or still-valid direct facts.
|
|
155
|
+
An empty dependency list explicitly removes the old relationship; the remaining
|
|
156
|
+
explanation still needs valid direct evidence. Revise the text to match the
|
|
157
|
+
selection before submitting. The CLI checks identity, scope and version; the
|
|
158
|
+
Agent and Review judge the explanation. Pending upstream approval remains a
|
|
159
|
+
concrete task to finish or adjust, not a reason to clear the warning manually.
|
|
@@ -6,6 +6,22 @@ mediaType: text/markdown
|
|
|
6
6
|
|
|
7
7
|
# Close and build
|
|
8
8
|
|
|
9
|
+
At completed-scope delivery, follow the version-recording Route. The coordinator
|
|
10
|
+
writes the semantic changelog from formal diffs and the conversation, including
|
|
11
|
+
the triggering source and an explicitly known user (Git name is the default).
|
|
12
|
+
Record after Close and package/template approval, before the final build, so the
|
|
13
|
+
selected outputs are built with the new version once. Build records hashes without
|
|
14
|
+
increasing versions. Never count temporary progress or a build retry as a change.
|
|
15
|
+
|
|
16
|
+
Before an authorized external publication, run `context version publish-check
|
|
17
|
+
--format json`. If `needs_version` is true, inspect with `context version inspect
|
|
18
|
+
--publish --format json`, record a patch changelog using a `dist` trigger, and
|
|
19
|
+
rebuild. Do not increment again if the workspace version already changed.
|
|
20
|
+
If `unchanged` is true, there is no new delivery. Only after a successful external
|
|
21
|
+
publication, use `context version published --hash <checked-hash> --receipt
|
|
22
|
+
<successful-publication-reference> --format json`. Failure does not advance that
|
|
23
|
+
baseline. These commands do not upload, publish or grant publishing authority.
|
|
24
|
+
|
|
9
25
|
Close deterministically reconciles approved Markdown and current relationship
|
|
10
26
|
inputs into `knowledge/structure.yaml`. It compacts repeated machine fields out
|
|
11
27
|
of each Markdown page and validates the hydrated result. When an approved page
|
|
@@ -23,7 +39,12 @@ Build runs only after close and verification are current. It writes declared
|
|
|
23
39
|
packages under `dist/` and records an inventory receipt with added, updated,
|
|
24
40
|
removed, and index changes.
|
|
25
41
|
|
|
26
|
-
|
|
42
|
+
Follow the returned continuation. Automatic execution runs mechanical close and
|
|
43
|
+
build steps and re-evaluates the Graph after each step. Recommended diagnostic
|
|
44
|
+
resources are optional; do not materialize or acknowledge them merely to run an
|
|
45
|
+
immediate repair command. While a command is running, wait for its result using
|
|
46
|
+
the existing process handle; inspect logs only to diagnose an actual failure or
|
|
47
|
+
suspected stall, not as a routine prerequisite for progress. A successful build
|
|
27
48
|
means the currently declared scope is current; newly captured or newly declared
|
|
28
49
|
targets can reopen earlier graph nodes.
|
|
29
50
|
|
|
@@ -34,3 +55,39 @@ review decision in this conversation, together with its reviewed scope. Omit
|
|
|
34
55
|
the section when no report was user-reviewed. Do not reconstruct it by scanning
|
|
35
56
|
`.tmp`, invent a shareable URL, or classify fully managed or force approval as
|
|
36
57
|
user review.
|
|
58
|
+
|
|
59
|
+
Report every selected output separately: KB root, website `dist/<base>-site/`,
|
|
60
|
+
and LLMS file when selected. Distinguish generated, failed and not selected; do not
|
|
61
|
+
claim the whole delivery complete if a selected channel is missing. For a website,
|
|
62
|
+
include a local preview command (or a URL only after verifying the server), reading
|
|
63
|
+
navigation coverage, and the directory a separate hosting tool would deploy.
|
|
64
|
+
Preview example: `python3 -m http.server 8000 --bind 127.0.0.1 --directory dist/<base>-site/`.
|
|
65
|
+
Provide this command without starting a server unless the user requests a running
|
|
66
|
+
preview. Use the build receipt for output paths and validation results; extra
|
|
67
|
+
HTTP probes, ad hoc manifest queries and another verify are diagnostic tools,
|
|
68
|
+
not mandatory version-recording or successful-build steps. Follow the returned
|
|
69
|
+
Route directly instead of polling status after every successful action.
|
|
70
|
+
Explain that users may request website output later; it reuses existing approved
|
|
71
|
+
articles rather than requiring a new workspace or full source indexing.
|
|
72
|
+
|
|
73
|
+
## Website deployment handoff after every successful build
|
|
74
|
+
|
|
75
|
+
After every successful website build, including intermediate delivery and an
|
|
76
|
+
unchanged output reused by build, tell the user the website can be deployed with
|
|
77
|
+
a deployment skill. Include the actual `dist/<base>-site/` directory and whether
|
|
78
|
+
it contains only the currently delivered scope. This notice does not wait for the
|
|
79
|
+
whole knowledge task to finish and does not block its next Route.
|
|
80
|
+
|
|
81
|
+
Reuse existing publishing configuration and the user's chosen target. Otherwise,
|
|
82
|
+
inspect the available deployment skills, recommend a compatible static-site skill,
|
|
83
|
+
or let the user specify one. Do not invent installed skills or a deployed URL.
|
|
84
|
+
If no compatible skill is available, report that and provide the site directory
|
|
85
|
+
for the user's deployment tool. Do not install a deployment dependency by default.
|
|
86
|
+
|
|
87
|
+
When publishing is already authorized for that target, follow the selected skill
|
|
88
|
+
with the built site directory; otherwise offer deployment and wait for the user's
|
|
89
|
+
publishing instruction. Preserve the configured base path; rebuild if the target
|
|
90
|
+
requires a different base. Pass only the website output, not sources, private
|
|
91
|
+
workspace state or the entire KB package. Report success only after checking the
|
|
92
|
+
hosting result and published URL. A failed deployment leaves the local build valid;
|
|
93
|
+
report the deployment failure and its next step separately.
|