@ztothez/design-engineering 2.0.0
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/LICENSE +15 -0
- package/README.md +448 -0
- package/ROADMAP.md +127 -0
- package/SKILL.md +698 -0
- package/V2-ROADMAP.md +431 -0
- package/V3-ROADMAP.md +605 -0
- package/V4-ROADMAP.md +283 -0
- package/clean-room-ux-design-spec.md +1431 -0
- package/dist/cli/aggregate-gates.d.ts +2 -0
- package/dist/cli/aggregate-gates.js +86 -0
- package/dist/cli/aggregate-gates.js.map +1 -0
- package/dist/cli/assess-maintainer-review.d.ts +2 -0
- package/dist/cli/assess-maintainer-review.js +72 -0
- package/dist/cli/assess-maintainer-review.js.map +1 -0
- package/dist/cli/audit.d.ts +2 -0
- package/dist/cli/audit.js +71 -0
- package/dist/cli/audit.js.map +1 -0
- package/dist/cli/compile-comparison-review.d.ts +2 -0
- package/dist/cli/compile-comparison-review.js +154 -0
- package/dist/cli/compile-comparison-review.js.map +1 -0
- package/dist/cli/compile-plan.d.ts +2 -0
- package/dist/cli/compile-plan.js +66 -0
- package/dist/cli/compile-plan.js.map +1 -0
- package/dist/cli/evaluate-corpus.d.ts +2 -0
- package/dist/cli/evaluate-corpus.js +65 -0
- package/dist/cli/evaluate-corpus.js.map +1 -0
- package/dist/cli/generate-react.d.ts +2 -0
- package/dist/cli/generate-react.js +83 -0
- package/dist/cli/generate-react.js.map +1 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.js +58 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/portfolio.d.ts +2 -0
- package/dist/cli/portfolio.js +316 -0
- package/dist/cli/portfolio.js.map +1 -0
- package/dist/cli/quality-gate.d.ts +2 -0
- package/dist/cli/quality-gate.js +131 -0
- package/dist/cli/quality-gate.js.map +1 -0
- package/dist/cli/repair-react.d.ts +2 -0
- package/dist/cli/repair-react.js +163 -0
- package/dist/cli/repair-react.js.map +1 -0
- package/dist/cli/review-heuristics.d.ts +2 -0
- package/dist/cli/review-heuristics.js +68 -0
- package/dist/cli/review-heuristics.js.map +1 -0
- package/dist/cli/validate-brief.d.ts +2 -0
- package/dist/cli/validate-brief.js +58 -0
- package/dist/cli/validate-brief.js.map +1 -0
- package/dist/cli/validate-comparison.d.ts +2 -0
- package/dist/cli/validate-comparison.js +68 -0
- package/dist/cli/validate-comparison.js.map +1 -0
- package/dist/cli/validate-contract.d.ts +2 -0
- package/dist/cli/validate-contract.js +54 -0
- package/dist/cli/validate-contract.js.map +1 -0
- package/dist/cli/validate-design.d.ts +2 -0
- package/dist/cli/validate-design.js +53 -0
- package/dist/cli/validate-design.js.map +1 -0
- package/dist/cli/validate-information.d.ts +2 -0
- package/dist/cli/validate-information.js +53 -0
- package/dist/cli/validate-information.js.map +1 -0
- package/dist/cli/validate-trust.d.ts +2 -0
- package/dist/cli/validate-trust.js +53 -0
- package/dist/cli/validate-trust.js.map +1 -0
- package/dist/cli/verify-ui.d.ts +2 -0
- package/dist/cli/verify-ui.js +181 -0
- package/dist/cli/verify-ui.js.map +1 -0
- package/dist/src/acceptance/evaluator.d.ts +13 -0
- package/dist/src/acceptance/evaluator.js +201 -0
- package/dist/src/acceptance/evaluator.js.map +1 -0
- package/dist/src/acceptance/loader.d.ts +2 -0
- package/dist/src/acceptance/loader.js +18 -0
- package/dist/src/acceptance/loader.js.map +1 -0
- package/dist/src/acceptance/report.d.ts +2 -0
- package/dist/src/acceptance/report.js +18 -0
- package/dist/src/acceptance/report.js.map +1 -0
- package/dist/src/acceptance/schema.d.ts +64 -0
- package/dist/src/acceptance/schema.js +57 -0
- package/dist/src/acceptance/schema.js.map +1 -0
- package/dist/src/acceptance/types.d.ts +47 -0
- package/dist/src/acceptance/types.js +2 -0
- package/dist/src/acceptance/types.js.map +1 -0
- package/dist/src/aggregate/report.d.ts +2 -0
- package/dist/src/aggregate/report.js +33 -0
- package/dist/src/aggregate/report.js.map +1 -0
- package/dist/src/aggregate/runner.d.ts +2 -0
- package/dist/src/aggregate/runner.js +165 -0
- package/dist/src/aggregate/runner.js.map +1 -0
- package/dist/src/aggregate/schema.d.ts +182 -0
- package/dist/src/aggregate/schema.js +54 -0
- package/dist/src/aggregate/schema.js.map +1 -0
- package/dist/src/aggregate/types.d.ts +57 -0
- package/dist/src/aggregate/types.js +2 -0
- package/dist/src/aggregate/types.js.map +1 -0
- package/dist/src/audit/policy.d.ts +3 -0
- package/dist/src/audit/policy.js +45 -0
- package/dist/src/audit/policy.js.map +1 -0
- package/dist/src/audit/report.d.ts +2 -0
- package/dist/src/audit/report.js +32 -0
- package/dist/src/audit/report.js.map +1 -0
- package/dist/src/audit/rules/accessibility-name.d.ts +2 -0
- package/dist/src/audit/rules/accessibility-name.js +64 -0
- package/dist/src/audit/rules/accessibility-name.js.map +1 -0
- package/dist/src/audit/rules/component-size.d.ts +2 -0
- package/dist/src/audit/rules/component-size.js +27 -0
- package/dist/src/audit/rules/component-size.js.map +1 -0
- package/dist/src/audit/rules/credential-placeholder.d.ts +2 -0
- package/dist/src/audit/rules/credential-placeholder.js +83 -0
- package/dist/src/audit/rules/credential-placeholder.js.map +1 -0
- package/dist/src/audit/rules/helpers.d.ts +16 -0
- package/dist/src/audit/rules/helpers.js +64 -0
- package/dist/src/audit/rules/helpers.js.map +1 -0
- package/dist/src/audit/rules/index.d.ts +2 -0
- package/dist/src/audit/rules/index.js +23 -0
- package/dist/src/audit/rules/index.js.map +1 -0
- package/dist/src/audit/rules/interactive-integrity.d.ts +2 -0
- package/dist/src/audit/rules/interactive-integrity.js +111 -0
- package/dist/src/audit/rules/interactive-integrity.js.map +1 -0
- package/dist/src/audit/rules/mixed-responsibilities.d.ts +2 -0
- package/dist/src/audit/rules/mixed-responsibilities.js +39 -0
- package/dist/src/audit/rules/mixed-responsibilities.js.map +1 -0
- package/dist/src/audit/rules/mock-production-path.d.ts +2 -0
- package/dist/src/audit/rules/mock-production-path.js +39 -0
- package/dist/src/audit/rules/mock-production-path.js.map +1 -0
- package/dist/src/audit/rules/network-state.d.ts +2 -0
- package/dist/src/audit/rules/network-state.js +39 -0
- package/dist/src/audit/rules/network-state.js.map +1 -0
- package/dist/src/audit/rules/operational-claim.d.ts +2 -0
- package/dist/src/audit/rules/operational-claim.js +94 -0
- package/dist/src/audit/rules/operational-claim.js.map +1 -0
- package/dist/src/audit/rules/placeholder-interaction.d.ts +2 -0
- package/dist/src/audit/rules/placeholder-interaction.js +46 -0
- package/dist/src/audit/rules/placeholder-interaction.js.map +1 -0
- package/dist/src/audit/rules/raw-design-values.d.ts +2 -0
- package/dist/src/audit/rules/raw-design-values.js +97 -0
- package/dist/src/audit/rules/raw-design-values.js.map +1 -0
- package/dist/src/audit/scanner.d.ts +2 -0
- package/dist/src/audit/scanner.js +215 -0
- package/dist/src/audit/scanner.js.map +1 -0
- package/dist/src/audit/types.d.ts +62 -0
- package/dist/src/audit/types.js +2 -0
- package/dist/src/audit/types.js.map +1 -0
- package/dist/src/comparison/evaluator.d.ts +2 -0
- package/dist/src/comparison/evaluator.js +478 -0
- package/dist/src/comparison/evaluator.js.map +1 -0
- package/dist/src/comparison/loader.d.ts +3 -0
- package/dist/src/comparison/loader.js +26 -0
- package/dist/src/comparison/loader.js.map +1 -0
- package/dist/src/comparison/maintainer.d.ts +47 -0
- package/dist/src/comparison/maintainer.js +218 -0
- package/dist/src/comparison/maintainer.js.map +1 -0
- package/dist/src/comparison/report.d.ts +2 -0
- package/dist/src/comparison/report.js +48 -0
- package/dist/src/comparison/report.js.map +1 -0
- package/dist/src/comparison/schema.d.ts +464 -0
- package/dist/src/comparison/schema.js +502 -0
- package/dist/src/comparison/schema.js.map +1 -0
- package/dist/src/contracts/archetypes.d.ts +21 -0
- package/dist/src/contracts/archetypes.js +102 -0
- package/dist/src/contracts/archetypes.js.map +1 -0
- package/dist/src/contracts/journeys.d.ts +7 -0
- package/dist/src/contracts/journeys.js +32 -0
- package/dist/src/contracts/journeys.js.map +1 -0
- package/dist/src/contracts/report.d.ts +2 -0
- package/dist/src/contracts/report.js +33 -0
- package/dist/src/contracts/report.js.map +1 -0
- package/dist/src/contracts/schema.d.ts +1038 -0
- package/dist/src/contracts/schema.js +385 -0
- package/dist/src/contracts/schema.js.map +1 -0
- package/dist/src/contracts/validator.d.ts +12 -0
- package/dist/src/contracts/validator.js +303 -0
- package/dist/src/contracts/validator.js.map +1 -0
- package/dist/src/corpus/evaluator.d.ts +2 -0
- package/dist/src/corpus/evaluator.js +203 -0
- package/dist/src/corpus/evaluator.js.map +1 -0
- package/dist/src/corpus/loader.d.ts +2 -0
- package/dist/src/corpus/loader.js +20 -0
- package/dist/src/corpus/loader.js.map +1 -0
- package/dist/src/corpus/report.d.ts +2 -0
- package/dist/src/corpus/report.js +33 -0
- package/dist/src/corpus/report.js.map +1 -0
- package/dist/src/corpus/schema.d.ts +316 -0
- package/dist/src/corpus/schema.js +269 -0
- package/dist/src/corpus/schema.js.map +1 -0
- package/dist/src/design-intelligence/loader.d.ts +2 -0
- package/dist/src/design-intelligence/loader.js +21 -0
- package/dist/src/design-intelligence/loader.js.map +1 -0
- package/dist/src/design-intelligence/report.d.ts +2 -0
- package/dist/src/design-intelligence/report.js +36 -0
- package/dist/src/design-intelligence/report.js.map +1 -0
- package/dist/src/design-intelligence/schema.d.ts +838 -0
- package/dist/src/design-intelligence/schema.js +854 -0
- package/dist/src/design-intelligence/schema.js.map +1 -0
- package/dist/src/design-intelligence/validator.d.ts +2 -0
- package/dist/src/design-intelligence/validator.js +1371 -0
- package/dist/src/design-intelligence/validator.js.map +1 -0
- package/dist/src/design-plan/compiler.d.ts +8 -0
- package/dist/src/design-plan/compiler.js +288 -0
- package/dist/src/design-plan/compiler.js.map +1 -0
- package/dist/src/design-plan/report.d.ts +2 -0
- package/dist/src/design-plan/report.js +28 -0
- package/dist/src/design-plan/report.js.map +1 -0
- package/dist/src/design-plan/schema.d.ts +202 -0
- package/dist/src/design-plan/schema.js +76 -0
- package/dist/src/design-plan/schema.js.map +1 -0
- package/dist/src/generation/loader.d.ts +2 -0
- package/dist/src/generation/loader.js +21 -0
- package/dist/src/generation/loader.js.map +1 -0
- package/dist/src/generation/policy.d.ts +12 -0
- package/dist/src/generation/policy.js +62 -0
- package/dist/src/generation/policy.js.map +1 -0
- package/dist/src/generation/react-typescript.d.ts +6 -0
- package/dist/src/generation/react-typescript.js +538 -0
- package/dist/src/generation/react-typescript.js.map +1 -0
- package/dist/src/generation/report.d.ts +2 -0
- package/dist/src/generation/report.js +21 -0
- package/dist/src/generation/report.js.map +1 -0
- package/dist/src/generation/schema.d.ts +44 -0
- package/dist/src/generation/schema.js +50 -0
- package/dist/src/generation/schema.js.map +1 -0
- package/dist/src/generation/templates/tokens.d.ts +1 -0
- package/dist/src/generation/templates/tokens.js +59 -0
- package/dist/src/generation/templates/tokens.js.map +1 -0
- package/dist/src/heuristics/evaluator.d.ts +2 -0
- package/dist/src/heuristics/evaluator.js +65 -0
- package/dist/src/heuristics/evaluator.js.map +1 -0
- package/dist/src/heuristics/loader.d.ts +2 -0
- package/dist/src/heuristics/loader.js +21 -0
- package/dist/src/heuristics/loader.js.map +1 -0
- package/dist/src/heuristics/report.d.ts +3 -0
- package/dist/src/heuristics/report.js +31 -0
- package/dist/src/heuristics/report.js.map +1 -0
- package/dist/src/heuristics/schema.d.ts +198 -0
- package/dist/src/heuristics/schema.js +197 -0
- package/dist/src/heuristics/schema.js.map +1 -0
- package/dist/src/information-design/loader.d.ts +2 -0
- package/dist/src/information-design/loader.js +21 -0
- package/dist/src/information-design/loader.js.map +1 -0
- package/dist/src/information-design/report.d.ts +2 -0
- package/dist/src/information-design/report.js +27 -0
- package/dist/src/information-design/report.js.map +1 -0
- package/dist/src/information-design/schema.d.ts +370 -0
- package/dist/src/information-design/schema.js +329 -0
- package/dist/src/information-design/schema.js.map +1 -0
- package/dist/src/information-design/validator.d.ts +2 -0
- package/dist/src/information-design/validator.js +242 -0
- package/dist/src/information-design/validator.js.map +1 -0
- package/dist/src/interface-trust/loader.d.ts +2 -0
- package/dist/src/interface-trust/loader.js +21 -0
- package/dist/src/interface-trust/loader.js.map +1 -0
- package/dist/src/interface-trust/report.d.ts +2 -0
- package/dist/src/interface-trust/report.js +26 -0
- package/dist/src/interface-trust/report.js.map +1 -0
- package/dist/src/interface-trust/schema.d.ts +299 -0
- package/dist/src/interface-trust/schema.js +238 -0
- package/dist/src/interface-trust/schema.js.map +1 -0
- package/dist/src/interface-trust/validator.d.ts +2 -0
- package/dist/src/interface-trust/validator.js +283 -0
- package/dist/src/interface-trust/validator.js.map +1 -0
- package/dist/src/portfolio/adapter-report.d.ts +3 -0
- package/dist/src/portfolio/adapter-report.js +38 -0
- package/dist/src/portfolio/adapter-report.js.map +1 -0
- package/dist/src/portfolio/adapters.d.ts +37 -0
- package/dist/src/portfolio/adapters.js +325 -0
- package/dist/src/portfolio/adapters.js.map +1 -0
- package/dist/src/portfolio/evidence.d.ts +9 -0
- package/dist/src/portfolio/evidence.js +233 -0
- package/dist/src/portfolio/evidence.js.map +1 -0
- package/dist/src/portfolio/files.d.ts +8 -0
- package/dist/src/portfolio/files.js +77 -0
- package/dist/src/portfolio/files.js.map +1 -0
- package/dist/src/portfolio/fixture-server.d.ts +11 -0
- package/dist/src/portfolio/fixture-server.js +131 -0
- package/dist/src/portfolio/fixture-server.js.map +1 -0
- package/dist/src/portfolio/loader.d.ts +2 -0
- package/dist/src/portfolio/loader.js +21 -0
- package/dist/src/portfolio/loader.js.map +1 -0
- package/dist/src/portfolio/mcp.d.ts +186 -0
- package/dist/src/portfolio/mcp.js +117 -0
- package/dist/src/portfolio/mcp.js.map +1 -0
- package/dist/src/portfolio/promotion-schema.d.ts +220 -0
- package/dist/src/portfolio/promotion-schema.js +148 -0
- package/dist/src/portfolio/promotion-schema.js.map +1 -0
- package/dist/src/portfolio/promotion.d.ts +4 -0
- package/dist/src/portfolio/promotion.js +160 -0
- package/dist/src/portfolio/promotion.js.map +1 -0
- package/dist/src/portfolio/qualification-schema.d.ts +268 -0
- package/dist/src/portfolio/qualification-schema.js +112 -0
- package/dist/src/portfolio/qualification-schema.js.map +1 -0
- package/dist/src/portfolio/qualification.d.ts +4 -0
- package/dist/src/portfolio/qualification.js +157 -0
- package/dist/src/portfolio/qualification.js.map +1 -0
- package/dist/src/portfolio/registry.d.ts +34 -0
- package/dist/src/portfolio/registry.js +240 -0
- package/dist/src/portfolio/registry.js.map +1 -0
- package/dist/src/portfolio/report.d.ts +4 -0
- package/dist/src/portfolio/report.js +47 -0
- package/dist/src/portfolio/report.js.map +1 -0
- package/dist/src/portfolio/run-schema.d.ts +135 -0
- package/dist/src/portfolio/run-schema.js +81 -0
- package/dist/src/portfolio/run-schema.js.map +1 -0
- package/dist/src/portfolio/runner.d.ts +118 -0
- package/dist/src/portfolio/runner.js +423 -0
- package/dist/src/portfolio/runner.js.map +1 -0
- package/dist/src/portfolio/schema.d.ts +251 -0
- package/dist/src/portfolio/schema.js +317 -0
- package/dist/src/portfolio/schema.js.map +1 -0
- package/dist/src/portfolio/snapshot.d.ts +89 -0
- package/dist/src/portfolio/snapshot.js +548 -0
- package/dist/src/portfolio/snapshot.js.map +1 -0
- package/dist/src/portfolio/taxonomy-schema.d.ts +215 -0
- package/dist/src/portfolio/taxonomy-schema.js +74 -0
- package/dist/src/portfolio/taxonomy-schema.js.map +1 -0
- package/dist/src/portfolio/taxonomy.d.ts +5 -0
- package/dist/src/portfolio/taxonomy.js +236 -0
- package/dist/src/portfolio/taxonomy.js.map +1 -0
- package/dist/src/portfolio/vault.d.ts +53 -0
- package/dist/src/portfolio/vault.js +176 -0
- package/dist/src/portfolio/vault.js.map +1 -0
- package/dist/src/product-brief/loader.d.ts +2 -0
- package/dist/src/product-brief/loader.js +21 -0
- package/dist/src/product-brief/loader.js.map +1 -0
- package/dist/src/product-brief/report.d.ts +2 -0
- package/dist/src/product-brief/report.js +22 -0
- package/dist/src/product-brief/report.js.map +1 -0
- package/dist/src/product-brief/schema.d.ts +367 -0
- package/dist/src/product-brief/schema.js +272 -0
- package/dist/src/product-brief/schema.js.map +1 -0
- package/dist/src/product-brief/validator.d.ts +2 -0
- package/dist/src/product-brief/validator.js +251 -0
- package/dist/src/product-brief/validator.js.map +1 -0
- package/dist/src/product.d.ts +7 -0
- package/dist/src/product.js +28 -0
- package/dist/src/product.js.map +1 -0
- package/dist/src/quality-gate/report.d.ts +2 -0
- package/dist/src/quality-gate/report.js +46 -0
- package/dist/src/quality-gate/report.js.map +1 -0
- package/dist/src/quality-gate/runner.d.ts +2 -0
- package/dist/src/quality-gate/runner.js +175 -0
- package/dist/src/quality-gate/runner.js.map +1 -0
- package/dist/src/quality-gate/schema.d.ts +75 -0
- package/dist/src/quality-gate/schema.js +37 -0
- package/dist/src/quality-gate/schema.js.map +1 -0
- package/dist/src/quality-gate/types.d.ts +49 -0
- package/dist/src/quality-gate/types.js +2 -0
- package/dist/src/quality-gate/types.js.map +1 -0
- package/dist/src/repair/loader.d.ts +2 -0
- package/dist/src/repair/loader.js +11 -0
- package/dist/src/repair/loader.js.map +1 -0
- package/dist/src/repair/policy.d.ts +16 -0
- package/dist/src/repair/policy.js +65 -0
- package/dist/src/repair/policy.js.map +1 -0
- package/dist/src/repair/report.d.ts +2 -0
- package/dist/src/repair/report.js +32 -0
- package/dist/src/repair/report.js.map +1 -0
- package/dist/src/repair/runner.d.ts +17 -0
- package/dist/src/repair/runner.js +511 -0
- package/dist/src/repair/runner.js.map +1 -0
- package/dist/src/repair/schema.d.ts +264 -0
- package/dist/src/repair/schema.js +202 -0
- package/dist/src/repair/schema.js.map +1 -0
- package/dist/src/retrieval/report.d.ts +2 -0
- package/dist/src/retrieval/report.js +21 -0
- package/dist/src/retrieval/report.js.map +1 -0
- package/dist/src/retrieval/schema.d.ts +123 -0
- package/dist/src/retrieval/schema.js +77 -0
- package/dist/src/retrieval/schema.js.map +1 -0
- package/dist/src/retrieval/search.d.ts +26 -0
- package/dist/src/retrieval/search.js +415 -0
- package/dist/src/retrieval/search.js.map +1 -0
- package/dist/src/runtime/advanced-checks.d.ts +6 -0
- package/dist/src/runtime/advanced-checks.js +487 -0
- package/dist/src/runtime/advanced-checks.js.map +1 -0
- package/dist/src/runtime/composition-checks.d.ts +5 -0
- package/dist/src/runtime/composition-checks.js +307 -0
- package/dist/src/runtime/composition-checks.js.map +1 -0
- package/dist/src/runtime/interface-checks.d.ts +12 -0
- package/dist/src/runtime/interface-checks.js +224 -0
- package/dist/src/runtime/interface-checks.js.map +1 -0
- package/dist/src/runtime/policy.d.ts +13 -0
- package/dist/src/runtime/policy.js +97 -0
- package/dist/src/runtime/policy.js.map +1 -0
- package/dist/src/runtime/report.d.ts +2 -0
- package/dist/src/runtime/report.js +48 -0
- package/dist/src/runtime/report.js.map +1 -0
- package/dist/src/runtime/schema.d.ts +406 -0
- package/dist/src/runtime/schema.js +308 -0
- package/dist/src/runtime/schema.js.map +1 -0
- package/dist/src/runtime/types.d.ts +177 -0
- package/dist/src/runtime/types.js +2 -0
- package/dist/src/runtime/types.js.map +1 -0
- package/dist/src/runtime/verifier.d.ts +2 -0
- package/dist/src/runtime/verifier.js +1201 -0
- package/dist/src/runtime/verifier.js.map +1 -0
- package/dist/src/server.d.ts +2 -0
- package/dist/src/server.js +1352 -0
- package/dist/src/server.js.map +1 -0
- package/docs/installation.md +337 -0
- package/knowledge-base/INDEX.md +285 -0
- package/knowledge-base/benchmarks/aegisops/CALIBRATION.md +52 -0
- package/knowledge-base/benchmarks/aegisops/MANIFEST.md +56 -0
- package/knowledge-base/benchmarks/aegisops/SOURCE-EVIDENCE.md +45 -0
- package/knowledge-base/benchmarks/aegisops/acceptance-criteria.md +42 -0
- package/knowledge-base/benchmarks/aegisops/anti-patterns.md +19 -0
- package/knowledge-base/benchmarks/aegisops/attestations.template.yaml +3 -0
- package/knowledge-base/benchmarks/aegisops/attestations.yaml +115 -0
- package/knowledge-base/benchmarks/aegisops/journeys.json +91 -0
- package/knowledge-base/benchmarks/aegisops/product-contract.yaml +328 -0
- package/knowledge-base/benchmarks/azure-optimizer/SOURCE-EVIDENCE.md +26 -0
- package/knowledge-base/benchmarks/azure-optimizer/V2-IMPLEMENTATION.md +39 -0
- package/knowledge-base/benchmarks/azure-optimizer/acceptance-criteria.md +23 -0
- package/knowledge-base/benchmarks/azure-optimizer/anti-patterns.md +13 -0
- package/knowledge-base/benchmarks/azure-optimizer/journeys.json +88 -0
- package/knowledge-base/benchmarks/azure-optimizer/product-contract.yaml +216 -0
- package/knowledge-base/benchmarks/azure-optimizer/v2-human-review-methodology.yaml +171 -0
- package/knowledge-base/benchmarks/azure-optimizer/v2-journeys.json +139 -0
- package/knowledge-base/benchmarks/corpus/PROVENANCE.md +21 -0
- package/knowledge-base/benchmarks/corpus/README.md +30 -0
- package/knowledge-base/benchmarks/corpus/cases/anti-slop-negative/package.json +9 -0
- package/knowledge-base/benchmarks/corpus/cases/anti-slop-negative/src/FakeDashboard.tsx +10 -0
- package/knowledge-base/benchmarks/corpus/cases/anti-slop-positive/package.json +9 -0
- package/knowledge-base/benchmarks/corpus/cases/anti-slop-positive/src/Progress.tsx +15 -0
- package/knowledge-base/benchmarks/corpus/cases/architecture-negative/package.json +9 -0
- package/knowledge-base/benchmarks/corpus/cases/architecture-negative/src/OperationsPanel.tsx +40 -0
- package/knowledge-base/benchmarks/corpus/cases/architecture-positive/package.json +9 -0
- package/knowledge-base/benchmarks/corpus/cases/architecture-positive/src/Dashboard.tsx +17 -0
- package/knowledge-base/benchmarks/corpus/cases/architecture-positive/src/theme.css +15 -0
- package/knowledge-base/benchmarks/corpus/cases/task-incomplete/SOURCE-EVIDENCE.md +3 -0
- package/knowledge-base/benchmarks/corpus/cases/task-incomplete/journeys.json +20 -0
- package/knowledge-base/benchmarks/corpus/cases/task-incomplete/product-contract.yaml +78 -0
- package/knowledge-base/benchmarks/corpus/corpus.schema.yaml +159 -0
- package/knowledge-base/benchmarks/corpus/corpus.yaml +209 -0
- package/knowledge-base/benchmarks/interface-quality/README.md +26 -0
- package/knowledge-base/benchmarks/interface-quality/SOLO-MAINTAINER-TRACK.md +35 -0
- package/knowledge-base/benchmarks/interface-quality/comparison-methodology-v1.1.schema.yaml +288 -0
- package/knowledge-base/benchmarks/interface-quality/comparison-methodology.schema.yaml +235 -0
- package/knowledge-base/benchmarks/interface-quality/comparison-methodology.template.yaml +181 -0
- package/knowledge-base/benchmarks/interface-quality/evidence/example-runtime-report.json +11 -0
- package/knowledge-base/benchmarks/interface-quality/review-session.schema.yaml +14 -0
- package/knowledge-base/benchmarks/interface-quality/review.schema.yaml +296 -0
- package/knowledge-base/benchmarks/interface-quality/review.template.yaml +43 -0
- package/knowledge-base/benchmarks/portfolio-corpus/ADAPTERS.md +68 -0
- package/knowledge-base/benchmarks/portfolio-corpus/PORTFOLIO-RUNNER.md +131 -0
- package/knowledge-base/benchmarks/portfolio-corpus/PRODUCT-TASK-CONTRACTS.md +29 -0
- package/knowledge-base/benchmarks/portfolio-corpus/PROMOTED-RULES.md +31 -0
- package/knowledge-base/benchmarks/portfolio-corpus/archetype-profiles.yaml +26 -0
- package/knowledge-base/benchmarks/portfolio-corpus/product-task-profile.schema.yaml +105 -0
- package/knowledge-base/benchmarks/portfolio-corpus/registry.schema.yaml +188 -0
- package/knowledge-base/benchmarks/portfolio-corpus/registry.template.yaml +63 -0
- package/knowledge-base/benchmarks/portfolio-corpus/rule-fixtures/component-size-abstention.json +10 -0
- package/knowledge-base/benchmarks/portfolio-corpus/rule-fixtures/component-size-negative.json +10 -0
- package/knowledge-base/benchmarks/portfolio-corpus/rule-fixtures/component-size-positive.json +10 -0
- package/knowledge-base/benchmarks/portfolio-corpus/rule-fixtures/interactive-integrity-abstention.json +10 -0
- package/knowledge-base/benchmarks/portfolio-corpus/rule-fixtures/interactive-integrity-negative.json +10 -0
- package/knowledge-base/benchmarks/portfolio-corpus/rule-fixtures/interactive-integrity-positive.json +10 -0
- package/knowledge-base/benchmarks/portfolio-corpus/rule-fixtures/raw-design-values-abstention.json +10 -0
- package/knowledge-base/benchmarks/portfolio-corpus/rule-fixtures/raw-design-values-negative.json +10 -0
- package/knowledge-base/benchmarks/portfolio-corpus/rule-fixtures/raw-design-values-positive.json +10 -0
- package/knowledge-base/benchmarks/portfolio-corpus/rule-holdout-evaluation.template.json +14 -0
- package/knowledge-base/benchmarks/portfolio-corpus/rule-promotion-evidence.template.json +24 -0
- package/knowledge-base/benchmarks/portfolio-corpus/v3-command-evidence.template.json +17 -0
- package/knowledge-base/benchmarks/portfolio-corpus/v3-qualification-evidence.template.json +29 -0
- package/knowledge-base/benchmarks/scenestart/CALIBRATION.md +95 -0
- package/knowledge-base/benchmarks/scenestart/MANIFEST.md +53 -0
- package/knowledge-base/benchmarks/scenestart/SOURCE-EVIDENCE.md +43 -0
- package/knowledge-base/benchmarks/scenestart/acceptance-criteria.md +59 -0
- package/knowledge-base/benchmarks/scenestart/anti-patterns.md +26 -0
- package/knowledge-base/benchmarks/scenestart/attestations.template.yaml +3 -0
- package/knowledge-base/benchmarks/scenestart/attestations.yaml +21 -0
- package/knowledge-base/benchmarks/scenestart/human-review.md +99 -0
- package/knowledge-base/benchmarks/scenestart/human-review.template.md +105 -0
- package/knowledge-base/benchmarks/scenestart/journeys.json +141 -0
- package/knowledge-base/benchmarks/scenestart/product-contract.yaml +427 -0
- package/knowledge-base/dependencies.yaml +69 -0
- package/knowledge-base/design-intelligence/MASTER.md +87 -0
- package/knowledge-base/design-intelligence/asset-generation.md +66 -0
- package/knowledge-base/design-intelligence/brand-systems.md +69 -0
- package/knowledge-base/design-intelligence/closed-loop-repair.md +95 -0
- package/knowledge-base/design-intelligence/design-deliverable.schema.yaml +1194 -0
- package/knowledge-base/design-intelligence/design-deliverable.template.yaml +591 -0
- package/knowledge-base/design-intelligence/design-plan.md +78 -0
- package/knowledge-base/design-intelligence/design-plan.schema.yaml +621 -0
- package/knowledge-base/design-intelligence/figma-production.md +63 -0
- package/knowledge-base/design-intelligence/generation-adapter.md +72 -0
- package/knowledge-base/design-intelligence/generation-adapter.schema.yaml +47 -0
- package/knowledge-base/design-intelligence/iconography.md +46 -0
- package/knowledge-base/design-intelligence/information-design.md +104 -0
- package/knowledge-base/design-intelligence/information-design.schema.yaml +390 -0
- package/knowledge-base/design-intelligence/information-design.template.yaml +281 -0
- package/knowledge-base/design-intelligence/interaction-recovery-verification.md +72 -0
- package/knowledge-base/design-intelligence/interface-trust.md +103 -0
- package/knowledge-base/design-intelligence/interface-trust.schema.yaml +263 -0
- package/knowledge-base/design-intelligence/interface-trust.template.yaml +173 -0
- package/knowledge-base/design-intelligence/licensing-and-provenance.md +59 -0
- package/knowledge-base/design-intelligence/presentation-design.md +56 -0
- package/knowledge-base/design-intelligence/product-design-brief.md +67 -0
- package/knowledge-base/design-intelligence/product-design-brief.schema.yaml +279 -0
- package/knowledge-base/design-intelligence/product-design-brief.template.yaml +225 -0
- package/knowledge-base/design-intelligence/repair-request.schema.yaml +95 -0
- package/knowledge-base/design-intelligence/repair-request.template.yaml +39 -0
- package/knowledge-base/design-intelligence/visual-accessibility.md +56 -0
- package/knowledge-base/design-intelligence/visual-polish.md +172 -0
- package/knowledge-base/maintained/architecture/MASTER.md +22 -0
- package/knowledge-base/maintained/architecture/component-boundaries.md +30 -0
- package/knowledge-base/maintained/architecture/product-platforms.md +25 -0
- package/knowledge-base/maintained/architecture/quality-attributes-and-evaluation.md +35 -0
- package/knowledge-base/maintained/product-patterns/MASTER.md +10 -0
- package/knowledge-base/maintained/product-patterns/ai-workspaces.md +26 -0
- package/knowledge-base/maintained/product-patterns/operational-dashboards.md +22 -0
- package/knowledge-base/provenance.yaml +196 -0
- package/knowledge-base/retrieval-scope.yaml +43 -0
- package/knowledge-base/usability-evaluation/HEURISTIC_EVALUATION.md +115 -0
- package/knowledge-base/usability-evaluation/heuristic-review.schema.yaml +210 -0
- package/knowledge-base/usability-evaluation/heuristic-review.template.yaml +37 -0
- package/package.json +133 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { useEffect, useState } from "react";
|
|
2
|
+
|
|
3
|
+
export function OperationsPanel() {
|
|
4
|
+
const [loading, setLoading] = useState(false);
|
|
5
|
+
const [error, setError] = useState("");
|
|
6
|
+
const [result, setResult] = useState("");
|
|
7
|
+
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
const stored = localStorage.getItem("operation-result");
|
|
10
|
+
if (stored) setResult(stored);
|
|
11
|
+
}, []);
|
|
12
|
+
|
|
13
|
+
async function runOperation() {
|
|
14
|
+
setLoading(true);
|
|
15
|
+
setError("");
|
|
16
|
+
try {
|
|
17
|
+
const response = await fetch("/api/run", { method: "POST" });
|
|
18
|
+
if (!response.ok) throw new Error("Request failed");
|
|
19
|
+
const body = await response.text();
|
|
20
|
+
localStorage.setItem("operation-result", body);
|
|
21
|
+
setResult(body);
|
|
22
|
+
} catch (caught) {
|
|
23
|
+
setError(caught instanceof Error ? caught.message : "Operation failed");
|
|
24
|
+
} finally {
|
|
25
|
+
setLoading(false);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
return (
|
|
30
|
+
<main style={{ background: "#ffffff", color: "#111827", borderColor: "#0f766e" }}>
|
|
31
|
+
<h1>Operations</h1>
|
|
32
|
+
<p>{loading ? "Running" : "Ready"}</p>
|
|
33
|
+
{error ? <p role="alert">{error}</p> : null}
|
|
34
|
+
{result ? <pre>{result}</pre> : <p>No result yet</p>}
|
|
35
|
+
<button type="button" onClick={runOperation} disabled={loading}>
|
|
36
|
+
Run operation
|
|
37
|
+
</button>
|
|
38
|
+
</main>
|
|
39
|
+
);
|
|
40
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import "./theme.css";
|
|
2
|
+
|
|
3
|
+
type DashboardProps = {
|
|
4
|
+
completed: number;
|
|
5
|
+
total: number;
|
|
6
|
+
onRefresh: () => void;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export function Dashboard({ completed, total, onRefresh }: DashboardProps) {
|
|
10
|
+
return (
|
|
11
|
+
<main>
|
|
12
|
+
<h1>Validation overview</h1>
|
|
13
|
+
<p>{completed} of {total} checks completed</p>
|
|
14
|
+
<button type="button" onClick={onRefresh}>Refresh validation</button>
|
|
15
|
+
</main>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--surface-canvas: #ffffff;
|
|
3
|
+
--text-primary: #111827;
|
|
4
|
+
--action-primary: #075985;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
body {
|
|
8
|
+
background: var(--surface-canvas);
|
|
9
|
+
color: var(--text-primary);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
button {
|
|
13
|
+
background: var(--action-primary);
|
|
14
|
+
color: var(--surface-canvas);
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.0",
|
|
3
|
+
"contract": "incomplete-product",
|
|
4
|
+
"profiles": [
|
|
5
|
+
{
|
|
6
|
+
"id": "primary-flow",
|
|
7
|
+
"name": "Primary flow",
|
|
8
|
+
"environment": ["Local fixture is available"],
|
|
9
|
+
"journeys": [
|
|
10
|
+
{
|
|
11
|
+
"id": "complete-task",
|
|
12
|
+
"name": "complete-task",
|
|
13
|
+
"steps": [
|
|
14
|
+
{ "action": "expectVisible", "selector": "main" }
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
version: "1.0"
|
|
2
|
+
id: incomplete-product
|
|
3
|
+
name: Incomplete Product Fixture
|
|
4
|
+
status: benchmark
|
|
5
|
+
purpose: Verify that broken product-task references are rejected instead of accepted as complete.
|
|
6
|
+
authority:
|
|
7
|
+
behavior: The synthetic source evidence defines this controlled fixture.
|
|
8
|
+
visual: Task and state integrity override decoration.
|
|
9
|
+
precedence:
|
|
10
|
+
- path: SOURCE-EVIDENCE.md
|
|
11
|
+
role: Synthetic fixture declaration
|
|
12
|
+
authority: primary
|
|
13
|
+
actors:
|
|
14
|
+
- id: operator
|
|
15
|
+
name: Operator
|
|
16
|
+
goals: [Complete one bounded task]
|
|
17
|
+
responsibilities: [Review the resulting evidence]
|
|
18
|
+
modes:
|
|
19
|
+
- id: primary
|
|
20
|
+
name: Primary
|
|
21
|
+
purpose: Complete the bounded task.
|
|
22
|
+
input: Valid local input.
|
|
23
|
+
outputs: [missing-output]
|
|
24
|
+
stateMachines:
|
|
25
|
+
- id: task
|
|
26
|
+
initial: idle
|
|
27
|
+
states:
|
|
28
|
+
- id: idle
|
|
29
|
+
category: idle
|
|
30
|
+
userVisible: true
|
|
31
|
+
requirement: Input remains editable.
|
|
32
|
+
- id: complete
|
|
33
|
+
category: success
|
|
34
|
+
userVisible: true
|
|
35
|
+
requirement: Result evidence is visible.
|
|
36
|
+
transitions:
|
|
37
|
+
- from: idle
|
|
38
|
+
to: missing-state
|
|
39
|
+
trigger: Submit valid input
|
|
40
|
+
outputs:
|
|
41
|
+
- id: result
|
|
42
|
+
name: Result
|
|
43
|
+
sourceOfTruth: Current validated task state.
|
|
44
|
+
requiredEvidence: [Structured result]
|
|
45
|
+
metrics:
|
|
46
|
+
- id: completion
|
|
47
|
+
name: Completion
|
|
48
|
+
definition: Whether the current task reached its validated terminal state.
|
|
49
|
+
sourceOfTruth: Current state machine.
|
|
50
|
+
format: status
|
|
51
|
+
evidenceRequired: true
|
|
52
|
+
constraints:
|
|
53
|
+
outOfScope: [Unrelated workflows]
|
|
54
|
+
prohibitedClaims: [Completion without current evidence]
|
|
55
|
+
mockData:
|
|
56
|
+
allowedEnvironments: [test]
|
|
57
|
+
mustBeLabeled: true
|
|
58
|
+
prohibitedInProduction: true
|
|
59
|
+
fallbackDisclosure: Test data must remain visibly labeled.
|
|
60
|
+
acceptanceCriteria:
|
|
61
|
+
- id: complete-current-task
|
|
62
|
+
title: Complete current task
|
|
63
|
+
severity: blocker
|
|
64
|
+
requirement: The current task reaches a terminal state with evidence.
|
|
65
|
+
evidence: [contract, runtime]
|
|
66
|
+
appliesToModes: [missing-mode]
|
|
67
|
+
verification:
|
|
68
|
+
journeyFile: journeys.json
|
|
69
|
+
viewports:
|
|
70
|
+
- name: desktop
|
|
71
|
+
width: 1280
|
|
72
|
+
height: 800
|
|
73
|
+
bindings:
|
|
74
|
+
- profile: primary-flow
|
|
75
|
+
journey: complete-task
|
|
76
|
+
actor: missing-actor
|
|
77
|
+
mode: primary
|
|
78
|
+
acceptanceCriteria: [missing-criterion]
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
$schema: https://json-schema.org/draft/2020-12/schema
|
|
2
|
+
$id: https://ztothez.dev/schemas/corpus-benchmark-1.0.schema.json
|
|
3
|
+
title: ZtotheZ Design Engineering Corpus Benchmark
|
|
4
|
+
type: object
|
|
5
|
+
additionalProperties: false
|
|
6
|
+
required: [version, id, description, thresholds, sources, cases]
|
|
7
|
+
properties:
|
|
8
|
+
version:
|
|
9
|
+
const: "1.0"
|
|
10
|
+
id:
|
|
11
|
+
$ref: "#/$defs/id"
|
|
12
|
+
description:
|
|
13
|
+
type: string
|
|
14
|
+
minLength: 1
|
|
15
|
+
maxLength: 1024
|
|
16
|
+
thresholds:
|
|
17
|
+
type: object
|
|
18
|
+
additionalProperties: false
|
|
19
|
+
required: [overallMinimumScore, dimensions]
|
|
20
|
+
properties:
|
|
21
|
+
overallMinimumScore:
|
|
22
|
+
type: number
|
|
23
|
+
minimum: 0
|
|
24
|
+
maximum: 1
|
|
25
|
+
dimensions:
|
|
26
|
+
type: object
|
|
27
|
+
additionalProperties: false
|
|
28
|
+
required:
|
|
29
|
+
- recommendation-relevance
|
|
30
|
+
- abstention
|
|
31
|
+
- architectural-integrity
|
|
32
|
+
- task-completeness
|
|
33
|
+
- anti-slop-rejection
|
|
34
|
+
properties:
|
|
35
|
+
recommendation-relevance: { $ref: "#/$defs/threshold" }
|
|
36
|
+
abstention: { $ref: "#/$defs/threshold" }
|
|
37
|
+
architectural-integrity: { $ref: "#/$defs/threshold" }
|
|
38
|
+
task-completeness: { $ref: "#/$defs/threshold" }
|
|
39
|
+
anti-slop-rejection: { $ref: "#/$defs/threshold" }
|
|
40
|
+
sources:
|
|
41
|
+
type: array
|
|
42
|
+
minItems: 1
|
|
43
|
+
items:
|
|
44
|
+
type: object
|
|
45
|
+
additionalProperties: false
|
|
46
|
+
required: [id, title, origin, owner, license, evidence, redistribution]
|
|
47
|
+
properties:
|
|
48
|
+
id: { $ref: "#/$defs/id" }
|
|
49
|
+
title: { type: string, minLength: 1, maxLength: 256 }
|
|
50
|
+
origin: { enum: [user-owned, licensed-standard] }
|
|
51
|
+
owner: { type: string, minLength: 1, maxLength: 256 }
|
|
52
|
+
license: { type: string, minLength: 1, maxLength: 128 }
|
|
53
|
+
sourceUrl: { type: string, format: uri }
|
|
54
|
+
evidence: { $ref: "#/$defs/path" }
|
|
55
|
+
redistribution: { type: string, minLength: 1, maxLength: 512 }
|
|
56
|
+
cases:
|
|
57
|
+
type: array
|
|
58
|
+
minItems: 5
|
|
59
|
+
items:
|
|
60
|
+
oneOf:
|
|
61
|
+
- $ref: "#/$defs/retrievalCase"
|
|
62
|
+
- $ref: "#/$defs/auditCase"
|
|
63
|
+
- $ref: "#/$defs/contractCase"
|
|
64
|
+
$defs:
|
|
65
|
+
id:
|
|
66
|
+
type: string
|
|
67
|
+
pattern: "^[a-z0-9][a-z0-9-]{0,63}$"
|
|
68
|
+
path:
|
|
69
|
+
type: string
|
|
70
|
+
minLength: 1
|
|
71
|
+
maxLength: 1024
|
|
72
|
+
threshold:
|
|
73
|
+
type: object
|
|
74
|
+
additionalProperties: false
|
|
75
|
+
required: [minimumScore]
|
|
76
|
+
properties:
|
|
77
|
+
minimumScore: { type: number, minimum: 0, maximum: 1 }
|
|
78
|
+
minimumMeanReciprocalRank: { type: number, minimum: 0, maximum: 1 }
|
|
79
|
+
caseBase:
|
|
80
|
+
type: object
|
|
81
|
+
required: [id, kind, dimension, polarity, source, derivation, expected]
|
|
82
|
+
properties:
|
|
83
|
+
id: { $ref: "#/$defs/id" }
|
|
84
|
+
polarity: { enum: [positive, negative] }
|
|
85
|
+
source: { $ref: "#/$defs/id" }
|
|
86
|
+
derivation: { type: string, minLength: 1, maxLength: 1024 }
|
|
87
|
+
retrievalCase:
|
|
88
|
+
allOf:
|
|
89
|
+
- $ref: "#/$defs/caseBase"
|
|
90
|
+
- type: object
|
|
91
|
+
additionalProperties: false
|
|
92
|
+
required: [id, kind, dimension, polarity, source, derivation, query, expected]
|
|
93
|
+
properties:
|
|
94
|
+
id: { $ref: "#/$defs/id" }
|
|
95
|
+
kind: { const: retrieval }
|
|
96
|
+
dimension: { enum: [recommendation-relevance, abstention] }
|
|
97
|
+
polarity: { enum: [positive, negative] }
|
|
98
|
+
source: { $ref: "#/$defs/id" }
|
|
99
|
+
derivation: { type: string, minLength: 1, maxLength: 1024 }
|
|
100
|
+
query: { type: string, minLength: 1, maxLength: 512 }
|
|
101
|
+
categories:
|
|
102
|
+
type: array
|
|
103
|
+
minItems: 1
|
|
104
|
+
maxItems: 10
|
|
105
|
+
items: { type: string }
|
|
106
|
+
expected:
|
|
107
|
+
type: object
|
|
108
|
+
additionalProperties: false
|
|
109
|
+
required: [status]
|
|
110
|
+
properties:
|
|
111
|
+
status: { enum: [matches, no-match] }
|
|
112
|
+
path: { $ref: "#/$defs/path" }
|
|
113
|
+
maxRank: { type: integer, minimum: 1, maximum: 20 }
|
|
114
|
+
auditCase:
|
|
115
|
+
allOf:
|
|
116
|
+
- $ref: "#/$defs/caseBase"
|
|
117
|
+
- type: object
|
|
118
|
+
additionalProperties: false
|
|
119
|
+
required: [id, kind, dimension, polarity, source, derivation, target, expected]
|
|
120
|
+
properties:
|
|
121
|
+
id: { $ref: "#/$defs/id" }
|
|
122
|
+
kind: { const: audit }
|
|
123
|
+
dimension: { enum: [architectural-integrity, anti-slop-rejection] }
|
|
124
|
+
polarity: { enum: [positive, negative] }
|
|
125
|
+
source: { $ref: "#/$defs/id" }
|
|
126
|
+
derivation: { type: string, minLength: 1, maxLength: 1024 }
|
|
127
|
+
target: { $ref: "#/$defs/path" }
|
|
128
|
+
policy: { type: object }
|
|
129
|
+
expected:
|
|
130
|
+
type: object
|
|
131
|
+
additionalProperties: false
|
|
132
|
+
required: [verdict]
|
|
133
|
+
properties:
|
|
134
|
+
verdict: { enum: [accept, reject] }
|
|
135
|
+
requiredRuleIds: { type: array, items: { type: string } }
|
|
136
|
+
forbiddenRuleIds: { type: array, items: { type: string } }
|
|
137
|
+
maximumFindings: { type: integer, minimum: 0 }
|
|
138
|
+
contractCase:
|
|
139
|
+
allOf:
|
|
140
|
+
- $ref: "#/$defs/caseBase"
|
|
141
|
+
- type: object
|
|
142
|
+
additionalProperties: false
|
|
143
|
+
required: [id, kind, dimension, polarity, source, derivation, contract, expected]
|
|
144
|
+
properties:
|
|
145
|
+
id: { $ref: "#/$defs/id" }
|
|
146
|
+
kind: { const: contract }
|
|
147
|
+
dimension: { const: task-completeness }
|
|
148
|
+
polarity: { enum: [positive, negative] }
|
|
149
|
+
source: { $ref: "#/$defs/id" }
|
|
150
|
+
derivation: { type: string, minLength: 1, maxLength: 1024 }
|
|
151
|
+
contract: { $ref: "#/$defs/path" }
|
|
152
|
+
expected:
|
|
153
|
+
type: object
|
|
154
|
+
additionalProperties: false
|
|
155
|
+
required: [verdict]
|
|
156
|
+
properties:
|
|
157
|
+
verdict: { enum: [accept, reject] }
|
|
158
|
+
requiredIssueCodes: { type: array, items: { type: string } }
|
|
159
|
+
forbiddenIssueCodes: { type: array, items: { type: string } }
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
version: "1.0"
|
|
2
|
+
id: ztothez-design-engineering-core-corpus
|
|
3
|
+
description: Deterministic positive and negative cases for approved retrieval, architecture integrity, task completeness, and anti-slop enforcement.
|
|
4
|
+
|
|
5
|
+
thresholds:
|
|
6
|
+
overallMinimumScore: 1
|
|
7
|
+
dimensions:
|
|
8
|
+
recommendation-relevance:
|
|
9
|
+
minimumScore: 1
|
|
10
|
+
minimumMeanReciprocalRank: 0.75
|
|
11
|
+
abstention:
|
|
12
|
+
minimumScore: 1
|
|
13
|
+
architectural-integrity:
|
|
14
|
+
minimumScore: 1
|
|
15
|
+
task-completeness:
|
|
16
|
+
minimumScore: 1
|
|
17
|
+
anti-slop-rejection:
|
|
18
|
+
minimumScore: 1
|
|
19
|
+
|
|
20
|
+
sources:
|
|
21
|
+
- id: ztothez-corpus-fixtures
|
|
22
|
+
title: ZtotheZ independently authored corpus fixtures
|
|
23
|
+
origin: user-owned
|
|
24
|
+
owner: ZtotheZ
|
|
25
|
+
license: ISC
|
|
26
|
+
evidence: knowledge-base/benchmarks/corpus/PROVENANCE.md
|
|
27
|
+
redistribution: Synthetic cases are project-owned and distributable under the repository license.
|
|
28
|
+
- id: aegisops-product
|
|
29
|
+
title: AegisOPS product benchmark
|
|
30
|
+
origin: user-owned
|
|
31
|
+
owner: ZtotheZ
|
|
32
|
+
license: owner-authorized benchmark use
|
|
33
|
+
evidence: knowledge-base/benchmarks/aegisops/SOURCE-EVIDENCE.md
|
|
34
|
+
redistribution: The maintained contract and evidence summary are approved for this repository and package.
|
|
35
|
+
- id: scenestart-product
|
|
36
|
+
title: SceneStart product benchmark
|
|
37
|
+
origin: user-owned
|
|
38
|
+
owner: ZtotheZ
|
|
39
|
+
license: owner-authorized benchmark use
|
|
40
|
+
evidence: knowledge-base/benchmarks/scenestart/SOURCE-EVIDENCE.md
|
|
41
|
+
redistribution: The maintained contract and evidence summary are approved for this repository and package.
|
|
42
|
+
- id: w3c-wcag-22
|
|
43
|
+
title: Web Content Accessibility Guidelines 2.2
|
|
44
|
+
origin: licensed-standard
|
|
45
|
+
owner: World Wide Web Consortium
|
|
46
|
+
license: W3C Document License 2015
|
|
47
|
+
sourceUrl: https://www.w3.org/TR/WCAG22/
|
|
48
|
+
evidence: knowledge-base/benchmarks/corpus/PROVENANCE.md
|
|
49
|
+
redistribution: No specification text is redistributed; the case records an independently authored query and local expected path.
|
|
50
|
+
|
|
51
|
+
cases:
|
|
52
|
+
- id: relevance-brand-contract
|
|
53
|
+
kind: retrieval
|
|
54
|
+
dimension: recommendation-relevance
|
|
55
|
+
polarity: positive
|
|
56
|
+
source: ztothez-corpus-fixtures
|
|
57
|
+
derivation: Original query based on the maintained brand-system deliverable contract.
|
|
58
|
+
query: brand mark clear space minimum size allowed backgrounds promise voice principles
|
|
59
|
+
categories: [design-intelligence]
|
|
60
|
+
expected:
|
|
61
|
+
status: matches
|
|
62
|
+
path: knowledge-base/design-intelligence/brand-systems.md
|
|
63
|
+
maxRank: 2
|
|
64
|
+
|
|
65
|
+
- id: relevance-figma-production
|
|
66
|
+
kind: retrieval
|
|
67
|
+
dimension: recommendation-relevance
|
|
68
|
+
polarity: positive
|
|
69
|
+
source: ztothez-corpus-fixtures
|
|
70
|
+
derivation: Original query based on the maintained Figma production workflow.
|
|
71
|
+
query: Figma variable collections modes component properties interactive states documentation
|
|
72
|
+
categories: [design-intelligence]
|
|
73
|
+
expected:
|
|
74
|
+
status: matches
|
|
75
|
+
path: knowledge-base/design-intelligence/figma-production.md
|
|
76
|
+
maxRank: 2
|
|
77
|
+
|
|
78
|
+
- id: relevance-generated-asset-provenance
|
|
79
|
+
kind: retrieval
|
|
80
|
+
dimension: recommendation-relevance
|
|
81
|
+
polarity: positive
|
|
82
|
+
source: ztothez-corpus-fixtures
|
|
83
|
+
derivation: Original query based on the maintained generated-asset provenance contract.
|
|
84
|
+
query: generated asset provider model prompt record human contributions reference rights provenance
|
|
85
|
+
categories: [design-intelligence]
|
|
86
|
+
expected:
|
|
87
|
+
status: matches
|
|
88
|
+
path: knowledge-base/design-intelligence/asset-generation.md
|
|
89
|
+
maxRank: 2
|
|
90
|
+
|
|
91
|
+
- id: relevance-accessible-color
|
|
92
|
+
kind: retrieval
|
|
93
|
+
dimension: recommendation-relevance
|
|
94
|
+
polarity: positive
|
|
95
|
+
source: w3c-wcag-22
|
|
96
|
+
derivation: Independently authored conformance query derived from WCAG contrast and use-of-color concepts without copied normative text.
|
|
97
|
+
query: normal text contrast ratio non-color status cues semantic tokens
|
|
98
|
+
categories: [design-intelligence]
|
|
99
|
+
expected:
|
|
100
|
+
status: matches
|
|
101
|
+
path: knowledge-base/design-intelligence/visual-accessibility.md
|
|
102
|
+
maxRank: 2
|
|
103
|
+
|
|
104
|
+
- id: abstain-unknown-proprietary-catalog
|
|
105
|
+
kind: retrieval
|
|
106
|
+
dimension: abstention
|
|
107
|
+
polarity: negative
|
|
108
|
+
source: ztothez-corpus-fixtures
|
|
109
|
+
derivation: Synthetic out-of-scope identifier that must not trigger archive fallback.
|
|
110
|
+
query: qzvorn proprietary nebula catalog 8841
|
|
111
|
+
categories: [design-intelligence]
|
|
112
|
+
expected:
|
|
113
|
+
status: no-match
|
|
114
|
+
|
|
115
|
+
- id: abstain-unrelated-domain
|
|
116
|
+
kind: retrieval
|
|
117
|
+
dimension: abstention
|
|
118
|
+
polarity: negative
|
|
119
|
+
source: ztothez-corpus-fixtures
|
|
120
|
+
derivation: Synthetic unrelated-domain query used to verify explicit abstention.
|
|
121
|
+
query: cryogenic turbine bearing alloy phase diagram zxqv
|
|
122
|
+
categories: [design-intelligence]
|
|
123
|
+
expected:
|
|
124
|
+
status: no-match
|
|
125
|
+
|
|
126
|
+
- id: architecture-clean-boundaries
|
|
127
|
+
kind: audit
|
|
128
|
+
dimension: architectural-integrity
|
|
129
|
+
polarity: positive
|
|
130
|
+
source: ztothez-corpus-fixtures
|
|
131
|
+
derivation: Small project-owned component with semantic tokens, accessible controls, and explicit repository scripts.
|
|
132
|
+
target: knowledge-base/benchmarks/corpus/cases/architecture-positive
|
|
133
|
+
expected:
|
|
134
|
+
verdict: accept
|
|
135
|
+
maximumFindings: 0
|
|
136
|
+
forbiddenRuleIds: [ZTDE-ARCH-001, ZTDE-ARCH-002, ZTDE-DESIGN-001]
|
|
137
|
+
|
|
138
|
+
- id: architecture-mixed-monolith
|
|
139
|
+
kind: audit
|
|
140
|
+
dimension: architectural-integrity
|
|
141
|
+
polarity: negative
|
|
142
|
+
source: ztothez-corpus-fixtures
|
|
143
|
+
derivation: Project-owned rejection fixture combining a large render surface, persistence and network orchestration, and repeated raw colors.
|
|
144
|
+
target: knowledge-base/benchmarks/corpus/cases/architecture-negative
|
|
145
|
+
policy:
|
|
146
|
+
componentLineWarning: 20
|
|
147
|
+
mixedResponsibilitiesMinLines: 20
|
|
148
|
+
rawColorWarningCount: 3
|
|
149
|
+
expected:
|
|
150
|
+
verdict: reject
|
|
151
|
+
requiredRuleIds: [ZTDE-ARCH-001, ZTDE-ARCH-002, ZTDE-DESIGN-001]
|
|
152
|
+
forbiddenRuleIds: [ZTDE-SLOP-001, ZTDE-SLOP-002]
|
|
153
|
+
|
|
154
|
+
- id: task-aegisops-complete
|
|
155
|
+
kind: contract
|
|
156
|
+
dimension: task-completeness
|
|
157
|
+
polarity: positive
|
|
158
|
+
source: aegisops-product
|
|
159
|
+
derivation: Maintained owner-authorized product contract and journeys.
|
|
160
|
+
contract: knowledge-base/benchmarks/aegisops/product-contract.yaml
|
|
161
|
+
expected:
|
|
162
|
+
verdict: accept
|
|
163
|
+
forbiddenIssueCodes: [CONTRACT-SCHEMA, CONTRACT-UNKNOWN-REFERENCE]
|
|
164
|
+
|
|
165
|
+
- id: task-scenestart-complete
|
|
166
|
+
kind: contract
|
|
167
|
+
dimension: task-completeness
|
|
168
|
+
polarity: positive
|
|
169
|
+
source: scenestart-product
|
|
170
|
+
derivation: Maintained owner-authorized product contract and journeys from a second operational domain.
|
|
171
|
+
contract: knowledge-base/benchmarks/scenestart/product-contract.yaml
|
|
172
|
+
expected:
|
|
173
|
+
verdict: accept
|
|
174
|
+
forbiddenIssueCodes: [CONTRACT-SCHEMA, CONTRACT-UNKNOWN-REFERENCE]
|
|
175
|
+
|
|
176
|
+
- id: task-broken-references
|
|
177
|
+
kind: contract
|
|
178
|
+
dimension: task-completeness
|
|
179
|
+
polarity: negative
|
|
180
|
+
source: ztothez-corpus-fixtures
|
|
181
|
+
derivation: Synthetic contract with valid structure but unknown outputs, states, modes, actors, and criteria.
|
|
182
|
+
contract: knowledge-base/benchmarks/corpus/cases/task-incomplete/product-contract.yaml
|
|
183
|
+
expected:
|
|
184
|
+
verdict: reject
|
|
185
|
+
requiredIssueCodes: [CONTRACT-UNKNOWN-REFERENCE]
|
|
186
|
+
forbiddenIssueCodes: [CONTRACT-PARSE]
|
|
187
|
+
|
|
188
|
+
- id: anti-slop-functional-surface
|
|
189
|
+
kind: audit
|
|
190
|
+
dimension: anti-slop-rejection
|
|
191
|
+
polarity: positive
|
|
192
|
+
source: ztothez-corpus-fixtures
|
|
193
|
+
derivation: Project-owned surface with derived metrics and functional controls.
|
|
194
|
+
target: knowledge-base/benchmarks/corpus/cases/anti-slop-positive
|
|
195
|
+
expected:
|
|
196
|
+
verdict: accept
|
|
197
|
+
maximumFindings: 0
|
|
198
|
+
forbiddenRuleIds: [ZTDE-SLOP-001, ZTDE-SLOP-002]
|
|
199
|
+
|
|
200
|
+
- id: anti-slop-mock-and-placeholder
|
|
201
|
+
kind: audit
|
|
202
|
+
dimension: anti-slop-rejection
|
|
203
|
+
polarity: negative
|
|
204
|
+
source: ztothez-corpus-fixtures
|
|
205
|
+
derivation: Project-owned rejection fixture containing a simulated production result and a nonfunctional navigation control.
|
|
206
|
+
target: knowledge-base/benchmarks/corpus/cases/anti-slop-negative
|
|
207
|
+
expected:
|
|
208
|
+
verdict: reject
|
|
209
|
+
requiredRuleIds: [ZTDE-SLOP-001, ZTDE-SLOP-002]
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Interface Quality Comparison
|
|
2
|
+
|
|
3
|
+
This directory defines the versioned method used to compare truthful disclosure, information design, visual polish, and task performance across anonymized interface candidates.
|
|
4
|
+
|
|
5
|
+
## Workflow
|
|
6
|
+
|
|
7
|
+
1. Copy `comparison-methodology.template.yaml` for V1 evidence-integrity checks, or implement `comparison-methodology-v1.1.schema.yaml` when complete human matrices and target-versus-comparator decisions are required.
|
|
8
|
+
2. Keep candidate labels anonymous. Store any identity mapping outside reviewer-facing artifacts.
|
|
9
|
+
3. Copy `review.template.yaml` and record retained automated artifacts, required-stage outcomes, reviewer-supplied sessions, task observations, ratings, and structured claims.
|
|
10
|
+
4. Run `npm run validate-comparison -- --methodology PATH --review PATH`.
|
|
11
|
+
5. For V1.1, configure minimum expert and user sessions, complete matrices, counterbalanced orders, required-stage candidates, the anonymous target, comparators, required categories, and task non-regression.
|
|
12
|
+
6. Keep session envelopes compatible with `review-session.schema.yaml`. Store reviewer-supplied files inside the review evidence root with top-level `status: complete`, then run `npm run compile-comparison -- --methodology PATH --base-review PATH --sessions DIRECTORY --output PATH`.
|
|
13
|
+
7. Treat `passed` as evidence-integrity validation. Read `humanReview.requirementsMet` and `benchmarkDecision.passed` independently. Treat `releaseReady` as the combined decision requiring every configured gate.
|
|
14
|
+
|
|
15
|
+
## Evidence Boundary
|
|
16
|
+
|
|
17
|
+
- Automated evidence proves only the rendered, compiled, network, contract, or journey facts it measured.
|
|
18
|
+
- AI-assisted expert evidence records an agent's reasoned inspection and cannot become human evidence through formatting.
|
|
19
|
+
- Human-expert evidence requires reviewer-supplied contributor and timestamp metadata.
|
|
20
|
+
- Representative-user evidence requires reviewer-supplied attribution, a pseudonymous participant identifier, and observed task results.
|
|
21
|
+
- Pixel differences detect change, not quality. A changed screenshot baseline requires functional evidence and attributable review.
|
|
22
|
+
- A passing schema does not establish that a claim is true. Every verified claim needs retained evidence whose scope matches the claim.
|
|
23
|
+
- A score matrix is complete only when every required candidate-task and candidate-criterion cell is present at the correct evidence level. `not-run` is evidence of non-completion, not permission to omit a cell.
|
|
24
|
+
- Benchmark release requires the anonymous target to meet the category floor, equal or exceed every configured comparator category, and avoid configured task-metric regression.
|
|
25
|
+
|
|
26
|
+
The templates contain no fabricated human sessions. They are expected to be structurally valid and not release-ready until real review evidence is supplied.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Solo-Maintainer Validation Track
|
|
2
|
+
|
|
3
|
+
Use this track when an attributed project maintainer can perform expert inspection but independent experts or representative users are not currently available. It authorizes continued engineering only. It does not establish independent preference, representative-user comprehension, statistical confidence, or external release approval.
|
|
4
|
+
|
|
5
|
+
## Required Evidence
|
|
6
|
+
|
|
7
|
+
1. Preserve the anonymous comparison methodology and external release thresholds unchanged.
|
|
8
|
+
2. Record the maintainer review as `human-expert` and `reviewer-supplied`.
|
|
9
|
+
3. Disclose candidate exposure, identity knowledge, and conflicts accurately.
|
|
10
|
+
4. Score every human-expert criterion for every candidate with an observable rationale.
|
|
11
|
+
5. Preserve the completed source session and checksum through `compile-comparison`.
|
|
12
|
+
6. Require all target build, typecheck, architecture-audit, browser-verification, and product-journey stages to pass.
|
|
13
|
+
7. Require the target to meet the configured category floor and equal or exceed the configured comparator for every maintainer-scored category.
|
|
14
|
+
|
|
15
|
+
## Allowed Claim
|
|
16
|
+
|
|
17
|
+
When the assessment passes, report:
|
|
18
|
+
|
|
19
|
+
```text
|
|
20
|
+
Engineering may proceed under attributed solo-maintainer review. Independent human and representative-user validation remains pending.
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Do not replace this with claims such as `human validated`, `user tested`, `preferred by users`, `externally approved`, or `release validated`.
|
|
24
|
+
|
|
25
|
+
## Command
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npm run assess-maintainer -- \
|
|
29
|
+
--methodology knowledge-base/benchmarks/azure-optimizer/v2-human-review-methodology.yaml \
|
|
30
|
+
--review evidence/interface-quality/azure-v2-review/review.completed.yaml \
|
|
31
|
+
--output evidence/interface-quality/azure-v2-review/maintainer-assessment.json \
|
|
32
|
+
--require-engineering-ready
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
The generated report deliberately separates `engineeringReady`, `externalReleaseReady`, and `externalValidationPending`.
|