@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,7 @@
|
|
|
1
|
+
# Article choices
|
|
2
|
+
|
|
3
|
+
Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
|
|
4
|
+
|
|
5
|
+
| Template | Reader article |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `decision-record-c06-page` | 补充说明与决策 |
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Article choices
|
|
2
|
+
|
|
3
|
+
Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
|
|
4
|
+
|
|
5
|
+
| Template | Reader article |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `documentation-site-c01-page` | 模块/知识入口 |
|
|
8
|
+
| `documentation-site-l05-page` | 组件库总览与接入 |
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Article choices
|
|
2
|
+
|
|
3
|
+
Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
|
|
4
|
+
|
|
5
|
+
| Template | Reader article |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `domain-reference-c01-page` | 模块/知识入口 |
|
|
8
|
+
| `domain-reference-c02-page` | 业务概览 |
|
|
9
|
+
| `domain-reference-c03-page` | 术语与标识 |
|
|
10
|
+
| `domain-reference-d01-page` | 领域架构与服务地图 |
|
|
11
|
+
| `domain-reference-d02-page` | 业务流程与跨层链路 |
|
|
12
|
+
| `domain-reference-d03-page` | 业务规则 |
|
|
13
|
+
| `domain-reference-q01-page` | 测试域概览 |
|
|
14
|
+
| `domain-reference-s04-page` | 领域模型 |
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Article choices
|
|
2
|
+
|
|
3
|
+
Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
|
|
4
|
+
|
|
5
|
+
| Template | Reader article |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `faq-support-c05-page` | 已知问题与排障 |
|
|
8
|
+
| `faq-support-q07-page` | 缺陷模式与复盘 |
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Article choices
|
|
2
|
+
|
|
3
|
+
Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
|
|
4
|
+
|
|
5
|
+
| Template | Reader article |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `incident-review-c05-page` | 已知问题与排障 |
|
|
8
|
+
| `incident-review-c06-page` | 补充说明与决策 |
|
|
9
|
+
| `incident-review-q07-page` | 缺陷模式与复盘 |
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Article choices
|
|
2
|
+
|
|
3
|
+
Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
|
|
4
|
+
|
|
5
|
+
| Template | Reader article |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `product-requirements-c02-page` | 业务概览 |
|
|
8
|
+
| `product-requirements-c03-page` | 术语与标识 |
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Article choices
|
|
2
|
+
|
|
3
|
+
Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
|
|
4
|
+
|
|
5
|
+
| Template | Reader article |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `public-api-reference-f05-page` | API 集成 |
|
|
8
|
+
| `public-api-reference-l02-page` | 公共组件与组件家族 |
|
|
9
|
+
| `public-api-reference-s02-page` | API 目录 |
|
|
10
|
+
| `public-api-reference-s03-page` | API/操作详情 |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Article choices
|
|
2
|
+
|
|
3
|
+
Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
|
|
4
|
+
|
|
5
|
+
| Template | Reader article |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `release-migration-guide-c06-page` | 补充说明与决策 |
|
|
8
|
+
| `release-migration-guide-f09-page` | 构建与部署 |
|
|
9
|
+
| `release-migration-guide-l01-page` | 公共能力与使用指南 |
|
|
10
|
+
| `release-migration-guide-l03-page` | 设计系统及基础规范 |
|
|
11
|
+
| `release-migration-guide-l05-page` | 组件库总览与接入 |
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Article choices
|
|
2
|
+
|
|
3
|
+
Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
|
|
4
|
+
|
|
5
|
+
| Template | Reader article |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `runbook-c05-page` | 已知问题与排障 |
|
|
8
|
+
| `runbook-d04-page` | 运维与排障入口 |
|
|
9
|
+
| `runbook-f09-page` | 构建与部署 |
|
|
10
|
+
| `runbook-q05-page` | 测试数据与环境 |
|
|
11
|
+
| `runbook-q06-page` | 工具与排障工具箱 |
|
|
12
|
+
| `runbook-s07-page` | 事件、任务与对账 |
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Article choices
|
|
2
|
+
|
|
3
|
+
Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
|
|
4
|
+
|
|
5
|
+
| Template | Reader article |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `standard-policy-d03-page` | 业务规则 |
|
|
8
|
+
| `standard-policy-d04-page` | 运维与排障入口 |
|
|
9
|
+
| `standard-policy-f08-page` | 样式与设计系统 |
|
|
10
|
+
| `standard-policy-l03-page` | 设计系统及基础规范 |
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Article choices
|
|
2
|
+
|
|
3
|
+
Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
|
|
4
|
+
|
|
5
|
+
| Template | Reader article |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `technical-guide-c01-page` | 模块/知识入口 |
|
|
8
|
+
| `technical-guide-c04-page` | 依赖与协作边界 |
|
|
9
|
+
| `technical-guide-c07-page` | 从知识继续查源码 |
|
|
10
|
+
| `technical-guide-d01-page` | 领域架构与服务地图 |
|
|
11
|
+
| `technical-guide-d02-page` | 业务流程与跨层链路 |
|
|
12
|
+
| `technical-guide-d04-page` | 运维与排障入口 |
|
|
13
|
+
| `technical-guide-f01-page` | 架构 |
|
|
14
|
+
| `technical-guide-f06-page` | 类型模型 |
|
|
15
|
+
| `technical-guide-f08-page` | 样式与设计系统 |
|
|
16
|
+
| `technical-guide-l03-page` | 设计系统及基础规范 |
|
|
17
|
+
| `technical-guide-l04-page` | 中间件、适配与运行模式 |
|
|
18
|
+
| `technical-guide-s01-page` | 服务概览 |
|
|
19
|
+
| `technical-guide-s05-page` | 数据模型 |
|
|
20
|
+
| `technical-guide-s06-page` | 外部依赖 |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Article choices
|
|
2
|
+
|
|
3
|
+
Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
|
|
4
|
+
|
|
5
|
+
| Template | Reader article |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `test-validation-q01-page` | 测试域概览 |
|
|
8
|
+
| `test-validation-q02-page` | 测试策略 |
|
|
9
|
+
| `test-validation-q03-page` | 用例目录 |
|
|
10
|
+
| `test-validation-q04-page` | 回归基线 |
|
|
11
|
+
| `test-validation-q05-page` | 测试数据与环境 |
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Article choices
|
|
2
|
+
|
|
3
|
+
Use the current authority to choose an allowed intent and an applicable template. These are alternatives or complementary articles within one topic; do not generate every row. Author receives the chosen blueprint through its current workset. Missing evidence calls for an entry or a named investigation step, not invented conclusions.
|
|
4
|
+
|
|
5
|
+
| Template | Reader article |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `user-and-developer-guide-c02-page` | 业务概览 |
|
|
8
|
+
| `user-and-developer-guide-f09-page` | 构建与部署 |
|
|
9
|
+
| `user-and-developer-guide-l01-page` | 公共能力与使用指南 |
|
|
10
|
+
| `user-and-developer-guide-l02-page` | 公共组件与组件家族 |
|
|
11
|
+
| `user-and-developer-guide-l03-page` | 设计系统及基础规范 |
|
|
12
|
+
| `user-and-developer-guide-l05-page` | 组件库总览与接入 |
|
|
13
|
+
| `user-and-developer-guide-q06-page` | 工具与排障工具箱 |
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# Source-grounded diagrams
|
|
2
|
+
|
|
3
|
+
Use a diagram only when it clarifies a reader task better than prose or a table.
|
|
4
|
+
This guidance applies to existing templates and selected article programs alike.
|
|
5
|
+
It does not require a diagram, create a new article type, or add a completion gate.
|
|
6
|
+
|
|
7
|
+
## Choose the representation
|
|
8
|
+
|
|
9
|
+
| Reader question | Representation | Place in the article |
|
|
10
|
+
| --- | --- | --- |
|
|
11
|
+
| Which layers or services depend on each other? | Mermaid `flowchart LR` | Architecture or dependencies, after the scope |
|
|
12
|
+
| What action happens next, including failures? | Mermaid `flowchart TD` | Behavior or business flow |
|
|
13
|
+
| Who communicates, and in what order? | Mermaid `sequenceDiagram` | Request, integration or event processing |
|
|
14
|
+
| What changes state, under which conditions? | Mermaid `stateDiagram-v2` | State behavior, alongside transition evidence |
|
|
15
|
+
| How are persisted entities related? | Mermaid `erDiagram` | Data model, beside the entity/relationship table |
|
|
16
|
+
| Where are files, articles or component parts? | Fenced `text` tree | Entry map or composition |
|
|
17
|
+
| What are exact fields, routes, keys or source locations? | Markdown table | Contract, catalog or source references |
|
|
18
|
+
| What does a component or visual foundation look like? | Authorized source image with caption and text | Usage or design foundation; diagrams do not prove visual appearance |
|
|
19
|
+
|
|
20
|
+
A domain concept relationship can use a labeled flowchart rather than pretending
|
|
21
|
+
it is a database ER model. Unrelated entities belong in a catalog table. Do not
|
|
22
|
+
infer transitions from enum order, cardinality from field names, runtime calls
|
|
23
|
+
from package dependencies, or sequencing from a list of imports.
|
|
24
|
+
|
|
25
|
+
## Writing and evidence
|
|
26
|
+
|
|
27
|
+
Start with one sentence stating what the diagram explains and its applicable
|
|
28
|
+
scope/version. Follow it with a short explanation and source coordinates or a
|
|
29
|
+
compact node/edge-to-source table. The reader must still have a useful next
|
|
30
|
+
inspection step when the consumer cannot render Mermaid. Keep Mermaid fenced
|
|
31
|
+
source in the article; do not replace the only editable representation with an image.
|
|
32
|
+
|
|
33
|
+
Every asserted relationship needs support in the authorized source. A registered
|
|
34
|
+
route does not prove runtime access; a client contract does not prove a call.
|
|
35
|
+
Stop at a named external boundary when its implementation is unavailable and say
|
|
36
|
+
what material is needed next. Keep proposals and historical accounts explicitly
|
|
37
|
+
labeled; notes and conversations do not automatically establish current behavior.
|
|
38
|
+
Do not copy a source diagram without checking its version and evidence scope.
|
|
39
|
+
|
|
40
|
+
One diagram answers one question. Split an unreadable graph by responsibility,
|
|
41
|
+
not an arbitrary node limit. Link related diagrams instead of repeating them in
|
|
42
|
+
an overview, API page and source-entry page. A short page can omit the diagram.
|
|
43
|
+
|
|
44
|
+
## Style
|
|
45
|
+
|
|
46
|
+
- Prefer simple Mermaid constructs: flowchart, sequenceDiagram, stateDiagram-v2
|
|
47
|
+
and erDiagram. Use `text` for trees, not large ASCII boxes for relationships.
|
|
48
|
+
- Prefer left-to-right for architecture and top-to-bottom for decisions. Use
|
|
49
|
+
subgraphs only for real ownership, process or deployment boundaries.
|
|
50
|
+
- Use short stable ASCII node IDs and quoted human-readable labels in the reader's
|
|
51
|
+
language. Preserve exact service, API and state identifiers where they matter.
|
|
52
|
+
- Label edges with the relation or action. Sequence arrows show communication;
|
|
53
|
+
state arrows show a named trigger/condition. Do not reuse an unexplained arrow
|
|
54
|
+
for imports, runtime calls and data ownership.
|
|
55
|
+
- Keep default theme and simple shapes. Avoid custom HTML, scripts, click actions,
|
|
56
|
+
remote icons, theme directives and color-only meanings. Do not hardcode a canvas
|
|
57
|
+
size; let the consumer theme and layout render it.
|
|
58
|
+
- Put long paths and citations outside node labels. Unknown relationships are
|
|
59
|
+
explained in text, not connected speculatively to make the picture complete.
|
|
60
|
+
- An optional syntax/render warning is not a writing gate. Correct malformed
|
|
61
|
+
syntax or retain the accurate textual explanation; do not invent evidence to
|
|
62
|
+
satisfy a diagram checker. Never claim rendering was tested unless it was.
|
|
63
|
+
|
|
64
|
+
## Small anonymous examples
|
|
65
|
+
|
|
66
|
+
The following fragments demonstrate notation only; they are not facts to copy.
|
|
67
|
+
Use only the fragment whose relationships are supported by the current source.
|
|
68
|
+
|
|
69
|
+
Architecture: the two arrows describe different, explicit relationships.
|
|
70
|
+
|
|
71
|
+
```mermaid
|
|
72
|
+
flowchart LR
|
|
73
|
+
page["Order page"] -->|requests| api["Order API"]
|
|
74
|
+
api -->|writes| store["Order repository"]
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Decision flow: a failed validation has a visible outcome.
|
|
78
|
+
|
|
79
|
+
```mermaid
|
|
80
|
+
flowchart TD
|
|
81
|
+
submit["Submit draft"] --> valid{"Input valid?"}
|
|
82
|
+
valid -->|yes| save["Save order"]
|
|
83
|
+
valid -->|no| feedback["Keep draft and show error"]
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Sequence: branches are supported outcomes, not asserted deployment success.
|
|
87
|
+
|
|
88
|
+
```mermaid
|
|
89
|
+
sequenceDiagram
|
|
90
|
+
participant UI as Order page
|
|
91
|
+
participant API as Order API
|
|
92
|
+
UI->>API: Submit draft
|
|
93
|
+
alt Invalid input
|
|
94
|
+
API-->>UI: Validation error
|
|
95
|
+
else Valid input
|
|
96
|
+
API-->>UI: Order identifier
|
|
97
|
+
end
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
State: include this only when the transition implementation or specification is known.
|
|
101
|
+
|
|
102
|
+
```mermaid
|
|
103
|
+
stateDiagram-v2
|
|
104
|
+
Draft --> Submitted: submit / validation succeeds
|
|
105
|
+
Submitted --> Cancelled: cancel / cancellation allowed
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
ER: the cardinality must come from a schema or supported relationship contract.
|
|
109
|
+
|
|
110
|
+
```mermaid
|
|
111
|
+
erDiagram
|
|
112
|
+
ORDER ||--|{ ORDER_LINE : contains
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Tree: directory membership does not imply runtime invocation.
|
|
116
|
+
|
|
117
|
+
```text
|
|
118
|
+
Order module
|
|
119
|
+
├── Entry and scope
|
|
120
|
+
├── Request contract
|
|
121
|
+
└── Source investigation
|
|
122
|
+
```
|
|
@@ -5,11 +5,12 @@ review lead with a recommended outcome; it is not authority to change facts,
|
|
|
5
5
|
cross Section boundaries, or discard evidence. Preserve exact links, code,
|
|
6
6
|
commands, identifiers, numbers, conditions, attachments, and source meaning.
|
|
7
7
|
|
|
8
|
-
The
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
The Agent owns scenario interpretation and content assessment. Context checks
|
|
9
|
+
structured inputs, source references, protected values and safe writes; it does
|
|
10
|
+
not infer content quality from words, punctuation, Markdown layout or table size.
|
|
11
|
+
The catalog below is review guidance, not a CLI scanner or readiness checklist.
|
|
12
|
+
Suspected unfilled placeholders may be mentioned during the existing Review;
|
|
13
|
+
they do not create another gate or require a rewrite to make a counter pass.
|
|
13
14
|
|
|
14
15
|
## Signal catalog
|
|
15
16
|
|
|
@@ -42,9 +43,9 @@ fit. File length, page count, deadline, or effort never changes the outcome.
|
|
|
42
43
|
|
|
43
44
|
## Outcomes
|
|
44
45
|
|
|
45
|
-
- `keep`: use when
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
- `keep`: use when the Section already serves its reader, including when a
|
|
47
|
+
suggested edit would damage source fidelity. The presence of a signal name
|
|
48
|
+
does not require an assessment or prevent keeping the Section.
|
|
48
49
|
- `repair`: make a local presentation correction without changing facts or
|
|
49
50
|
protected values.
|
|
50
51
|
- `reshape`: reorganize the same supported material without broadening,
|
|
@@ -61,22 +62,14 @@ routine review pause. Managed authority does not lower these rules and does not
|
|
|
61
62
|
turn genuinely missing input into `keep`; ask once for the remaining batched
|
|
62
63
|
input after completing the independent analysis.
|
|
63
64
|
|
|
64
|
-
##
|
|
65
|
+
## Content assessment
|
|
65
66
|
|
|
66
|
-
|
|
67
|
-
a
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
source fidelity loss the recommended edit would cause;
|
|
73
|
-
4. explicitly say `false-positive` for a kept `request-input` signal;
|
|
74
|
-
5. never cite time, cost, effort, workload, batch size, deadline, or progress.
|
|
75
|
-
|
|
76
|
-
A `high` signal cannot be justified by assessment and kept unchanged; it must
|
|
77
|
-
be resolved. A Section without a signal can be kept without an assessment.
|
|
78
|
-
Every repair or reshape is subject to the same post-revision signal scan and
|
|
79
|
-
protected-value validation; selecting an action is not proof of resolution.
|
|
67
|
+
A Section-specific assessment can explain an editorial choice when useful; it
|
|
68
|
+
is not a required signal-clearing receipt. Either confidence label is advisory.
|
|
69
|
+
There is no CLI post-revision prose rescan, required keyword, or automatic
|
|
70
|
+
failure for retaining a signal. Decide from source meaning and the reader task;
|
|
71
|
+
keep legitimate examples, placeholders being documented, and historical facts.
|
|
72
|
+
Protected-value and reference checks remain mechanical safeguards.
|
|
80
73
|
|
|
81
74
|
## Anonymous decision examples
|
|
82
75
|
|
|
@@ -97,10 +90,7 @@ protected-value validation; selecting an action is not proof of resolution.
|
|
|
97
90
|
- A current rule followed by an undecided proposal: choose `reshape`, retain
|
|
98
91
|
the rule, and isolate the proposal rather than omitting the whole Section.
|
|
99
92
|
- Struck-through text that is the only surviving historical record may be kept
|
|
100
|
-
|
|
101
|
-
the exact source fidelity loss; ordinary obsolete-only prose should be
|
|
102
|
-
omitted.
|
|
93
|
+
when it has continuing reader value; no signal-specific receipt is required.
|
|
103
94
|
|
|
104
|
-
Before returning a decision, confirm every Section has one outcome
|
|
105
|
-
|
|
106
|
-
revision changes authority, evidence, identity, or protected values.
|
|
95
|
+
Before returning a decision, confirm every Section has one outcome and no
|
|
96
|
+
revision accidentally changes authority, evidence, identity, or protected values.
|
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
Classify and author at the source-backed Section level using only the current Authorized Workset View. A document profile describes reader intent; it is not an output directory. Mixed documents may contain Sections with different reader goals, but every Section must retain one stable subject, owner, source authority, and projection intent.
|
|
4
4
|
|
|
5
|
+
Keep the requirement's `purpose` and open `reader_goals` visible in Partition,
|
|
6
|
+
Author and Review. Select a supported page intent and template for that reader's
|
|
7
|
+
task, save the outline and delivery boundary, and reuse those choices on retry.
|
|
8
|
+
A how-to guide, FAQ and design explanation retain their distinct purposes;
|
|
9
|
+
shared code evidence does not turn every document into a maintenance audit.
|
|
10
|
+
If the purpose is already clear, do not ask it again because a field is absent.
|
|
11
|
+
Managed execution does not authorize deciding a truly ambiguous purpose.
|
|
12
|
+
|
|
13
|
+
During representative reading, actively distinguish sections that answer the
|
|
14
|
+
reader's task from supporting context and material that may be unnecessary.
|
|
15
|
+
Check available document status, intended audience, version applicability and
|
|
16
|
+
substantive duplication. Age, titles, archived locations and document length are
|
|
17
|
+
clues, not exclusion rules; historical decisions and older procedures can still
|
|
18
|
+
be required. Preserve useful detail rather than replacing it with an inventory.
|
|
19
|
+
If a substantial region raises an unresolved scope choice, explain what including
|
|
20
|
+
or leaving it out means and ask before dependent writing, including in managed
|
|
21
|
+
mode. Unneeded material increases token use, processing and review work, and can
|
|
22
|
+
bury useful answers in repetitive or conflicting pages. Recommend boundaries
|
|
23
|
+
from the user's task, not from a target page count or promised speedup. Reuse
|
|
24
|
+
settled decisions, use the current Result's supported dispositions, and preserve
|
|
25
|
+
accepted knowledge. Do not treat unread material as irrelevant or silently omit it.
|
|
26
|
+
|
|
27
|
+
Context delivers an initial readable sample and subsequent page batches through
|
|
28
|
+
the current Review, close and build routes. Continue the remaining accepted plan
|
|
29
|
+
after each build; preserve already delivered pages and source-grounded prose.
|
|
30
|
+
|
|
5
31
|
Use `classification.md` as the semantic source for `document_kind`, `reader_goal`, and current `artifact_kind` selection. Use `structure-and-artifacts.md` for mixed-document routing, Section-versus-Artifact promotion, density, duplicate/conflict handling, and target candidate resolution. The CLI-supplied profile contract remains the only authority for collection and path projection.
|
|
6
32
|
|
|
7
33
|
Use `semantic-planning.md` for evidence authority, SubjectKey/target-resolution
|
|
@@ -10,7 +36,7 @@ stale/collision recovery behavior. It adapts the useful semantic gates from the
|
|
|
10
36
|
former align path to the current Result ABI; it does not authorize legacy align
|
|
11
37
|
commands or `context.structure.v1`.
|
|
12
38
|
|
|
13
|
-
Use `editorial-policy.md` for
|
|
39
|
+
Use `editorial-policy.md` for editorial review hints and anonymous decision examples. Content assessment belongs to the Agent and user; hints do not trigger a CLI prose rescan, rejection, or additional gate. Context owns source references, protected values, revision CAS/storage, and structural validation.
|
|
14
40
|
|
|
15
41
|
Preserve exact commands, identifiers, links, attachments, tables, and code blocks when they are evidence-bearing. Separate deterministic catalogs from explanation. Do not publish unsupported claims, conversion annotations, placeholders, or unresolved requests as knowledge.
|
|
16
42
|
|
|
@@ -22,7 +48,7 @@ source-backed. It is a display title for outline and final Candidate Review,
|
|
|
22
48
|
not a SubjectKey, ownership signal, or identity fallback. Later Sections in the
|
|
23
49
|
same Artifact must not add another level-one heading.
|
|
24
50
|
|
|
25
|
-
When current source material cannot answer a required canonical question, return the exact material-question disposition for the supplied target. A later run may consume newly captured Markdown as ordinary source and update the same knowledge candidate. Context owns layout, collection mapping, runtime material-gap state,
|
|
51
|
+
When current source material cannot answer a required canonical question, return the exact material-question disposition for the supplied target. A later run may consume newly captured Markdown as ordinary source and update the same knowledge candidate. Context owns layout, collection mapping, runtime material-gap state, each delivery's content Review, and close.
|
|
26
52
|
|
|
27
53
|
Return only the current `main-index` `IndexerResult`/`ArtifactResult` contract. Context derives the source dependencies needed for stale detection and recovery from that result. Do not emit a separate answer body, answer-only result, future Artifact/Section landing, or post-layout actualization.
|
|
28
54
|
|
|
@@ -50,3 +76,38 @@ coverage, preserve the source-backed content and improve its presentation
|
|
|
50
76
|
rather than deleting it.
|
|
51
77
|
|
|
52
78
|
Do not return output paths, collection names, arbitrary question text, new authority, or pass/fail claims.
|
|
79
|
+
|
|
80
|
+
## Notes and conversation summaries as supporting material
|
|
81
|
+
|
|
82
|
+
Use only the authorized excerpts or summaries and cite the material actually
|
|
83
|
+
read. Distinguish quotations, paraphrases, confirmed decisions and proposals;
|
|
84
|
+
write the explanation useful to the reader instead of copying the source.
|
|
85
|
+
Keep claims within what the captured documents establish. A summary may record that participants reported an implementation or a passing
|
|
86
|
+
test; attribute that report and retain its stated version and scope. Do not
|
|
87
|
+
present it as independently verified in this task. Claims of direct validation
|
|
88
|
+
need the actual relevant code, execution or test results in the authorized
|
|
89
|
+
material. Discussion or a plan alone does not establish completion.
|
|
90
|
+
|
|
91
|
+
Keep this Provider responsible for the existing page. If the host selects a
|
|
92
|
+
Note/Sessions or business Provider extension, apply its supplied instructions
|
|
93
|
+
to the same writing task. Do not load an unselected skill or create a second
|
|
94
|
+
page solely because supporting material has a different source type. An
|
|
95
|
+
independent reader task can use a dedicated Provider selected by the host.
|
|
96
|
+
|
|
97
|
+
If the source is inaccurate, return the correction to the host source-input
|
|
98
|
+
flow; do not edit it from the Indexer. If only the knowledge is misleading,
|
|
99
|
+
revise the page from its approved text through Author/Review. Keep source
|
|
100
|
+
associations in the source and page/section references in structure.yaml;
|
|
101
|
+
do not add provenance fields to the knowledge header.
|
|
102
|
+
|
|
103
|
+
## Diagrams
|
|
104
|
+
|
|
105
|
+
Use the materialized [diagram guidance](diagrams.md) when a diagram clarifies the reader task. This also applies to older templates, source diagrams and Composer summaries. Preserve source strength, version and external boundaries; diagram presence is not a completion requirement.
|
|
106
|
+
|
|
107
|
+
## Existing source images and tables
|
|
108
|
+
|
|
109
|
+
For authorized visual material, follow [source visual processing](visual-source-processing.md): preference, capability-aware conversion, accepted-result reuse and retention. Follow the workspace AGENTS.md for editable diagram style.
|
|
110
|
+
|
|
111
|
+
## Reading selected article material
|
|
112
|
+
|
|
113
|
+
Use the current task's combined writing brief: it includes selected article guidance, examples when supplied, and section/variable slots. Profile bindings can share one article Markdown source; do not open every binding or regenerate every listed article. Keep short collaboration notes and examples beside the relevant guidance instead of requesting separate files. Read extra source or full technical contracts only when this task needs them. The CLI applies executable contracts and evidence bindings; the Agent decides applicability, substance and useful diagrams. Reuse an already-read unchanged shared resource while it remains in context.
|
|
@@ -9,7 +9,11 @@ second review workflow. Context remains the authority for schemas, SubjectKey
|
|
|
9
9
|
normalization, identities, paths, collisions, stale state, layout changes,
|
|
10
10
|
Review, and publication.
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## Reader-subject grouping
|
|
13
|
+
|
|
14
|
+
The rules below are the grouping guidance for the current document View.
|
|
15
|
+
Context handles strategy selection, ordering, retry, and catalog fallback;
|
|
16
|
+
do not retrieve a separate strategy definition or submit strategy metadata.
|
|
13
17
|
|
|
14
18
|
For a partition workset, group captured document members by durable reader
|
|
15
19
|
subject rather than by file, heading, route, or temporary capture batch. Use
|
|
@@ -17,6 +21,17 @@ the complete authorized document text together with maintained title,
|
|
|
17
21
|
`source_path`, route, audience, and reader-task evidence. These fields are
|
|
18
22
|
evidence for the decision; none is sufficient by itself.
|
|
19
23
|
|
|
24
|
+
Choose readable, durable subject names during Partition. Context's main-page
|
|
25
|
+
path uses the subject namespace as the directory and local key as the basename;
|
|
26
|
+
the group's key and authored title do not rename it. When the default namespace
|
|
27
|
+
is a capture ID or opaque source token, use the existing explicit subject object
|
|
28
|
+
with a source-supported product/platform namespace and topic key, such as
|
|
29
|
+
`sample-web` / `faq`, under a permitted kind. Do not repeat the source token in
|
|
30
|
+
both path segments or use random/hash suffixes to resolve collisions. Keep an
|
|
31
|
+
existing subject and its approved path on updates; a title edit alone does not
|
|
32
|
+
create a new identity. Review the proposed subject and final reader path, not
|
|
33
|
+
only the page title. Context handles path normalization and layout confirmation.
|
|
34
|
+
|
|
20
35
|
One group may contain multiple documents when they jointly explain the same
|
|
21
36
|
reader subject. Split platform or runtime variants only when their supported
|
|
22
37
|
contract, behavior, lifecycle, or reader task is materially different. Keep
|
|
@@ -24,8 +39,8 @@ navigation-only indexes, generated duplicates, empty placeholders, and
|
|
|
24
39
|
superseded pages out of authored groups with an explicit inventory
|
|
25
40
|
disposition. Every current inventory member must still receive exactly one
|
|
26
41
|
partition disposition. If durable subject boundaries cannot be established,
|
|
27
|
-
|
|
28
|
-
|
|
42
|
+
return a failed Partition Result explaining the missing boundary evidence so
|
|
43
|
+
Context can choose the next attempt. Do not silently substitute one group per file.
|
|
29
44
|
|
|
30
45
|
## Evidence and authority
|
|
31
46
|
|
|
@@ -46,17 +61,16 @@ only because its path contains `ops/`.
|
|
|
46
61
|
|
|
47
62
|
## Subject boundary
|
|
48
63
|
|
|
49
|
-
|
|
64
|
+
For Author, the primary logical-unit SubjectKey is fixed by the workset. Do not replace it
|
|
50
65
|
with a title-derived key. When Context supplies target-resolution entries,
|
|
51
66
|
close every entry with exactly one current disposition:
|
|
52
67
|
|
|
53
68
|
- `reuse-existing` only for an exact evidence-supported subject match;
|
|
54
69
|
- `create-independent` only when evidence establishes a distinct durable
|
|
55
70
|
subject and separate reader value under a permitted SubjectKey schema;
|
|
56
|
-
- `
|
|
57
|
-
or
|
|
58
|
-
|
|
59
|
-
available.
|
|
71
|
+
- `unresolved` with a `reason_code` when the supplied material cannot establish
|
|
72
|
+
identity or the required capability is unavailable. `request-material` and
|
|
73
|
+
`unsupported` are whole-Result outcomes, not target-resolution dispositions.
|
|
60
74
|
|
|
61
75
|
Treat local material as a Section before proposing an independent subject or
|
|
62
76
|
Artifact. A heading, table row, FAQ label, warning, short example, relationship
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Source visuals: conversion and reuse
|
|
2
|
+
|
|
3
|
+
Use during Author for authorized source images, tables and diagrams; Review checks fidelity. This is shared internal guidance, not another Provider, capture phase or approval step. See [diagram writing](diagrams.md) for diagram types. Follow the workspace's user-editable AGENTS.md for style; default to minimal diagrams, approximately 1px lines and theme-default text/strokes without color decoration. Do not force Mermaid theme directives to emulate viewer styling.
|
|
4
|
+
|
|
5
|
+
## Preference and access
|
|
6
|
+
|
|
7
|
+
Read `package.json` → `context.convertVisuals` (missing means true) and current user instructions. A session/image-specific opt-out wins; do not silently persist it. False disables new semantic conversion, not source capture, native tables, existing Mermaid, or downloading evidence. Explicit new user requests can override a saved preference.
|
|
8
|
+
|
|
9
|
+
Current document material supplies `visual_resources`: registered `ref`, exact `content_hash`, `read_path`, original link, and accepted prior results. Read only authorized resources. No filename, alt text or link proves that an image was read. For code documentation or saved attachments without registered visual resources, preserve the original and use the existing source-material path if registration is necessary; never invent a visual ref or scan an unrelated checkout.
|
|
10
|
+
|
|
11
|
+
Prefer available structured whiteboard JSON or table CSV. If interpretation uses more than one resource (for example both JSON and preview), list the additional authorized visual refs in `also_read`; all actually used resource hashes participate in reuse. Merely available but unread previews do not. Use a supported image-reading tool when needed. No capability, unreadable input, mixed screenshot or ambiguous relationships means retain; do not install OCR or loop requesting the same unavailable capability. Keep screenshots, photos, visual designs and illustrations when the appearance is the information. Convert clear flow, sequence, state, entity/UML relationships to supported Mermaid; convert tables only when labels, values, units, merged-cell meaning and footnotes survive. Encode meaningful colors as labels/legend. Do not guess relationships or numbers.
|
|
12
|
+
|
|
13
|
+
## Submit inside the existing article
|
|
14
|
+
|
|
15
|
+
Keep normal source-backed `sections[].markdown` and `source_items`. For each image represented in that section add `sections[].visuals`:
|
|
16
|
+
|
|
17
|
+
```json
|
|
18
|
+
{
|
|
19
|
+
"resource": "<visual ref from current material>",
|
|
20
|
+
"context": ["<exact source caption or relevant explanation>"],
|
|
21
|
+
"requirements": "English; sequence diagram; preserve all branches",
|
|
22
|
+
"disposition": "converted",
|
|
23
|
+
"format": "mermaid",
|
|
24
|
+
"markdown": "```mermaid\nsequenceDiagram\n Client->>Service: Request\n```"
|
|
25
|
+
}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
`context` lists the actual source excerpts used to interpret this visual, not nearby unrelated paragraphs. Empty is valid only when no contextual explanation is needed. `requirements` records language/representation/explicit semantic requirements; exclude theme, stroke width, timestamps and ordinary tool versions. `format` is `mermaid`, `table` or `original`; retained decisions use `original` and may give a short `reason` such as `screenshot` or `tool-unavailable`. Keep the source document citation and source_items; the resource identity does not replace section evidence. This is semantic writing, never verbatim capture.
|
|
29
|
+
|
|
30
|
+
Visual output is appended to the chosen section. Do not duplicate it in prose or template variables. Converted prose must not also include the replaced image, its download link or a resource-selector comment. Retained output keeps the original reference. Never delete captured files or edit managed assets yourself. Shared references determine asset retention; package building continues to include only referenced knowledge assets.
|
|
31
|
+
|
|
32
|
+
## Incremental decisions
|
|
33
|
+
|
|
34
|
+
Compare the current resource hash, exact associated context and effective requirements with `previous`. Matching accepted output can be reused by submitting the same resource/context/requirements/disposition/format and omitting markdown. Read the current approved result; revisions are authoritative. Changed resource or meaningful caption → reconsider that visual only. Unrelated paragraphs, movement within a document, temporary URLs, tool versions and style changes do not require reinterpreting unchanged visuals. Identical bytes in another document/context are not automatically the same interpretation.
|
|
35
|
+
|
|
36
|
+
When several accepted copies disagree, choose the intended article's current result explicitly instead of guessing. Missing/invalid result → read authorized input or retain. A previous tool-unavailable retention may be retried when capability becomes available; no retries in a task without new capability. A user can request a new conversion or style revision explicitly. Style-only changes may replace the presentation using accepted content without rereading the image.
|
|
37
|
+
|
|
38
|
+
The reuse hash is source-based and excludes presentation. Article integrity, approval and build hashes still cover actual output bytes. This prevents stale packages and does not claim that a changed file has identical bytes. Compact source receipts travel with approved sections; never fabricate hashes, receipt comments or successful conversion claims.
|
|
39
|
+
|
|
40
|
+
## Review and fallback
|
|
41
|
+
|
|
42
|
+
Check critical nodes, direction, conditions, units and values against the source. Text/code fences being syntactically present does not prove semantic fidelity. An invalid optional conversion produces an advisory and retains the authorized original. Do not make writing/style differences a hard gate. Existing source-integrity, authorization and required-material checks remain in force. No browser-specific Mermaid renderer is required to finish other articles.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.c01
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: c01
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
scope: 定位与边界
|
|
11
|
+
capabilities: 核心能力
|
|
12
|
+
dependencies: 技术与依赖摘要
|
|
13
|
+
index: 知识索引
|
|
14
|
+
tasks: 任务导航
|
|
15
|
+
sources: 来源与适用版本
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# C01 模块/知识入口
|
|
19
|
+
|
|
20
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
21
|
+
|
|
22
|
+
适用:应用、服务、组件库、业务域或产品资料的主入口;具体对象的专业章节由对应模板补充。产出为普通知识文章,文件不必叫 SKILL.md。
|
|
23
|
+
|
|
24
|
+
建议章节:
|
|
25
|
+
|
|
26
|
+
1. **定位与边界**:解决什么任务、覆盖哪个产品/资料范围或仓库/模块、适用条件。
|
|
27
|
+
2. **核心能力**:按业务任务归组,链接到已存在的文章或具体代码入口。
|
|
28
|
+
3. **技术与依赖摘要**:仅在有技术材料且影响读者选择入口时出现;纯产品资料不强制此节。
|
|
29
|
+
4. **知识索引**:主题、何时阅读、目标文章/代码位置。
|
|
30
|
+
5. **任务导航**:开发、接口对接、排障、交付分别从哪里继续。
|
|
31
|
+
6. **来源与适用版本**:文档身份/定位与适用版本;代码材料记录仓库、模块路径和证据版本。
|
|
32
|
+
|
|
33
|
+
最低产出:对象身份、可信资料/起始文件/注册点和下一步阅读位置。浅索引模块可作为父级表格中的记录,不强制单页。禁止链接到尚未产出的模板占位文件。
|
|
34
|
+
|
|
35
|
+
## 图示选择
|
|
36
|
+
|
|
37
|
+
目录用 text 树;仅有已证实跨模块关系时在概览补 flowchart LR。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|