@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,285 @@
|
|
|
1
|
+
# ZtotheZ Design Engineering Knowledge Base
|
|
2
|
+
|
|
3
|
+
This directory contains the maintained, distributable knowledge used by the ZtotheZ Design Engineering System and its root [`SKILL.md`](../SKILL.md). Treat `SKILL.md` as the primary instruction set. [`ROADMAP.md`](../ROADMAP.md) governs planned work and clean-room certification. Local historical material outside the approved retrieval scope is not an implementation authority and is not distributed.
|
|
4
|
+
|
|
5
|
+
## Product Identity
|
|
6
|
+
|
|
7
|
+
| Surface | Identifier |
|
|
8
|
+
|---|---|
|
|
9
|
+
| Product | ZtotheZ Design Engineering System |
|
|
10
|
+
| Short name | ZtotheZ Design Engineering |
|
|
11
|
+
| Repository | `ztothez-design-engineering` |
|
|
12
|
+
| Agent Skill | `ztothez-design-engineering` |
|
|
13
|
+
| MCP server | `ztothez-design-engineering` |
|
|
14
|
+
| npm package | `@ztothez/design-engineering` |
|
|
15
|
+
| Full CLI command | `ztothez-design` |
|
|
16
|
+
| Short CLI command | `zz-design` |
|
|
17
|
+
|
|
18
|
+
Both CLI commands invoke the same stdio MCP server. Use `ztothez-design --help` or `zz-design --help` for local command discovery. Historical evidence paths retain their original names and are not current product identifiers.
|
|
19
|
+
|
|
20
|
+
Version 2.0 is a pre-publication identity reset, not a compatibility alias layer. Current integrations must use `run_design_quality_gate`, `aggregate_design_quality_gates`, `ZTOTHEZ_DESIGN_*` environment variables, `ZTDE-*` finding IDs, `data-ztothez-design-*` runtime annotations, and `.ztothez-design-quality-gate/` or `.ztothez-design-runtime/` output directories. Old identifiers are retained only inside archived sources and completed historical evidence.
|
|
21
|
+
|
|
22
|
+
## Directory Map
|
|
23
|
+
|
|
24
|
+
| Path | Contents | Use when |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| `maintained/architecture/` | Independently authored quality-attribute, architecture-evaluation, component-boundary, and product-platform guidance | Evaluating architecture, coupling, cohesion, trade-offs, and shared product variation |
|
|
27
|
+
| `maintained/product-patterns/` | Independently authored AI-workspace and operational-dashboard contracts | Designing task-centered workspaces and operational tools without importing a template catalog |
|
|
28
|
+
| `design-intelligence/` | Maintained product intake, planning, contained generation and repair, interface trust, operational information design, visual polish, brand, Figma production, asset generation, iconography, presentation, licensing, accessibility, and integrated validation modules | Running the bounded product-task through generated implementation, finding-bound repair, and human-review workflow or creating visual-system deliverables with structured provenance, tokens, accessibility, and handoff evidence |
|
|
29
|
+
| `benchmarks/` | Executable product contracts, journey profiles, acceptance criteria, and anti-pattern corpora | Evaluating whether generated UI is behaviorally coherent, evidence-backed, and production-ready for a specific product domain |
|
|
30
|
+
| `usability-evaluation/` | Maintained heuristic-evaluation workflow, portable schema, and review template | Conducting a UX audit, defining human-review evidence, separating automated findings from user-testing claims, or turning usability risks into acceptance criteria |
|
|
31
|
+
| `retrieval-scope.yaml` | Explicit allowlist for the distributable BM25 index | Auditing or changing which knowledge files can appear in ranked retrieval |
|
|
32
|
+
| `provenance.yaml` | Machine-readable ownership, license, transformation, and distribution records | Auditing every shipped knowledge artifact before release |
|
|
33
|
+
| `dependencies.yaml` | Direct dependency role, boundary, license, fallback, and replacement plan | Reviewing supply-chain exposure and local fallback behavior |
|
|
34
|
+
|
|
35
|
+
## Scoped Knowledge Retrieval
|
|
36
|
+
|
|
37
|
+
Use `search_design_knowledge` to search the approved distributable corpus before opening deep source files. The deterministic BM25 index is governed by `retrieval-scope.yaml`, which names every eligible Markdown file and marks the root `SKILL.md` as authoritative.
|
|
38
|
+
|
|
39
|
+
The tool returns:
|
|
40
|
+
|
|
41
|
+
- Ranked repository-relative source paths.
|
|
42
|
+
- The matching document title and section.
|
|
43
|
+
- Bounded excerpts and normalized matched terms.
|
|
44
|
+
- Numeric relevance scores and `high`, `medium`, or `low` confidence.
|
|
45
|
+
- An explicit `no-match` result when no approved source contains the searchable query terms.
|
|
46
|
+
|
|
47
|
+
Available scopes are `skill`, `architecture`, `design-intelligence`, `ux-patterns`, and `usability-evaluation`. Search all scopes only when the task crosses domains. After ranking, read the selected file through its category-specific MCP tool so constraints outside the excerpt are not lost.
|
|
48
|
+
|
|
49
|
+
Ignored books, raw local research, historical conversions, and benchmark evidence are outside the retrieval manifest. A no-match result must not trigger a historical-source fallback. Refine the query, broaden approved categories, use current product evidence, consult an official standard, or record a knowledge gap instead.
|
|
50
|
+
|
|
51
|
+
## Product Benchmarks
|
|
52
|
+
|
|
53
|
+
Product benchmarks supplement the root skill with domain semantics and executable acceptance evidence. Validate the selected contract before implementation, load only its manifest and contract by default, and inspect its approved source-evidence summary only when a criterion needs deeper grounding.
|
|
54
|
+
|
|
55
|
+
- AegisOPS SOC readiness command center: `benchmarks/aegisops/MANIFEST.md` and `benchmarks/aegisops/product-contract.yaml`.
|
|
56
|
+
- AegisOPS runtime journey profiles: `benchmarks/aegisops/journeys.json`.
|
|
57
|
+
- AegisOPS evidence interpretation, rejection examples, and current accessibility calibration: `benchmarks/aegisops/acceptance-criteria.md`, `benchmarks/aegisops/anti-patterns.md`, and `benchmarks/aegisops/CALIBRATION.md`.
|
|
58
|
+
- SceneStart local-first demoscene learning studio: `benchmarks/scenestart/MANIFEST.md` and `benchmarks/scenestart/product-contract.yaml`.
|
|
59
|
+
- SceneStart Studio, Workshop, Learn, and Release profiles: `benchmarks/scenestart/journeys.json`.
|
|
60
|
+
- SceneStart evidence boundaries, rejection examples, and calibration: `benchmarks/scenestart/acceptance-criteria.md`, `benchmarks/scenestart/anti-patterns.md`, and `benchmarks/scenestart/CALIBRATION.md`.
|
|
61
|
+
- System corpus manifest, portable schema, provenance, and controlled positive and negative cases: `benchmarks/corpus/corpus.yaml`, `benchmarks/corpus/corpus.schema.yaml`, `benchmarks/corpus/PROVENANCE.md`, and `benchmarks/corpus/cases/`.
|
|
62
|
+
- Portable anonymous comparison contracts: `benchmarks/interface-quality/comparison-methodology.schema.yaml`, `benchmarks/interface-quality/comparison-methodology-v1.1.schema.yaml`, `benchmarks/interface-quality/review.schema.yaml`, and `benchmarks/interface-quality/review-session.schema.yaml`.
|
|
63
|
+
- Solo-maintainer engineering continuation rules and claim boundaries: `benchmarks/interface-quality/SOLO-MAINTAINER-TRACK.md`.
|
|
64
|
+
- Azure V2 human and interaction review method: `benchmarks/azure-optimizer/v2-human-review-methodology.yaml`. Reviewer-facing evidence remains outside the distributable knowledge corpus under `evidence/interface-quality/azure-v2-review/`.
|
|
65
|
+
- Portable product-task profile, archetype activation rules, and evidence boundary: `benchmarks/portfolio-corpus/PRODUCT-TASK-CONTRACTS.md`, `benchmarks/portfolio-corpus/product-task-profile.schema.yaml`, and `benchmarks/portfolio-corpus/archetype-profiles.yaml`.
|
|
66
|
+
|
|
67
|
+
Use `evaluate_corpus_benchmark` after changing retrieval, auditing, product-contract validation, anti-slop rules, or approved knowledge. CLI fallback:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
npm run evaluate-corpus
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
The corpus reports recommendation relevance, abstention accuracy, architecture integrity, task completeness, anti-slop rejection, and recommendation mean reciprocal rank. Every case declares provenance and expected behavior. A passing corpus covers only its maintained cases and must not be presented as universal design or usability proof.
|
|
74
|
+
|
|
75
|
+
Use `validate_product_contract` when MCP is available. CLI fallback:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
npm run validate-contract -- --contract knowledge-base/benchmarks/aegisops/product-contract.yaml
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Contract version `1.1` binds the product archetype and activated quality dimensions to observable
|
|
82
|
+
primary task success, failure recovery, and narrow-viewport journeys. Missing evidence remains
|
|
83
|
+
`unverified`; an executed failed task remains `failed`; unsupported capabilities remain explicit
|
|
84
|
+
limitations. Do not rank products that use materially different task contracts.
|
|
85
|
+
|
|
86
|
+
For final evidence, prefer the consolidated quality gate against an already-running application:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
npm run quality-gate -- \
|
|
90
|
+
--contract knowledge-base/benchmarks/aegisops/product-contract.yaml \
|
|
91
|
+
--repo PATH_TO_APPLICATION \
|
|
92
|
+
--url http://127.0.0.1:3000 \
|
|
93
|
+
--profile responsive-overview
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
The gate writes contract, architecture, runtime, acceptance-criterion, screenshot, and consolidated JSON and Markdown evidence. Runtime checks include overflow, semantic clipping, independent control collisions, sticky or fixed occlusion, text contrast, touch-target size, accessible names, visible and unobscured focus, keyboard traps and forced ordering, 200% reflow and text resizing, reduced motion, media rendering, console and network failures, and configured journeys. Base state and preserved post-journey state are checked at every configured viewport. Every blocker criterion in the selected profile must be `PASS`; `UNVERIFIED` is not success. Use `--attestations PATH` only for genuine human review records. AI agents must never create self-attestations. `--skip-runtime` is available for partial diagnostics, but the resulting gate is `INCOMPLETE` and cannot pass.
|
|
97
|
+
|
|
98
|
+
Runtime exemptions are narrow evidence annotations, not global suppressions:
|
|
99
|
+
|
|
100
|
+
- `data-ztothez-design-allow-overlap` and `data-ztothez-design-allow-clipping`: verified intentional composition or clipping.
|
|
101
|
+
- `data-ztothez-design-allow-contrast`: a background the solid-color sampler cannot model and that has separate contrast evidence.
|
|
102
|
+
- `data-ztothez-design-allow-small-target`: a documented target-size standards exception with equivalent operability.
|
|
103
|
+
- `data-ztothez-design-allow-focus-occlusion`: an intentional focus geometry case proven visible by another check.
|
|
104
|
+
- `data-ztothez-design-allow-reflow` and `data-ztothez-design-allow-text-resize`: a standards-permitted two-dimensional region such as code or a data table, never an ordinary page-level layout exemption.
|
|
105
|
+
- `data-ztothez-design-essential-motion`: motion required for the information or operation and reviewed under reduced-motion policy.
|
|
106
|
+
- `data-ztothez-design-runtime-ignore`: development or browser tooling outside the product UI; never use it on application content.
|
|
107
|
+
|
|
108
|
+
Place an exemption on the smallest owning element and record why it is valid. Do not annotate a page shell merely to make a gate pass.
|
|
109
|
+
|
|
110
|
+
Journey profiles may declare narrowly scoped `expectedNetwork` failures for controlled recovery scenarios. Every policy matches a method, URL fragment, and HTTP status or explicit request failure, and must be observed within its declared count. Unmatched failures and unobserved expectations remain blockers.
|
|
111
|
+
|
|
112
|
+
After running every contract-required profile into a separate evidence directory, produce one release decision:
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
npm run aggregate-gates -- \
|
|
116
|
+
--contract knowledge-base/benchmarks/aegisops/product-contract.yaml \
|
|
117
|
+
--reports .ztothez-design-quality-gate/demo-success,.ztothez-design-quality-gate/offline-recovery,.ztothez-design-quality-gate/responsive-overview \
|
|
118
|
+
--output .ztothez-design-quality-gate/release
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
The aggregator rejects missing or duplicate profiles, contract and failure-policy mismatches, incomplete reports, failed profile gates, and any blocker criterion that is failed or unverified in a required profile. This repository's `.github/workflows/quality.yml` runs build, typecheck, tests, contract validation, and a deterministic fixture gate. Adapt `ci/github-actions-design-quality-gate.example.yml` for a target product only after each required profile has a deterministic service startup command.
|
|
122
|
+
|
|
123
|
+
## Architecture Routing
|
|
124
|
+
|
|
125
|
+
Start with `maintained/architecture/MASTER.md`, then load one focused module:
|
|
126
|
+
|
|
127
|
+
- Measurable quality scenarios, utility trees, sensitivity, and trade-offs: `maintained/architecture/quality-attributes-and-evaluation.md`.
|
|
128
|
+
- Component ownership, coupling, cohesion, package direction, and contracts: `maintained/architecture/component-boundaries.md`.
|
|
129
|
+
- Shared product scope, variation points, plugins, configuration, and platform economics: `maintained/architecture/product-platforms.md`.
|
|
130
|
+
|
|
131
|
+
## Usability Evaluation Routing
|
|
132
|
+
|
|
133
|
+
Start with `usability-evaluation/HEURISTIC_EVALUATION.md` for UX audits, redesign diagnosis, release review, or usability-test planning. It defines evidence boundaries, the expert-review sequence, finding records, severity, and the handoff to representative-user testing. Use `get_usability_evaluation` to list or read this category through MCP.
|
|
134
|
+
|
|
135
|
+
Use `usability-evaluation/heuristic-review.template.yaml` to start a structured review and `usability-evaluation/heuristic-review.schema.yaml` as its portable version 1.0 contract. Validate completed review artifacts with `evaluate_heuristic_review`. CLI fallback:
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
npm run review-heuristics -- --review PATH_TO_HEURISTIC_REVIEW
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Use `--candidates` for a contract-ready YAML fragment and opt into a nonzero policy result with `--fail-on-open-major`. Open severity 3 and 4 findings produce unapplied blocker acceptance-criterion candidates. Review and merge those candidates into the applicable product contract, then bind them to representative journeys. The heuristic report cannot satisfy `manual-review` evidence and must never be converted into a human attestation by an AI agent.
|
|
142
|
+
|
|
143
|
+
The distributable repository intentionally excludes raw course handouts, converted books, and extended local research. Use the maintained workflow, schema, and template as the only MCP-accessible usability authority. Treat automated quality-gate findings as rendered evidence, AI-assisted expert review as likely-risk evidence, attributable human-expert review as expert evidence, and representative-user testing as task-performance evidence; never present one as another.
|
|
144
|
+
|
|
145
|
+
## Product Pattern Routing
|
|
146
|
+
|
|
147
|
+
For implementation work, start with `maintained/product-patterns/MASTER.md` and load only the matching project-owned pattern:
|
|
148
|
+
|
|
149
|
+
- AI analysis, generation, review, and evidence workspaces: `maintained/product-patterns/ai-workspaces.md`.
|
|
150
|
+
- Pipelines, records, jobs, obligations, media, and document operations: `maintained/product-patterns/operational-dashboards.md`.
|
|
151
|
+
|
|
152
|
+
## Portfolio Benchmark Registry
|
|
153
|
+
|
|
154
|
+
Use `benchmarks/portfolio-corpus/registry.template.yaml` to define local project authorization and
|
|
155
|
+
`benchmarks/portfolio-corpus/registry.schema.yaml` as the portable version 1.0 contract. Store real
|
|
156
|
+
absolute roots only in `.ztothez-design-local/portfolio-registry.yaml`, which is intentionally
|
|
157
|
+
excluded from Git, retrieval, packaging, and offline releases.
|
|
158
|
+
|
|
159
|
+
Use `benchmarks/portfolio-corpus/ADAPTERS.md` to select a stack adapter, declare exact stage
|
|
160
|
+
commands, and distinguish supported, unsupported, and not-applicable capabilities. Adapters never
|
|
161
|
+
discover and execute arbitrary package scripts.
|
|
162
|
+
|
|
163
|
+
Validate before discovery or snapshot creation:
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
zz-design portfolio validate-registry
|
|
167
|
+
zz-design portfolio inventory
|
|
168
|
+
zz-design portfolio capabilities --project PROJECT_ID
|
|
169
|
+
zz-design portfolio run-stage --project PROJECT_ID --stage STAGE
|
|
170
|
+
zz-design portfolio snapshot --project PROJECT_ID
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
Inventory is metadata-only and does not authorize execution. Snapshot creation copies only approved
|
|
174
|
+
files into `.ztothez-design-benchmarks/`, verifies the source before cleanup, and leaves all
|
|
175
|
+
remediation unapplied.
|
|
176
|
+
|
|
177
|
+
Run an isolated baseline or cohort benchmark and inspect its retained report:
|
|
178
|
+
|
|
179
|
+
```bash
|
|
180
|
+
zz-design portfolio baseline --project PROJECT_ID --run baseline-001
|
|
181
|
+
zz-design portfolio benchmark --cohort development --run development-001
|
|
182
|
+
zz-design portfolio benchmark --cohort holdout --run holdout-001
|
|
183
|
+
zz-design portfolio verify-unchanged --run development-001
|
|
184
|
+
zz-design portfolio report --run development-001
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
See `benchmarks/portfolio-corpus/PORTFOLIO-RUNNER.md` for stage behavior, report fields, exit codes,
|
|
188
|
+
and the current browser-verification limitations.
|
|
189
|
+
|
|
190
|
+
## AI Development Environment Guide
|
|
191
|
+
|
|
192
|
+
The repository paths above are the canonical references across Claude Code, Cursor, Windsurf, Antigravity, GitHub Copilot, Kiro, Codex, Qoder, and Lovable. Do not create environment-specific copies of the knowledge base.
|
|
193
|
+
|
|
194
|
+
For repository-aware coding agents:
|
|
195
|
+
|
|
196
|
+
1. Start the request with the root `SKILL.md` as the governing instruction source.
|
|
197
|
+
2. Name the smallest relevant knowledge-base path in the request.
|
|
198
|
+
3. Ask the agent to inspect those files before proposing or implementing changes.
|
|
199
|
+
4. Require the agent to preserve the current stack and use only maintained guidance or approved benchmark evidence.
|
|
200
|
+
5. Ask it to report which sources materially affected the implementation and which verification commands it ran.
|
|
201
|
+
|
|
202
|
+
Example request:
|
|
203
|
+
|
|
204
|
+
```text
|
|
205
|
+
Use SKILL.md as the primary workflow. Before implementing this AI analysis screen,
|
|
206
|
+
read knowledge-base/maintained/product-patterns/ai-workspaces.md and
|
|
207
|
+
knowledge-base/maintained/architecture/quality-attributes-and-evaluation.md.
|
|
208
|
+
Preserve the existing framework and validate the completed interaction states.
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
In Claude Code, Cursor, Windsurf, Antigravity, GitHub Copilot, Kiro, Codex, and Qoder, attach, mention, or request the repository-relative paths through the environment's normal file-context mechanism. Path syntax may differ by product, but the source files and precedence remain the same: `SKILL.md` first, targeted maintained files second.
|
|
212
|
+
|
|
213
|
+
For Lovable, keep this repository synchronized with the connected Git provider so maintained files are available in project context. Refer to the same repository-relative paths in the task. If the environment cannot read non-application Markdown automatically, provide only the relevant file as task context rather than importing the whole knowledge base into application code.
|
|
214
|
+
|
|
215
|
+
## Grounding Rules
|
|
216
|
+
|
|
217
|
+
- `SKILL.md` overrides supporting guidance when wording or scope conflicts.
|
|
218
|
+
- Prefer current project code and requirements over historical examples.
|
|
219
|
+
- Load only the maintained modules relevant to the task; broad context increases duplication and contradictory guidance.
|
|
220
|
+
- Do not copy private names, fixed personal color choices, obsolete framework decisions, or historical generated artifacts into new implementations.
|
|
221
|
+
- Convert source concepts into measurable requirements, explicit component contracts, semantic tokens, and testable interaction states.
|
|
222
|
+
- Record architectural decisions and trade-offs when deep sources materially change the implementation.
|
|
223
|
+
|
|
224
|
+
## Design Intelligence Routing
|
|
225
|
+
|
|
226
|
+
Start with `design-intelligence/MASTER.md` when the task includes brand identity, Figma production, generated or sourced assets, iconography, presentation design, licensing, or visual accessibility. Load only the matching focused modules.
|
|
227
|
+
|
|
228
|
+
For a new independent React and TypeScript fixture, validate the brief, compile an
|
|
229
|
+
implementation-ready plan, then follow `design-intelligence/generation-adapter.md`. Its CLI adapter
|
|
230
|
+
requires a separate generation root and a passing local portfolio registry, and it refuses existing,
|
|
231
|
+
symlinked, escaping, or portfolio-overlapping targets. The generated manifest follows
|
|
232
|
+
`design-intelligence/generation-adapter.schema.yaml`.
|
|
233
|
+
|
|
234
|
+
For a fresh architecture or runtime finding in a generated fixture, read
|
|
235
|
+
`design-intelligence/closed-loop-repair.md` and validate the request shape with
|
|
236
|
+
`design-intelligence/repair-request.schema.yaml`. Run `zz-design repair-react` only against the
|
|
237
|
+
manifest-owned generated target and an already-running loopback URL. The command retains equivalent
|
|
238
|
+
before and after quality-gate evidence, rejects stale or ambiguous findings, and restores original
|
|
239
|
+
bytes on repeated or failed verification. It is intentionally CLI-only because MCP remains
|
|
240
|
+
read-only. Automated repair output never supplies human evidence.
|
|
241
|
+
|
|
242
|
+
For a new product or consequential redesign, start from `design-intelligence/product-design-brief.template.yaml` and use `design-intelligence/product-design-brief.schema.yaml` as the portable version 1.0 contract. Read `design-intelligence/product-design-brief.md`, then validate through MCP with `validate_product_design_brief`, or through CLI:
|
|
243
|
+
|
|
244
|
+
```bash
|
|
245
|
+
npm run validate-brief -- --brief PATH_TO_PRODUCT_DESIGN_BRIEF
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
The brief validator checks evidence-backed problems and primary audiences, measurable outcomes, task recovery, data and fallback truth, applicable states, platforms, unresolved assumptions, requirements, and acceptance coverage. Generation readiness authorizes planning only.
|
|
249
|
+
|
|
250
|
+
Compile a generation-ready brief through MCP with `compile_design_plan`, or through CLI:
|
|
251
|
+
|
|
252
|
+
```bash
|
|
253
|
+
npm run compile-plan -- --brief PATH_TO_PRODUCT_DESIGN_BRIEF --project-root . --json
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
Read `design-intelligence/design-plan.md` and validate machine output against
|
|
257
|
+
`design-intelligence/design-plan.schema.yaml`. The compiler produces stable information
|
|
258
|
+
architecture, route proposals, component and state boundaries, downstream contract results,
|
|
259
|
+
semantic token requirements, responsive rules, asset policy, implementation stages, verification
|
|
260
|
+
obligations, and source traces. Planned contracts stay provisional; target-router integration is
|
|
261
|
+
verified by the later generation adapter.
|
|
262
|
+
|
|
263
|
+
For operational claims, generated results, fallback, stale or disconnected behavior, history, or exports, start from `design-intelligence/interface-trust.template.yaml` and use `design-intelligence/interface-trust.schema.yaml` as the portable version 1.0 contract. Read `design-intelligence/interface-trust.md`, then validate through MCP with `validate_interface_trust`, or through CLI:
|
|
264
|
+
|
|
265
|
+
```bash
|
|
266
|
+
npm run validate-trust -- --contract PATH_TO_INTERFACE_TRUST_CONTRACT
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
The trust validator checks declaration structure, source traceability, state consistency, pre-action disclosure, fallback persistence, freshness metadata, disconnected recovery, credential-like values, and history or export provenance. It does not inspect rendered placement or prove runtime service availability.
|
|
270
|
+
|
|
271
|
+
For operational metrics, findings, charts, hierarchy, long labels, exceptional values, or large collections, start from `design-intelligence/information-design.template.yaml` and use `design-intelligence/information-design.schema.yaml` as the portable version 1.0 contract. Read `design-intelligence/information-design.md`, then validate through MCP with `validate_information_design`, or through CLI:
|
|
272
|
+
|
|
273
|
+
```bash
|
|
274
|
+
npm run validate-information -- --contract PATH_TO_INFORMATION_DESIGN_CONTRACT
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
The validator checks sources, context, metric decisions, findings, evidence, chart purpose, non-color cues, missing and stale states, scalable collections, the eight-level hierarchy, and six answer-flow task declarations. It does not inspect rendered output or turn agent-authored tasks into human evidence.
|
|
278
|
+
|
|
279
|
+
Create structured evidence from `design-intelligence/design-deliverable.template.yaml`; use `design-intelligence/design-deliverable.schema.yaml` as the portable contract. Version `1.0` remains readable for non-interface manifests. Use version `2.1` with `interface-system` for visual direction, typography, composition, density, states, motion, chart contracts, rendered evidence, and human visual review. Read `design-intelligence/visual-polish.md`, then validate through MCP with `validate_design_deliverable`, or through CLI:
|
|
280
|
+
|
|
281
|
+
```bash
|
|
282
|
+
npm run validate-design -- --manifest PATH_TO_DESIGN_DELIVERABLE
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
The validator checks declaration structure, semantic visual bindings, token references and cycles, responsive composition, typography, density, states, motion, charts, viewport-evidence declarations, human-review attribution, mode-aware contrast, Figma mappings, brand and presentation references, asset rights records, generated-media provenance, icon semantics, and non-color cues. A structural pass can remain visually not ready. Read `visualPolish.releaseReady`; only verified viewport records and reviewer-supplied human evidence satisfy that release gate.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# AegisOPS Accessibility Remediation Calibration
|
|
2
|
+
|
|
3
|
+
## Calibration Context
|
|
4
|
+
|
|
5
|
+
- Date: 2026-08-26
|
|
6
|
+
- Application: `/home/ztothez/Studio/portfolio/AegisOPS`
|
|
7
|
+
- Audited frontend: `/home/ztothez/Studio/portfolio/AegisOPS/frontend`
|
|
8
|
+
- UIX quality gate: version 1.9.1
|
|
9
|
+
- Browser: Chromium 151.0.7922.108
|
|
10
|
+
- Failure policy: warnings and errors block release
|
|
11
|
+
- Human evidence: existing user-authored `attestations.yaml`; no AI-generated attestation was added
|
|
12
|
+
|
|
13
|
+
## Remediation
|
|
14
|
+
|
|
15
|
+
The version 1.8.0 accessibility calibration found repeated contrast and target-size failures across the viewport matrix. The repeated findings resolved to shared component ownership rather than twenty separate defects.
|
|
16
|
+
|
|
17
|
+
- Raised the muted, dim, and faint foreground token hierarchy so normal text clears 4.5:1 on the darkest supported panel where each token may render.
|
|
18
|
+
- Replaced the pointer-only demo toggle with a keyboard-native button using `role="switch"`, `aria-checked`, an accessible name, and a 44 by 44 CSS-pixel target.
|
|
19
|
+
- Increased mission input, mode buttons, sidebar navigation, artifact downloads, and export-error dismissal to 44-pixel target contracts.
|
|
20
|
+
- Increased artifact-card minimum height so larger actions do not compress or overlap card content.
|
|
21
|
+
- Added product regression tests for foreground-token contrast and primary-control target contracts.
|
|
22
|
+
|
|
23
|
+
No runtime exemption attributes were added.
|
|
24
|
+
|
|
25
|
+
## Product Verification
|
|
26
|
+
|
|
27
|
+
- Frontend tests: 4 passed.
|
|
28
|
+
- ESLint: passed.
|
|
29
|
+
- Next.js production build: passed.
|
|
30
|
+
- Wide and mobile completed-journey screenshots were inspected after automation and showed no incoherent overlap or clipping.
|
|
31
|
+
|
|
32
|
+
## Current Quality-Gate Evidence
|
|
33
|
+
|
|
34
|
+
| Profile | Journey | Runtime | Acceptance | Evidence directory |
|
|
35
|
+
|---|---:|---:|---:|---|
|
|
36
|
+
| `demo-success` | 9 of 9 steps passed | 0 errors, 0 warnings | 6 passed | `.uix-quality-gate/aegis-demo-v191/` |
|
|
37
|
+
| `offline-recovery` | 6 of 6 steps passed | 0 errors, 0 warnings | 3 passed | `.uix-quality-gate/aegis-offline-v191/` |
|
|
38
|
+
| `responsive-overview` | 4 of 4 steps passed | 0 errors, 0 warnings | 2 passed | `.uix-quality-gate/aegis-responsive-v191/` |
|
|
39
|
+
|
|
40
|
+
Each profile captured four base-state and four completed-journey screenshots. The demo profile retained the generated Sigma artifact through the CSP-compatible Blob evidence path. The offline profile observed the contract-required `POST /run` HTTP 500 response and preserved the user's input and recovery controls.
|
|
41
|
+
|
|
42
|
+
The aggregate report at `.uix-quality-gate/aegis-release-v191/aggregate-report.json` is complete and passing:
|
|
43
|
+
|
|
44
|
+
- 3 of 3 required profiles supplied and passed.
|
|
45
|
+
- 9 acceptance criteria passed.
|
|
46
|
+
- 0 failed criteria.
|
|
47
|
+
- 0 unverified criteria.
|
|
48
|
+
- 0 warning failures or unverified warning criteria.
|
|
49
|
+
|
|
50
|
+
## Decision
|
|
51
|
+
|
|
52
|
+
The contrast-token and control-size findings are resolved against the current UIX verifier. AegisOPS passes its complete release profile set under the strict warning-level policy. Reopen this decision if product UI changes or a newer verifier introduces evidence that invalidates these results.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# AegisOPS Benchmark Manifest
|
|
2
|
+
|
|
3
|
+
This benchmark turns independently normalized AegisOPS product evidence into executable requirements. It is not a replacement application, a style template, or permission to copy obsolete implementation details.
|
|
4
|
+
|
|
5
|
+
## Authority Order
|
|
6
|
+
|
|
7
|
+
1. Current AegisOPS requirements and working implementation are authoritative for behavior, data contracts, supported modes, and framework choices.
|
|
8
|
+
2. `SOURCE-EVIDENCE.md` records the normalized product and design snapshot without requiring the local raw corpus.
|
|
9
|
+
3. `product-contract.yaml` is the normalized benchmark contract used by ZtotheZ Design Engineering validation tools.
|
|
10
|
+
4. Current task completion, state integrity, and accessible operation override historical fixed compositions.
|
|
11
|
+
5. Historical implementation and submission material explains intent only and may contain obsolete technology, claims, labels, and integrations.
|
|
12
|
+
6. Root `SKILL.md` remains the governing design-engineering instruction.
|
|
13
|
+
|
|
14
|
+
When sources disagree, preserve current product behavior and record the discrepancy. Never silently restore an old framework, dependency, fixed layout, metric, or marketing claim.
|
|
15
|
+
|
|
16
|
+
## Corpus Boundaries
|
|
17
|
+
|
|
18
|
+
- AegisOPS is user-owned source material, not a third-party design-skill dependency.
|
|
19
|
+
- No AegisOPS application code, images, UI-kit implementation, or submission material is imported or packaged by this benchmark.
|
|
20
|
+
- `SOURCE-EVIDENCE.md` stores independently authored product observations and hashes for local provenance inputs.
|
|
21
|
+
- Repeated local design-system fragments are duplicate evidence and must not be weighted as independent support.
|
|
22
|
+
- Unrelated financial and roadmap material is outside this benchmark and must never be retrieved or packaged.
|
|
23
|
+
|
|
24
|
+
## Benchmark Use
|
|
25
|
+
|
|
26
|
+
Use this benchmark to evaluate whether an implementation:
|
|
27
|
+
|
|
28
|
+
- Supports the operator's complete detection-readiness task rather than presenting a decorative SOC dashboard.
|
|
29
|
+
- Preserves Single Technique, APT Group, Kill Chain, and Topology Lab semantics.
|
|
30
|
+
- Exposes pipeline progress, success, failure, retry, and labeled demo fallback states.
|
|
31
|
+
- Connects coverage, safety, latency, and readiness values to inspectable evidence.
|
|
32
|
+
- Produces usable Sigma, SPL, playbook, VECTR, validation, and PDF artifacts where supported.
|
|
33
|
+
- Keeps consequential status and controls readable and operable at every required viewport.
|
|
34
|
+
- Makes authorized defensive scope explicit and avoids unsupported offensive or commercial claims.
|
|
35
|
+
|
|
36
|
+
Run `npm run validate-contract -- --contract knowledge-base/benchmarks/aegisops/product-contract.yaml` before using this benchmark in a quality gate.
|
|
37
|
+
|
|
38
|
+
Execute one runtime profile against an already-running application with:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
npm run verify-ui -- --url URL \
|
|
42
|
+
--journeys knowledge-base/benchmarks/aegisops/journeys.json \
|
|
43
|
+
--profile responsive-overview
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Run all required stages and produce one handoff decision with:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
npm run quality-gate -- \
|
|
50
|
+
--contract knowledge-base/benchmarks/aegisops/product-contract.yaml \
|
|
51
|
+
--repo PATH_TO_AEGISOPS_FRONTEND \
|
|
52
|
+
--url URL \
|
|
53
|
+
--profile responsive-overview
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Manual-review criteria require a human-authored attestation file. Start from `attestations.template.yaml`; do not treat an empty template as evidence. AI agents may format reviewer-provided findings but must never invent a reviewer, review time, decision, or evidence path.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# AegisOPS Source Evidence
|
|
2
|
+
|
|
3
|
+
## Snapshot
|
|
4
|
+
|
|
5
|
+
- Observed: 2026-08-26
|
|
6
|
+
- Ownership context: user-owned portfolio project and design material
|
|
7
|
+
- Runtime dependency: none; the original files are local provenance inputs and are not distributed
|
|
8
|
+
- Product domain: security-operations readiness and defensive detection engineering
|
|
9
|
+
- Current implementation boundary: application behavior overrides historical design and submission material
|
|
10
|
+
|
|
11
|
+
## Normalized Product Evidence
|
|
12
|
+
|
|
13
|
+
- A senior SOC analyst or detection engineer selects an authorized MITRE ATT&CK technique or scenario and runs a staged Threat, Detection, Response, and Validation workflow.
|
|
14
|
+
- The pipeline must expose its current stage, completion, failure, retry, and explicitly labeled demo fallback instead of replacing unavailable live evidence with unlabeled mock output.
|
|
15
|
+
- Results connect scenario inputs and observables to Sigma-style detection logic, SPL hunting guidance, SOC response actions, coverage evaluation, and supported export artifacts.
|
|
16
|
+
- Coverage, safety, latency, model status, and readiness values require an inspectable source. Decorative percentages or status labels are not acceptable evidence.
|
|
17
|
+
- Single Technique, APT Group, Kill Chain, and Topology Lab are distinct task modes. Shared pipeline state must not erase their different inputs, progression, outputs, and recovery needs.
|
|
18
|
+
- Generated security content remains bounded to authorized defensive use and known ATT&CK behavior. It is reviewable engineering output, not automatic production truth.
|
|
19
|
+
|
|
20
|
+
## Normalized Design Evidence
|
|
21
|
+
|
|
22
|
+
- The primary surface is an operational command center, so the current task, pipeline state, findings, evidence, recovery controls, and exports take precedence over promotional content.
|
|
23
|
+
- Semantic status colors distinguish live, ready, warning, fallback, and failure states, but color is never the only carrier of meaning.
|
|
24
|
+
- Agent stages use stable identity and ordering while component composition adapts to available width. A historical desktop mockup is not permission for fixed-width clipping.
|
|
25
|
+
- Typography, contrast, focus, target size, keyboard operation, reflow, text resizing, and reduced-motion behavior remain quality-gate concerns even when historical visual material omitted them.
|
|
26
|
+
- The interface uses restrained operational language. Claims about coverage, performance, hardware, models, integrations, or commercial impact require current evidence.
|
|
27
|
+
|
|
28
|
+
## Provenance Boundaries
|
|
29
|
+
|
|
30
|
+
- No original application code, UI kit implementation, image, slide, submission text, or archived skill is imported by this benchmark.
|
|
31
|
+
- The distributable benchmark contains independently normalized behavioral requirements, acceptance criteria, journeys, anti-patterns, and source hashes only.
|
|
32
|
+
- Repeated local design-system copies are duplicate evidence and must not increase a recommendation's weight.
|
|
33
|
+
- Unrelated local financial and roadmap data is outside this product benchmark and must never be retrieved or packaged.
|
|
34
|
+
|
|
35
|
+
## Local Snapshot Hashes
|
|
36
|
+
|
|
37
|
+
| Local provenance input | SHA-256 |
|
|
38
|
+
|---|---|
|
|
39
|
+
| Design-system handbook | `75281f7dc0fc279b583c87ce2e135ea74ec798be33859f7f2ca356e9e28f7663` |
|
|
40
|
+
| Command-center composition | `f0c81df7551d2e26d57291863be0b5a5846b51f5a72924d0c21b5762525a6ca1` |
|
|
41
|
+
| Desktop visual reference | `866a06f75c08b2097bf9275d39308f414ead234b37c62cf63a7a6627b76f5b67` |
|
|
42
|
+
| Historical product README | `504c0d8fda01a4fee9b18a7110a0125cddbfc2cf797a424e9cb5f78d35dcda05` |
|
|
43
|
+
| Historical submission framing | `238121f7d0ee0c3f037bbb60ed5adb50d05ae116ea08d60a690c573cd5592150` |
|
|
44
|
+
|
|
45
|
+
A hash change is a review trigger, not proof that the benchmark or product regressed. Inspect current product behavior before revising this normalized record.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# AegisOPS Acceptance Criteria
|
|
2
|
+
|
|
3
|
+
The machine-readable criteria live in `product-contract.yaml`. This document explains how reviewers should interpret their evidence.
|
|
4
|
+
|
|
5
|
+
## Product Coherence
|
|
6
|
+
|
|
7
|
+
- A mode changes the task model, accepted input, progress semantics, and result grouping. It is not merely a selected visual tab.
|
|
8
|
+
- The selected scenario remains identifiable in every generated output and export.
|
|
9
|
+
- The four agent stages have distinct responsibilities. Their outputs must not collapse into interchangeable generic text.
|
|
10
|
+
- Validation reports both covered and missing observables. A high score without inspectable evidence is a failure.
|
|
11
|
+
|
|
12
|
+
## State And Recovery
|
|
13
|
+
|
|
14
|
+
- Idle explains the required input and does not imply that results already exist.
|
|
15
|
+
- Running identifies progress, prevents duplicate submission, retains input, and keeps unrelated navigation usable.
|
|
16
|
+
- Success exposes artifacts and evidence without replacing the operator's input or history.
|
|
17
|
+
- Error explains the recoverable cause, preserves the scenario, and presents retry and Demo mode guidance.
|
|
18
|
+
- Demo mode is labeled before and after execution. Historical AMD or ROCm evidence must not appear as a current live measurement.
|
|
19
|
+
|
|
20
|
+
## Responsive Operation
|
|
21
|
+
|
|
22
|
+
At 375, 768, 1024, and 1440 CSS pixels:
|
|
23
|
+
|
|
24
|
+
- Hero status, mission controls, pipeline metadata, readiness gates, logs, and agent status remain readable.
|
|
25
|
+
- Dense two-column desktop groups stack or adapt before labels and values collide.
|
|
26
|
+
- No `overflow: hidden` container may conceal operational text or controls.
|
|
27
|
+
- Logs and data regions may scroll internally when clearly bounded, but the page must not create competing horizontal scroll regions.
|
|
28
|
+
- Primary run, retry, and export actions remain reachable by keyboard and pointer.
|
|
29
|
+
|
|
30
|
+
## Evidence Standard
|
|
31
|
+
|
|
32
|
+
An acceptance criterion passes only when the required evidence type exists:
|
|
33
|
+
|
|
34
|
+
- `contract`: the requirement and source of truth are explicitly defined.
|
|
35
|
+
- `runtime`: browser assertions prove rendered behavior.
|
|
36
|
+
- `screenshot`: the complete viewport can be inspected without clipping or overlap.
|
|
37
|
+
- `network`: request status and returned data support the UI claim.
|
|
38
|
+
- `accessibility`: names, focus behavior, announcements, and non-color cues are verified.
|
|
39
|
+
- `export`: downloaded content matches the current run and expected format.
|
|
40
|
+
- `manual-review`: a qualified reviewer checks semantic or safety quality that cannot be inferred from presentation alone.
|
|
41
|
+
|
|
42
|
+
Passing screenshots alone never prove product coherence, metric validity, or export integrity.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# AegisOPS Anti-Patterns
|
|
2
|
+
|
|
3
|
+
Use these as rejection examples when generating or reviewing an AegisOPS implementation.
|
|
4
|
+
|
|
5
|
+
| Anti-pattern | Why it fails | Required correction |
|
|
6
|
+
|---|---|---|
|
|
7
|
+
| Decorative SOC shell | Panels and terminal styling exist, but the operator cannot complete a scenario-to-detection workflow | Start from the selected mode, input contract, pipeline state, evidence, and exports; apply styling afterward |
|
|
8
|
+
| Untraceable coverage score | A percentage appears without covered and missing observables or a validator source | Bind the score to structured validation evidence and expose the supporting lists |
|
|
9
|
+
| Fake live infrastructure | Static model, GPU, endpoint, latency, or throughput values appear as current status | Measure current requests or label the values as bundled demo provenance |
|
|
10
|
+
| Hidden demo fallback | Precomputed output is presented without a persistent Demo mode label | Label fallback before submission, in progress, in results, and in exports |
|
|
11
|
+
| Fixed mockup layout | The 1600 by 1000 reference is scaled or clipped at smaller widths | Recompose dense rows, stack panels, and verify all required viewports |
|
|
12
|
+
| Clipped operational status | `overflow: hidden` conceals a status pill, gate value, label, or action | Allow the content to wrap or change layout; use `data-ztothez-design-allow-clipping` only for verified non-semantic decoration |
|
|
13
|
+
| Colliding gate labels | Readiness labels and values overlap in narrow cards | Increase track constraints, stack label and value, or reduce simultaneous columns |
|
|
14
|
+
| Color-only readiness | Green, amber, or red is the only indication of gate state | Add explicit READY, PENDING, PASS, WARNING, or ERROR text and assistive-technology output |
|
|
15
|
+
| Generic agent cards | Every agent shows interchangeable copy with no input/output contract | Expose each stage's role, progress, evidence contribution, and completion state |
|
|
16
|
+
| Cleared failure state | A request failure removes the scenario or partial evidence | Preserve input and prior evidence, explain the failure, and provide retry and fallback actions |
|
|
17
|
+
| Export theater | Download buttons generate placeholders or content unrelated to the visible run | Generate from the current structured result and verify filename, MIME type, content, and failure handling |
|
|
18
|
+
| Raw backend failure | Stack traces, proxy internals, or unexplained status codes are shown to the operator | Log diagnostics outside JSON-RPC or UI output and present actionable recovery copy |
|
|
19
|
+
| Unsupported claims | Historical hackathon cost, performance, or superiority language is reused as fact | Remove it or attach current, reviewable evidence and scope |
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
version: "1.0"
|
|
2
|
+
contract: aegisops
|
|
3
|
+
attestations:
|
|
4
|
+
- criterion: evidence-backed-results
|
|
5
|
+
status: pass
|
|
6
|
+
reviewer: "ZtotheZ"
|
|
7
|
+
reviewedAt: "2026-08-25T19:30:00+03:00"
|
|
8
|
+
notes: |
|
|
9
|
+
Inspected three claims about the generated Sigma rule and detection pipeline:
|
|
10
|
+
|
|
11
|
+
1. CLAIM: Rule refers to T1059.001
|
|
12
|
+
EVIDENCE: Rule ID explicitly tagged `attack.t1059.001`, mapped to correct technique,
|
|
13
|
+
referenced in MITRE ATT&CK link (https://attack.mitre.org/techniques/T1059.001/).
|
|
14
|
+
Screenshot UI shows mission input targeting T1059.001 directly.
|
|
15
|
+
STATUS: ✓ PASS
|
|
16
|
+
|
|
17
|
+
2. CLAIM: Detection logic traces to observable Windows signals
|
|
18
|
+
EVIDENCE: Rule breaks into five concrete signal layers:
|
|
19
|
+
- Office parent (WINWORD/EXCEL/OUTLOOK) spawning powershell.exe with -EncodedCommand
|
|
20
|
+
- PowerShell Event ID 4104 script block logging with Invoke-Expression/IEX patterns
|
|
21
|
+
- Sysmon Event ID 11 temp file writes to AppData\Local\Temp\*.ps1
|
|
22
|
+
- Sysmon Event ID 3 network connections from powershell.exe to ports 80/443/5985
|
|
23
|
+
- Windows Event ID 4624 LogonType 3 for lateral WinRM movement detection
|
|
24
|
+
All observables are real Windows events; no fabricated fields or invented event codes.
|
|
25
|
+
STATUS: ✓ PASS
|
|
26
|
+
|
|
27
|
+
3. CLAIM: No unrelated or fabricated outputs
|
|
28
|
+
EVIDENCE: Verified all EventIDs (4104, 11, 3, 4624) are real Windows security events.
|
|
29
|
+
All field names (ParentImage, CommandLine, ScriptBlockText) are authentic Windows log fields.
|
|
30
|
+
False positives are realistic (Office macros, IT admin tools, patch management) not generic padding.
|
|
31
|
+
Rule marked as "experimental" status—honest about maturity level.
|
|
32
|
+
STATUS: ✓ PASS
|
|
33
|
+
|
|
34
|
+
OVERALL: All three claims verified. The Sigma rule is real, properly mapped to T1059.001,
|
|
35
|
+
uses observable Windows signals, and contains no fabrication. Ready for detection engineering use.
|
|
36
|
+
evidence:
|
|
37
|
+
- ".uix-quality-gate/aegis-demo-evidence/runtime/journey-single-technique-success.png"
|
|
38
|
+
- ".uix-quality-gate/aegis-demo-evidence/runtime/journey-single-technique-success-step-9-sigma_T1059.001.yml"
|
|
39
|
+
|
|
40
|
+
- criterion: evidence-backed-metrics
|
|
41
|
+
status: pass
|
|
42
|
+
reviewer: "ZtotheZ"
|
|
43
|
+
reviewedAt: "2026-08-25T19:30:00+03:00"
|
|
44
|
+
notes: |
|
|
45
|
+
Inspected how displayed metrics (coverage=97%, product_readiness=96%, safety_verdict=PASS)
|
|
46
|
+
trace to the structured demo result.
|
|
47
|
+
|
|
48
|
+
EVIDENCE CHAIN:
|
|
49
|
+
1. Source: demo_output.py contains hardcoded DEMO_VERIFIER_OUTPUT with JSON metrics:
|
|
50
|
+
- coverage_score: 97
|
|
51
|
+
- product_readiness_score: 96
|
|
52
|
+
- safety_verdict: "PASS"
|
|
53
|
+
- verdict: "PASS"
|
|
54
|
+
|
|
55
|
+
2. Pipeline: DEMO_INVOKE_RESULT wraps this output and is returned by server.py when
|
|
56
|
+
demo mode is active (line 356: "if req.demo_mode: result = DEMO_INVOKE_RESULT")
|
|
57
|
+
|
|
58
|
+
3. SSE Stream: server.py parses verifier output via _parse_verifier() (lines 80-99),
|
|
59
|
+
extracting coverage, product_readiness, safety_verdict, and passing to frontend
|
|
60
|
+
in the "done" SSE event payload
|
|
61
|
+
|
|
62
|
+
4. Frontend: page.tsx receives metrics in run.scores object and displays them in:
|
|
63
|
+
- Console logs (line 186: coverage=${run.scores.coverage}%)
|
|
64
|
+
- Alert history cards (line 294: coverage {run.scores.coverage}%)
|
|
65
|
+
- Readiness gates (derived from run.scores status)
|
|
66
|
+
|
|
67
|
+
VERIFICATION:
|
|
68
|
+
- Screenshots show Coverage Gate READY, Product Readiness ENABLED, Safety Gate PASS
|
|
69
|
+
- These match the demo_output.py metrics exactly (97%, 96%, PASS)
|
|
70
|
+
- Verifier model labeled "Qwen Validator Demo" (from demo_output.py line 691)
|
|
71
|
+
- System status shows "OFFLINE · DEMO FALLBACK ACTIVE" when endpoint unreachable
|
|
72
|
+
|
|
73
|
+
ASSESSMENT: Metrics are fully traceable to structured demo data. No live computation;
|
|
74
|
+
all values come from hardcoded demo result. Frontend correctly presents verifier model
|
|
75
|
+
name and validation verdict. System can distinguish demo vs. live mode via SSE flag.
|
|
76
|
+
|
|
77
|
+
PARTIAL NOTE: Individual metric cards could benefit from explicit "Demo" badge watermark
|
|
78
|
+
for additional clarity (currently relies on system-level "Demo Fallback" indicator).
|
|
79
|
+
This is a UI/UX enhancement, not a correctness issue.
|
|
80
|
+
|
|
81
|
+
STATUS: ✓ PASS
|
|
82
|
+
evidence:
|
|
83
|
+
- ".uix-quality-gate/aegis-demo-evidence/runtime/journey-single-technique-success.png"
|
|
84
|
+
- "/home/ztothez/Studio/portfolio/AegisOPS/demo_output.py"
|
|
85
|
+
- "/home/ztothez/Studio/portfolio/AegisOPS/server.py"
|
|
86
|
+
- "/home/ztothez/Studio/portfolio/AegisOPS/frontend/src/app/page.tsx"
|
|
87
|
+
|
|
88
|
+
- criterion: authorized-scope
|
|
89
|
+
status: pass
|
|
90
|
+
reviewer: "ZtotheZ"
|
|
91
|
+
reviewedAt: "2026-08-25T19:30:00+03:00"
|
|
92
|
+
notes: |
|
|
93
|
+
Inspected the generated output for zero-day claims, unauthorized exploitation,
|
|
94
|
+
offensive guidance, and unsupported production-readiness claims.
|
|
95
|
+
|
|
96
|
+
The material is explicitly framed as authorized purple-team validation for public
|
|
97
|
+
MITRE ATT&CK technique T1059.001. Validation commands are described as non-weaponized
|
|
98
|
+
telemetry references, use placeholders for sensitive values, and support detection
|
|
99
|
+
engineering rather than exploitation.
|
|
100
|
+
|
|
101
|
+
The Sigma rule remains experimental and requires environment-specific tuning,
|
|
102
|
+
baselining, fleet logging verification, and another validation run before promotion.
|
|
103
|
+
Documented limitations include SIEM correlation requirements, backend-specific regex,
|
|
104
|
+
separate Sysmon DNS coverage, and cross-host authentication aggregation. These gaps
|
|
105
|
+
prevent the output from implying complete or automatic production readiness.
|
|
106
|
+
|
|
107
|
+
Response guidance is limited to defensive triage, containment, hunting, mitigation,
|
|
108
|
+
hardening, and escalation. Deployment and suppression decisions require owner review.
|
|
109
|
+
|
|
110
|
+
PASS: authorized defensive scope is explicit; no zero-day, unauthorized-use, or
|
|
111
|
+
automatic-production claims were found.
|
|
112
|
+
evidence:
|
|
113
|
+
- ".uix-quality-gate/aegis-demo-evidence/runtime/journey-single-technique-success-step-9-sigma_T1059.001.yml"
|
|
114
|
+
- "knowledge-base/benchmarks/aegisops/product-contract.yaml"
|
|
115
|
+
- "/home/ztothez/Studio/portfolio/AegisOPS/demo_output.py"
|