@libar-dev/architect 1.0.0-pre.3
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/CHANGELOG.md +50 -0
- package/LICENSE +25 -0
- package/LICENSE-MCP +62 -0
- package/README.md +147 -0
- package/dist/api/arch-queries.d.ts +95 -0
- package/dist/api/arch-queries.d.ts.map +1 -0
- package/dist/api/arch-queries.js +310 -0
- package/dist/api/arch-queries.js.map +1 -0
- package/dist/api/context-assembler.d.ts +124 -0
- package/dist/api/context-assembler.d.ts.map +1 -0
- package/dist/api/context-assembler.js +472 -0
- package/dist/api/context-assembler.js.map +1 -0
- package/dist/api/context-formatter.d.ts +26 -0
- package/dist/api/context-formatter.d.ts.map +1 -0
- package/dist/api/context-formatter.js +183 -0
- package/dist/api/context-formatter.js.map +1 -0
- package/dist/api/coverage-analyzer.d.ts +38 -0
- package/dist/api/coverage-analyzer.d.ts.map +1 -0
- package/dist/api/coverage-analyzer.js +117 -0
- package/dist/api/coverage-analyzer.js.map +1 -0
- package/dist/api/fuzzy-match.d.ts +75 -0
- package/dist/api/fuzzy-match.d.ts.map +1 -0
- package/dist/api/fuzzy-match.js +150 -0
- package/dist/api/fuzzy-match.js.map +1 -0
- package/dist/api/handoff-generator.d.ts +45 -0
- package/dist/api/handoff-generator.d.ts.map +1 -0
- package/dist/api/handoff-generator.js +139 -0
- package/dist/api/handoff-generator.js.map +1 -0
- package/dist/api/index.d.ts +61 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +54 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/pattern-helpers.d.ts +51 -0
- package/dist/api/pattern-helpers.d.ts.map +1 -0
- package/dist/api/pattern-helpers.js +84 -0
- package/dist/api/pattern-helpers.js.map +1 -0
- package/dist/api/process-state.d.ts +224 -0
- package/dist/api/process-state.d.ts.map +1 -0
- package/dist/api/process-state.js +308 -0
- package/dist/api/process-state.js.map +1 -0
- package/dist/api/rules-query.d.ts +60 -0
- package/dist/api/rules-query.d.ts.map +1 -0
- package/dist/api/rules-query.js +154 -0
- package/dist/api/rules-query.js.map +1 -0
- package/dist/api/scope-validator.d.ts +56 -0
- package/dist/api/scope-validator.d.ts.map +1 -0
- package/dist/api/scope-validator.js +293 -0
- package/dist/api/scope-validator.js.map +1 -0
- package/dist/api/stub-resolver.d.ts +117 -0
- package/dist/api/stub-resolver.d.ts.map +1 -0
- package/dist/api/stub-resolver.js +154 -0
- package/dist/api/stub-resolver.js.map +1 -0
- package/dist/api/summarize.d.ts +75 -0
- package/dist/api/summarize.d.ts.map +1 -0
- package/dist/api/summarize.js +97 -0
- package/dist/api/summarize.js.map +1 -0
- package/dist/api/types.d.ts +221 -0
- package/dist/api/types.d.ts.map +1 -0
- package/dist/api/types.js +57 -0
- package/dist/api/types.js.map +1 -0
- package/dist/cache/file-cache.d.ts +72 -0
- package/dist/cache/file-cache.d.ts.map +1 -0
- package/dist/cache/file-cache.js +80 -0
- package/dist/cache/file-cache.js.map +1 -0
- package/dist/cache/index.d.ts +5 -0
- package/dist/cache/index.d.ts.map +1 -0
- package/dist/cache/index.js +5 -0
- package/dist/cache/index.js.map +1 -0
- package/dist/cli/cli-schema.d.ts +83 -0
- package/dist/cli/cli-schema.d.ts.map +1 -0
- package/dist/cli/cli-schema.js +505 -0
- package/dist/cli/cli-schema.js.map +1 -0
- package/dist/cli/dataset-cache.d.ts +66 -0
- package/dist/cli/dataset-cache.d.ts.map +1 -0
- package/dist/cli/dataset-cache.js +179 -0
- package/dist/cli/dataset-cache.js.map +1 -0
- package/dist/cli/error-handler.d.ts +84 -0
- package/dist/cli/error-handler.d.ts.map +1 -0
- package/dist/cli/error-handler.js +197 -0
- package/dist/cli/error-handler.js.map +1 -0
- package/dist/cli/generate-docs.d.ts +30 -0
- package/dist/cli/generate-docs.d.ts.map +1 -0
- package/dist/cli/generate-docs.js +370 -0
- package/dist/cli/generate-docs.js.map +1 -0
- package/dist/cli/lint-patterns.d.ts +57 -0
- package/dist/cli/lint-patterns.d.ts.map +1 -0
- package/dist/cli/lint-patterns.js +257 -0
- package/dist/cli/lint-patterns.js.map +1 -0
- package/dist/cli/lint-process.d.ts +54 -0
- package/dist/cli/lint-process.d.ts.map +1 -0
- package/dist/cli/lint-process.js +319 -0
- package/dist/cli/lint-process.js.map +1 -0
- package/dist/cli/lint-steps.d.ts +32 -0
- package/dist/cli/lint-steps.d.ts.map +1 -0
- package/dist/cli/lint-steps.js +172 -0
- package/dist/cli/lint-steps.js.map +1 -0
- package/dist/cli/mcp-server.d.ts +22 -0
- package/dist/cli/mcp-server.d.ts.map +1 -0
- package/dist/cli/mcp-server.js +57 -0
- package/dist/cli/mcp-server.js.map +1 -0
- package/dist/cli/output-pipeline.d.ts +130 -0
- package/dist/cli/output-pipeline.d.ts.map +1 -0
- package/dist/cli/output-pipeline.js +234 -0
- package/dist/cli/output-pipeline.js.map +1 -0
- package/dist/cli/process-api.d.ts +37 -0
- package/dist/cli/process-api.d.ts.map +1 -0
- package/dist/cli/process-api.js +1550 -0
- package/dist/cli/process-api.js.map +1 -0
- package/dist/cli/repl.d.ts +38 -0
- package/dist/cli/repl.d.ts.map +1 -0
- package/dist/cli/repl.js +239 -0
- package/dist/cli/repl.js.map +1 -0
- package/dist/cli/validate-patterns.d.ts +115 -0
- package/dist/cli/validate-patterns.d.ts.map +1 -0
- package/dist/cli/validate-patterns.js +707 -0
- package/dist/cli/validate-patterns.js.map +1 -0
- package/dist/cli/version.d.ts +35 -0
- package/dist/cli/version.d.ts.map +1 -0
- package/dist/cli/version.js +64 -0
- package/dist/cli/version.js.map +1 -0
- package/dist/config/config-loader.d.ts +167 -0
- package/dist/config/config-loader.d.ts.map +1 -0
- package/dist/config/config-loader.js +294 -0
- package/dist/config/config-loader.js.map +1 -0
- package/dist/config/defaults.d.ts +92 -0
- package/dist/config/defaults.d.ts.map +1 -0
- package/dist/config/defaults.js +103 -0
- package/dist/config/defaults.js.map +1 -0
- package/dist/config/define-config.d.ts +37 -0
- package/dist/config/define-config.d.ts.map +1 -0
- package/dist/config/define-config.js +38 -0
- package/dist/config/define-config.js.map +1 -0
- package/dist/config/factory.d.ts +79 -0
- package/dist/config/factory.d.ts.map +1 -0
- package/dist/config/factory.js +116 -0
- package/dist/config/factory.js.map +1 -0
- package/dist/config/index.d.ts +45 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +48 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/merge-sources.d.ts +47 -0
- package/dist/config/merge-sources.d.ts.map +1 -0
- package/dist/config/merge-sources.js +61 -0
- package/dist/config/merge-sources.js.map +1 -0
- package/dist/config/presets.d.ts +115 -0
- package/dist/config/presets.d.ts.map +1 -0
- package/dist/config/presets.js +119 -0
- package/dist/config/presets.js.map +1 -0
- package/dist/config/project-config-schema.d.ts +192 -0
- package/dist/config/project-config-schema.d.ts.map +1 -0
- package/dist/config/project-config-schema.js +231 -0
- package/dist/config/project-config-schema.js.map +1 -0
- package/dist/config/project-config.d.ts +229 -0
- package/dist/config/project-config.d.ts.map +1 -0
- package/dist/config/project-config.js +37 -0
- package/dist/config/project-config.js.map +1 -0
- package/dist/config/regex-builders.d.ts +49 -0
- package/dist/config/regex-builders.d.ts.map +1 -0
- package/dist/config/regex-builders.js +85 -0
- package/dist/config/regex-builders.js.map +1 -0
- package/dist/config/resolve-config.d.ts +65 -0
- package/dist/config/resolve-config.d.ts.map +1 -0
- package/dist/config/resolve-config.js +150 -0
- package/dist/config/resolve-config.js.map +1 -0
- package/dist/config/types.d.ts +81 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/types.js +22 -0
- package/dist/config/types.js.map +1 -0
- package/dist/config/workflow-loader.d.ts +90 -0
- package/dist/config/workflow-loader.d.ts.map +1 -0
- package/dist/config/workflow-loader.js +167 -0
- package/dist/config/workflow-loader.js.map +1 -0
- package/dist/extractor/doc-extractor.d.ts +233 -0
- package/dist/extractor/doc-extractor.d.ts.map +1 -0
- package/dist/extractor/doc-extractor.js +481 -0
- package/dist/extractor/doc-extractor.js.map +1 -0
- package/dist/extractor/dual-source-extractor.d.ts +161 -0
- package/dist/extractor/dual-source-extractor.d.ts.map +1 -0
- package/dist/extractor/dual-source-extractor.js +407 -0
- package/dist/extractor/dual-source-extractor.js.map +1 -0
- package/dist/extractor/gherkin-extractor.d.ts +170 -0
- package/dist/extractor/gherkin-extractor.d.ts.map +1 -0
- package/dist/extractor/gherkin-extractor.js +543 -0
- package/dist/extractor/gherkin-extractor.js.map +1 -0
- package/dist/extractor/index.d.ts +7 -0
- package/dist/extractor/index.d.ts.map +1 -0
- package/dist/extractor/index.js +11 -0
- package/dist/extractor/index.js.map +1 -0
- package/dist/extractor/layer-inference.d.ts +66 -0
- package/dist/extractor/layer-inference.d.ts.map +1 -0
- package/dist/extractor/layer-inference.js +93 -0
- package/dist/extractor/layer-inference.js.map +1 -0
- package/dist/extractor/shape-extractor.d.ts +79 -0
- package/dist/extractor/shape-extractor.d.ts.map +1 -0
- package/dist/extractor/shape-extractor.js +966 -0
- package/dist/extractor/shape-extractor.js.map +1 -0
- package/dist/generators/built-in/cli-recipe-generator.d.ts +30 -0
- package/dist/generators/built-in/cli-recipe-generator.d.ts.map +1 -0
- package/dist/generators/built-in/cli-recipe-generator.js +155 -0
- package/dist/generators/built-in/cli-recipe-generator.js.map +1 -0
- package/dist/generators/built-in/codec-generators.d.ts +29 -0
- package/dist/generators/built-in/codec-generators.d.ts.map +1 -0
- package/dist/generators/built-in/codec-generators.js +195 -0
- package/dist/generators/built-in/codec-generators.js.map +1 -0
- package/dist/generators/built-in/decision-doc-generator.d.ts +204 -0
- package/dist/generators/built-in/decision-doc-generator.d.ts.map +1 -0
- package/dist/generators/built-in/decision-doc-generator.js +654 -0
- package/dist/generators/built-in/decision-doc-generator.js.map +1 -0
- package/dist/generators/built-in/design-review-generator.d.ts +26 -0
- package/dist/generators/built-in/design-review-generator.d.ts.map +1 -0
- package/dist/generators/built-in/design-review-generator.js +94 -0
- package/dist/generators/built-in/design-review-generator.js.map +1 -0
- package/dist/generators/built-in/index.d.ts +22 -0
- package/dist/generators/built-in/index.d.ts.map +1 -0
- package/dist/generators/built-in/index.js +23 -0
- package/dist/generators/built-in/index.js.map +1 -0
- package/dist/generators/built-in/process-api-reference-generator.d.ts +18 -0
- package/dist/generators/built-in/process-api-reference-generator.d.ts.map +1 -0
- package/dist/generators/built-in/process-api-reference-generator.js +85 -0
- package/dist/generators/built-in/process-api-reference-generator.js.map +1 -0
- package/dist/generators/built-in/reference-generators.d.ts +51 -0
- package/dist/generators/built-in/reference-generators.d.ts.map +1 -0
- package/dist/generators/built-in/reference-generators.js +320 -0
- package/dist/generators/built-in/reference-generators.js.map +1 -0
- package/dist/generators/codec-based.d.ts +63 -0
- package/dist/generators/codec-based.d.ts.map +1 -0
- package/dist/generators/codec-based.js +88 -0
- package/dist/generators/codec-based.js.map +1 -0
- package/dist/generators/content-deduplicator.d.ts +114 -0
- package/dist/generators/content-deduplicator.d.ts.map +1 -0
- package/dist/generators/content-deduplicator.js +356 -0
- package/dist/generators/content-deduplicator.js.map +1 -0
- package/dist/generators/index.d.ts +50 -0
- package/dist/generators/index.d.ts.map +1 -0
- package/dist/generators/index.js +54 -0
- package/dist/generators/index.js.map +1 -0
- package/dist/generators/orchestrator.d.ts +265 -0
- package/dist/generators/orchestrator.d.ts.map +1 -0
- package/dist/generators/orchestrator.js +570 -0
- package/dist/generators/orchestrator.js.map +1 -0
- package/dist/generators/pipeline/build-pipeline.d.ts +131 -0
- package/dist/generators/pipeline/build-pipeline.d.ts.map +1 -0
- package/dist/generators/pipeline/build-pipeline.js +248 -0
- package/dist/generators/pipeline/build-pipeline.js.map +1 -0
- package/dist/generators/pipeline/context-inference.d.ts +55 -0
- package/dist/generators/pipeline/context-inference.d.ts.map +1 -0
- package/dist/generators/pipeline/context-inference.js +76 -0
- package/dist/generators/pipeline/context-inference.js.map +1 -0
- package/dist/generators/pipeline/index.d.ts +27 -0
- package/dist/generators/pipeline/index.d.ts.map +1 -0
- package/dist/generators/pipeline/index.js +34 -0
- package/dist/generators/pipeline/index.js.map +1 -0
- package/dist/generators/pipeline/merge-patterns.d.ts +33 -0
- package/dist/generators/pipeline/merge-patterns.d.ts.map +1 -0
- package/dist/generators/pipeline/merge-patterns.js +50 -0
- package/dist/generators/pipeline/merge-patterns.js.map +1 -0
- package/dist/generators/pipeline/relationship-resolver.d.ts +47 -0
- package/dist/generators/pipeline/relationship-resolver.d.ts.map +1 -0
- package/dist/generators/pipeline/relationship-resolver.js +132 -0
- package/dist/generators/pipeline/relationship-resolver.js.map +1 -0
- package/dist/generators/pipeline/sequence-utils.d.ts +49 -0
- package/dist/generators/pipeline/sequence-utils.d.ts.map +1 -0
- package/dist/generators/pipeline/sequence-utils.js +235 -0
- package/dist/generators/pipeline/sequence-utils.js.map +1 -0
- package/dist/generators/pipeline/transform-dataset.d.ts +82 -0
- package/dist/generators/pipeline/transform-dataset.d.ts.map +1 -0
- package/dist/generators/pipeline/transform-dataset.js +355 -0
- package/dist/generators/pipeline/transform-dataset.js.map +1 -0
- package/dist/generators/pipeline/transform-types.d.ts +96 -0
- package/dist/generators/pipeline/transform-types.d.ts.map +1 -0
- package/dist/generators/pipeline/transform-types.js +18 -0
- package/dist/generators/pipeline/transform-types.js.map +1 -0
- package/dist/generators/registry.d.ts +64 -0
- package/dist/generators/registry.d.ts.map +1 -0
- package/dist/generators/registry.js +77 -0
- package/dist/generators/registry.js.map +1 -0
- package/dist/generators/source-mapper.d.ts +143 -0
- package/dist/generators/source-mapper.d.ts.map +1 -0
- package/dist/generators/source-mapper.js +602 -0
- package/dist/generators/source-mapper.js.map +1 -0
- package/dist/generators/source-mapping-validator.d.ts +118 -0
- package/dist/generators/source-mapping-validator.d.ts.map +1 -0
- package/dist/generators/source-mapping-validator.js +334 -0
- package/dist/generators/source-mapping-validator.js.map +1 -0
- package/dist/generators/types.d.ts +104 -0
- package/dist/generators/types.d.ts.map +1 -0
- package/dist/generators/types.js +5 -0
- package/dist/generators/types.js.map +1 -0
- package/dist/generators/warning-collector.d.ts +144 -0
- package/dist/generators/warning-collector.d.ts.map +1 -0
- package/dist/generators/warning-collector.js +166 -0
- package/dist/generators/warning-collector.js.map +1 -0
- package/dist/git/branch-diff.d.ts +44 -0
- package/dist/git/branch-diff.d.ts.map +1 -0
- package/dist/git/branch-diff.js +57 -0
- package/dist/git/branch-diff.js.map +1 -0
- package/dist/git/helpers.d.ts +46 -0
- package/dist/git/helpers.d.ts.map +1 -0
- package/dist/git/helpers.js +67 -0
- package/dist/git/helpers.js.map +1 -0
- package/dist/git/index.d.ts +18 -0
- package/dist/git/index.d.ts.map +1 -0
- package/dist/git/index.js +18 -0
- package/dist/git/index.js.map +1 -0
- package/dist/git/name-status.d.ts +32 -0
- package/dist/git/name-status.d.ts.map +1 -0
- package/dist/git/name-status.js +66 -0
- package/dist/git/name-status.js.map +1 -0
- package/dist/index.d.ts +107 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +122 -0
- package/dist/index.js.map +1 -0
- package/dist/lint/engine.d.ts +113 -0
- package/dist/lint/engine.d.ts.map +1 -0
- package/dist/lint/engine.js +228 -0
- package/dist/lint/engine.js.map +1 -0
- package/dist/lint/index.d.ts +26 -0
- package/dist/lint/index.d.ts.map +1 -0
- package/dist/lint/index.js +24 -0
- package/dist/lint/index.js.map +1 -0
- package/dist/lint/process-guard/decider.d.ts +166 -0
- package/dist/lint/process-guard/decider.d.ts.map +1 -0
- package/dist/lint/process-guard/decider.js +412 -0
- package/dist/lint/process-guard/decider.js.map +1 -0
- package/dist/lint/process-guard/derive-state.d.ts +96 -0
- package/dist/lint/process-guard/derive-state.d.ts.map +1 -0
- package/dist/lint/process-guard/derive-state.js +368 -0
- package/dist/lint/process-guard/derive-state.js.map +1 -0
- package/dist/lint/process-guard/detect-changes.d.ts +109 -0
- package/dist/lint/process-guard/detect-changes.d.ts.map +1 -0
- package/dist/lint/process-guard/detect-changes.js +487 -0
- package/dist/lint/process-guard/detect-changes.js.map +1 -0
- package/dist/lint/process-guard/index.d.ts +35 -0
- package/dist/lint/process-guard/index.d.ts.map +1 -0
- package/dist/lint/process-guard/index.js +39 -0
- package/dist/lint/process-guard/index.js.map +1 -0
- package/dist/lint/process-guard/types.d.ts +255 -0
- package/dist/lint/process-guard/types.d.ts.map +1 -0
- package/dist/lint/process-guard/types.js +31 -0
- package/dist/lint/process-guard/types.js.map +1 -0
- package/dist/lint/rules.d.ts +147 -0
- package/dist/lint/rules.d.ts.map +1 -0
- package/dist/lint/rules.js +289 -0
- package/dist/lint/rules.js.map +1 -0
- package/dist/lint/steps/cross-checks.d.ts +66 -0
- package/dist/lint/steps/cross-checks.d.ts.map +1 -0
- package/dist/lint/steps/cross-checks.js +290 -0
- package/dist/lint/steps/cross-checks.js.map +1 -0
- package/dist/lint/steps/feature-checks.d.ts +78 -0
- package/dist/lint/steps/feature-checks.d.ts.map +1 -0
- package/dist/lint/steps/feature-checks.js +279 -0
- package/dist/lint/steps/feature-checks.js.map +1 -0
- package/dist/lint/steps/index.d.ts +22 -0
- package/dist/lint/steps/index.d.ts.map +1 -0
- package/dist/lint/steps/index.js +26 -0
- package/dist/lint/steps/index.js.map +1 -0
- package/dist/lint/steps/pair-resolver.d.ts +29 -0
- package/dist/lint/steps/pair-resolver.d.ts.map +1 -0
- package/dist/lint/steps/pair-resolver.js +76 -0
- package/dist/lint/steps/pair-resolver.js.map +1 -0
- package/dist/lint/steps/runner.d.ts +28 -0
- package/dist/lint/steps/runner.d.ts.map +1 -0
- package/dist/lint/steps/runner.js +143 -0
- package/dist/lint/steps/runner.js.map +1 -0
- package/dist/lint/steps/step-checks.d.ts +41 -0
- package/dist/lint/steps/step-checks.d.ts.map +1 -0
- package/dist/lint/steps/step-checks.js +164 -0
- package/dist/lint/steps/step-checks.js.map +1 -0
- package/dist/lint/steps/types.d.ts +95 -0
- package/dist/lint/steps/types.d.ts.map +1 -0
- package/dist/lint/steps/types.js +79 -0
- package/dist/lint/steps/types.js.map +1 -0
- package/dist/lint/steps/utils.d.ts +22 -0
- package/dist/lint/steps/utils.d.ts.map +1 -0
- package/dist/lint/steps/utils.js +57 -0
- package/dist/lint/steps/utils.js.map +1 -0
- package/dist/mcp/file-watcher.d.ts +24 -0
- package/dist/mcp/file-watcher.d.ts.map +1 -0
- package/dist/mcp/file-watcher.js +75 -0
- package/dist/mcp/file-watcher.js.map +1 -0
- package/dist/mcp/index.d.ts +19 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +21 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/pipeline-session.d.ts +33 -0
- package/dist/mcp/pipeline-session.d.ts.map +1 -0
- package/dist/mcp/pipeline-session.js +149 -0
- package/dist/mcp/pipeline-session.js.map +1 -0
- package/dist/mcp/server.d.ts +28 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +197 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/tool-registry.d.ts +4 -0
- package/dist/mcp/tool-registry.d.ts.map +1 -0
- package/dist/mcp/tool-registry.js +525 -0
- package/dist/mcp/tool-registry.js.map +1 -0
- package/dist/renderable/codecs/adr.d.ts +4730 -0
- package/dist/renderable/codecs/adr.d.ts.map +1 -0
- package/dist/renderable/codecs/adr.js +590 -0
- package/dist/renderable/codecs/adr.js.map +1 -0
- package/dist/renderable/codecs/architecture.d.ts +4760 -0
- package/dist/renderable/codecs/architecture.d.ts.map +1 -0
- package/dist/renderable/codecs/architecture.js +524 -0
- package/dist/renderable/codecs/architecture.js.map +1 -0
- package/dist/renderable/codecs/business-rules.d.ts +4777 -0
- package/dist/renderable/codecs/business-rules.d.ts.map +1 -0
- package/dist/renderable/codecs/business-rules.js +648 -0
- package/dist/renderable/codecs/business-rules.js.map +1 -0
- package/dist/renderable/codecs/claude-module.d.ts +4710 -0
- package/dist/renderable/codecs/claude-module.d.ts.map +1 -0
- package/dist/renderable/codecs/claude-module.js +214 -0
- package/dist/renderable/codecs/claude-module.js.map +1 -0
- package/dist/renderable/codecs/composite.d.ts +84 -0
- package/dist/renderable/codecs/composite.d.ts.map +1 -0
- package/dist/renderable/codecs/composite.js +124 -0
- package/dist/renderable/codecs/composite.js.map +1 -0
- package/dist/renderable/codecs/convention-extractor.d.ts +105 -0
- package/dist/renderable/codecs/convention-extractor.d.ts.map +1 -0
- package/dist/renderable/codecs/convention-extractor.js +353 -0
- package/dist/renderable/codecs/convention-extractor.js.map +1 -0
- package/dist/renderable/codecs/decision-doc.d.ts +308 -0
- package/dist/renderable/codecs/decision-doc.d.ts.map +1 -0
- package/dist/renderable/codecs/decision-doc.js +485 -0
- package/dist/renderable/codecs/decision-doc.js.map +1 -0
- package/dist/renderable/codecs/design-review.d.ts +55 -0
- package/dist/renderable/codecs/design-review.d.ts.map +1 -0
- package/dist/renderable/codecs/design-review.js +532 -0
- package/dist/renderable/codecs/design-review.js.map +1 -0
- package/dist/renderable/codecs/diagram-utils.d.ts +62 -0
- package/dist/renderable/codecs/diagram-utils.d.ts.map +1 -0
- package/dist/renderable/codecs/diagram-utils.js +70 -0
- package/dist/renderable/codecs/diagram-utils.js.map +1 -0
- package/dist/renderable/codecs/helpers.d.ts +553 -0
- package/dist/renderable/codecs/helpers.d.ts.map +1 -0
- package/dist/renderable/codecs/helpers.js +913 -0
- package/dist/renderable/codecs/helpers.js.map +1 -0
- package/dist/renderable/codecs/index-codec.d.ts +4714 -0
- package/dist/renderable/codecs/index-codec.d.ts.map +1 -0
- package/dist/renderable/codecs/index-codec.js +250 -0
- package/dist/renderable/codecs/index-codec.js.map +1 -0
- package/dist/renderable/codecs/index.d.ts +46 -0
- package/dist/renderable/codecs/index.d.ts.map +1 -0
- package/dist/renderable/codecs/index.js +70 -0
- package/dist/renderable/codecs/index.js.map +1 -0
- package/dist/renderable/codecs/patterns.d.ts +4757 -0
- package/dist/renderable/codecs/patterns.d.ts.map +1 -0
- package/dist/renderable/codecs/patterns.js +462 -0
- package/dist/renderable/codecs/patterns.js.map +1 -0
- package/dist/renderable/codecs/planning.d.ts +14055 -0
- package/dist/renderable/codecs/planning.d.ts.map +1 -0
- package/dist/renderable/codecs/planning.js +449 -0
- package/dist/renderable/codecs/planning.js.map +1 -0
- package/dist/renderable/codecs/pr-changes.d.ts +4742 -0
- package/dist/renderable/codecs/pr-changes.d.ts.map +1 -0
- package/dist/renderable/codecs/pr-changes.js +425 -0
- package/dist/renderable/codecs/pr-changes.js.map +1 -0
- package/dist/renderable/codecs/reference.d.ts +215 -0
- package/dist/renderable/codecs/reference.d.ts.map +1 -0
- package/dist/renderable/codecs/reference.js +1578 -0
- package/dist/renderable/codecs/reference.js.map +1 -0
- package/dist/renderable/codecs/reporting.d.ts +14026 -0
- package/dist/renderable/codecs/reporting.d.ts.map +1 -0
- package/dist/renderable/codecs/reporting.js +365 -0
- package/dist/renderable/codecs/reporting.js.map +1 -0
- package/dist/renderable/codecs/requirements.d.ts +4743 -0
- package/dist/renderable/codecs/requirements.d.ts.map +1 -0
- package/dist/renderable/codecs/requirements.js +428 -0
- package/dist/renderable/codecs/requirements.js.map +1 -0
- package/dist/renderable/codecs/session.d.ts +9410 -0
- package/dist/renderable/codecs/session.d.ts.map +1 -0
- package/dist/renderable/codecs/session.js +848 -0
- package/dist/renderable/codecs/session.js.map +1 -0
- package/dist/renderable/codecs/shape-matcher.d.ts +54 -0
- package/dist/renderable/codecs/shape-matcher.d.ts.map +1 -0
- package/dist/renderable/codecs/shape-matcher.js +106 -0
- package/dist/renderable/codecs/shape-matcher.js.map +1 -0
- package/dist/renderable/codecs/shared-schema.d.ts +44 -0
- package/dist/renderable/codecs/shared-schema.d.ts.map +1 -0
- package/dist/renderable/codecs/shared-schema.js +43 -0
- package/dist/renderable/codecs/shared-schema.js.map +1 -0
- package/dist/renderable/codecs/taxonomy.d.ts +4733 -0
- package/dist/renderable/codecs/taxonomy.d.ts.map +1 -0
- package/dist/renderable/codecs/taxonomy.js +570 -0
- package/dist/renderable/codecs/taxonomy.js.map +1 -0
- package/dist/renderable/codecs/timeline.d.ts +14094 -0
- package/dist/renderable/codecs/timeline.d.ts.map +1 -0
- package/dist/renderable/codecs/timeline.js +906 -0
- package/dist/renderable/codecs/timeline.js.map +1 -0
- package/dist/renderable/codecs/types/base.d.ts +81 -0
- package/dist/renderable/codecs/types/base.d.ts.map +1 -0
- package/dist/renderable/codecs/types/base.js +56 -0
- package/dist/renderable/codecs/types/base.js.map +1 -0
- package/dist/renderable/codecs/types/index.d.ts +5 -0
- package/dist/renderable/codecs/types/index.d.ts.map +1 -0
- package/dist/renderable/codecs/types/index.js +5 -0
- package/dist/renderable/codecs/types/index.js.map +1 -0
- package/dist/renderable/codecs/validation-rules.d.ts +4773 -0
- package/dist/renderable/codecs/validation-rules.d.ts.map +1 -0
- package/dist/renderable/codecs/validation-rules.js +537 -0
- package/dist/renderable/codecs/validation-rules.js.map +1 -0
- package/dist/renderable/generate.d.ts +338 -0
- package/dist/renderable/generate.d.ts.map +1 -0
- package/dist/renderable/generate.js +437 -0
- package/dist/renderable/generate.js.map +1 -0
- package/dist/renderable/index.d.ts +36 -0
- package/dist/renderable/index.d.ts.map +1 -0
- package/dist/renderable/index.js +58 -0
- package/dist/renderable/index.js.map +1 -0
- package/dist/renderable/load-preamble.d.ts +56 -0
- package/dist/renderable/load-preamble.d.ts.map +1 -0
- package/dist/renderable/load-preamble.js +298 -0
- package/dist/renderable/load-preamble.js.map +1 -0
- package/dist/renderable/render.d.ts +61 -0
- package/dist/renderable/render.d.ts.map +1 -0
- package/dist/renderable/render.js +346 -0
- package/dist/renderable/render.js.map +1 -0
- package/dist/renderable/schema.d.ts +194 -0
- package/dist/renderable/schema.d.ts.map +1 -0
- package/dist/renderable/schema.js +197 -0
- package/dist/renderable/schema.js.map +1 -0
- package/dist/renderable/utils.d.ts +146 -0
- package/dist/renderable/utils.d.ts.map +1 -0
- package/dist/renderable/utils.js +362 -0
- package/dist/renderable/utils.js.map +1 -0
- package/dist/scanner/ast-parser.d.ts +75 -0
- package/dist/scanner/ast-parser.d.ts.map +1 -0
- package/dist/scanner/ast-parser.js +835 -0
- package/dist/scanner/ast-parser.js.map +1 -0
- package/dist/scanner/gherkin-ast-parser.d.ts +166 -0
- package/dist/scanner/gherkin-ast-parser.d.ts.map +1 -0
- package/dist/scanner/gherkin-ast-parser.js +507 -0
- package/dist/scanner/gherkin-ast-parser.js.map +1 -0
- package/dist/scanner/gherkin-scanner.d.ts +106 -0
- package/dist/scanner/gherkin-scanner.d.ts.map +1 -0
- package/dist/scanner/gherkin-scanner.js +149 -0
- package/dist/scanner/gherkin-scanner.js.map +1 -0
- package/dist/scanner/index.d.ts +85 -0
- package/dist/scanner/index.d.ts.map +1 -0
- package/dist/scanner/index.js +102 -0
- package/dist/scanner/index.js.map +1 -0
- package/dist/scanner/pattern-scanner.d.ts +83 -0
- package/dist/scanner/pattern-scanner.d.ts.map +1 -0
- package/dist/scanner/pattern-scanner.js +110 -0
- package/dist/scanner/pattern-scanner.js.map +1 -0
- package/dist/taxonomy/categories.d.ts +47 -0
- package/dist/taxonomy/categories.d.ts.map +1 -0
- package/dist/taxonomy/categories.js +175 -0
- package/dist/taxonomy/categories.js.map +1 -0
- package/dist/taxonomy/claude-section-values.d.ts +12 -0
- package/dist/taxonomy/claude-section-values.d.ts.map +1 -0
- package/dist/taxonomy/claude-section-values.js +17 -0
- package/dist/taxonomy/claude-section-values.js.map +1 -0
- package/dist/taxonomy/conventions.d.ts +13 -0
- package/dist/taxonomy/conventions.d.ts.map +1 -0
- package/dist/taxonomy/conventions.js +27 -0
- package/dist/taxonomy/conventions.js.map +1 -0
- package/dist/taxonomy/deliverable-status.d.ts +99 -0
- package/dist/taxonomy/deliverable-status.d.ts.map +1 -0
- package/dist/taxonomy/deliverable-status.js +131 -0
- package/dist/taxonomy/deliverable-status.js.map +1 -0
- package/dist/taxonomy/format-types.d.ts +17 -0
- package/dist/taxonomy/format-types.d.ts.map +1 -0
- package/dist/taxonomy/format-types.js +23 -0
- package/dist/taxonomy/format-types.js.map +1 -0
- package/dist/taxonomy/generator-options.d.ts +67 -0
- package/dist/taxonomy/generator-options.d.ts.map +1 -0
- package/dist/taxonomy/generator-options.js +75 -0
- package/dist/taxonomy/generator-options.js.map +1 -0
- package/dist/taxonomy/hierarchy-levels.d.ts +23 -0
- package/dist/taxonomy/hierarchy-levels.d.ts.map +1 -0
- package/dist/taxonomy/hierarchy-levels.js +22 -0
- package/dist/taxonomy/hierarchy-levels.js.map +1 -0
- package/dist/taxonomy/index.d.ts +35 -0
- package/dist/taxonomy/index.d.ts.map +1 -0
- package/dist/taxonomy/index.js +56 -0
- package/dist/taxonomy/index.js.map +1 -0
- package/dist/taxonomy/layer-types.d.ts +22 -0
- package/dist/taxonomy/layer-types.d.ts.map +1 -0
- package/dist/taxonomy/layer-types.js +28 -0
- package/dist/taxonomy/layer-types.js.map +1 -0
- package/dist/taxonomy/normalized-status.d.ts +99 -0
- package/dist/taxonomy/normalized-status.d.ts.map +1 -0
- package/dist/taxonomy/normalized-status.js +113 -0
- package/dist/taxonomy/normalized-status.js.map +1 -0
- package/dist/taxonomy/registry-builder.d.ts +104 -0
- package/dist/taxonomy/registry-builder.d.ts.map +1 -0
- package/dist/taxonomy/registry-builder.js +561 -0
- package/dist/taxonomy/registry-builder.js.map +1 -0
- package/dist/taxonomy/risk-levels.d.ts +16 -0
- package/dist/taxonomy/risk-levels.d.ts.map +1 -0
- package/dist/taxonomy/risk-levels.js +15 -0
- package/dist/taxonomy/risk-levels.js.map +1 -0
- package/dist/taxonomy/severity-types.d.ts +6 -0
- package/dist/taxonomy/severity-types.d.ts.map +1 -0
- package/dist/taxonomy/severity-types.js +5 -0
- package/dist/taxonomy/severity-types.js.map +1 -0
- package/dist/taxonomy/status-values.d.ts +39 -0
- package/dist/taxonomy/status-values.d.ts.map +1 -0
- package/dist/taxonomy/status-values.js +42 -0
- package/dist/taxonomy/status-values.js.map +1 -0
- package/dist/types/branded.d.ts +89 -0
- package/dist/types/branded.d.ts.map +1 -0
- package/dist/types/branded.js +57 -0
- package/dist/types/branded.js.map +1 -0
- package/dist/types/errors.d.ts +342 -0
- package/dist/types/errors.d.ts.map +1 -0
- package/dist/types/errors.js +251 -0
- package/dist/types/errors.js.map +1 -0
- package/dist/types/index.d.ts +41 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +5 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/result.d.ts +78 -0
- package/dist/types/result.d.ts.map +1 -0
- package/dist/types/result.js +78 -0
- package/dist/types/result.js.map +1 -0
- package/dist/utils/collection-utils.d.ts +49 -0
- package/dist/utils/collection-utils.d.ts.map +1 -0
- package/dist/utils/collection-utils.js +58 -0
- package/dist/utils/collection-utils.js.map +1 -0
- package/dist/utils/id-utils.d.ts +46 -0
- package/dist/utils/id-utils.d.ts.map +1 -0
- package/dist/utils/id-utils.js +51 -0
- package/dist/utils/id-utils.js.map +1 -0
- package/dist/utils/index.d.ts +21 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +21 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/string-utils.d.ts +150 -0
- package/dist/utils/string-utils.d.ts.map +1 -0
- package/dist/utils/string-utils.js +281 -0
- package/dist/utils/string-utils.js.map +1 -0
- package/dist/validation/anti-patterns.d.ts +134 -0
- package/dist/validation/anti-patterns.d.ts.map +1 -0
- package/dist/validation/anti-patterns.js +307 -0
- package/dist/validation/anti-patterns.js.map +1 -0
- package/dist/validation/dod-validator.d.ts +94 -0
- package/dist/validation/dod-validator.d.ts.map +1 -0
- package/dist/validation/dod-validator.js +198 -0
- package/dist/validation/dod-validator.js.map +1 -0
- package/dist/validation/fsm/index.d.ts +59 -0
- package/dist/validation/fsm/index.d.ts.map +1 -0
- package/dist/validation/fsm/index.js +64 -0
- package/dist/validation/fsm/index.js.map +1 -0
- package/dist/validation/fsm/states.d.ts +93 -0
- package/dist/validation/fsm/states.d.ts.map +1 -0
- package/dist/validation/fsm/states.js +98 -0
- package/dist/validation/fsm/states.js.map +1 -0
- package/dist/validation/fsm/transitions.d.ts +100 -0
- package/dist/validation/fsm/transitions.d.ts.map +1 -0
- package/dist/validation/fsm/transitions.js +122 -0
- package/dist/validation/fsm/transitions.js.map +1 -0
- package/dist/validation/fsm/validator.d.ts +163 -0
- package/dist/validation/fsm/validator.d.ts.map +1 -0
- package/dist/validation/fsm/validator.js +205 -0
- package/dist/validation/fsm/validator.js.map +1 -0
- package/dist/validation/index.d.ts +23 -0
- package/dist/validation/index.d.ts.map +1 -0
- package/dist/validation/index.js +25 -0
- package/dist/validation/index.js.map +1 -0
- package/dist/validation/types.d.ts +136 -0
- package/dist/validation/types.d.ts.map +1 -0
- package/dist/validation/types.js +56 -0
- package/dist/validation/types.js.map +1 -0
- package/dist/validation-schemas/codec-utils.d.ts +188 -0
- package/dist/validation-schemas/codec-utils.d.ts.map +1 -0
- package/dist/validation-schemas/codec-utils.js +258 -0
- package/dist/validation-schemas/codec-utils.js.map +1 -0
- package/dist/validation-schemas/config.d.ts +99 -0
- package/dist/validation-schemas/config.d.ts.map +1 -0
- package/dist/validation-schemas/config.js +178 -0
- package/dist/validation-schemas/config.js.map +1 -0
- package/dist/validation-schemas/doc-directive.d.ts +195 -0
- package/dist/validation-schemas/doc-directive.d.ts.map +1 -0
- package/dist/validation-schemas/doc-directive.js +239 -0
- package/dist/validation-schemas/doc-directive.js.map +1 -0
- package/dist/validation-schemas/dual-source.d.ts +167 -0
- package/dist/validation-schemas/dual-source.d.ts.map +1 -0
- package/dist/validation-schemas/dual-source.js +168 -0
- package/dist/validation-schemas/dual-source.js.map +1 -0
- package/dist/validation-schemas/export-info.d.ts +53 -0
- package/dist/validation-schemas/export-info.d.ts.map +1 -0
- package/dist/validation-schemas/export-info.js +101 -0
- package/dist/validation-schemas/export-info.js.map +1 -0
- package/dist/validation-schemas/extracted-pattern.d.ts +351 -0
- package/dist/validation-schemas/extracted-pattern.d.ts.map +1 -0
- package/dist/validation-schemas/extracted-pattern.js +459 -0
- package/dist/validation-schemas/extracted-pattern.js.map +1 -0
- package/dist/validation-schemas/extracted-shape.d.ts +200 -0
- package/dist/validation-schemas/extracted-shape.d.ts.map +1 -0
- package/dist/validation-schemas/extracted-shape.js +182 -0
- package/dist/validation-schemas/extracted-shape.js.map +1 -0
- package/dist/validation-schemas/feature.d.ts +554 -0
- package/dist/validation-schemas/feature.d.ts.map +1 -0
- package/dist/validation-schemas/feature.js +262 -0
- package/dist/validation-schemas/feature.js.map +1 -0
- package/dist/validation-schemas/index.d.ts +15 -0
- package/dist/validation-schemas/index.d.ts.map +1 -0
- package/dist/validation-schemas/index.js +32 -0
- package/dist/validation-schemas/index.js.map +1 -0
- package/dist/validation-schemas/lint.d.ts +46 -0
- package/dist/validation-schemas/lint.d.ts.map +1 -0
- package/dist/validation-schemas/lint.js +45 -0
- package/dist/validation-schemas/lint.js.map +1 -0
- package/dist/validation-schemas/master-dataset.d.ts +8299 -0
- package/dist/validation-schemas/master-dataset.d.ts.map +1 -0
- package/dist/validation-schemas/master-dataset.js +275 -0
- package/dist/validation-schemas/master-dataset.js.map +1 -0
- package/dist/validation-schemas/output-schemas.d.ts +183 -0
- package/dist/validation-schemas/output-schemas.d.ts.map +1 -0
- package/dist/validation-schemas/output-schemas.js +149 -0
- package/dist/validation-schemas/output-schemas.js.map +1 -0
- package/dist/validation-schemas/scenario-ref.d.ts +80 -0
- package/dist/validation-schemas/scenario-ref.d.ts.map +1 -0
- package/dist/validation-schemas/scenario-ref.js +73 -0
- package/dist/validation-schemas/scenario-ref.js.map +1 -0
- package/dist/validation-schemas/tag-registry.d.ts +210 -0
- package/dist/validation-schemas/tag-registry.d.ts.map +1 -0
- package/dist/validation-schemas/tag-registry.js +248 -0
- package/dist/validation-schemas/tag-registry.js.map +1 -0
- package/dist/validation-schemas/workflow-config.d.ts +125 -0
- package/dist/validation-schemas/workflow-config.d.ts.map +1 -0
- package/dist/validation-schemas/workflow-config.js +138 -0
- package/dist/validation-schemas/workflow-config.js.map +1 -0
- package/docs/ANNOTATION-GUIDE.md +271 -0
- package/docs/ARCHITECTURE.md +1636 -0
- package/docs/CONFIGURATION.md +337 -0
- package/docs/DOCS-GAP-ANALYSIS.md +811 -0
- package/docs/GHERKIN-PATTERNS.md +366 -0
- package/docs/INDEX.md +345 -0
- package/docs/MCP-SETUP.md +140 -0
- package/docs/METHODOLOGY.md +240 -0
- package/docs/PROCESS-API.md +65 -0
- package/docs/PROCESS-GUARD.md +341 -0
- package/docs/SESSION-GUIDES.md +391 -0
- package/docs/TAXONOMY.md +106 -0
- package/docs/VALIDATION.md +418 -0
- package/docs-live/ARCHITECTURE.md +362 -0
- package/docs-live/BUSINESS-RULES.md +24 -0
- package/docs-live/CHANGELOG-GENERATED.md +375 -0
- package/docs-live/DECISIONS.md +78 -0
- package/docs-live/INDEX.md +231 -0
- package/docs-live/PRODUCT-AREAS.md +255 -0
- package/docs-live/TAXONOMY.md +202 -0
- package/docs-live/VALIDATION-RULES.md +119 -0
- package/docs-live/_claude-md/annotation/annotation-overview.md +26 -0
- package/docs-live/_claude-md/annotation/annotation-reference.md +213 -0
- package/docs-live/_claude-md/architecture/architecture-codecs.md +160 -0
- package/docs-live/_claude-md/architecture/architecture-types.md +32 -0
- package/docs-live/_claude-md/architecture/reference-sample.md +162 -0
- package/docs-live/_claude-md/authoring/gherkin-authoring-guide.md +245 -0
- package/docs-live/_claude-md/configuration/configuration-guide.md +216 -0
- package/docs-live/_claude-md/configuration/configuration-overview.md +37 -0
- package/docs-live/_claude-md/core-types/core-types-overview.md +20 -0
- package/docs-live/_claude-md/data-api/data-api-overview.md +39 -0
- package/docs-live/_claude-md/generation/generation-overview.md +30 -0
- package/docs-live/_claude-md/process/process-overview.md +127 -0
- package/docs-live/_claude-md/validation/process-guard.md +185 -0
- package/docs-live/_claude-md/validation/validation-overview.md +37 -0
- package/docs-live/_claude-md/validation/validation-tools-guide.md +242 -0
- package/docs-live/_claude-md/workflow/session-workflow-guide.md +141 -0
- package/docs-live/business-rules/annotation.md +1462 -0
- package/docs-live/business-rules/configuration.md +465 -0
- package/docs-live/business-rules/core-types.md +531 -0
- package/docs-live/business-rules/data-api.md +1403 -0
- package/docs-live/business-rules/generation.md +4726 -0
- package/docs-live/business-rules/process.md +122 -0
- package/docs-live/business-rules/validation.md +998 -0
- package/docs-live/decisions/adr-001-taxonomy-canonical-values.md +197 -0
- package/docs-live/decisions/adr-002-gherkin-only-testing.md +57 -0
- package/docs-live/decisions/adr-003-source-first-pattern-architecture.md +147 -0
- package/docs-live/decisions/adr-004-session-workflow-commands.md +137 -0
- package/docs-live/decisions/adr-005-codec-based-markdown-rendering.md +150 -0
- package/docs-live/decisions/adr-006-single-read-model-architecture.md +136 -0
- package/docs-live/decisions/adr-021-doc-generation-proof-of-concept.md +489 -0
- package/docs-live/product-areas/ANNOTATION.md +591 -0
- package/docs-live/product-areas/CONFIGURATION.md +1048 -0
- package/docs-live/product-areas/CORE-TYPES.md +221 -0
- package/docs-live/product-areas/DATA-API.md +850 -0
- package/docs-live/product-areas/GENERATION.md +1200 -0
- package/docs-live/product-areas/PROCESS.md +351 -0
- package/docs-live/product-areas/VALIDATION.md +1135 -0
- package/docs-live/reference/ANNOTATION-REFERENCE.md +232 -0
- package/docs-live/reference/ARCHITECTURE-CODECS.md +675 -0
- package/docs-live/reference/ARCHITECTURE-TYPES.md +436 -0
- package/docs-live/reference/CONFIGURATION-GUIDE.md +235 -0
- package/docs-live/reference/GHERKIN-AUTHORING-GUIDE.md +270 -0
- package/docs-live/reference/PROCESS-API-RECIPES.md +476 -0
- package/docs-live/reference/PROCESS-API-REFERENCE.md +63 -0
- package/docs-live/reference/PROCESS-GUARD-REFERENCE.md +258 -0
- package/docs-live/reference/REFERENCE-SAMPLE.md +1135 -0
- package/docs-live/reference/SESSION-WORKFLOW-GUIDE.md +384 -0
- package/docs-live/reference/VALIDATION-TOOLS-GUIDE.md +263 -0
- package/docs-live/taxonomy/categories.md +33 -0
- package/docs-live/taxonomy/format-types.md +67 -0
- package/docs-live/taxonomy/metadata-tags.md +693 -0
- package/docs-live/validation/error-catalog.md +78 -0
- package/docs-live/validation/fsm-transitions.md +50 -0
- package/docs-live/validation/protection-levels.md +51 -0
- package/package.json +233 -0
|
@@ -0,0 +1,811 @@
|
|
|
1
|
+
# Documentation Gap Analysis: docs/ vs docs-live/
|
|
2
|
+
|
|
3
|
+
> **Purpose:** Input document for planning and design sessions to close the gap between
|
|
4
|
+
> manual reference docs (`docs/`) and auto-generated docs (`docs-live/`), ultimately
|
|
5
|
+
> enabling deprecation of manual docs when generated quality is sufficient.
|
|
6
|
+
>
|
|
7
|
+
> **Date:** 2026-03-06
|
|
8
|
+
> **Branch:** feature/docs-consolidation (commit 223ace6)
|
|
9
|
+
> **Status:** Analysis complete, ready for spec authoring
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Table of Contents
|
|
14
|
+
|
|
15
|
+
1. [Executive Summary](#1-executive-summary)
|
|
16
|
+
2. [Related Specs & Prior Work](#2-related-specs--prior-work)
|
|
17
|
+
3. [Consolidation Mechanism](#3-consolidation-mechanism)
|
|
18
|
+
4. [Current State](#4-current-state)
|
|
19
|
+
5. [Website Publishing Pipeline](#5-website-publishing-pipeline)
|
|
20
|
+
6. [File-by-File Gap Analysis](#6-file-by-file-gap-analysis)
|
|
21
|
+
7. [Cross-Cutting Quality Gaps](#7-cross-cutting-quality-gaps)
|
|
22
|
+
8. [Unused Generation Capabilities](#8-unused-generation-capabilities)
|
|
23
|
+
9. [Website Sync Script Gaps](#9-website-sync-script-gaps)
|
|
24
|
+
10. [Recommended Work Packages](#10-recommended-work-packages)
|
|
25
|
+
11. [Prioritization Matrix](#11-prioritization-matrix)
|
|
26
|
+
12. [Appendix: File Inventories](#12-appendix-file-inventories)
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## 1. Executive Summary
|
|
31
|
+
|
|
32
|
+
### The Goal
|
|
33
|
+
|
|
34
|
+
Replace all 11 manual docs in `docs/` with auto-generated equivalents in `docs-live/`
|
|
35
|
+
of **equal or better quality**, enabling:
|
|
36
|
+
|
|
37
|
+
- Zero manual documentation maintenance
|
|
38
|
+
- Single source of truth (annotated code drives everything)
|
|
39
|
+
- Automatic website publishing via the existing Starlight pipeline
|
|
40
|
+
|
|
41
|
+
### Key Findings
|
|
42
|
+
|
|
43
|
+
| Dimension | Current State | Gap |
|
|
44
|
+
| ------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------------------ |
|
|
45
|
+
| **Manual docs** | 11 files, ~4,537 lines | Curated editorial content, examples, decision trees |
|
|
46
|
+
| **Generated docs** | 48 files, ~20,548 lines | Comprehensive reference, but missing tutorials/guides/philosophy |
|
|
47
|
+
| **Website sync** | Reads from 3 dirs (`docs/`, `docs-live/`, `docs-generated/`) | `docs-generated/` is now empty after consolidation; sync script is stale |
|
|
48
|
+
| **Generation pipeline** | 22 codecs exist, only 8 run in `docs:all` | 14 codecs available but unused for published docs |
|
|
49
|
+
| **Content types missing** | N/A | How-to guides, decision trees, getting-started, philosophy, CI recipes |
|
|
50
|
+
|
|
51
|
+
### The Core Challenge
|
|
52
|
+
|
|
53
|
+
Manual docs contain three content types that current codecs cannot generate:
|
|
54
|
+
|
|
55
|
+
1. **Editorial content** (philosophy, analogies, design rationale beyond Rule: blocks)
|
|
56
|
+
2. **Procedural guides** (step-by-step checklists, decision trees, CLI recipes)
|
|
57
|
+
3. **Integration patterns** (CI/CD setup, pre-commit hooks, GitHub Actions examples)
|
|
58
|
+
|
|
59
|
+
These require either new codec capabilities or a hybrid approach where some
|
|
60
|
+
curated content is maintained alongside generated reference material.
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## 2. Related Specs & Prior Work
|
|
65
|
+
|
|
66
|
+
### Master Roadmap: DocsConsolidationStrategy
|
|
67
|
+
|
|
68
|
+
**Spec:** `architect/specs/docs-consolidation-strategy.feature`
|
|
69
|
+
**Status:** roadmap | **Phase:** 35 | **Depends on:** CodecDrivenReferenceGeneration (completed)
|
|
70
|
+
|
|
71
|
+
This is the **canonical plan** for the entire consolidation initiative. It defines a
|
|
72
|
+
6-phase strategy with 13 deliverables to replace ~5,400 lines of manual docs with
|
|
73
|
+
generated equivalents. Work packages in this gap analysis should map to its phases.
|
|
74
|
+
|
|
75
|
+
**Deliverable Status (from spec Background):**
|
|
76
|
+
|
|
77
|
+
| Deliverable | Status | Phase | Maps to WP |
|
|
78
|
+
| ------------------------------------------- | -------- | ----- | ----------------------------------------------- |
|
|
79
|
+
| Preamble capability on ReferenceDocConfig | complete | -- | N/A (done) |
|
|
80
|
+
| Phase 1 - Taxonomy consolidation | pending | 35 | Taxonomy deprecation |
|
|
81
|
+
| Phase 2 - Codec listings extraction | complete | 35 | N/A (done) |
|
|
82
|
+
| Phase 3 - Process Guard consolidation | pending | 35 | WP-5 |
|
|
83
|
+
| Phase 4 - Architecture decomposition | complete | 35 | N/A (done) |
|
|
84
|
+
| Phase 5 - Guide trimming | pending | 35 | WP-9 |
|
|
85
|
+
| Phase 6 - Index navigation update | pending | 35 | WP-2 |
|
|
86
|
+
| Phase 37 - docs-live/ consolidation | complete | 37 | N/A (done, commit 223ace6) |
|
|
87
|
+
| Phase 38 - Generated doc quality | pending | 38 | WP-9 |
|
|
88
|
+
| Phase 39 - Session workflow module gen | pending | 39 | Blocked on Phase 25 |
|
|
89
|
+
| Phase 40 - PUBLISHING.md relocation | complete | 40 | N/A (done) |
|
|
90
|
+
| Phase 41 - GHERKIN-PATTERNS.md restructure | pending | 41 | WP-7 |
|
|
91
|
+
| Phase 42 - README.md rationalization | pending | 42 | Not in this analysis |
|
|
92
|
+
| Phase 43 - PROCESS-API.md hybrid generation | complete | 43 | N/A (done); WP-6 extends with recipe generation |
|
|
93
|
+
|
|
94
|
+
**Key Invariants from Spec:**
|
|
95
|
+
|
|
96
|
+
1. **Convention tags are the primary consolidation mechanism** -- each phase registers a
|
|
97
|
+
convention tag, annotates sources, adds a ReferenceDocConfig entry, and replaces the
|
|
98
|
+
manual section with a pointer to generated output.
|
|
99
|
+
2. **Preamble preserves editorial context** -- `ReferenceDocConfig.preamble` accepts
|
|
100
|
+
`SectionBlock[]` prepended before generated content for introductory prose.
|
|
101
|
+
3. **Each phase is independently deliverable** -- no phase requires another to function.
|
|
102
|
+
4. **Manual docs retain editorial and tutorial content** -- ~2,300 lines of philosophy,
|
|
103
|
+
workflow guides, and tutorials stay manual.
|
|
104
|
+
5. **Audience alignment determines location** -- `docs/` for website users, repo root for
|
|
105
|
+
GitHub metadata, CLAUDE.md for AI sessions.
|
|
106
|
+
|
|
107
|
+
### All Related Specs
|
|
108
|
+
|
|
109
|
+
| Spec | Pattern | Status | Phase | Role in Gap Analysis |
|
|
110
|
+
| -------------------------------------------- | ------------------------------- | --------- | ----- | ------------------------------------------------ |
|
|
111
|
+
| `docs-consolidation-strategy.feature` | DocsConsolidationStrategy | roadmap | 35 | Master roadmap for all consolidation work |
|
|
112
|
+
| `docs-live-consolidation.feature` | DocsLiveConsolidation | completed | 37 | Established docs-live/ as single output dir |
|
|
113
|
+
| `publishing-relocation.feature` | PublishingRelocation | completed | 40 | Moved PUBLISHING.md to MAINTAINERS.md |
|
|
114
|
+
| `codec-driven-reference-generation.feature` | CodecDrivenReferenceGeneration | completed | 27 | Foundation: config-driven codec factory |
|
|
115
|
+
| `doc-generation-proof-of-concept.feature` | DocGenerationProofOfConcept | completed | 27 | Historical: ADR-021 POC (superseded) |
|
|
116
|
+
| `process-api-hybrid-generation.feature` | ProcessApiHybridGeneration | completed | 43 | CLI schema as single source for reference tables |
|
|
117
|
+
| `claude-module-generation.feature` | ClaudeModuleGeneration | completed | 25 | Claude module tags + behavior spec sourcing |
|
|
118
|
+
| `reference-doc-showcase.feature` | ReferenceDocShowcase | completed | 30 | All 9 content block types across 3 detail levels |
|
|
119
|
+
| `validator-read-model-consolidation.feature` | ValidatorReadModelConsolidation | completed | 100 | MasterDataset as single read model (ADR-006) |
|
|
120
|
+
|
|
121
|
+
**Query these specs:** `pnpm architect:query -- decisions DocsConsolidationStrategy`
|
|
122
|
+
|
|
123
|
+
### Completed Foundation Work
|
|
124
|
+
|
|
125
|
+
The following capabilities are already in place and available for new work:
|
|
126
|
+
|
|
127
|
+
- **Config-driven codec factory** (`createReferenceCodec`) -- add a `ReferenceDocConfig`
|
|
128
|
+
entry and get detailed + summary docs automatically (CodecDrivenReferenceGeneration)
|
|
129
|
+
- **Preamble support** -- editorial prose can be prepended to any generated doc
|
|
130
|
+
- **3 detail levels** -- detailed, standard, summary from same codec (ReferenceDocShowcase)
|
|
131
|
+
- **9 content block types** -- headings, paragraphs, tables, code, mermaid, lists, sections,
|
|
132
|
+
metadata, collapsible (all exercised in REFERENCE-SAMPLE.md)
|
|
133
|
+
- **CLI schema extraction** -- `src/cli/cli-schema.ts` drives both help text and doc generation
|
|
134
|
+
- **Convention tag mechanism** -- `@architect-convention` annotations compose into reference docs
|
|
135
|
+
- **Product area meta with diagram scopes** -- C4Context + graph LR per area
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
## 3. Consolidation Mechanism
|
|
140
|
+
|
|
141
|
+
Understanding how consolidation works is essential for design sessions. The mechanism
|
|
142
|
+
is defined in DocsConsolidationStrategy Rule 1 and implemented by CodecDrivenReferenceGeneration.
|
|
143
|
+
|
|
144
|
+
### How Convention Tags Drive Generation
|
|
145
|
+
|
|
146
|
+
```
|
|
147
|
+
Step 1: Register convention tag value in src/taxonomy/conventions.ts
|
|
148
|
+
e.g., 'codec-registry', 'pipeline-architecture', 'taxonomy-rules'
|
|
149
|
+
|
|
150
|
+
Step 2: Annotate source files with @architect-convention:<value>
|
|
151
|
+
TypeScript: JSDoc blocks with structured content
|
|
152
|
+
Gherkin: Rule: blocks with Invariant/Rationale markers
|
|
153
|
+
|
|
154
|
+
Step 3: Add ReferenceDocConfig in architect.config.ts
|
|
155
|
+
{
|
|
156
|
+
title: 'Available Codecs Reference',
|
|
157
|
+
conventionTags: ['codec-registry'], // <-- matches step 2
|
|
158
|
+
docsFilename: 'ARCHITECTURE-CODECS.md',
|
|
159
|
+
claudeMdFilename: 'architecture-codecs.md',
|
|
160
|
+
claudeMdSection: 'architecture',
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
Step 4: pnpm docs:all generates:
|
|
164
|
+
docs-live/reference/ARCHITECTURE-CODECS.md (detailed)
|
|
165
|
+
docs-live/_claude-md/architecture/architecture-codecs.md (summary)
|
|
166
|
+
|
|
167
|
+
Step 5: Replace manual doc section with pointer to generated output
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### Content Sources Available in ReferenceDocConfig
|
|
171
|
+
|
|
172
|
+
| Source | Config Field | What It Produces |
|
|
173
|
+
| ---------------------- | -------------------- | ------------------------------------------------------------------------ |
|
|
174
|
+
| Convention annotations | `conventionTags` | Structured prose from JSDoc/Gherkin |
|
|
175
|
+
| Type shapes | `shapeSelectors` | TypeScript type definitions with field docs |
|
|
176
|
+
| Behavior specs | `behaviorCategories` | Rule invariants, scenarios, acceptance criteria |
|
|
177
|
+
| Diagrams | `diagramScopes` | Mermaid C4Context, graph LR, classDiagram, stateDiagram, sequenceDiagram |
|
|
178
|
+
| Include tags | `includeTags` | Filter patterns by tag for scoped reference |
|
|
179
|
+
| Editorial preamble | `preamble` | Hand-authored SectionBlock[] prepended to output |
|
|
180
|
+
|
|
181
|
+
### Existing Convention Tags (from architect.config.ts)
|
|
182
|
+
|
|
183
|
+
| Tag Value | Used By | Produces |
|
|
184
|
+
| ----------------------- | ---------------------- | ------------------------------------ |
|
|
185
|
+
| `codec-registry` | ARCHITECTURE-CODECS.md | All 20 codecs with factory patterns |
|
|
186
|
+
| `pipeline-architecture` | ARCHITECTURE-TYPES.md | MasterDataset interface, shapes |
|
|
187
|
+
| `taxonomy-rules` | REFERENCE-SAMPLE.md | Tag rules + 6 diagram types showcase |
|
|
188
|
+
|
|
189
|
+
### What This Means for New Work
|
|
190
|
+
|
|
191
|
+
To consolidate a manual doc section, a design session needs to decide:
|
|
192
|
+
|
|
193
|
+
1. **Which convention tag value** to register (or reuse existing)
|
|
194
|
+
2. **Which source files** to annotate with `@architect-convention:<value>`
|
|
195
|
+
3. **What content structure** the JSDoc/Gherkin annotations should use
|
|
196
|
+
4. **Which ReferenceDocConfig fields** to populate (shapes? diagrams? behaviors?)
|
|
197
|
+
5. **Whether preamble** is needed for editorial context that can't be annotated
|
|
198
|
+
6. **Output filenames** and whether to add a new website sync section
|
|
199
|
+
|
|
200
|
+
This is a well-established pattern with 3 successful implementations. New phases
|
|
201
|
+
should follow the same recipe.
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
## 4. Current State
|
|
206
|
+
|
|
207
|
+
### Directory Layout After Commit 223ace6
|
|
208
|
+
|
|
209
|
+
```
|
|
210
|
+
architect/
|
|
211
|
+
docs/ 11 manual files (~4,985 lines) -- human-authored reference
|
|
212
|
+
docs-live/ 48 generated files (~20,548 lines) -- auto-generated, committed
|
|
213
|
+
docs-generated/ empty after pnpm docs:all -- gitignored build cache
|
|
214
|
+
_claude-md/ 10 AI-optimized compacts -- composed into CLAUDE.md
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### What `pnpm docs:all` Generates (9 generators)
|
|
218
|
+
|
|
219
|
+
| Generator | Output Location | Files | Content |
|
|
220
|
+
| ----------------------- | ------------------------- | ----- | ------------------------------------------------ |
|
|
221
|
+
| `adrs` | docs-live/decisions/ | 8 | ADR index + 7 individual ADRs |
|
|
222
|
+
| `business-rules` | docs-live/business-rules/ | 8 | Overview + 7 area breakdowns (569 rules) |
|
|
223
|
+
| `taxonomy` | docs-live/taxonomy/ | 4 | Overview + categories, formats, metadata tags |
|
|
224
|
+
| `validation-rules` | docs-live/validation/ | 4 | Overview + error catalog, FSM, protection levels |
|
|
225
|
+
| `reference-docs` | docs-live/reference/ | 4 | Codecs, types, process-API ref, sample |
|
|
226
|
+
| `product-area-docs` | docs-live/product-areas/ | 8 | Overview + 7 area docs with diagrams |
|
|
227
|
+
| `claude-modules` | docs-live/\_claude-md/ | 10 | Compact AI context modules |
|
|
228
|
+
| `process-api-reference` | docs-live/reference/ | 1 | CLI command reference |
|
|
229
|
+
| `cli-recipe` | docs-live/reference/ | 1 | CLI recipes & workflow guide |
|
|
230
|
+
|
|
231
|
+
### What `pnpm docs:all-preview` Adds (14 more generators)
|
|
232
|
+
|
|
233
|
+
These exist and are functional but NOT in the standard build:
|
|
234
|
+
|
|
235
|
+
| Generator | Would Produce | Potential Value for Website |
|
|
236
|
+
| ------------------ | -------------------------------- | ----------------------------- |
|
|
237
|
+
| `patterns` | PATTERNS.md + per-pattern detail | High -- pattern catalog |
|
|
238
|
+
| `roadmap` | ROADMAP.md + per-phase detail | Medium -- project status |
|
|
239
|
+
| `milestones` | COMPLETED-MILESTONES.md | Low -- internal tracking |
|
|
240
|
+
| `requirements` | PRODUCT-REQUIREMENTS.md | Medium -- feature specs |
|
|
241
|
+
| `session` | SESSION-CONTEXT.md | Low -- ephemeral session data |
|
|
242
|
+
| `remaining` | REMAINING-WORK.md | Low -- internal tracking |
|
|
243
|
+
| `current` | CURRENT-WORK.md | Low -- internal tracking |
|
|
244
|
+
| `session-plan` | SESSION-PLAN.md | Low -- ephemeral |
|
|
245
|
+
| `session-findings` | SESSION-FINDINGS.md | Low -- internal |
|
|
246
|
+
| `pr-changes` | PR-CHANGES.md | Low -- per-PR artifact |
|
|
247
|
+
| `changelog` | CHANGELOG-GENERATED.md | High -- release history |
|
|
248
|
+
| `traceability` | TRACEABILITY.md | Medium -- spec coverage |
|
|
249
|
+
| `architecture` | ARCHITECTURE.md | High -- architecture diagrams |
|
|
250
|
+
| `overview-rdm` | OVERVIEW.md | Medium -- project overview |
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
## 5. Website Publishing Pipeline
|
|
255
|
+
|
|
256
|
+
### Framework
|
|
257
|
+
|
|
258
|
+
- **Astro + Starlight** (v0.37.6) with Mermaid rendering support
|
|
259
|
+
- Content synced at build time via `scripts/sync-content.mjs`
|
|
260
|
+
- Markdown processed: H1 stripped, frontmatter injected, links rewritten
|
|
261
|
+
|
|
262
|
+
### Sync Script Architecture
|
|
263
|
+
|
|
264
|
+
```
|
|
265
|
+
sync-content.mjs
|
|
266
|
+
reads: content-manifest.mjs (section structure, link rewrites)
|
|
267
|
+
sources:
|
|
268
|
+
docs/ -> guides/ + reference/ (manual docs)
|
|
269
|
+
docs-live/ -> product-areas/ + decisions/ (generated)
|
|
270
|
+
docs-generated/ -> generated/ (business-rules, taxonomy)
|
|
271
|
+
output: src/content/docs/architect/
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
### Website Section Structure (from content-manifest.mjs)
|
|
275
|
+
|
|
276
|
+
| Section | Directory | Source | Collapsed |
|
|
277
|
+
| ---------------------- | -------------- | ------------------------------------------ | --------- |
|
|
278
|
+
| Tutorial | tutorial/ | architect-tutorials repo | No |
|
|
279
|
+
| Guides | guides/ | docs/ manual (5 files) | No |
|
|
280
|
+
| Reference | reference/ | docs/ manual (5 files) | No |
|
|
281
|
+
| Product Areas | product-areas/ | docs-live/product-areas/ | No |
|
|
282
|
+
| Architecture Decisions | decisions/ | docs-live/decisions/ | Yes |
|
|
283
|
+
| Generated Reference | generated/ | docs-generated/ (business-rules, taxonomy) | Yes |
|
|
284
|
+
|
|
285
|
+
### CRITICAL: Sync Script is Stale After Consolidation
|
|
286
|
+
|
|
287
|
+
The sync script (`sync-content.mjs`) has a **blocking issue**:
|
|
288
|
+
|
|
289
|
+
| Problem | Detail |
|
|
290
|
+
| ---------------------------------------------- | --------------------------------------------------------------------------------------- |
|
|
291
|
+
| `docsGenerated` still required | Line 78-83: resolves `docs-generated/` as a source |
|
|
292
|
+
| Required source files expect `docs-generated/` | Lines 112-113: expects `BUSINESS-RULES.md` and `TAXONOMY.md` in `docs-generated/` |
|
|
293
|
+
| `syncGenerated()` reads from `docs-generated/` | Lines 456-503: business-rules, taxonomy, reference-sample synced from `docs-generated/` |
|
|
294
|
+
| **But `docs-generated/` is now empty** | After commit 223ace6, `pnpm docs:all` outputs everything to `docs-live/` |
|
|
295
|
+
| Impact | Website build will warn (non-strict) or fail (strict/CI) for business-rules + taxonomy |
|
|
296
|
+
|
|
297
|
+
**Fix required:** Update sync script to read business-rules, taxonomy, validation, and
|
|
298
|
+
reference content from `docs-live/` instead of `docs-generated/`.
|
|
299
|
+
|
|
300
|
+
### Content NOT Currently Synced to Website
|
|
301
|
+
|
|
302
|
+
These `docs-live/` subdirectories exist but have no sync function:
|
|
303
|
+
|
|
304
|
+
| Directory | Files | Content |
|
|
305
|
+
| ------------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------- |
|
|
306
|
+
| `docs-live/reference/` | 5 files | ARCHITECTURE-CODECS.md, ARCHITECTURE-TYPES.md, PROCESS-API-RECIPES.md, PROCESS-API-REFERENCE.md, REFERENCE-SAMPLE.md |
|
|
307
|
+
| `docs-live/taxonomy/` | 3 files | categories.md, format-types.md, metadata-tags.md |
|
|
308
|
+
| `docs-live/validation/` | 3 files | error-catalog.md, fsm-transitions.md, protection-levels.md |
|
|
309
|
+
| `docs-live/business-rules/` | 7 files | Per-area business rule extractions |
|
|
310
|
+
| `docs-live/_claude-md/` | 10 files | AI context (may not need website publishing) |
|
|
311
|
+
| `docs-live/INDEX.md` | 1 file | Generated docs master index |
|
|
312
|
+
| `docs-live/TAXONOMY.md` | 1 file | Taxonomy overview |
|
|
313
|
+
| `docs-live/VALIDATION-RULES.md` | 1 file | Validation rules overview |
|
|
314
|
+
| `docs-live/BUSINESS-RULES.md` | 1 file | Business rules overview |
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
## 6. File-by-File Gap Analysis
|
|
319
|
+
|
|
320
|
+
### Legend
|
|
321
|
+
|
|
322
|
+
- **Replacement Ready**: Generated equivalent exists and is comparable quality
|
|
323
|
+
- **Partial Coverage**: Generated docs cover some content, gaps remain
|
|
324
|
+
- **No Coverage**: No generated equivalent exists; content is editorial/procedural
|
|
325
|
+
|
|
326
|
+
### docs/ Files vs docs-live/ Equivalents
|
|
327
|
+
|
|
328
|
+
| Manual Doc | Lines | Generated Equivalent | Coverage | Gap Description |
|
|
329
|
+
| ----------------------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
330
|
+
| **INDEX.md** | 353 | docs-live/INDEX.md (112 lines) | Partial | Manual has audience-based reading orders, document roles matrix, codec reference table. Generated has only file listing with regeneration commands. |
|
|
331
|
+
| **METHODOLOGY.md** | 238 | None | None | Core thesis (USDP inversion), event sourcing analogy, dogfooding examples, design philosophy. Pure editorial -- no annotation source exists for this content. |
|
|
332
|
+
| **CONFIGURATION.md** | 357 | docs-live/product-areas/CONFIGURATION.md (1,082 lines) | Partial | Generated has exhaustive pattern listings but lacks: preset selection rationale, decision rules ("when to use each preset"), monorepo setup example, backward compatibility guide, programmatic config loading examples. |
|
|
333
|
+
| **SESSION-GUIDES.md** | 389 | docs-live/\_claude-md/process/process-overview.md (138 lines) | Minimal | Decision tree for choosing session type, step-by-step checklists per session type, handoff documentation templates, "Do NOT" lists. Generated compact is AI-focused, not developer-facing. |
|
|
334
|
+
| **ARCHITECTURE.md** | 1,638 | docs-live/product-areas/GENERATION.md (1,065 lines) + docs-live/reference/ARCHITECTURE-CODECS.md (630 lines) + docs-live/reference/ARCHITECTURE-TYPES.md (429 lines) | Partial | Generated covers pipeline stages and codec listings well. Missing: executive summary, data flow diagrams, workflow integration section, "Extending the System" guide, programmatic usage examples, quick reference card. |
|
|
335
|
+
| **GHERKIN-PATTERNS.md** | 366 | None | None | Authoring style guide: 4 essential patterns, DataTable/DocString usage, tag conventions, feature file rich content rules, step linting reference. Pure editorial guidance -- no annotation source exists. |
|
|
336
|
+
| **ANNOTATION-GUIDE.md** | 270 | docs-live/taxonomy/metadata-tags.md (649 lines) | Partial | Generated has exhaustive tag reference (56 tags). Missing: getting-started guide, shape extraction modes explanation, "Zod schema gotcha" documentation, verification steps, common issues troubleshooting table. |
|
|
337
|
+
| **PROCESS-API.md** | ~60 | docs-live/reference/PROCESS-API-REFERENCE.md + PROCESS-API-RECIPES.md | **Replaced** | Trimmed to pointer file with operational reference (JSON envelope, exit codes, piping). All prose content now generated by CliRecipeCodec (WP-6 complete). |
|
|
338
|
+
| **PROCESS-GUARD.md** | 341 | docs-live/validation/error-catalog.md (79 lines) + docs-live/validation/fsm-transitions.md (49 lines) + docs-live/validation/protection-levels.md | Partial | Generated has error types, FSM matrix, protection levels. Missing: error fix rationale ("why this rule exists"), escape hatch alternatives, pre-commit setup instructions (Husky), programmatic API guide, Decider pattern architecture diagram. |
|
|
339
|
+
| **VALIDATION.md** | 418 | docs-live/product-areas/VALIDATION.md (1,115 lines) | Partial | Generated has pattern listings and business rules. Missing: "Which command do I run?" decision tree, 32+ individual lint rule explanations with code examples, anti-pattern detection rationale, CI/CD integration patterns (GitHub Actions YAML), vitest-cucumber two-pattern problem explanation. |
|
|
340
|
+
| **TAXONOMY.md** | 107 | docs-live/TAXONOMY.md (199 lines) + docs-live/taxonomy/ (3 files) | Good | Generated taxonomy reference is actually more comprehensive than manual. Manual adds: architecture explanation (file structure of src/taxonomy/), preset-to-taxonomy mapping, generation commands. Small gap. |
|
|
341
|
+
|
|
342
|
+
### Coverage Summary
|
|
343
|
+
|
|
344
|
+
| Coverage Level | Files | Lines | % of Manual Content |
|
|
345
|
+
| ---------------- | --------------------------------------- | ----- | ------------------- |
|
|
346
|
+
| Good (>80%) | 1 (TAXONOMY.md) | 107 | 2% |
|
|
347
|
+
| Partial (40-80%) | 7 | 3,685 | 74% |
|
|
348
|
+
| Minimal (<40%) | 1 (SESSION-GUIDES.md) | 389 | 8% |
|
|
349
|
+
| None (0%) | 2 (METHODOLOGY.md, GHERKIN-PATTERNS.md) | 604 | 12% |
|
|
350
|
+
|
|
351
|
+
---
|
|
352
|
+
|
|
353
|
+
## 7. Cross-Cutting Quality Gaps
|
|
354
|
+
|
|
355
|
+
### 7.1 Missing Content Types in Generated Docs
|
|
356
|
+
|
|
357
|
+
| Content Type | Present in docs/ | Present in docs-live/ | Examples |
|
|
358
|
+
| ---------------------------- | ---------------------------------------- | ---------------------------- | --------------------------------------------------------------------------------- |
|
|
359
|
+
| Decision trees | Yes (3 docs) | No | "Which validation command?", "Which session type?", "When to use design session?" |
|
|
360
|
+
| Step-by-step checklists | Yes (SESSION-GUIDES) | No | Planning session checklist, implementation 5-step execution order |
|
|
361
|
+
| CLI recipes with output | Yes (PROCESS-API) | Yes (PROCESS-API-RECIPES.md) | WP-6 complete: generated from CLI_SCHEMA |
|
|
362
|
+
| Error fix guides | Yes (PROCESS-GUARD) | Partial (error-catalog) | "completed-protection: add unlock-reason tag" with alternatives |
|
|
363
|
+
| Code examples (before/after) | Yes (VALIDATION) | No | Lint rule violation + fix side-by-side |
|
|
364
|
+
| Philosophical rationale | Yes (METHODOLOGY) | No | USDP inversion thesis, event sourcing analogy |
|
|
365
|
+
| Integration patterns | Yes (VALIDATION, PROCESS-GUARD) | No | Husky pre-commit, GitHub Actions YAML, package.json scripts |
|
|
366
|
+
| Getting-started guides | Yes (ANNOTATION-GUIDE) | No | "Add your first annotation" walkthrough |
|
|
367
|
+
| Gotcha documentation | Yes (ANNOTATION-GUIDE, GHERKIN-PATTERNS) | No | "Zod schema needs constant not type alias", "# kills Gherkin parsing" |
|
|
368
|
+
| Audience-based navigation | Yes (INDEX) | No | "New user read X, Developer read Y, Team Lead read Z" |
|
|
369
|
+
|
|
370
|
+
### 7.2 Structural Quality Comparison
|
|
371
|
+
|
|
372
|
+
| Quality Dimension | docs/ (Manual) | docs-live/ (Generated) | Winner |
|
|
373
|
+
| -------------------------- | ------------------------- | ------------------------------ | --------- |
|
|
374
|
+
| Consistency of format | Medium (varies by author) | High (codec templates) | Generated |
|
|
375
|
+
| Completeness of coverage | Medium (11 topics) | High (48 files, 196 patterns) | Generated |
|
|
376
|
+
| Depth of individual topics | High (deep dives) | Medium (broad but shallow) | Manual |
|
|
377
|
+
| Practical examples | High (code + CLI output) | Low (few examples) | Manual |
|
|
378
|
+
| Cross-referencing | Medium (manual links) | High (auto-generated links) | Generated |
|
|
379
|
+
| Diagrams | Medium (4 ASCII diagrams) | High (Mermaid C4 + LR) | Generated |
|
|
380
|
+
| Freshness / accuracy | Medium (may drift) | High (regenerated from source) | Generated |
|
|
381
|
+
| Accessibility to newcomers | High (reading orders) | Low (reference-heavy) | Manual |
|
|
382
|
+
| Troubleshooting guidance | High (error tables) | Low (error catalog only) | Manual |
|
|
383
|
+
|
|
384
|
+
### 7.3 Website Quality Requirements
|
|
385
|
+
|
|
386
|
+
For libar.dev publication, docs need:
|
|
387
|
+
|
|
388
|
+
| Requirement | docs/ Status | docs-live/ Status | Gap |
|
|
389
|
+
| ----------------------------------- | ------------------------------ | ------------------------------ | ------------------ |
|
|
390
|
+
| Starlight frontmatter compatibility | Handled by sync | Handled by sync | None |
|
|
391
|
+
| Mermaid diagram rendering | ASCII only | C4Context + graph LR | Generated better |
|
|
392
|
+
| Internal link resolution | Manual links rewritten by sync | Internal links may not resolve | Needs sync update |
|
|
393
|
+
| Progressive disclosure | Good (sections, tables) | Good (collapsible sections) | None |
|
|
394
|
+
| Mobile-friendly tables | Some wide tables | Some wide tables | Both need review |
|
|
395
|
+
| Code block syntax highlighting | Good (```typescript) | Good (```typescript) | None |
|
|
396
|
+
| Broken link detection | Not automated | Not automated | Both need CI check |
|
|
397
|
+
|
|
398
|
+
---
|
|
399
|
+
|
|
400
|
+
## 8. Unused Generation Capabilities
|
|
401
|
+
|
|
402
|
+
### Codecs Available But Not in docs:all
|
|
403
|
+
|
|
404
|
+
Three of the 14 unused codecs could directly fill gaps:
|
|
405
|
+
|
|
406
|
+
| Codec | Would Generate | Fills Gap For |
|
|
407
|
+
| -------------- | -------------------------------------- | --------------------------------------- |
|
|
408
|
+
| `architecture` | ARCHITECTURE.md with Mermaid diagrams | docs/ARCHITECTURE.md data flow diagrams |
|
|
409
|
+
| `changelog` | CHANGELOG-GENERATED.md | Release history (new content) |
|
|
410
|
+
| `patterns` | Full pattern catalog with detail pages | docs/INDEX.md codec reference table |
|
|
411
|
+
|
|
412
|
+
### New Codecs Needed
|
|
413
|
+
|
|
414
|
+
| Proposed Codec | Content Type | Source Data | Fills Gap For |
|
|
415
|
+
| -------------------- | ------------------------------------------- | -------------------------------------------------------------- | ----------------------------------------------- |
|
|
416
|
+
| `guides` or `how-to` | Step-by-step procedural guides | Feature file Rule: blocks + new annotation type | SESSION-GUIDES, getting-started |
|
|
417
|
+
| `decision-trees` | Mermaid flowchart decision trees | New annotation or Rule: block extension | "Which command?" trees |
|
|
418
|
+
| `integration` | CI/CD setup recipes | New annotation type or config | VALIDATION CI section, PROCESS-GUARD pre-commit |
|
|
419
|
+
| `error-guide` | Error diagnosis + fix walkthrough | Existing error-catalog + new "fix" annotations | PROCESS-GUARD error fixes |
|
|
420
|
+
| ~~`cli-recipes`~~ | ~~CLI command sequences with explanations~~ | **Done (WP-6)** -- `CliRecipeGenerator` consuming `CLI_SCHEMA` | PROCESS-API recipes |
|
|
421
|
+
|
|
422
|
+
---
|
|
423
|
+
|
|
424
|
+
## 9. Website Sync Script Gaps
|
|
425
|
+
|
|
426
|
+
### 9.1 Blocking: docs-generated/ Source is Empty
|
|
427
|
+
|
|
428
|
+
**Priority: P0 (blocks website build)**
|
|
429
|
+
|
|
430
|
+
After consolidation, `syncGenerated()` reads from `docs-generated/` which is now empty.
|
|
431
|
+
Business rules, taxonomy, and reference-sample content is now in `docs-live/`.
|
|
432
|
+
|
|
433
|
+
**Required changes to `sync-content.mjs`:**
|
|
434
|
+
|
|
435
|
+
1. Remove `docsGenerated` from REQUIRED_SOURCES (or make optional)
|
|
436
|
+
2. Update `REQUIRED_SOURCE_FILES` to read BUSINESS-RULES.md and TAXONOMY.md from `docsLive`
|
|
437
|
+
3. Update `syncGenerated()` to read from `docs-live/` subdirectories:
|
|
438
|
+
- `docs-live/business-rules/` instead of `docs-generated/business-rules/`
|
|
439
|
+
- `docs-live/taxonomy/` instead of `docs-generated/taxonomy/`
|
|
440
|
+
- `docs-live/BUSINESS-RULES.md` instead of `docs-generated/BUSINESS-RULES.md`
|
|
441
|
+
- `docs-live/TAXONOMY.md` instead of `docs-generated/TAXONOMY.md`
|
|
442
|
+
- `docs-live/reference/REFERENCE-SAMPLE.md` instead of `docs-generated/docs/REFERENCE-SAMPLE.md`
|
|
443
|
+
4. Update `getSyncedRouteForSourceFile()` to resolve new paths
|
|
444
|
+
|
|
445
|
+
### 9.2 Missing: New docs-live/ Content Not Synced
|
|
446
|
+
|
|
447
|
+
**Priority: P1 (content exists but not published)**
|
|
448
|
+
|
|
449
|
+
| Content | Source | Proposed Website Section |
|
|
450
|
+
| -------------------------- | --------------------------------------- | -------------------------------------------- |
|
|
451
|
+
| Validation rules (3 files) | docs-live/validation/ | Generated Reference > Validation |
|
|
452
|
+
| Reference docs (4 files) | docs-live/reference/ | Generated Reference > Architecture Reference |
|
|
453
|
+
| Top-level indexes | docs-live/INDEX.md, VALIDATION-RULES.md | Generated Reference root |
|
|
454
|
+
|
|
455
|
+
### 9.3 Future: Replacing Manual Docs Sections
|
|
456
|
+
|
|
457
|
+
**Priority: P2 (after quality parity)**
|
|
458
|
+
|
|
459
|
+
When generated docs reach quality parity with manual docs for specific sections,
|
|
460
|
+
the sync script should be updated to read from `docs-live/` instead of `docs/`:
|
|
461
|
+
|
|
462
|
+
| Manual Section | Replacement Source | Readiness |
|
|
463
|
+
| ------------------ | --------------------------------- | -------------------------- |
|
|
464
|
+
| reference/taxonomy | docs-live/TAXONOMY.md + taxonomy/ | Ready now |
|
|
465
|
+
| guides/ (all 5) | New generated guides | Needs new codec |
|
|
466
|
+
| reference/ (all 5) | docs-live/ equivalents | Needs quality improvements |
|
|
467
|
+
|
|
468
|
+
---
|
|
469
|
+
|
|
470
|
+
## 10. Recommended Work Packages
|
|
471
|
+
|
|
472
|
+
### WP-1: Fix Website Sync Script (P0)
|
|
473
|
+
|
|
474
|
+
**Type:** Implementation session
|
|
475
|
+
**Scope:** libar-dev-website repo
|
|
476
|
+
**Effort:** Small (1 session)
|
|
477
|
+
**Spec alignment:** Consequence of DocsLiveConsolidation (Phase 37, completed).
|
|
478
|
+
No new architect spec needed -- this is a website-repo fix.
|
|
479
|
+
|
|
480
|
+
Update `sync-content.mjs` and `content-manifest.mjs` to:
|
|
481
|
+
|
|
482
|
+
- Read business-rules, taxonomy from `docs-live/` instead of `docs-generated/`
|
|
483
|
+
- Add sync functions for validation/, reference/ subdirectories
|
|
484
|
+
- Remove `docsGenerated` from required sources
|
|
485
|
+
- Add new website sections for validation rules and reference docs
|
|
486
|
+
|
|
487
|
+
**Key files to modify:**
|
|
488
|
+
|
|
489
|
+
- `libar-dev-website/scripts/sync-content.mjs` (lines 78-83, 93-114, 456-503)
|
|
490
|
+
- `libar-dev-website/scripts/content-manifest.mjs` (add new sections)
|
|
491
|
+
|
|
492
|
+
### WP-2: Enhance Generated Index (P1)
|
|
493
|
+
|
|
494
|
+
**Type:** Design + Implementation
|
|
495
|
+
**Scope:** architect repo
|
|
496
|
+
**Effort:** Small (1-2 sessions)
|
|
497
|
+
**Spec alignment:** Maps to DocsConsolidationStrategy Phase 6 (Index navigation update, pending).
|
|
498
|
+
Update the existing deliverable status when implementing.
|
|
499
|
+
|
|
500
|
+
Improve `docs-live/INDEX.md` to include:
|
|
501
|
+
|
|
502
|
+
- Audience-based reading orders (New User, Developer, Team Lead)
|
|
503
|
+
- Document roles matrix
|
|
504
|
+
- Codec reference table
|
|
505
|
+
- Cross-references between manual and generated docs
|
|
506
|
+
|
|
507
|
+
**Approach:** Extend IndexCodec or create NavigationCodec that reads pattern metadata
|
|
508
|
+
to generate audience-appropriate navigation.
|
|
509
|
+
|
|
510
|
+
### WP-3: Add Architecture Generator to docs:all (P1)
|
|
511
|
+
|
|
512
|
+
**Type:** Implementation session
|
|
513
|
+
**Scope:** architect repo
|
|
514
|
+
**Effort:** Small (1 session)
|
|
515
|
+
**Spec alignment:** Extends Phase 4 (Architecture decomposition, complete). Phase 4
|
|
516
|
+
decomposed the manual ARCHITECTURE.md; this adds the generated Mermaid equivalent.
|
|
517
|
+
|
|
518
|
+
The `architecture` codec already exists in `docs:all-preview`. Add it to `docs:all`
|
|
519
|
+
and configure output to `docs-live/`. This provides Mermaid architecture diagrams
|
|
520
|
+
that partially replace the manual ARCHITECTURE.md data flow diagrams.
|
|
521
|
+
|
|
522
|
+
### WP-4: Add Changelog Generator to docs:all (P2)
|
|
523
|
+
|
|
524
|
+
**Type:** Implementation session
|
|
525
|
+
**Scope:** architect repo
|
|
526
|
+
**Effort:** Small (1 session)
|
|
527
|
+
**Spec alignment:** New work, not covered by DocsConsolidationStrategy. Consider
|
|
528
|
+
adding as a new deliverable if a spec is created.
|
|
529
|
+
|
|
530
|
+
The `changelog` codec exists. Add to `docs:all`, configure output to `docs-live/`.
|
|
531
|
+
New content for the website (no manual equivalent to replace).
|
|
532
|
+
|
|
533
|
+
### WP-5: Create Error Guide Codec (P2)
|
|
534
|
+
|
|
535
|
+
**Type:** Design + Implementation
|
|
536
|
+
**Scope:** architect repo
|
|
537
|
+
**Effort:** Medium (2-3 sessions)
|
|
538
|
+
**Spec alignment:** Maps to DocsConsolidationStrategy Phase 3 (Process Guard
|
|
539
|
+
consolidation, pending). The spec says "enhanced ValidationRulesCodec" -- design
|
|
540
|
+
session should decide whether to enhance existing codec or create new one.
|
|
541
|
+
|
|
542
|
+
Create a codec that generates error diagnosis guides from:
|
|
543
|
+
|
|
544
|
+
- Existing validation error catalog data
|
|
545
|
+
- New `**Fix:**` and `**Alternative:**` markers in Rule: blocks
|
|
546
|
+
- Pre-commit setup instructions from config
|
|
547
|
+
|
|
548
|
+
This replaces the manual PROCESS-GUARD.md "Error Messages and Fixes" section.
|
|
549
|
+
|
|
550
|
+
**Design questions for session:**
|
|
551
|
+
|
|
552
|
+
- Enhance `ValidationRulesCodec` or create separate `ErrorGuideCodec`?
|
|
553
|
+
- Convention tag approach: annotate error-handling code in `src/lint/` with
|
|
554
|
+
`@architect-convention:process-guard-errors`, or use existing behavior extraction?
|
|
555
|
+
- Preamble for Husky/CI setup content that can't come from annotations?
|
|
556
|
+
|
|
557
|
+
### WP-6: Create CLI Recipe Codec (P2)
|
|
558
|
+
|
|
559
|
+
**Type:** Design + Implementation
|
|
560
|
+
**Scope:** architect repo
|
|
561
|
+
**Effort:** Medium (2-3 sessions)
|
|
562
|
+
**Spec alignment:** Extends ProcessApiHybridGeneration (Phase 43, completed). Phase 43
|
|
563
|
+
generated reference tables from CLI schema; this adds recipe/guide content. The manual
|
|
564
|
+
PROCESS-API.md prose was explicitly kept in Phase 43 -- this WP addresses that remainder.
|
|
565
|
+
|
|
566
|
+
Create a codec that generates CLI recipe guides from:
|
|
567
|
+
|
|
568
|
+
- Process API command metadata (already extracted via `src/cli/cli-schema.ts`)
|
|
569
|
+
- New `**Recipe:**` annotation in feature files
|
|
570
|
+
- Session type metadata
|
|
571
|
+
|
|
572
|
+
This replaces manual PROCESS-API.md "Common Recipes" and "Session Workflow Commands".
|
|
573
|
+
|
|
574
|
+
**Design questions for session:**
|
|
575
|
+
|
|
576
|
+
- Extend `ProcessApiReferenceGenerator` or create separate recipe generator?
|
|
577
|
+
- Where should recipe annotations live? (CLI schema? Feature files? New recipe files?)
|
|
578
|
+
- How to handle "Why Use This" motivational prose? (Preamble?)
|
|
579
|
+
|
|
580
|
+
### WP-7: Create Procedural Guide Codec (P3)
|
|
581
|
+
|
|
582
|
+
**Type:** Design + Implementation
|
|
583
|
+
**Scope:** architect repo
|
|
584
|
+
**Effort:** Large (3-5 sessions)
|
|
585
|
+
**Spec alignment:** Maps to DocsConsolidationStrategy Phase 41 (GHERKIN-PATTERNS.md
|
|
586
|
+
restructure, pending) and Phase 39 (Session workflow module generation, pending --
|
|
587
|
+
blocked on ClaudeModuleGeneration Phase 25). Also relates to Phase 5 (Guide trimming).
|
|
588
|
+
|
|
589
|
+
**Note on Phase 39:** The session-guides-module-source.feature spec already has
|
|
590
|
+
`@architect-claude-module` and `@architect-claude-section:workflow` tags. Once
|
|
591
|
+
Phase 25 ships ClaudeModuleCodec, the CLAUDE.md session section auto-generates.
|
|
592
|
+
This WP addresses the **public-facing** SESSION-GUIDES.md, not the AI context version.
|
|
593
|
+
|
|
594
|
+
Create a codec (or codec family) for generating how-to guides:
|
|
595
|
+
|
|
596
|
+
- Session workflow checklists from SESSION-GUIDES feature file Rule: blocks
|
|
597
|
+
- Getting-started walkthrough from ANNOTATION-GUIDE content
|
|
598
|
+
- Decision trees as Mermaid flowcharts
|
|
599
|
+
|
|
600
|
+
This is the largest gap -- SESSION-GUIDES.md (389 lines of checklists) and
|
|
601
|
+
GHERKIN-PATTERNS.md (366 lines of authoring guidance) have no generation source.
|
|
602
|
+
|
|
603
|
+
**Key Design Decisions for session:**
|
|
604
|
+
|
|
605
|
+
- Should procedural content live in Rule: blocks with new markers
|
|
606
|
+
(`**Checklist:**`, `**Step:**`), or a separate annotation system?
|
|
607
|
+
- Can the existing `session-guides-module-source.feature` Rule: blocks serve
|
|
608
|
+
as source for both AI compact AND public guide, using detail levels?
|
|
609
|
+
- Phase 41 says "trim to ~250 lines, Step Linting moves to VALIDATION.md" --
|
|
610
|
+
should the remaining ~250 lines become preamble or a separate manual page?
|
|
611
|
+
|
|
612
|
+
### WP-8: Decide Methodology Page Disposition (P3)
|
|
613
|
+
|
|
614
|
+
**Type:** Design session
|
|
615
|
+
**Scope:** architect repo
|
|
616
|
+
**Effort:** Small (1 session)
|
|
617
|
+
**Spec alignment:** DocsConsolidationStrategy explicitly says "Keep: philosophy and
|
|
618
|
+
core thesis" for METHODOLOGY.md. The master spec already decided this stays manual.
|
|
619
|
+
Also relates to Phase 42 (README.md rationalization) which trims README and moves
|
|
620
|
+
pitch content to website.
|
|
621
|
+
|
|
622
|
+
METHODOLOGY.md (238 lines) contains philosophy that cannot be extracted from code.
|
|
623
|
+
The master spec already decided to keep it. Design session should confirm and decide:
|
|
624
|
+
|
|
625
|
+
1. **Keep as-is** (aligned with master spec)
|
|
626
|
+
2. **Encode as invariants** in a feature file for queryability via Process Data API
|
|
627
|
+
3. **Merge relevant parts into README.md** as part of Phase 42
|
|
628
|
+
|
|
629
|
+
**Recommendation:** Option 1, with option 2 as enhancement. The philosophy is
|
|
630
|
+
inherently editorial, but encoding core thesis as Rule: blocks would make it
|
|
631
|
+
queryable (`pnpm architect:query -- rules --pattern Methodology`) without replacing
|
|
632
|
+
the human-readable prose.
|
|
633
|
+
|
|
634
|
+
### WP-9: Quality Polish for Website Publication (P1)
|
|
635
|
+
|
|
636
|
+
**Type:** Implementation session
|
|
637
|
+
**Scope:** Both repos
|
|
638
|
+
**Effort:** Medium (2-3 sessions)
|
|
639
|
+
**Spec alignment:** Maps to DocsConsolidationStrategy Phase 38 (Generated doc quality
|
|
640
|
+
improvements, pending) and Phase 5 (Guide trimming, pending). Phase 38 specifically
|
|
641
|
+
calls out "fix REFERENCE-SAMPLE duplication, enrich Generation compact, add TOC".
|
|
642
|
+
|
|
643
|
+
Review all docs-live/ content for website readiness:
|
|
644
|
+
|
|
645
|
+
- Fix any wide tables that break mobile layout
|
|
646
|
+
- Ensure all Mermaid diagrams render correctly in Starlight
|
|
647
|
+
- Add missing cross-references ("See Also" sections)
|
|
648
|
+
- Verify all internal links resolve after sync
|
|
649
|
+
- Split oversized files (business-rules/generation.md at 4,372 lines)
|
|
650
|
+
- Add descriptions to frontmatter for SEO
|
|
651
|
+
- Phase 38 items: fix REFERENCE-SAMPLE duplication, enrich Generation compact, add TOC
|
|
652
|
+
- Phase 5 items: trim 30 lines of duplicated tag reference from ANNOTATION-GUIDE.md,
|
|
653
|
+
trim 67 lines of duplicated preset detail from CONFIGURATION.md
|
|
654
|
+
|
|
655
|
+
---
|
|
656
|
+
|
|
657
|
+
## 11. Prioritization Matrix
|
|
658
|
+
|
|
659
|
+
### By Impact and Effort
|
|
660
|
+
|
|
661
|
+
| Priority | Work Package | Impact | Effort | Blocks |
|
|
662
|
+
| -------- | --------------------------- | ------------------------- | -------- | ------------------ |
|
|
663
|
+
| **P0** | WP-1: Fix sync script | Unblocks website build | Small | Website deployment |
|
|
664
|
+
| ~~P1~~ | ~~WP-2: Enhanced index~~ | **Done** (IndexCodec) | Complete | N/A |
|
|
665
|
+
| ~~P1~~ | ~~WP-3: Architecture gen~~ | **Done** | Complete | N/A |
|
|
666
|
+
| **P1** | WP-9: Quality polish | Website-ready content | Medium | Website launch |
|
|
667
|
+
| ~~P2~~ | ~~WP-4: Changelog gen~~ | **Done** | Complete | N/A |
|
|
668
|
+
| ~~P2~~ | ~~WP-5: Error guide codec~~ | **Done** | Complete | N/A |
|
|
669
|
+
| ~~P2~~ | ~~WP-6: CLI recipe codec~~ | **Done** | Complete | N/A |
|
|
670
|
+
| ~~P3~~ | ~~WP-7: Procedural guide~~ | **Done** | Complete | N/A |
|
|
671
|
+
| **P3** | WP-8: Methodology decision | Clarifies hybrid approach | Small | Nothing |
|
|
672
|
+
|
|
673
|
+
### Master Spec Phases NOT Covered by Work Packages
|
|
674
|
+
|
|
675
|
+
| Phase | Description | Status |
|
|
676
|
+
| -------------------------------------- | ----------------------------------------- | ------------------------------------------------------------------- |
|
|
677
|
+
| Phase 1 - Taxonomy consolidation | Redirect docs/TAXONOMY.md to generated | Pending -- manual docs/ preserved as reference until quality parity |
|
|
678
|
+
| Phase 39 - Session workflow module gen | Generate CLAUDE.md session section | Blocked on Phase 25 (ClaudeModuleCodec). Not actionable yet. |
|
|
679
|
+
| Phase 42 - README.md rationalization | Trim to ~150 lines, move pitch to website | Separate initiative, not a docs/ vs docs-live/ gap. |
|
|
680
|
+
|
|
681
|
+
### Recommended Execution Order
|
|
682
|
+
|
|
683
|
+
```
|
|
684
|
+
Remaining: WP-1 (fix sync) -> WP-9 (quality polish) -> WP-8 (methodology)
|
|
685
|
+
All other work packages are complete.
|
|
686
|
+
```
|
|
687
|
+
|
|
688
|
+
### Deprecation Roadmap
|
|
689
|
+
|
|
690
|
+
| Manual Doc | Can Deprecate After | Prerequisite WPs |
|
|
691
|
+
| ------------------- | --------------------------------- | --------------------------------------- |
|
|
692
|
+
| TAXONOMY.md | Now (generated version is better) | WP-1 (sync fix) |
|
|
693
|
+
| ARCHITECTURE.md | WP-3 + WP-9 | Architecture generator + quality polish |
|
|
694
|
+
| PROCESS-GUARD.md | WP-5 | Error guide codec |
|
|
695
|
+
| PROCESS-API.md | Done (WP-6 complete) | Trimmed to pointer file |
|
|
696
|
+
| ANNOTATION-GUIDE.md | WP-7 (partial) | Guide codec with getting-started |
|
|
697
|
+
| VALIDATION.md | WP-5 + WP-7 | Error guide + procedural guides |
|
|
698
|
+
| SESSION-GUIDES.md | WP-7 | Procedural guide codec |
|
|
699
|
+
| GHERKIN-PATTERNS.md | WP-7 or never | Authoring guide is inherently editorial |
|
|
700
|
+
| METHODOLOGY.md | Never (hybrid) | N/A -- keep as manual |
|
|
701
|
+
| CONFIGURATION.md | WP-7 (partial) | Guide codec with preset selection |
|
|
702
|
+
| INDEX.md | WP-2 | Enhanced index generation |
|
|
703
|
+
|
|
704
|
+
### Realistic Target
|
|
705
|
+
|
|
706
|
+
Reduce from **11 manual docs to 3** (METHODOLOGY.md, GHERKIN-PATTERNS.md, and a
|
|
707
|
+
simplified INDEX.md) after completing WP-1 through WP-7. This eliminates ~80% of
|
|
708
|
+
manual maintenance burden while preserving irreducibly editorial content.
|
|
709
|
+
|
|
710
|
+
---
|
|
711
|
+
|
|
712
|
+
## 10.5. Spec Coverage Status
|
|
713
|
+
|
|
714
|
+
Maps each WP to its architect spec, design status, and code stubs.
|
|
715
|
+
|
|
716
|
+
| WP | Pattern | Spec Status | Design Status | Stubs |
|
|
717
|
+
| ---- | -------------------------- | ------------ | -------------------------------------------- | ------- |
|
|
718
|
+
| WP-1 | N/A (website repo) | Out of scope | N/A | N/A |
|
|
719
|
+
| WP-2 | EnhancedIndexGeneration | completed | Design + implementation complete | 3 stubs |
|
|
720
|
+
| WP-3 | (master spec deliverable) | completed | Trivial config change done | N/A |
|
|
721
|
+
| WP-4 | (master spec deliverable) | completed | Trivial config change done | N/A |
|
|
722
|
+
| WP-5 | ErrorGuideCodec | completed | Design complete (6 findings) | 3 stubs |
|
|
723
|
+
| WP-6 | CliRecipeCodec | completed | Design + implementation complete | 3 stubs |
|
|
724
|
+
| WP-7 | ProceduralGuideCodec | completed | Design complete (8 findings), DD-7/DD-8 done | 5 stubs |
|
|
725
|
+
| WP-8 | (master spec: keep manual) | N/A | Already decided | N/A |
|
|
726
|
+
| WP-9 | (master spec Phase 38) | pending | Implementation tasks | N/A |
|
|
727
|
+
|
|
728
|
+
### Design Session Summary
|
|
729
|
+
|
|
730
|
+
All 4 new specs (ErrorGuideCodec, CliRecipeCodec, EnhancedIndexGeneration,
|
|
731
|
+
ProceduralGuideCodec) have completed design sessions with findings and code stubs:
|
|
732
|
+
|
|
733
|
+
- **ProceduralGuideCodec** design found that no new codec class is needed -- reuses
|
|
734
|
+
`createReferenceCodec()` with two `ReferenceDocConfig` entries. Preamble content
|
|
735
|
+
authored as markdown in `docs-sources/` and parsed into `SectionBlock[]` at config
|
|
736
|
+
load time by a shared `loadPreambleFromMarkdown()` utility (DD-7/DD-8).
|
|
737
|
+
- **ErrorGuideCodec** extends the existing `ValidationRulesCodec` with a new
|
|
738
|
+
`includeErrorGuide` toggle and convention-tagged annotations on `src/lint/` source.
|
|
739
|
+
- **CliRecipeCodec** creates a sibling `CliRecipeGenerator` to `ProcessApiReferenceGenerator`,
|
|
740
|
+
both standalone `DocumentGenerator` implementations consuming `CLI_SCHEMA` directly.
|
|
741
|
+
- **EnhancedIndexGeneration** creates a new `IndexCodec` registered in `CodecRegistry`,
|
|
742
|
+
composing MasterDataset-driven statistics with editorial preamble navigation content.
|
|
743
|
+
|
|
744
|
+
**Master spec status:** 11/15 deliverables complete. WP-2 (IndexCodec) implementation
|
|
745
|
+
is complete but manual docs/ files are preserved as reference — Phase 1 (taxonomy
|
|
746
|
+
consolidation), Phase 5 (guide trimming), and Phase 6 (index navigation) remain
|
|
747
|
+
pending until generated docs reach quality parity for manual doc archival. Phase 38
|
|
748
|
+
(generated doc quality improvements) is also pending.
|
|
749
|
+
|
|
750
|
+
---
|
|
751
|
+
|
|
752
|
+
## 12. Appendix: File Inventories
|
|
753
|
+
|
|
754
|
+
### A. Manual docs/ (11 files, ~4,537 lines)
|
|
755
|
+
|
|
756
|
+
| File | Lines | Generatability |
|
|
757
|
+
| ------------------- | ----- | ------------------------------------------- |
|
|
758
|
+
| INDEX.md | 353 | Partial (navigation is editorial) |
|
|
759
|
+
| ANNOTATION-GUIDE.md | 270 | Partial (tags auto, gotchas manual) |
|
|
760
|
+
| ARCHITECTURE.md | 1,638 | Partial (pipeline auto, rationale manual) |
|
|
761
|
+
| CONFIGURATION.md | 357 | Partial (options auto, rationale manual) |
|
|
762
|
+
| GHERKIN-PATTERNS.md | 366 | Low (style guide is editorial) |
|
|
763
|
+
| METHODOLOGY.md | 238 | None (philosophy) |
|
|
764
|
+
| PROCESS-API.md | ~60 | Complete (pointer file + generated recipes) |
|
|
765
|
+
| PROCESS-GUARD.md | 341 | Partial (rules auto, fix guides manual) |
|
|
766
|
+
| SESSION-GUIDES.md | 389 | Low (checklists are procedural) |
|
|
767
|
+
| TAXONOMY.md | 107 | High (generated version is better) |
|
|
768
|
+
| VALIDATION.md | 418 | Partial (rules auto, examples manual) |
|
|
769
|
+
|
|
770
|
+
### B. Generated docs-live/ (48 files, ~20,548 lines)
|
|
771
|
+
|
|
772
|
+
**Top-level indexes (6 files):**
|
|
773
|
+
INDEX.md, PRODUCT-AREAS.md, BUSINESS-RULES.md, DECISIONS.md, TAXONOMY.md, VALIDATION-RULES.md
|
|
774
|
+
|
|
775
|
+
**Product areas (7 files):**
|
|
776
|
+
ANNOTATION.md, CONFIGURATION.md, CORE-TYPES.md, DATA-API.md, GENERATION.md, PROCESS.md, VALIDATION.md
|
|
777
|
+
|
|
778
|
+
**Architecture decisions (7 files):**
|
|
779
|
+
adr-001 through adr-006, adr-021
|
|
780
|
+
|
|
781
|
+
**Business rules (7 files):**
|
|
782
|
+
annotation.md, configuration.md, core-types.md, data-api.md, generation.md, process.md, validation.md
|
|
783
|
+
|
|
784
|
+
**Reference (5 files):**
|
|
785
|
+
ARCHITECTURE-CODECS.md, ARCHITECTURE-TYPES.md, PROCESS-API-RECIPES.md, PROCESS-API-REFERENCE.md, REFERENCE-SAMPLE.md
|
|
786
|
+
|
|
787
|
+
**Taxonomy (3 files):**
|
|
788
|
+
categories.md, format-types.md, metadata-tags.md
|
|
789
|
+
|
|
790
|
+
**Validation (3 files):**
|
|
791
|
+
error-catalog.md, fsm-transitions.md, protection-levels.md
|
|
792
|
+
|
|
793
|
+
**AI modules (10 files in \_claude-md/):**
|
|
794
|
+
7 product area overviews + 3 architecture reference compacts
|
|
795
|
+
|
|
796
|
+
### C. Website Sections (content-manifest.mjs)
|
|
797
|
+
|
|
798
|
+
| Section | Source | Current File Count |
|
|
799
|
+
| ---------------------- | ------------------------ | ------------------ |
|
|
800
|
+
| Tutorial | External repo (10 parts) | 11 |
|
|
801
|
+
| Guides | docs/ manual (5 files) | 5 |
|
|
802
|
+
| Reference | docs/ manual (5 files) | 5 |
|
|
803
|
+
| Product Areas | docs-live/ (8 files) | 8 |
|
|
804
|
+
| Architecture Decisions | docs-live/ (8 files) | 8 |
|
|
805
|
+
| Generated Reference | docs-generated/ (STALE) | 0 (broken) |
|
|
806
|
+
|
|
807
|
+
### D. Codec Inventory (22 total)
|
|
808
|
+
|
|
809
|
+
**In docs:all (9):** adrs, business-rules, taxonomy, validation-rules, reference-docs, product-area-docs, claude-modules, process-api-reference, cli-recipe
|
|
810
|
+
|
|
811
|
+
**In docs:all-preview only (14):** patterns, roadmap, milestones, requirements, session, remaining, current, session-plan, session-findings, pr-changes, changelog, traceability, architecture, overview-rdm
|