@tryvitris/website-harness 0.0.0-stage → 0.1.0-beta.6
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/CONTRIBUTING.md +7 -0
- package/LICENSE +21 -0
- package/NOTICE +17 -0
- package/README.md +141 -2
- package/agent/EVALUATION.md +23 -0
- package/agent/PROMPT.md +13 -0
- package/agent/STATE.json +109 -0
- package/agent/WORKFLOW.md +108 -0
- package/agent/evals/preview.md +5 -0
- package/agent/graph.yaml +752 -0
- package/agent/guardrails.md +10 -0
- package/agent/refs/accessibility.md +9 -0
- package/agent/refs/art-direction.md +15 -0
- package/agent/refs/brand.md +3 -0
- package/agent/refs/browser.md +15 -0
- package/agent/refs/business.md +9 -0
- package/agent/refs/components.md +42 -0
- package/agent/refs/compose.md +10 -0
- package/agent/refs/contracts.md +32 -0
- package/agent/refs/copy.md +14 -0
- package/agent/refs/counterpoint.md +3 -0
- package/agent/refs/critic.md +29 -0
- package/agent/refs/design-calibration.md +31 -0
- package/agent/refs/design-feedback.md +13 -0
- package/agent/refs/design-quality.md +33 -0
- package/agent/refs/design-synthesis.md +9 -0
- package/agent/refs/direction.md +29 -0
- package/agent/refs/feedback-fulfillment.md +7 -0
- package/agent/refs/geo.md +7 -0
- package/agent/refs/harvest.md +7 -0
- package/agent/refs/icons.md +102 -0
- package/agent/refs/images.md +3 -0
- package/agent/refs/implement.md +24 -0
- package/agent/refs/industry-reference-shortlist.md +64 -0
- package/agent/refs/inspiration.md +17 -0
- package/agent/refs/interpret.md +3 -0
- package/agent/refs/jev.md +166 -0
- package/agent/refs/launch.md +11 -0
- package/agent/refs/layout.md +7 -0
- package/agent/refs/media.md +35 -0
- package/agent/refs/motif.md +3 -0
- package/agent/refs/motion-count.md +13 -0
- package/agent/refs/motion-image.md +12 -0
- package/agent/refs/motion-numeric.md +14 -0
- package/agent/refs/motion-page.md +23 -0
- package/agent/refs/motion-process.md +12 -0
- package/agent/refs/motion-sequence.md +7 -0
- package/agent/refs/motion-text.md +12 -0
- package/agent/refs/motion.md +11 -0
- package/agent/refs/narrative.md +9 -0
- package/agent/refs/performance.md +36 -0
- package/agent/refs/preview.md +3 -0
- package/agent/refs/production-quality.md +33 -0
- package/agent/refs/psychology.md +3 -0
- package/agent/refs/refine.md +14 -0
- package/agent/refs/research.md +7 -0
- package/agent/refs/sections.md +6 -0
- package/agent/refs/seo.md +9 -0
- package/agent/refs/storyboard.md +27 -0
- package/agent/refs/template-adaptation.md +42 -0
- package/agent/refs/template-from-url.md +91 -0
- package/agent/refs/template-library.md +32 -0
- package/agent/refs/template-motion.md +44 -0
- package/agent/refs/theme-selection.md +13 -0
- package/agent/refs/ui-ux.md +7 -0
- package/agent/refs/usability.md +5 -0
- package/agent/refs/variant-directions.md +20 -0
- package/agent/refs/write.md +6 -0
- package/agent/request.json +11 -0
- package/agent/workflow.json +4 -0
- package/bin/api/agent/artifacts.js +38 -0
- package/bin/api/agent/evaluate.js +55 -0
- package/bin/api/agent/grade.js +51 -0
- package/bin/api/agent/graph.js +16 -0
- package/bin/api/cli/api.js +104 -0
- package/bin/api/cli.js +48 -0
- package/bin/api/contracts.js +22 -0
- package/bin/api/engine.js +53 -0
- package/bin/api/hosting.js +40 -0
- package/bin/api/icons.js +57 -0
- package/bin/api/index.js +20 -0
- package/bin/api/references.js +45 -0
- package/bin/api/render.js +61 -0
- package/bin/api/schema.js +68 -0
- package/bin/api/theme.js +9 -0
- package/bin/api/types.js +8 -0
- package/bin/chunks/chunk-2NW7KSPA.js +17 -0
- package/bin/chunks/chunk-34H54KEY.js +45 -0
- package/bin/chunks/chunk-3CTBXY5K.js +22313 -0
- package/bin/chunks/chunk-42IXFXUD.js +1141 -0
- package/bin/chunks/chunk-4DM5TTLG.js +219 -0
- package/bin/chunks/chunk-4GZCAWWK.js +327 -0
- package/bin/chunks/chunk-54JC5L35.js +493 -0
- package/bin/chunks/chunk-5OOPJNGN.js +511 -0
- package/bin/chunks/chunk-6A3VWYMF.js +28 -0
- package/bin/chunks/chunk-6H3T46F5.js +25 -0
- package/bin/chunks/chunk-7FS67SRF.js +12 -0
- package/bin/chunks/chunk-7VLBEAFW.js +56 -0
- package/bin/chunks/chunk-ANMJRJQ5.js +31 -0
- package/bin/chunks/chunk-AUO5I56E.js +118774 -0
- package/bin/chunks/chunk-B5I45LFD.js +619 -0
- package/bin/chunks/chunk-BBV7PMFC.js +185 -0
- package/bin/chunks/chunk-BIEDSEL2.js +8 -0
- package/bin/chunks/chunk-CBEJZO4L.js +67 -0
- package/bin/chunks/chunk-DRJQ4OOU.js +514 -0
- package/bin/chunks/chunk-DSS2U2OM.js +115 -0
- package/bin/chunks/chunk-E5Y46VBX.js +678 -0
- package/bin/chunks/chunk-FOXUQXTV.js +278 -0
- package/bin/chunks/chunk-FYN4T4SV.js +4900 -0
- package/bin/chunks/chunk-G7MNMULR.js +192 -0
- package/bin/chunks/chunk-GVNIL34R.js +78 -0
- package/bin/chunks/chunk-GZDLXYZV.js +3425 -0
- package/bin/chunks/chunk-HNORQ74T.js +40 -0
- package/bin/chunks/chunk-IKNMBGGD.js +217 -0
- package/bin/chunks/chunk-JCRGE6AL.js +14 -0
- package/bin/chunks/chunk-LKN75JGA.js +63 -0
- package/bin/chunks/chunk-M2ETYSVJ.js +176 -0
- package/bin/chunks/chunk-M4LNHYYR.js +177 -0
- package/bin/chunks/chunk-PRLL7B63.js +113 -0
- package/bin/chunks/chunk-R7YELY3C.js +923 -0
- package/bin/chunks/chunk-T6PE4KN4.js +277 -0
- package/bin/chunks/chunk-T7DGRVTP.js +458 -0
- package/bin/chunks/chunk-TY33XMHW.js +239 -0
- package/bin/chunks/chunk-VH7PM7KJ.js +179 -0
- package/bin/chunks/chunk-WEFDVXFX.js +65 -0
- package/bin/chunks/chunk-XGTHGWPW.js +90 -0
- package/bin/chunks/chunk-XL2DRAYI.js +39 -0
- package/bin/chunks/chunk-YCVGD2CG.js +2751 -0
- package/bin/chunks/chunk-YQYHROLZ.js +1023 -0
- package/bin/chunks/chunk-YYPYYOEV.js +34 -0
- package/bin/chunks/chunk-Z2UNY47A.js +2418 -0
- package/bin/chunks/design-context-store-IAT2P2OC.js +39 -0
- package/bin/chunks/packets-VBMY4SQJ.js +53 -0
- package/bin/chunks/policy-2I37JUU3.js +18 -0
- package/bin/chunks/preparation-S4MG3RPL.js +93 -0
- package/bin/chunks/questions-HKELBDFL.js +120 -0
- package/bin/chunks/state-GDL6CCJI.js +20 -0
- package/bin/chunks/template-gallery-ET76ERZQ.js +140 -0
- package/bin/cloudflare/backend.js +24421 -0
- package/bin/cloudflare/blake3.wasm +0 -0
- package/bin/cloudflare/forms-test.js +429 -0
- package/bin/cloudflare/templates.js +100 -0
- package/bin/types/scripts/lib/r2.d.ts +7 -0
- package/bin/types/scripts/onboard/browser.d.ts +9 -0
- package/bin/types/scripts/onboard/crawl.d.ts +35 -0
- package/bin/types/scripts/onboard/images.d.ts +19 -0
- package/bin/types/scripts/onboard/prompt.d.ts +10 -0
- package/bin/types/scripts/onboard/run.d.ts +47 -0
- package/bin/types/src/agent/adaptation-checkpoint.d.ts +70 -0
- package/bin/types/src/agent/added-media.d.ts +31 -0
- package/bin/types/src/agent/api-contracts.d.ts +2 -0
- package/bin/types/src/agent/art-direction-policy.d.ts +9 -0
- package/bin/types/src/agent/art-direction.d.ts +253 -0
- package/bin/types/src/agent/artifacts.d.ts +602 -0
- package/bin/types/src/agent/browser-motion-journey.d.ts +59 -0
- package/bin/types/src/agent/browser-motion.d.ts +40 -0
- package/bin/types/src/agent/browser-timeout.d.ts +4 -0
- package/bin/types/src/agent/composition-authoring.d.ts +12 -0
- package/bin/types/src/agent/composition-context.d.ts +63 -0
- package/bin/types/src/agent/composition-contract.d.ts +4 -0
- package/bin/types/src/agent/composition-decisions.d.ts +43 -0
- package/bin/types/src/agent/composition-preflight.d.ts +16 -0
- package/bin/types/src/agent/creative-change-context.d.ts +21 -0
- package/bin/types/src/agent/creative-context.d.ts +56 -0
- package/bin/types/src/agent/creative-contract.d.ts +123 -0
- package/bin/types/src/agent/creative-efficiency.d.ts +18 -0
- package/bin/types/src/agent/creative-evidence.d.ts +57 -0
- package/bin/types/src/agent/creative-objective.d.ts +33 -0
- package/bin/types/src/agent/creative-profile.d.ts +81 -0
- package/bin/types/src/agent/creative-prompts.d.ts +7 -0
- package/bin/types/src/agent/creative-render-bindings.d.ts +13 -0
- package/bin/types/src/agent/creative-revision.d.ts +33 -0
- package/bin/types/src/agent/creative-skills.d.ts +25 -0
- package/bin/types/src/agent/cursor-hook.d.ts +182 -0
- package/bin/types/src/agent/design-bundle.d.ts +24 -0
- package/bin/types/src/agent/design-calibration.d.ts +43 -0
- package/bin/types/src/agent/design-cli.d.ts +5 -0
- package/bin/types/src/agent/design-comparison.d.ts +63 -0
- package/bin/types/src/agent/design-context-packet.d.ts +82 -0
- package/bin/types/src/agent/design-context-store.d.ts +14 -0
- package/bin/types/src/agent/design-context.d.ts +85 -0
- package/bin/types/src/agent/design-contracts.d.ts +35 -0
- package/bin/types/src/agent/design-copy.d.ts +29 -0
- package/bin/types/src/agent/design-feedback.d.ts +91 -0
- package/bin/types/src/agent/design-knowledge.d.ts +124 -0
- package/bin/types/src/agent/design-quality.d.ts +143 -0
- package/bin/types/src/agent/design-review-server.d.ts +13 -0
- package/bin/types/src/agent/design-run.d.ts +174 -0
- package/bin/types/src/agent/design-synthesis.d.ts +76 -0
- package/bin/types/src/agent/design-usage.d.ts +38 -0
- package/bin/types/src/agent/editorial.d.ts +11 -0
- package/bin/types/src/agent/evaluate.d.ts +28 -0
- package/bin/types/src/agent/grade.d.ts +16 -0
- package/bin/types/src/agent/graph.d.ts +82 -0
- package/bin/types/src/agent/industry/document.d.ts +10 -0
- package/bin/types/src/agent/industry/interactions.d.ts +2 -0
- package/bin/types/src/agent/industry/markup.d.ts +14 -0
- package/bin/types/src/agent/industry/registry.d.ts +2 -0
- package/bin/types/src/agent/industry/render-style.d.ts +3 -0
- package/bin/types/src/agent/industry/ridgeline/browse.d.ts +2 -0
- package/bin/types/src/agent/industry/ridgeline/diagrams.d.ts +9 -0
- package/bin/types/src/agent/industry/ridgeline/facts.d.ts +61 -0
- package/bin/types/src/agent/industry/ridgeline/pages/company.d.ts +5 -0
- package/bin/types/src/agent/industry/ridgeline/pages/home.d.ts +1 -0
- package/bin/types/src/agent/industry/ridgeline/pages/journal.d.ts +24 -0
- package/bin/types/src/agent/industry/ridgeline/pages/services.d.ts +6 -0
- package/bin/types/src/agent/industry/ridgeline/photo.d.ts +18 -0
- package/bin/types/src/agent/industry/ridgeline/script.d.ts +1 -0
- package/bin/types/src/agent/industry/ridgeline/site.d.ts +2 -0
- package/bin/types/src/agent/industry/ridgeline/style.d.ts +1 -0
- package/bin/types/src/agent/industry/ridgeline/theme.d.ts +4 -0
- package/bin/types/src/agent/industry/seven/barber-club.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/barber-corner.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/barber-form.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/browse.d.ts +4 -0
- package/bin/types/src/agent/industry/seven/construction-built.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/construction-craft.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/construction-siteworks.d.ts +3 -0
- package/bin/types/src/agent/industry/seven/electrical-circuit.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/electrical-light.d.ts +3 -0
- package/bin/types/src/agent/industry/seven/electrical-power.d.ts +3 -0
- package/bin/types/src/agent/industry/seven/hvac-climate.d.ts +3 -0
- package/bin/types/src/agent/industry/seven/hvac-dispatch.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/hvac-seasonal.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/interactions.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/landscape-atlas.d.ts +4 -0
- package/bin/types/src/agent/industry/seven/landscape-courtyard.d.ts +3 -0
- package/bin/types/src/agent/industry/seven/landscape-seasons.d.ts +3 -0
- package/bin/types/src/agent/industry/seven/legal-casework.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/legal-counsel.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/legal-table.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/medical-continuum.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/medical-movement.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/medical-neighborhood.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/primitives.d.ts +31 -0
- package/bin/types/src/agent/industry/seven/registry.d.ts +4 -0
- package/bin/types/src/agent/industry/seven/theme.d.ts +3 -0
- package/bin/types/src/agent/industry/sites/common-ground.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/coordination.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/everyday.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/independent.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/mainstage.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/neighborhood.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/next-chapter.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/practice-notes.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/property-desk.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/residence.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/risk-office.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/workshop.d.ts +2 -0
- package/bin/types/src/agent/industry/types.d.ts +48 -0
- package/bin/types/src/agent/invocation-budget.d.ts +32 -0
- package/bin/types/src/agent/jev/agent-usage.d.ts +165 -0
- package/bin/types/src/agent/jev/batching.d.ts +101 -0
- package/bin/types/src/agent/jev/block-catalog.d.ts +95 -0
- package/bin/types/src/agent/jev/bounds.d.ts +30 -0
- package/bin/types/src/agent/jev/budget.d.ts +76 -0
- package/bin/types/src/agent/jev/business-draft.d.ts +103 -0
- package/bin/types/src/agent/jev/calibration.d.ts +131 -0
- package/bin/types/src/agent/jev/client.d.ts +52 -0
- package/bin/types/src/agent/jev/component-select.d.ts +102 -0
- package/bin/types/src/agent/jev/config.d.ts +52 -0
- package/bin/types/src/agent/jev/consistency.d.ts +105 -0
- package/bin/types/src/agent/jev/content-checks.d.ts +121 -0
- package/bin/types/src/agent/jev/creative.d.ts +81 -0
- package/bin/types/src/agent/jev/critic-report.d.ts +132 -0
- package/bin/types/src/agent/jev/extraction.d.ts +84 -0
- package/bin/types/src/agent/jev/goals.d.ts +43 -0
- package/bin/types/src/agent/jev/html-tree.d.ts +28 -0
- package/bin/types/src/agent/jev/indexing.d.ts +51 -0
- package/bin/types/src/agent/jev/ledger.d.ts +154 -0
- package/bin/types/src/agent/jev/media.d.ts +62 -0
- package/bin/types/src/agent/jev/observations.d.ts +26 -0
- package/bin/types/src/agent/jev/ownership.d.ts +74 -0
- package/bin/types/src/agent/jev/packets.d.ts +124 -0
- package/bin/types/src/agent/jev/policy.d.ts +83 -0
- package/bin/types/src/agent/jev/questions.d.ts +244 -0
- package/bin/types/src/agent/jev/ranking.d.ts +129 -0
- package/bin/types/src/agent/jev/repair.d.ts +73 -0
- package/bin/types/src/agent/jev/review.d.ts +37 -0
- package/bin/types/src/agent/jev/security.d.ts +28 -0
- package/bin/types/src/agent/jev/semantic-lifecycle.d.ts +19 -0
- package/bin/types/src/agent/jev/semantic-tasks.d.ts +89 -0
- package/bin/types/src/agent/jev/service-registry.d.ts +98 -0
- package/bin/types/src/agent/jev/state.d.ts +104 -0
- package/bin/types/src/agent/jev/types.d.ts +190 -0
- package/bin/types/src/agent/jev/visible-assertions.d.ts +84 -0
- package/bin/types/src/agent/kernel-commands.d.ts +2 -0
- package/bin/types/src/agent/kit-runtime.d.ts +12 -0
- package/bin/types/src/agent/legacy-definitions/theme-art.d.ts +5 -0
- package/bin/types/src/agent/legacy-definitions/theme-commissions.d.ts +1 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-extremes.d.ts +7 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-graphic.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-reading.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-service-extremes.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-service-people.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-service-programme.d.ts +3 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-service-project.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-service-season.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-tactile.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-legacy-specimens.d.ts +8 -0
- package/bin/types/src/agent/legacy-definitions/theme-library-legacy.d.ts +20 -0
- package/bin/types/src/agent/legacy-definitions/theme-library-release2.d.ts +3 -0
- package/bin/types/src/agent/legacy-definitions/theme-service-art.d.ts +7 -0
- package/bin/types/src/agent/legacy-definitions/theme-service-commissions.d.ts +1 -0
- package/bin/types/src/agent/legacy-definitions/theme-specimen-base.d.ts +1 -0
- package/bin/types/src/agent/legacy-definitions/theme-specimens.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-suite-data.d.ts +25 -0
- package/bin/types/src/agent/legacy-definitions/theme-suite-style.d.ts +1 -0
- package/bin/types/src/agent/legacy-definitions/theme-suites-checkpoint.d.ts +14 -0
- package/bin/types/src/agent/legacy-definitions/theme-suites-graphic.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-suites-information.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-suites-local.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-suites-material.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-suites-practice.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-suites-spatial.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-suites.d.ts +3 -0
- package/bin/types/src/agent/lifecycle.d.ts +136 -0
- package/bin/types/src/agent/lighthouse-browser.d.ts +5 -0
- package/bin/types/src/agent/media-format.d.ts +5 -0
- package/bin/types/src/agent/migration-links.d.ts +4 -0
- package/bin/types/src/agent/motion-composition.d.ts +22 -0
- package/bin/types/src/agent/motion-knowledge.d.ts +3 -0
- package/bin/types/src/agent/motion-plan.d.ts +6 -0
- package/bin/types/src/agent/performance.d.ts +52 -0
- package/bin/types/src/agent/playwright-runtime.d.ts +8 -0
- package/bin/types/src/agent/preparation.d.ts +193 -0
- package/bin/types/src/agent/preview.d.ts +1 -0
- package/bin/types/src/agent/production-quality.d.ts +72 -0
- package/bin/types/src/agent/reference-contract.d.ts +3 -0
- package/bin/types/src/agent/reference-fit.d.ts +50 -0
- package/bin/types/src/agent/reference-library.d.ts +313 -0
- package/bin/types/src/agent/reference-studies.d.ts +110 -0
- package/bin/types/src/agent/refine.d.ts +348 -0
- package/bin/types/src/agent/result-manifest.d.ts +38 -0
- package/bin/types/src/agent/runner.d.ts +10 -0
- package/bin/types/src/agent/site-inputs.d.ts +26 -0
- package/bin/types/src/agent/source-manifest.d.ts +9 -0
- package/bin/types/src/agent/state-transition.d.ts +16 -0
- package/bin/types/src/agent/storyboard-media.d.ts +11 -0
- package/bin/types/src/agent/study-render.d.ts +27 -0
- package/bin/types/src/agent/template-adaptation.d.ts +69 -0
- package/bin/types/src/agent/template-motion.d.ts +59 -0
- package/bin/types/src/agent/theme-art-direction.d.ts +2 -0
- package/bin/types/src/agent/theme-art.d.ts +1 -0
- package/bin/types/src/agent/theme-assets.d.ts +36 -0
- package/bin/types/src/agent/theme-browse.d.ts +67 -0
- package/bin/types/src/agent/theme-cloud-resources.d.ts +7 -0
- package/bin/types/src/agent/theme-cloud.d.ts +41 -0
- package/bin/types/src/agent/theme-commissions.d.ts +1 -0
- package/bin/types/src/agent/theme-compositions-extremes.d.ts +1 -0
- package/bin/types/src/agent/theme-compositions.d.ts +1 -0
- package/bin/types/src/agent/theme-identity.d.ts +23 -0
- package/bin/types/src/agent/theme-layout-roles.d.ts +7 -0
- package/bin/types/src/agent/theme-legacy-specimens.d.ts +1 -0
- package/bin/types/src/agent/theme-library-legacy.d.ts +1 -0
- package/bin/types/src/agent/theme-library-release2.d.ts +1 -0
- package/bin/types/src/agent/theme-library.d.ts +60 -0
- package/bin/types/src/agent/theme-page-manifest.d.ts +26 -0
- package/bin/types/src/agent/theme-picker-model.d.ts +51 -0
- package/bin/types/src/agent/theme-picker-runtime.d.ts +1 -0
- package/bin/types/src/agent/theme-picker-selection-runtime.d.ts +1 -0
- package/bin/types/src/agent/theme-picker-shell.d.ts +7 -0
- package/bin/types/src/agent/theme-picker-styles.d.ts +1 -0
- package/bin/types/src/agent/theme-picker.d.ts +20 -0
- package/bin/types/src/agent/theme-preview.d.ts +26 -0
- package/bin/types/src/agent/theme-release2/assets.d.ts +22 -0
- package/bin/types/src/agent/theme-release2/specimens.d.ts +2 -0
- package/bin/types/src/agent/theme-release2/theme-art.d.ts +5 -0
- package/bin/types/src/agent/theme-release2/theme-compositions-extremes.d.ts +7 -0
- package/bin/types/src/agent/theme-release2/theme-compositions-graphic.d.ts +2 -0
- package/bin/types/src/agent/theme-release2/theme-compositions-reading.d.ts +2 -0
- package/bin/types/src/agent/theme-release2/theme-compositions-tactile.d.ts +2 -0
- package/bin/types/src/agent/theme-release2/theme-compositions.d.ts +3 -0
- package/bin/types/src/agent/theme-release2/theme-specimen-base.d.ts +1 -0
- package/bin/types/src/agent/theme-release3/theme-art-direction.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-art.d.ts +5 -0
- package/bin/types/src/agent/theme-release3/theme-assets.d.ts +121 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-extremes.d.ts +7 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-graphic.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-reading.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-service-extremes.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-service-people.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-service-programme.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-service-project.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-service-season.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-tactile.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-compositions.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-identity.d.ts +23 -0
- package/bin/types/src/agent/theme-release3/theme-library.d.ts +4 -0
- package/bin/types/src/agent/theme-release3/theme-service-art.d.ts +7 -0
- package/bin/types/src/agent/theme-release3/theme-specimen-base.d.ts +1 -0
- package/bin/types/src/agent/theme-release3/theme-specimens.d.ts +2 -0
- package/bin/types/src/agent/theme-selection.d.ts +75 -0
- package/bin/types/src/agent/theme-service-art.d.ts +1 -0
- package/bin/types/src/agent/theme-specimen-base.d.ts +1 -0
- package/bin/types/src/agent/theme-specimens.d.ts +1 -0
- package/bin/types/src/agent/theme-suite-data.d.ts +1 -0
- package/bin/types/src/agent/theme-suite-identity.d.ts +42 -0
- package/bin/types/src/agent/theme-suite-primitives.d.ts +14 -0
- package/bin/types/src/agent/theme-suite-renderer.d.ts +8 -0
- package/bin/types/src/agent/theme-suite-style.d.ts +1 -0
- package/bin/types/src/agent/theme-suites.d.ts +1 -0
- package/bin/types/src/agent/theme-thumbnails.d.ts +8 -0
- package/bin/types/src/agent/trace.d.ts +337 -0
- package/bin/types/src/agent/workflow-config.d.ts +25 -0
- package/bin/types/src/agent/workflow.d.ts +104 -0
- package/bin/types/src/blocks/library-profile.d.ts +9 -0
- package/bin/types/src/blocks/metadata.d.ts +65 -0
- package/bin/types/src/build/index.d.ts +29 -0
- package/bin/types/src/build/responsive-media.d.ts +19 -0
- package/bin/types/src/build/serve.d.ts +4 -0
- package/bin/types/src/build/static-output.d.ts +2 -0
- package/bin/types/src/build/verified.d.ts +1 -0
- package/bin/types/src/cli/api.d.ts +17 -0
- package/bin/types/src/cli/deploy.d.ts +21 -0
- package/bin/types/src/cli/doctor.d.ts +16 -0
- package/bin/types/src/cli/events.d.ts +16 -0
- package/bin/types/src/cli/feedback.d.ts +21 -0
- package/bin/types/src/cli/forms.d.ts +16 -0
- package/bin/types/src/cli/index.d.ts +1 -0
- package/bin/types/src/cli/lifecycle.d.ts +18 -0
- package/bin/types/src/cli/preserve.d.ts +8 -0
- package/bin/types/src/cli/preview.d.ts +14 -0
- package/bin/types/src/cli/refine.d.ts +41 -0
- package/bin/types/src/cli/root.d.ts +3 -0
- package/bin/types/src/cli/run.d.ts +30 -0
- package/bin/types/src/cli/share.d.ts +17 -0
- package/bin/types/src/cli/site-create.d.ts +24 -0
- package/bin/types/src/cli/site-migrate.d.ts +11 -0
- package/bin/types/src/cli/status.d.ts +8 -0
- package/bin/types/src/cli/types.d.ts +34 -0
- package/bin/types/src/cli/upgrade.d.ts +11 -0
- package/bin/types/src/cli/verify.d.ts +17 -0
- package/bin/types/src/cli/workflow-argv.d.ts +2 -0
- package/bin/types/src/compile/flatten.d.ts +23 -0
- package/bin/types/src/compile/frontmatter.d.ts +10 -0
- package/bin/types/src/compile/icons.d.ts +2 -0
- package/bin/types/src/compile/paths.d.ts +4 -0
- package/bin/types/src/compile/primitives.d.ts +2 -0
- package/bin/types/src/compile/scroll-motion.d.ts +14 -0
- package/bin/types/src/compile/site.d.ts +40 -0
- package/bin/types/src/editing/identity.d.ts +7 -0
- package/bin/types/src/editing/manifest.d.ts +38 -0
- package/bin/types/src/engine/checks.d.ts +2 -0
- package/bin/types/src/engine/contracts.d.ts +104 -0
- package/bin/types/src/engine/impact.d.ts +3 -0
- package/bin/types/src/engine/index.d.ts +70 -0
- package/bin/types/src/engine/revision.d.ts +5 -0
- package/bin/types/src/forms/cloudflare.d.ts +24 -0
- package/bin/types/src/forms/config.d.ts +34 -0
- package/bin/types/src/forms/frontend.d.ts +9 -0
- package/bin/types/src/html.d.ts +3 -0
- package/bin/types/src/icons/catalog.d.ts +28 -0
- package/bin/types/src/icons/coverage.d.ts +12 -0
- package/bin/types/src/icons/drawing.d.ts +7 -0
- package/bin/types/src/icons/duotone.d.ts +4 -0
- package/bin/types/src/icons/index.d.ts +37 -0
- package/bin/types/src/icons/industry-refinements-v4.d.ts +4 -0
- package/bin/types/src/icons/industry-review.d.ts +11 -0
- package/bin/types/src/icons/industry.d.ts +2 -0
- package/bin/types/src/icons/refinements.d.ts +5 -0
- package/bin/types/src/icons/studio-industry-review.d.ts +9 -0
- package/bin/types/src/icons/studio-industry.d.ts +5 -0
- package/bin/types/src/icons/studio.d.ts +34 -0
- package/bin/types/src/integrations/cloudflare-pages.d.ts +10 -0
- package/bin/types/src/integrations/deployment-smoke.d.ts +11 -0
- package/bin/types/src/integrations/hosting.d.ts +33 -0
- package/bin/types/src/integrations/wrangler-command.d.ts +5 -0
- package/bin/types/src/knowledge/artifact-order.d.ts +1 -0
- package/bin/types/src/knowledge/artifact.d.ts +11 -0
- package/bin/types/src/knowledge/composition.d.ts +54 -0
- package/bin/types/src/knowledge/contracts.d.ts +111 -0
- package/bin/types/src/knowledge/explain.d.ts +6 -0
- package/bin/types/src/knowledge/pack.d.ts +32 -0
- package/bin/types/src/knowledge/selection.d.ts +18 -0
- package/bin/types/src/knowledge/site-widgets.d.ts +6 -0
- package/bin/types/src/onboard/brief.d.ts +182 -0
- package/bin/types/src/onboard/classify.d.ts +31 -0
- package/bin/types/src/onboard/crawl-order.d.ts +7 -0
- package/bin/types/src/onboard/extract.d.ts +102 -0
- package/bin/types/src/onboard/harvest-inventory.d.ts +84 -0
- package/bin/types/src/onboard/outline.d.ts +13 -0
- package/bin/types/src/onboard/quality.d.ts +6 -0
- package/bin/types/src/onboard/shortlist.d.ts +11 -0
- package/bin/types/src/onboard/social.d.ts +15 -0
- package/bin/types/src/onboard/visual-hints.d.ts +12 -0
- package/bin/types/src/preserve/build.d.ts +1 -0
- package/bin/types/src/preserve/capture.d.ts +21 -0
- package/bin/types/src/preserve/components.d.ts +10 -0
- package/bin/types/src/preserve/config.d.ts +53 -0
- package/bin/types/src/preserve/embeds.d.ts +15 -0
- package/bin/types/src/preserve/hovers.d.ts +10 -0
- package/bin/types/src/preserve/react-capabilities.d.ts +2 -0
- package/bin/types/src/preserve/runtime.d.ts +2 -0
- package/bin/types/src/preserve/source-defects.d.ts +4 -0
- package/bin/types/src/preserve/supplement.d.ts +3 -0
- package/bin/types/src/preserve/verify.d.ts +29 -0
- package/bin/types/src/render.d.ts +10 -0
- package/bin/types/src/runtime/beacon.d.ts +2 -0
- package/bin/types/src/runtime/before-after.d.ts +2 -0
- package/bin/types/src/runtime/carousel.d.ts +2 -0
- package/bin/types/src/runtime/cookie-compliance.d.ts +14 -0
- package/bin/types/src/runtime/experience.d.ts +4 -0
- package/bin/types/src/runtime/header.d.ts +2 -0
- package/bin/types/src/runtime/leads.d.ts +2 -0
- package/bin/types/src/runtime/lightbox.d.ts +2 -0
- package/bin/types/src/runtime/scroll-motion.generated.d.ts +4 -0
- package/bin/types/src/runtime/tabs.d.ts +2 -0
- package/bin/types/src/schema.d.ts +27 -0
- package/bin/types/src/stock/library.d.ts +14 -0
- package/bin/types/src/stock/search.d.ts +30 -0
- package/bin/types/src/stock/selection.d.ts +30 -0
- package/bin/types/src/stock/types.d.ts +54 -0
- package/bin/types/src/theme.d.ts +3 -0
- package/bin/types/src/types.d.ts +115 -0
- package/bin/types/src/upgrade/kit.d.ts +48 -0
- package/bin/vitris-art.js +192 -0
- package/bin/vitris-blocks.js +238 -0
- package/bin/vitris-build.js +24 -0
- package/bin/vitris-catalog.js +49 -0
- package/bin/vitris-content-coverage.js +21 -0
- package/bin/vitris-create-site.js +86 -0
- package/bin/vitris-cursor-hook.js +61 -0
- package/bin/vitris-eval.js +76 -0
- package/bin/vitris-go.js +99 -0
- package/bin/vitris-harvest.js +184 -0
- package/bin/vitris-icons.js +168 -0
- package/bin/vitris-knowledge.js +43 -0
- package/bin/vitris-launch-preflight.js +964 -0
- package/bin/vitris-media-serve.js +50 -0
- package/bin/vitris-migrate-site.js +20 -0
- package/bin/vitris-motion-view.js +80 -0
- package/bin/vitris-prepare-media.js +64 -0
- package/bin/vitris-preview.js +36 -0
- package/bin/vitris-references.js +173 -0
- package/bin/vitris-refresh.js +50 -0
- package/bin/vitris-sign-publish-bundle.js +64 -0
- package/bin/vitris-stock.js +161 -0
- package/bin/vitris-templates.js +261 -0
- package/bin/vitris-themes.js +321 -0
- package/bin/vitris-upgrade.js +50 -0
- package/bin/vitris-verify-browser.js +662 -0
- package/bin/vitris-verify-performance.js +44 -0
- package/bin/vitris.js +50 -0
- package/blocks/CONVENTIONS.md +121 -0
- package/blocks/INDEX.md +130 -0
- package/blocks/about/about-awards/README.md +36 -0
- package/blocks/about/about-awards/styles.css +13 -0
- package/blocks/about/about-awards/template.html +1 -0
- package/blocks/about/about-credentials/README.md +33 -0
- package/blocks/about/about-credentials/block.meta.json +85 -0
- package/blocks/about/about-credentials/styles.css +4 -0
- package/blocks/about/about-credentials/template.html +1 -0
- package/blocks/about/about-founder/README.md +35 -0
- package/blocks/about/about-founder/styles.css +9 -0
- package/blocks/about/about-founder/template.html +1 -0
- package/blocks/about/about-mission/README.md +31 -0
- package/blocks/about/about-mission/styles.css +5 -0
- package/blocks/about/about-mission/template.html +1 -0
- package/blocks/about/about-statement/README.md +28 -0
- package/blocks/about/about-statement/styles.css +7 -0
- package/blocks/about/about-statement/template.html +1 -0
- package/blocks/about/about-story/README.md +35 -0
- package/blocks/about/about-story/styles.css +5 -0
- package/blocks/about/about-story/template.html +1 -0
- package/blocks/about/about-timeline/README.md +33 -0
- package/blocks/about/about-timeline/styles.css +8 -0
- package/blocks/about/about-timeline/template.html +1 -0
- package/blocks/about/about-values/README.md +31 -0
- package/blocks/about/about-values/styles.css +3 -0
- package/blocks/about/about-values/template.html +1 -0
- package/blocks/blog/blog-featured/README.md +39 -0
- package/blocks/blog/blog-featured/styles.css +12 -0
- package/blocks/blog/blog-featured/template.html +1 -0
- package/blocks/blog/blog-index/README.md +34 -0
- package/blocks/blog/blog-index/styles.css +6 -0
- package/blocks/blog/blog-index/template.html +1 -0
- package/blocks/blog/blog-post-header/README.md +31 -0
- package/blocks/blog/blog-post-header/styles.css +8 -0
- package/blocks/blog/blog-post-header/template.html +1 -0
- package/blocks/contact/contact-cards/README.md +32 -0
- package/blocks/contact/contact-cards/styles.css +7 -0
- package/blocks/contact/contact-cards/template.html +1 -0
- package/blocks/contact/contact-chips/README.md +41 -0
- package/blocks/contact/contact-chips/styles.css +13 -0
- package/blocks/contact/contact-chips/template.html +1 -0
- package/blocks/contact/contact-hours/README.md +41 -0
- package/blocks/contact/contact-hours/block.meta.json +87 -0
- package/blocks/contact/contact-hours/styles.css +8 -0
- package/blocks/contact/contact-hours/template.html +1 -0
- package/blocks/contact/contact-map/README.md +39 -0
- package/blocks/contact/contact-map/styles.css +10 -0
- package/blocks/contact/contact-map/template.html +1 -0
- package/blocks/contact/contact-offices/README.md +32 -0
- package/blocks/contact/contact-offices/styles.css +8 -0
- package/blocks/contact/contact-offices/template.html +1 -0
- package/blocks/contact/contact-phone-first/README.md +33 -0
- package/blocks/contact/contact-phone-first/block.meta.json +86 -0
- package/blocks/contact/contact-phone-first/styles.css +11 -0
- package/blocks/contact/contact-phone-first/template.html +1 -0
- package/blocks/contact/contact-split/README.md +43 -0
- package/blocks/contact/contact-split/styles.css +12 -0
- package/blocks/contact/contact-split/template.html +1 -0
- package/blocks/contact/contact-visit/README.md +36 -0
- package/blocks/contact/contact-visit/block.meta.json +88 -0
- package/blocks/contact/contact-visit/styles.css +13 -0
- package/blocks/contact/contact-visit/template.html +1 -0
- package/blocks/contact/service-areas/README.md +32 -0
- package/blocks/contact/service-areas/styles.css +9 -0
- package/blocks/contact/service-areas/template.html +1 -0
- package/blocks/content/glossary/README.md +35 -0
- package/blocks/content/glossary/styles.css +6 -0
- package/blocks/content/glossary/template.html +1 -0
- package/blocks/content/list-split/README.md +33 -0
- package/blocks/content/list-split/styles.css +13 -0
- package/blocks/content/list-split/template.html +1 -0
- package/blocks/content/prose-split/README.md +32 -0
- package/blocks/content/prose-split/styles.css +12 -0
- package/blocks/content/prose-split/template.html +1 -0
- package/blocks/content/specification-ledger/README.md +32 -0
- package/blocks/content/specification-ledger/block.meta.json +85 -0
- package/blocks/content/specification-ledger/styles.css +10 -0
- package/blocks/content/specification-ledger/template.html +1 -0
- package/blocks/cta/cta-band/README.md +33 -0
- package/blocks/cta/cta-band/styles.css +11 -0
- package/blocks/cta/cta-band/template.html +1 -0
- package/blocks/cta/cta-card/README.md +35 -0
- package/blocks/cta/cta-card/styles.css +8 -0
- package/blocks/cta/cta-card/template.html +1 -0
- package/blocks/cta/cta-floating-bar/README.md +28 -0
- package/blocks/cta/cta-floating-bar/styles.css +8 -0
- package/blocks/cta/cta-floating-bar/template.html +1 -0
- package/blocks/cta/cta-inline/README.md +30 -0
- package/blocks/cta/cta-inline/styles.css +9 -0
- package/blocks/cta/cta-inline/template.html +1 -0
- package/blocks/cta/cta-newsletter/README.md +34 -0
- package/blocks/cta/cta-newsletter/styles.css +8 -0
- package/blocks/cta/cta-newsletter/template.html +1 -0
- package/blocks/cta/cta-photo-fan/README.md +36 -0
- package/blocks/cta/cta-photo-fan/styles.css +14 -0
- package/blocks/cta/cta-photo-fan/template.html +1 -0
- package/blocks/cta/cta-split/README.md +38 -0
- package/blocks/cta/cta-split/styles.css +10 -0
- package/blocks/cta/cta-split/template.html +1 -0
- package/blocks/faq/faq-accordion/README.md +36 -0
- package/blocks/faq/faq-accordion/styles.css +6 -0
- package/blocks/faq/faq-accordion/template.html +1 -0
- package/blocks/faq/faq-grouped/README.md +40 -0
- package/blocks/faq/faq-grouped/styles.css +20 -0
- package/blocks/faq/faq-grouped/template.html +1 -0
- package/blocks/faq/faq-split/README.md +37 -0
- package/blocks/faq/faq-split/styles.css +5 -0
- package/blocks/faq/faq-split/template.html +1 -0
- package/blocks/faq/faq-tabs/README.md +36 -0
- package/blocks/faq/faq-tabs/styles.css +3 -0
- package/blocks/faq/faq-tabs/template.html +1 -0
- package/blocks/feature/feature-bento/README.md +33 -0
- package/blocks/feature/feature-bento/styles.css +7 -0
- package/blocks/feature/feature-bento/template.html +1 -0
- package/blocks/feature/feature-compare-table/README.md +44 -0
- package/blocks/feature/feature-compare-table/styles.css +15 -0
- package/blocks/feature/feature-compare-table/template.html +1 -0
- package/blocks/feature/feature-comparison/README.md +34 -0
- package/blocks/feature/feature-comparison/styles.css +6 -0
- package/blocks/feature/feature-comparison/template.html +1 -0
- package/blocks/feature/feature-grid-3/README.md +34 -0
- package/blocks/feature/feature-grid-3/styles.css +8 -0
- package/blocks/feature/feature-grid-3/template.html +1 -0
- package/blocks/feature/feature-icon-list/README.md +39 -0
- package/blocks/feature/feature-icon-list/styles.css +9 -0
- package/blocks/feature/feature-icon-list/template.html +1 -0
- package/blocks/feature/feature-spotlight/README.md +39 -0
- package/blocks/feature/feature-spotlight/styles.css +5 -0
- package/blocks/feature/feature-spotlight/template.html +1 -0
- package/blocks/feature/feature-stats-band/README.md +33 -0
- package/blocks/feature/feature-stats-band/styles.css +8 -0
- package/blocks/feature/feature-stats-band/template.html +1 -0
- package/blocks/feature/feature-tabs/README.md +38 -0
- package/blocks/feature/feature-tabs/styles.css +7 -0
- package/blocks/feature/feature-tabs/template.html +1 -0
- package/blocks/feature/feature-thumb-list/README.md +38 -0
- package/blocks/feature/feature-thumb-list/styles.css +13 -0
- package/blocks/feature/feature-thumb-list/template.html +1 -0
- package/blocks/feature/feature-zigzag/README.md +31 -0
- package/blocks/feature/feature-zigzag/styles.css +6 -0
- package/blocks/feature/feature-zigzag/template.html +1 -0
- package/blocks/footer/footer-columns/README.md +39 -0
- package/blocks/footer/footer-columns/styles.css +16 -0
- package/blocks/footer/footer-columns/template.html +1 -0
- package/blocks/footer/footer-compact/README.md +33 -0
- package/blocks/footer/footer-compact/styles.css +12 -0
- package/blocks/footer/footer-compact/template.html +1 -0
- package/blocks/footer/footer-cta/README.md +37 -0
- package/blocks/footer/footer-cta/styles.css +18 -0
- package/blocks/footer/footer-cta/template.html +1 -0
- package/blocks/footer/footer-social/README.md +37 -0
- package/blocks/footer/footer-social/styles.css +17 -0
- package/blocks/footer/footer-social/template.html +1 -0
- package/blocks/footer/footer-wordmark/README.md +40 -0
- package/blocks/footer/footer-wordmark/styles.css +19 -0
- package/blocks/footer/footer-wordmark/template.html +1 -0
- package/blocks/gallery/gallery-before-after/README.md +31 -0
- package/blocks/gallery/gallery-before-after/styles.css +6 -0
- package/blocks/gallery/gallery-before-after/template.html +1 -0
- package/blocks/gallery/gallery-carousel/README.md +32 -0
- package/blocks/gallery/gallery-carousel/styles.css +7 -0
- package/blocks/gallery/gallery-carousel/template.html +1 -0
- package/blocks/gallery/gallery-grid/README.md +39 -0
- package/blocks/gallery/gallery-grid/styles.css +13 -0
- package/blocks/gallery/gallery-grid/template.html +1 -0
- package/blocks/gallery/gallery-masonry/README.md +33 -0
- package/blocks/gallery/gallery-masonry/styles.css +4 -0
- package/blocks/gallery/gallery-masonry/template.html +1 -0
- package/blocks/gallery/gallery-mosaic-split/README.md +40 -0
- package/blocks/gallery/gallery-mosaic-split/styles.css +15 -0
- package/blocks/gallery/gallery-mosaic-split/template.html +1 -0
- package/blocks/hero/hero-asymmetric/README.md +34 -0
- package/blocks/hero/hero-asymmetric/styles.css +13 -0
- package/blocks/hero/hero-asymmetric/template.html +10 -0
- package/blocks/hero/hero-before-after/README.md +38 -0
- package/blocks/hero/hero-before-after/styles.css +8 -0
- package/blocks/hero/hero-before-after/template.html +19 -0
- package/blocks/hero/hero-editorial/README.md +34 -0
- package/blocks/hero/hero-editorial/block.meta.json +85 -0
- package/blocks/hero/hero-editorial/styles.css +6 -0
- package/blocks/hero/hero-editorial/template.html +10 -0
- package/blocks/hero/hero-evidence/README.md +32 -0
- package/blocks/hero/hero-evidence/block.meta.json +85 -0
- package/blocks/hero/hero-evidence/styles.css +13 -0
- package/blocks/hero/hero-evidence/template.html +1 -0
- package/blocks/hero/hero-form/README.md +46 -0
- package/blocks/hero/hero-form/styles.css +11 -0
- package/blocks/hero/hero-form/template.html +15 -0
- package/blocks/hero/hero-menu/README.md +36 -0
- package/blocks/hero/hero-menu/styles.css +7 -0
- package/blocks/hero/hero-menu/template.html +10 -0
- package/blocks/hero/hero-overlay/README.md +35 -0
- package/blocks/hero/hero-overlay/styles.css +14 -0
- package/blocks/hero/hero-overlay/template.html +10 -0
- package/blocks/hero/hero-page/README.md +35 -0
- package/blocks/hero/hero-page/styles.css +19 -0
- package/blocks/hero/hero-page/template.html +1 -0
- package/blocks/hero/hero-product/README.md +41 -0
- package/blocks/hero/hero-product/styles.css +11 -0
- package/blocks/hero/hero-product/template.html +14 -0
- package/blocks/hero/hero-service/README.md +37 -0
- package/blocks/hero/hero-service/block.meta.json +85 -0
- package/blocks/hero/hero-service/styles.css +17 -0
- package/blocks/hero/hero-service/template.html +1 -0
- package/blocks/hero/hero-split/README.md +36 -0
- package/blocks/hero/hero-split/styles.css +7 -0
- package/blocks/hero/hero-split/template.html +11 -0
- package/blocks/hero/hero-statement/README.md +33 -0
- package/blocks/hero/hero-statement/styles.css +8 -0
- package/blocks/hero/hero-statement/template.html +1 -0
- package/blocks/hero/hero-stats/README.md +37 -0
- package/blocks/hero/hero-stats/styles.css +10 -0
- package/blocks/hero/hero-stats/template.html +10 -0
- package/blocks/hero/hero-video-still/README.md +36 -0
- package/blocks/hero/hero-video-still/styles.css +9 -0
- package/blocks/hero/hero-video-still/template.html +13 -0
- package/blocks/icons.md +44 -0
- package/blocks/incentives/incentive-banner/README.md +28 -0
- package/blocks/incentives/incentive-banner/styles.css +7 -0
- package/blocks/incentives/incentive-banner/template.html +1 -0
- package/blocks/incentives/incentive-cards/README.md +31 -0
- package/blocks/incentives/incentive-cards/styles.css +4 -0
- package/blocks/incentives/incentive-cards/template.html +1 -0
- package/blocks/navbar/nav-announcement/README.md +35 -0
- package/blocks/navbar/nav-announcement/styles.css +10 -0
- package/blocks/navbar/nav-announcement/template.html +14 -0
- package/blocks/navbar/nav-centered/README.md +35 -0
- package/blocks/navbar/nav-centered/styles.css +11 -0
- package/blocks/navbar/nav-centered/template.html +12 -0
- package/blocks/navbar/nav-minimal/README.md +29 -0
- package/blocks/navbar/nav-minimal/styles.css +5 -0
- package/blocks/navbar/nav-minimal/template.html +6 -0
- package/blocks/navbar/nav-split/README.md +34 -0
- package/blocks/navbar/nav-split/styles.css +11 -0
- package/blocks/navbar/nav-split/template.html +11 -0
- package/blocks/navbar/nav-utility/README.md +37 -0
- package/blocks/navbar/nav-utility/styles.css +17 -0
- package/blocks/navbar/nav-utility/template.html +12 -0
- package/blocks/pricing/menu-featured/README.md +34 -0
- package/blocks/pricing/menu-featured/styles.css +4 -0
- package/blocks/pricing/menu-featured/template.html +1 -0
- package/blocks/pricing/menu-sections/README.md +33 -0
- package/blocks/pricing/menu-sections/styles.css +9 -0
- package/blocks/pricing/menu-sections/template.html +1 -0
- package/blocks/pricing/pricing-table/README.md +40 -0
- package/blocks/pricing/pricing-table/styles.css +9 -0
- package/blocks/pricing/pricing-table/template.html +1 -0
- package/blocks/pricing/pricing-tiers/README.md +34 -0
- package/blocks/pricing/pricing-tiers/styles.css +7 -0
- package/blocks/pricing/pricing-tiers/template.html +1 -0
- package/blocks/pricing/pricing-toggle/README.md +34 -0
- package/blocks/pricing/pricing-toggle/styles.css +10 -0
- package/blocks/pricing/pricing-toggle/template.html +1 -0
- package/blocks/process/process-carousel/README.md +33 -0
- package/blocks/process/process-carousel/styles.css +5 -0
- package/blocks/process/process-carousel/template.html +1 -0
- package/blocks/process/process-split/README.md +35 -0
- package/blocks/process/process-split/styles.css +6 -0
- package/blocks/process/process-split/template.html +1 -0
- package/blocks/process/process-stepper/README.md +40 -0
- package/blocks/process/process-stepper/styles.css +11 -0
- package/blocks/process/process-stepper/template.html +1 -0
- package/blocks/process/process-steps/README.md +35 -0
- package/blocks/process/process-steps/styles.css +6 -0
- package/blocks/process/process-steps/template.html +1 -0
- package/blocks/process/process-sticky/README.md +38 -0
- package/blocks/process/process-sticky/styles.css +12 -0
- package/blocks/process/process-sticky/template.html +1 -0
- package/blocks/process/process-timeline/README.md +35 -0
- package/blocks/process/process-timeline/styles.css +10 -0
- package/blocks/process/process-timeline/template.html +1 -0
- package/blocks/services/services-cards/README.md +34 -0
- package/blocks/services/services-cards/styles.css +3 -0
- package/blocks/services/services-cards/template.html +1 -0
- package/blocks/services/services-carousel/README.md +34 -0
- package/blocks/services/services-carousel/styles.css +6 -0
- package/blocks/services/services-carousel/template.html +1 -0
- package/blocks/services/services-list/README.md +32 -0
- package/blocks/services/services-list/block.meta.json +85 -0
- package/blocks/services/services-list/styles.css +10 -0
- package/blocks/services/services-list/template.html +1 -0
- package/blocks/services/services-menu/README.md +39 -0
- package/blocks/services/services-menu/styles.css +6 -0
- package/blocks/services/services-menu/template.html +1 -0
- package/blocks/services/services-packages/README.md +34 -0
- package/blocks/services/services-packages/styles.css +6 -0
- package/blocks/services/services-packages/template.html +1 -0
- package/blocks/services/services-panels/README.md +36 -0
- package/blocks/services/services-panels/styles.css +15 -0
- package/blocks/services/services-panels/template.html +1 -0
- package/blocks/services/services-photo-grid/README.md +39 -0
- package/blocks/services/services-photo-grid/styles.css +10 -0
- package/blocks/services/services-photo-grid/template.html +1 -0
- package/blocks/services/services-priority/README.md +33 -0
- package/blocks/services/services-priority/block.meta.json +86 -0
- package/blocks/services/services-priority/styles.css +16 -0
- package/blocks/services/services-priority/template.html +1 -0
- package/blocks/stats/stats-cards/README.md +31 -0
- package/blocks/stats/stats-cards/styles.css +4 -0
- package/blocks/stats/stats-cards/template.html +1 -0
- package/blocks/stats/stats-mosaic/README.md +27 -0
- package/blocks/stats/stats-mosaic/styles.css +9 -0
- package/blocks/stats/stats-mosaic/template.html +1 -0
- package/blocks/stats/stats-row/README.md +29 -0
- package/blocks/stats/stats-row/styles.css +8 -0
- package/blocks/stats/stats-row/template.html +1 -0
- package/blocks/stats/stats-split/README.md +35 -0
- package/blocks/stats/stats-split/styles.css +3 -0
- package/blocks/stats/stats-split/template.html +1 -0
- package/blocks/team/team-featured/README.md +42 -0
- package/blocks/team/team-featured/styles.css +9 -0
- package/blocks/team/team-featured/template.html +1 -0
- package/blocks/team/team-grid/README.md +35 -0
- package/blocks/team/team-grid/styles.css +8 -0
- package/blocks/team/team-grid/template.html +1 -0
- package/blocks/team/team-list/README.md +32 -0
- package/blocks/team/team-list/styles.css +7 -0
- package/blocks/team/team-list/template.html +1 -0
- package/blocks/testimonial/testimonial-carousel/README.md +32 -0
- package/blocks/testimonial/testimonial-carousel/styles.css +7 -0
- package/blocks/testimonial/testimonial-carousel/template.html +1 -0
- package/blocks/testimonial/testimonial-grid/README.md +32 -0
- package/blocks/testimonial/testimonial-grid/styles.css +5 -0
- package/blocks/testimonial/testimonial-grid/template.html +1 -0
- package/blocks/testimonial/testimonial-mosaic/README.md +38 -0
- package/blocks/testimonial/testimonial-mosaic/styles.css +14 -0
- package/blocks/testimonial/testimonial-mosaic/template.html +1 -0
- package/blocks/testimonial/testimonial-platform/README.md +34 -0
- package/blocks/testimonial/testimonial-platform/styles.css +17 -0
- package/blocks/testimonial/testimonial-platform/template.html +1 -0
- package/blocks/testimonial/testimonial-rating/README.md +28 -0
- package/blocks/testimonial/testimonial-rating/styles.css +6 -0
- package/blocks/testimonial/testimonial-rating/template.html +1 -0
- package/blocks/testimonial/testimonial-spotlight/README.md +31 -0
- package/blocks/testimonial/testimonial-spotlight/styles.css +9 -0
- package/blocks/testimonial/testimonial-spotlight/template.html +1 -0
- package/blocks/testimonial/testimonial-switcher/README.md +39 -0
- package/blocks/testimonial/testimonial-switcher/styles.css +23 -0
- package/blocks/testimonial/testimonial-switcher/template.html +1 -0
- package/blocks/testimonial/testimonial-wall/README.md +34 -0
- package/blocks/testimonial/testimonial-wall/styles.css +7 -0
- package/blocks/testimonial/testimonial-wall/template.html +1 -0
- package/blocks/trust-strip/trust-badges/README.md +30 -0
- package/blocks/trust-strip/trust-badges/styles.css +5 -0
- package/blocks/trust-strip/trust-badges/template.html +1 -0
- package/blocks/trust-strip/trust-certs/README.md +31 -0
- package/blocks/trust-strip/trust-certs/styles.css +12 -0
- package/blocks/trust-strip/trust-certs/template.html +1 -0
- package/blocks/trust-strip/trust-logos/README.md +32 -0
- package/blocks/trust-strip/trust-logos/styles.css +5 -0
- package/blocks/trust-strip/trust-logos/template.html +1 -0
- package/blocks/trust-strip/trust-quote/README.md +29 -0
- package/blocks/trust-strip/trust-quote/styles.css +5 -0
- package/blocks/trust-strip/trust-quote/template.html +1 -0
- package/blocks/trust-strip/trust-reviews/README.md +35 -0
- package/blocks/trust-strip/trust-reviews/styles.css +9 -0
- package/blocks/trust-strip/trust-reviews/template.html +1 -0
- package/blocks/work/case-alternating/README.md +34 -0
- package/blocks/work/case-alternating/block.meta.json +86 -0
- package/blocks/work/case-alternating/styles.css +7 -0
- package/blocks/work/case-alternating/template.html +1 -0
- package/blocks/work/case-carousel/README.md +26 -0
- package/blocks/work/case-carousel/styles.css +7 -0
- package/blocks/work/case-carousel/template.html +1 -0
- package/blocks/work/case-header/README.md +38 -0
- package/blocks/work/case-header/styles.css +18 -0
- package/blocks/work/case-header/template.html +1 -0
- package/blocks/work/project-evidence/README.md +35 -0
- package/blocks/work/project-evidence/block.meta.json +87 -0
- package/blocks/work/project-evidence/styles.css +12 -0
- package/blocks/work/project-evidence/template.html +1 -0
- package/blocks/work/project-grid/README.md +38 -0
- package/blocks/work/project-grid/styles.css +9 -0
- package/blocks/work/project-grid/template.html +1 -0
- package/cloudflare/wrangler.forms-test.jsonc +19 -0
- package/cloudflare/wrangler.jsonc +14 -0
- package/cloudflare/wrangler.templates.jsonc +6 -0
- package/design-system/MASTER.md +76 -0
- package/design-system/calibration/v2/accuracy.html +1 -0
- package/design-system/calibration/v2/accuracy.png +0 -0
- package/design-system/calibration/v2/manifest.json +88 -0
- package/design-system/calibration/v2/probe.png +0 -0
- package/design-system/calibration/v2/vitris-northline-counsel-home-1280-viewport.png +0 -0
- package/design-system/calibration/v2/vitris-northline-counsel-home-375-viewport.png +0 -0
- package/design-system/calibration/v2/vitris-northline-counsel-planning-1280-viewport.png +0 -0
- package/design-system/calibration/v2/vitris-northline-counsel-planning-375-viewport.png +0 -0
- package/design-system/calibration/v2/vitris-tide-and-slate-home-1280-viewport.png +0 -0
- package/design-system/calibration/v2/vitris-tide-and-slate-home-375-viewport.png +0 -0
- package/design-system/calibration/v2/vitris-tide-and-slate-project-1280-viewport.png +0 -0
- package/design-system/calibration/v2/vitris-tide-and-slate-project-375-viewport.png +0 -0
- package/design-system/compositions/v1/README.md +13 -0
- package/design-system/compositions/v1/northline-counsel/components/contact-phone-first/styles.css +11 -0
- package/design-system/compositions/v1/northline-counsel/components/contact-phone-first/template.html +1 -0
- package/design-system/compositions/v1/northline-counsel/components/contact-visit/styles.css +13 -0
- package/design-system/compositions/v1/northline-counsel/components/contact-visit/template.html +1 -0
- package/design-system/compositions/v1/northline-counsel/components/footer-compact/styles.css +12 -0
- package/design-system/compositions/v1/northline-counsel/components/footer-compact/template.html +1 -0
- package/design-system/compositions/v1/northline-counsel/components/hero-evidence/styles.css +13 -0
- package/design-system/compositions/v1/northline-counsel/components/hero-evidence/template.html +1 -0
- package/design-system/compositions/v1/northline-counsel/components/hero-page/styles.css +19 -0
- package/design-system/compositions/v1/northline-counsel/components/hero-page/template.html +1 -0
- package/design-system/compositions/v1/northline-counsel/components/nav-split/styles.css +11 -0
- package/design-system/compositions/v1/northline-counsel/components/nav-split/template.html +11 -0
- package/design-system/compositions/v1/northline-counsel/components/services-priority/styles.css +16 -0
- package/design-system/compositions/v1/northline-counsel/components/services-priority/template.html +1 -0
- package/design-system/compositions/v1/northline-counsel/components/specification-ledger/styles.css +10 -0
- package/design-system/compositions/v1/northline-counsel/components/specification-ledger/template.html +1 -0
- package/design-system/compositions/v1/northline-counsel/direction.md +5 -0
- package/design-system/compositions/v1/northline-counsel/fixture-brief.json +10 -0
- package/design-system/compositions/v1/northline-counsel/media-inventory.json +1 -0
- package/design-system/compositions/v1/northline-counsel/pages/index.html +11 -0
- package/design-system/compositions/v1/northline-counsel/pages/planning.html +11 -0
- package/design-system/compositions/v1/northline-counsel/selection-receipt.json +36 -0
- package/design-system/compositions/v1/northline-counsel/site.json +1 -0
- package/design-system/compositions/v1/northline-counsel/storyboard.md +12 -0
- package/design-system/compositions/v1/northline-counsel/theme/defaults.json +1 -0
- package/design-system/compositions/v1/source-ledger.json +18 -0
- package/design-system/compositions/v1/tide-and-slate/components/contact-phone-first/styles.css +11 -0
- package/design-system/compositions/v1/tide-and-slate/components/contact-phone-first/template.html +1 -0
- package/design-system/compositions/v1/tide-and-slate/components/footer-compact/styles.css +12 -0
- package/design-system/compositions/v1/tide-and-slate/components/footer-compact/template.html +1 -0
- package/design-system/compositions/v1/tide-and-slate/components/hero-page/styles.css +19 -0
- package/design-system/compositions/v1/tide-and-slate/components/hero-page/template.html +1 -0
- package/design-system/compositions/v1/tide-and-slate/components/hero-split/styles.css +7 -0
- package/design-system/compositions/v1/tide-and-slate/components/hero-split/template.html +11 -0
- package/design-system/compositions/v1/tide-and-slate/components/nav-split/styles.css +11 -0
- package/design-system/compositions/v1/tide-and-slate/components/nav-split/template.html +11 -0
- package/design-system/compositions/v1/tide-and-slate/components/project-evidence/styles.css +12 -0
- package/design-system/compositions/v1/tide-and-slate/components/project-evidence/template.html +1 -0
- package/design-system/compositions/v1/tide-and-slate/components/services-priority/styles.css +16 -0
- package/design-system/compositions/v1/tide-and-slate/components/services-priority/template.html +1 -0
- package/design-system/compositions/v1/tide-and-slate/components/specification-ledger/styles.css +10 -0
- package/design-system/compositions/v1/tide-and-slate/components/specification-ledger/template.html +1 -0
- package/design-system/compositions/v1/tide-and-slate/direction.md +5 -0
- package/design-system/compositions/v1/tide-and-slate/fixture-brief.json +10 -0
- package/design-system/compositions/v1/tide-and-slate/media/teaching/slate-roof-finished.webp +0 -0
- package/design-system/compositions/v1/tide-and-slate/media/teaching/slate-roof-finished.webp.provenance.json +9 -0
- package/design-system/compositions/v1/tide-and-slate/media/teaching/slate-roof-work.webp +0 -0
- package/design-system/compositions/v1/tide-and-slate/media/teaching/slate-roof-work.webp.provenance.json +9 -0
- package/design-system/compositions/v1/tide-and-slate/media-inventory.json +7 -0
- package/design-system/compositions/v1/tide-and-slate/pages/index.html +10 -0
- package/design-system/compositions/v1/tide-and-slate/pages/project.html +10 -0
- package/design-system/compositions/v1/tide-and-slate/site.json +1 -0
- package/design-system/compositions/v1/tide-and-slate/storyboard.md +12 -0
- package/design-system/compositions/v1/tide-and-slate/theme/defaults.json +1 -0
- package/design-system/compositions/v2/catalog.json +4018 -0
- package/design-system/compositions/v2/clearwell-directory/components/study-clearwell-directory/styles.css +3 -0
- package/design-system/compositions/v2/clearwell-directory/components/study-clearwell-directory/template.html +1 -0
- package/design-system/compositions/v2/clearwell-directory/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/clearwell-directory/pages/index.html +5 -0
- package/design-system/compositions/v2/clearwell-directory/site.json +7 -0
- package/design-system/compositions/v2/clearwell-directory/study.json +244 -0
- package/design-system/compositions/v2/clearwell-directory/theme/defaults.json +16 -0
- package/design-system/compositions/v2/clearwell-letter/components/study-clearwell-letter/styles.css +2 -0
- package/design-system/compositions/v2/clearwell-letter/components/study-clearwell-letter/template.html +1 -0
- package/design-system/compositions/v2/clearwell-letter/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/clearwell-letter/pages/index.html +5 -0
- package/design-system/compositions/v2/clearwell-letter/site.json +7 -0
- package/design-system/compositions/v2/clearwell-letter/study.json +236 -0
- package/design-system/compositions/v2/clearwell-letter/theme/defaults.json +16 -0
- package/design-system/compositions/v2/dock-radio/components/study-dock-radio/styles.css +2 -0
- package/design-system/compositions/v2/dock-radio/components/study-dock-radio/template.html +1 -0
- package/design-system/compositions/v2/dock-radio/media/teaching/original-tone-study.wav +0 -0
- package/design-system/compositions/v2/dock-radio/media/teaching/original-tone-study.wav.provenance.json +6 -0
- package/design-system/compositions/v2/dock-radio/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/dock-radio/pages/index.html +5 -0
- package/design-system/compositions/v2/dock-radio/site.json +7 -0
- package/design-system/compositions/v2/dock-radio/study.json +288 -0
- package/design-system/compositions/v2/dock-radio/theme/defaults.json +16 -0
- package/design-system/compositions/v2/fen-repair/components/study-fen-repair/styles.css +2 -0
- package/design-system/compositions/v2/fen-repair/components/study-fen-repair/template.html +1 -0
- package/design-system/compositions/v2/fen-repair/media/teaching/slate-roof-finished.webp +0 -0
- package/design-system/compositions/v2/fen-repair/media/teaching/slate-roof-finished.webp.provenance.json +9 -0
- package/design-system/compositions/v2/fen-repair/media/teaching/slate-roof-work.webp +0 -0
- package/design-system/compositions/v2/fen-repair/media/teaching/slate-roof-work.webp.provenance.json +9 -0
- package/design-system/compositions/v2/fen-repair/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/fen-repair/pages/index.html +5 -0
- package/design-system/compositions/v2/fen-repair/site.json +7 -0
- package/design-system/compositions/v2/fen-repair/study.json +236 -0
- package/design-system/compositions/v2/fen-repair/theme/defaults.json +16 -0
- package/design-system/compositions/v2/hearth-plane/components/study-hearth-plane/styles.css +2 -0
- package/design-system/compositions/v2/hearth-plane/components/study-hearth-plane/template.html +1 -0
- package/design-system/compositions/v2/hearth-plane/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/hearth-plane/pages/index.html +5 -0
- package/design-system/compositions/v2/hearth-plane/site.json +7 -0
- package/design-system/compositions/v2/hearth-plane/study.json +238 -0
- package/design-system/compositions/v2/hearth-plane/theme/defaults.json +16 -0
- package/design-system/compositions/v2/lacuna-objects/components/study-lacuna-objects/styles.css +2 -0
- package/design-system/compositions/v2/lacuna-objects/components/study-lacuna-objects/template.html +1 -0
- package/design-system/compositions/v2/lacuna-objects/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/lacuna-objects/pages/index.html +5 -0
- package/design-system/compositions/v2/lacuna-objects/site.json +7 -0
- package/design-system/compositions/v2/lacuna-objects/study.json +242 -0
- package/design-system/compositions/v2/lacuna-objects/theme/defaults.json +16 -0
- package/design-system/compositions/v2/loop-room/components/study-loop-room/styles.css +2 -0
- package/design-system/compositions/v2/loop-room/components/study-loop-room/template.html +1 -0
- package/design-system/compositions/v2/loop-room/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/loop-room/pages/index.html +5 -0
- package/design-system/compositions/v2/loop-room/site.json +7 -0
- package/design-system/compositions/v2/loop-room/study.json +253 -0
- package/design-system/compositions/v2/loop-room/theme/defaults.json +16 -0
- package/design-system/compositions/v2/manifest.json +740 -0
- package/design-system/compositions/v2/mara-reading-room/components/study-mara-reading-room/styles.css +2 -0
- package/design-system/compositions/v2/mara-reading-room/components/study-mara-reading-room/template.html +1 -0
- package/design-system/compositions/v2/mara-reading-room/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/mara-reading-room/pages/index.html +5 -0
- package/design-system/compositions/v2/mara-reading-room/site.json +7 -0
- package/design-system/compositions/v2/mara-reading-room/study.json +246 -0
- package/design-system/compositions/v2/mara-reading-room/theme/defaults.json +16 -0
- package/design-system/compositions/v2/mara-specimen/components/study-mara-specimen/styles.css +3 -0
- package/design-system/compositions/v2/mara-specimen/components/study-mara-specimen/template.html +1 -0
- package/design-system/compositions/v2/mara-specimen/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/mara-specimen/pages/index.html +5 -0
- package/design-system/compositions/v2/mara-specimen/site.json +7 -0
- package/design-system/compositions/v2/mara-specimen/study.json +244 -0
- package/design-system/compositions/v2/mara-specimen/theme/defaults.json +16 -0
- package/design-system/compositions/v2/margin-journal/components/study-margin-journal/styles.css +2 -0
- package/design-system/compositions/v2/margin-journal/components/study-margin-journal/template.html +1 -0
- package/design-system/compositions/v2/margin-journal/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/margin-journal/pages/index.html +5 -0
- package/design-system/compositions/v2/margin-journal/site.json +7 -0
- package/design-system/compositions/v2/margin-journal/study.json +242 -0
- package/design-system/compositions/v2/margin-journal/theme/defaults.json +16 -0
- package/design-system/compositions/v2/night-orchard/components/study-night-orchard/styles.css +2 -0
- package/design-system/compositions/v2/night-orchard/components/study-night-orchard/template.html +1 -0
- package/design-system/compositions/v2/night-orchard/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/night-orchard/pages/index.html +5 -0
- package/design-system/compositions/v2/night-orchard/site.json +7 -0
- package/design-system/compositions/v2/night-orchard/study.json +247 -0
- package/design-system/compositions/v2/night-orchard/theme/defaults.json +16 -0
- package/design-system/compositions/v2/previews/clearwell-directory-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/clearwell-directory-home-390.png +0 -0
- package/design-system/compositions/v2/previews/clearwell-directory-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/clearwell-directory-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/clearwell-letter-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/clearwell-letter-home-390.png +0 -0
- package/design-system/compositions/v2/previews/clearwell-letter-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/clearwell-letter-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/dock-radio-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/dock-radio-home-390.png +0 -0
- package/design-system/compositions/v2/previews/dock-radio-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/dock-radio-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/fen-repair-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/fen-repair-home-390.png +0 -0
- package/design-system/compositions/v2/previews/fen-repair-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/fen-repair-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/hearth-plane-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/hearth-plane-home-390.png +0 -0
- package/design-system/compositions/v2/previews/hearth-plane-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/hearth-plane-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/lacuna-objects-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/lacuna-objects-home-390.png +0 -0
- package/design-system/compositions/v2/previews/lacuna-objects-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/lacuna-objects-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/loop-room-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/loop-room-home-390.png +0 -0
- package/design-system/compositions/v2/previews/loop-room-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/loop-room-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/mara-reading-room-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/mara-reading-room-home-390.png +0 -0
- package/design-system/compositions/v2/previews/mara-reading-room-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/mara-reading-room-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/mara-specimen-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/mara-specimen-home-390.png +0 -0
- package/design-system/compositions/v2/previews/mara-specimen-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/mara-specimen-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/margin-journal-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/margin-journal-home-390.png +0 -0
- package/design-system/compositions/v2/previews/margin-journal-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/margin-journal-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/night-orchard-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/night-orchard-home-390.png +0 -0
- package/design-system/compositions/v2/previews/night-orchard-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/night-orchard-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/relay-workflow-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/relay-workflow-home-390.png +0 -0
- package/design-system/compositions/v2/previews/relay-workflow-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/relay-workflow-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/rivet-components-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/rivet-components-home-390.png +0 -0
- package/design-system/compositions/v2/previews/rivet-components-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/rivet-components-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/signal-fair-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/signal-fair-home-390.png +0 -0
- package/design-system/compositions/v2/previews/signal-fair-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/signal-fair-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/sundial-goods-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/sundial-goods-home-390.png +0 -0
- package/design-system/compositions/v2/previews/sundial-goods-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/sundial-goods-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/thread-mender-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/thread-mender-home-390.png +0 -0
- package/design-system/compositions/v2/previews/thread-mender-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/thread-mender-interior-390.png +0 -0
- package/design-system/compositions/v2/relay-workflow/components/study-relay-workflow/styles.css +2 -0
- package/design-system/compositions/v2/relay-workflow/components/study-relay-workflow/template.html +1 -0
- package/design-system/compositions/v2/relay-workflow/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/relay-workflow/pages/index.html +5 -0
- package/design-system/compositions/v2/relay-workflow/site.json +7 -0
- package/design-system/compositions/v2/relay-workflow/study.json +283 -0
- package/design-system/compositions/v2/relay-workflow/theme/defaults.json +16 -0
- package/design-system/compositions/v2/rivet-components/components/study-rivet-components/styles.css +2 -0
- package/design-system/compositions/v2/rivet-components/components/study-rivet-components/template.html +1 -0
- package/design-system/compositions/v2/rivet-components/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/rivet-components/pages/index.html +5 -0
- package/design-system/compositions/v2/rivet-components/site.json +7 -0
- package/design-system/compositions/v2/rivet-components/study.json +241 -0
- package/design-system/compositions/v2/rivet-components/theme/defaults.json +16 -0
- package/design-system/compositions/v2/signal-fair/components/study-signal-fair/styles.css +2 -0
- package/design-system/compositions/v2/signal-fair/components/study-signal-fair/template.html +1 -0
- package/design-system/compositions/v2/signal-fair/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/signal-fair/pages/index.html +5 -0
- package/design-system/compositions/v2/signal-fair/site.json +7 -0
- package/design-system/compositions/v2/signal-fair/study.json +271 -0
- package/design-system/compositions/v2/signal-fair/theme/defaults.json +16 -0
- package/design-system/compositions/v2/sundial-goods/components/study-sundial-goods/styles.css +2 -0
- package/design-system/compositions/v2/sundial-goods/components/study-sundial-goods/template.html +1 -0
- package/design-system/compositions/v2/sundial-goods/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/sundial-goods/pages/index.html +5 -0
- package/design-system/compositions/v2/sundial-goods/site.json +7 -0
- package/design-system/compositions/v2/sundial-goods/study.json +247 -0
- package/design-system/compositions/v2/sundial-goods/theme/defaults.json +16 -0
- package/design-system/compositions/v2/thread-mender/components/study-thread-mender/styles.css +2 -0
- package/design-system/compositions/v2/thread-mender/components/study-thread-mender/template.html +1 -0
- package/design-system/compositions/v2/thread-mender/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/thread-mender/pages/index.html +5 -0
- package/design-system/compositions/v2/thread-mender/site.json +7 -0
- package/design-system/compositions/v2/thread-mender/study.json +253 -0
- package/design-system/compositions/v2/thread-mender/theme/defaults.json +16 -0
- package/design-system/knowledge/v1/README.md +8 -0
- package/design-system/knowledge/v1/catalog.json +479 -0
- package/design-system/knowledge/v1/demonstrations/assets/teaching-slate-slope.png +0 -0
- package/design-system/knowledge/v1/demonstrations/assets/teaching-slate-slope.provenance.json +12 -0
- package/design-system/knowledge/v1/demonstrations/mobile-strong.html +50 -0
- package/design-system/knowledge/v1/demonstrations/mobile-weak.html +50 -0
- package/design-system/knowledge/v1/demonstrations/project-strong.html +50 -0
- package/design-system/knowledge/v1/demonstrations/project-weak.html +50 -0
- package/design-system/knowledge/v1/demonstrations/repeat-strong.html +50 -0
- package/design-system/knowledge/v1/demonstrations/repeat-weak.html +50 -0
- package/design-system/knowledge/v1/demonstrations/services-strong.html +50 -0
- package/design-system/knowledge/v1/demonstrations/services-weak.html +50 -0
- package/design-system/knowledge/v1/demonstrations/sparse-strong.html +50 -0
- package/design-system/knowledge/v1/demonstrations/sparse-weak.html +50 -0
- package/design-system/knowledge/v1/demonstrations/type-strong.html +50 -0
- package/design-system/knowledge/v1/demonstrations/type-weak.html +50 -0
- package/design-system/knowledge/v1/manifest.json +88 -0
- package/design-system/knowledge/v1/observations/mobile-strong-1080.png +0 -0
- package/design-system/knowledge/v1/observations/mobile-strong-375.png +0 -0
- package/design-system/knowledge/v1/observations/mobile-weak-1080.png +0 -0
- package/design-system/knowledge/v1/observations/mobile-weak-375.png +0 -0
- package/design-system/knowledge/v1/observations/project-strong-1080.png +0 -0
- package/design-system/knowledge/v1/observations/project-strong-375.png +0 -0
- package/design-system/knowledge/v1/observations/project-weak-1080.png +0 -0
- package/design-system/knowledge/v1/observations/project-weak-375.png +0 -0
- package/design-system/knowledge/v1/observations/type-strong-1080.png +0 -0
- package/design-system/knowledge/v1/observations/type-strong-375.png +0 -0
- package/design-system/knowledge/v1/observations/type-weak-1080.png +0 -0
- package/design-system/knowledge/v1/observations/type-weak-375.png +0 -0
- package/design-system/knowledge/v2/added-lessons.json +30 -0
- package/design-system/knowledge/v2/assets.json +14 -0
- package/design-system/knowledge/v2/fixtures/contact-alternate.html +17 -0
- package/design-system/knowledge/v2/fixtures/contact-broken.html +15 -0
- package/design-system/knowledge/v2/fixtures/contact-valid.html +20 -0
- package/design-system/knowledge/v2/fixtures/contrast-cases.html +10 -0
- package/design-system/knowledge/v2/island-audit.json +12 -0
- package/design-system/knowledge/v2/lesson-extensions.json +158 -0
- package/design-system/knowledge/v2/manifest.json +52 -0
- package/design-system/knowledge/v2/replacements.json +14 -0
- package/design-system/knowledge/v2/requirements.json +345 -0
- package/design-system/knowledge/v2/sources.json +182 -0
- package/design-system/knowledge/v3/catalog.json +1232 -0
- package/design-system/knowledge/v3/examples/catalog.json +799 -0
- package/design-system/knowledge/v3/lessons/cmp-collection-structure.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-comparison.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-contextual-action.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-contrastive-critique.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-disclosure.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-evidence-form.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-image-art-direction.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-image-sequence.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-interactive-explanation.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-local-information.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-motion-continuity.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-narrative-continuity.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-navigation.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-page-rhythm.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-process.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-proof-adjacency.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-responsive-recomposition.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-semantic-grouping.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-shared-alignment.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-sparse-media.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-surfaces-motifs.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-text-shape.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-type-roles.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-unequal-emphasis.md +17 -0
- package/design-system/knowledge/v3/manifest.json +117 -0
- package/design-system/knowledge/v3/sources.json +425 -0
- package/design-system/references/v1/README.md +27 -0
- package/design-system/references/v1/catalog.json +20035 -0
- package/design-system/references/v1/manifest.json +10 -0
- package/design-system/references/v2/README.md +27 -0
- package/design-system/references/v2/catalog.json +27382 -0
- package/design-system/references/v2/manifest.json +11 -0
- package/design-system/references/v3/README.md +27 -0
- package/design-system/references/v3/catalog.json +27628 -0
- package/design-system/references/v3/manifest.json +11 -0
- package/docs/CLI.md +299 -0
- package/docs/CLOUDFLARE.md +53 -0
- package/docs/CONTACT-FORMS.md +161 -0
- package/docs/DISTRIBUTION.md +70 -0
- package/docs/ENGINE.md +28 -0
- package/docs/PRESERVE.md +59 -0
- package/docs/SECURITY.md +23 -0
- package/docs/STOCK-MEDIA.md +66 -0
- package/licenses/blake3-wasm-LICENSE +21 -0
- package/licenses/entities-LICENSE +11 -0
- package/licenses/parse5-LICENSE +19 -0
- package/migrations/0001_init.sql +90 -0
- package/migrations/0002_analytics.sql +50 -0
- package/migrations/0003_site_updates.sql +29 -0
- package/migrations/0004_contact_forms.sql +75 -0
- package/migrations/0005_auth.sql +20 -0
- package/package.json +229 -6
- package/src/runtime/beacon.ts +329 -0
- package/src/runtime/before-after.ts +48 -0
- package/src/runtime/carousel.ts +20 -0
- package/src/runtime/cookie-compliance.ts +50 -0
- package/src/runtime/counter.ts +2 -0
- package/src/runtime/editor.ts +72 -0
- package/src/runtime/experience.ts +57 -0
- package/src/runtime/header.ts +46 -0
- package/src/runtime/leads.ts +102 -0
- package/src/runtime/lightbox.ts +26 -0
- package/src/runtime/reveal.ts +2 -0
- package/src/runtime/scroll-motion.controller.js +100 -0
- package/src/runtime/scroll-motion.count.js +21 -0
- package/src/runtime/scroll-motion.generated.ts +5 -0
- package/src/runtime/scroll-motion.vanilla.js +45 -0
- package/src/runtime/tabs.ts +40 -0
- package/src/stock/catalog.json +5445 -0
- package/src/stock/coverage.json +18 -0
- package/src/stock/picker.css +118 -0
- package/src/stock/picker.js +191 -0
- package/templates/site/.env.example +6 -0
- package/templates/site/.github/workflows/deploy.yml +59 -0
- package/templates/site/AGENTS.md +35 -0
- package/templates/site/CLAUDE.md +5 -0
- package/templates/site/GEMINI.md +5 -0
- package/templates/site/README.md +55 -0
- package/templates/site/components/README.md +18 -0
- package/templates/site/gitignore +10 -0
- package/templates/site/launch.json +14 -0
- package/templates/site/package.json +36 -0
- package/templates/site/pages/README.md +31 -0
- package/templates/site/site.json +10 -0
- package/templates/site/theme/defaults.json +17 -0
|
@@ -0,0 +1,964 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
sealReceipt
|
|
4
|
+
} from "./chunks/chunk-6A3VWYMF.js";
|
|
5
|
+
import {
|
|
6
|
+
browserVerificationTimeoutMs
|
|
7
|
+
} from "./chunks/chunk-2NW7KSPA.js";
|
|
8
|
+
import {
|
|
9
|
+
artifactManifest
|
|
10
|
+
} from "./chunks/chunk-XL2DRAYI.js";
|
|
11
|
+
import {
|
|
12
|
+
templateAdaptationFailures
|
|
13
|
+
} from "./chunks/chunk-3CTBXY5K.js";
|
|
14
|
+
import "./chunks/chunk-DSS2U2OM.js";
|
|
15
|
+
import "./chunks/chunk-M4LNHYYR.js";
|
|
16
|
+
import "./chunks/chunk-DRJQ4OOU.js";
|
|
17
|
+
import "./chunks/chunk-PRLL7B63.js";
|
|
18
|
+
import "./chunks/chunk-5OOPJNGN.js";
|
|
19
|
+
import "./chunks/chunk-BBV7PMFC.js";
|
|
20
|
+
import "./chunks/chunk-TY33XMHW.js";
|
|
21
|
+
import "./chunks/chunk-R7YELY3C.js";
|
|
22
|
+
import {
|
|
23
|
+
LAUNCH_POLICY_ID
|
|
24
|
+
} from "./chunks/chunk-BIEDSEL2.js";
|
|
25
|
+
import "./chunks/chunk-T7DGRVTP.js";
|
|
26
|
+
import "./chunks/chunk-AUO5I56E.js";
|
|
27
|
+
import "./chunks/chunk-6H3T46F5.js";
|
|
28
|
+
import "./chunks/chunk-M2ETYSVJ.js";
|
|
29
|
+
import "./chunks/chunk-FOXUQXTV.js";
|
|
30
|
+
import {
|
|
31
|
+
closeLighthouseBrowser,
|
|
32
|
+
lighthouseBrowser,
|
|
33
|
+
performancePolicy
|
|
34
|
+
} from "./chunks/chunk-IKNMBGGD.js";
|
|
35
|
+
import "./chunks/chunk-WEFDVXFX.js";
|
|
36
|
+
import "./chunks/chunk-E5Y46VBX.js";
|
|
37
|
+
import "./chunks/chunk-4GZCAWWK.js";
|
|
38
|
+
import {
|
|
39
|
+
parseFrontmatter
|
|
40
|
+
} from "./chunks/chunk-ANMJRJQ5.js";
|
|
41
|
+
import "./chunks/chunk-HNORQ74T.js";
|
|
42
|
+
import {
|
|
43
|
+
COOKIE_COMPLIANCE_PATH
|
|
44
|
+
} from "./chunks/chunk-YCVGD2CG.js";
|
|
45
|
+
import "./chunks/chunk-LKN75JGA.js";
|
|
46
|
+
import "./chunks/chunk-YYPYYOEV.js";
|
|
47
|
+
import "./chunks/chunk-GZDLXYZV.js";
|
|
48
|
+
import "./chunks/chunk-G7MNMULR.js";
|
|
49
|
+
import {
|
|
50
|
+
fingerprint
|
|
51
|
+
} from "./chunks/chunk-T6PE4KN4.js";
|
|
52
|
+
import "./chunks/chunk-7FS67SRF.js";
|
|
53
|
+
|
|
54
|
+
// scripts/launch-preflight.ts
|
|
55
|
+
import { existsSync as existsSync2, readFileSync as readFileSync2, readdirSync, statSync as statSync2, writeFileSync, mkdirSync } from "node:fs";
|
|
56
|
+
import { join, relative as relative2, resolve as resolve2 } from "node:path";
|
|
57
|
+
import { dirname } from "node:path";
|
|
58
|
+
import { fileURLToPath } from "node:url";
|
|
59
|
+
import { spawnSync } from "node:child_process";
|
|
60
|
+
|
|
61
|
+
// src/knowledge/checks.ts
|
|
62
|
+
import { gzipSync } from "node:zlib";
|
|
63
|
+
import { createHash } from "node:crypto";
|
|
64
|
+
import { parse } from "parse5";
|
|
65
|
+
var VERIFIER_VERSION = "2026-09-22";
|
|
66
|
+
var TRANSFER_BUDGETS = {
|
|
67
|
+
id: "vitris-transfer-2026-09-22",
|
|
68
|
+
authority: "project-policy",
|
|
69
|
+
firstPartyJsGzip: 100 * 1024,
|
|
70
|
+
cssGzip: 100 * 1024,
|
|
71
|
+
fonts: 200 * 1024,
|
|
72
|
+
initialTransfer: Math.round(1.5 * 1024 * 1024)
|
|
73
|
+
};
|
|
74
|
+
function finding(partial) {
|
|
75
|
+
return {
|
|
76
|
+
...partial,
|
|
77
|
+
verifierVersion: VERIFIER_VERSION,
|
|
78
|
+
policyHash: LAUNCH_POLICY_ID,
|
|
79
|
+
verifiedAt: partial.verifiedAt || "1970-01-01T00:00:00.000Z"
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
function relChannel(channel) {
|
|
83
|
+
const c = channel / 255;
|
|
84
|
+
return c <= 0.03928 ? c / 12.92 : ((c + 0.055) / 1.055) ** 2.4;
|
|
85
|
+
}
|
|
86
|
+
function parseHex(input) {
|
|
87
|
+
const raw = input.trim().replace("#", "");
|
|
88
|
+
const hex = raw.length === 3 ? raw.split("").map((ch) => ch + ch).join("") : raw;
|
|
89
|
+
if (!/^[0-9a-fA-F]{6}$/.test(hex)) return void 0;
|
|
90
|
+
return [parseInt(hex.slice(0, 2), 16), parseInt(hex.slice(2, 4), 16), parseInt(hex.slice(4, 6), 16)];
|
|
91
|
+
}
|
|
92
|
+
function contrastRatio(foreground, background) {
|
|
93
|
+
const fg = parseHex(foreground);
|
|
94
|
+
const bg = parseHex(background);
|
|
95
|
+
if (!fg || !bg) return void 0;
|
|
96
|
+
const L = (rgb) => 0.2126 * relChannel(rgb[0]) + 0.7152 * relChannel(rgb[1]) + 0.0722 * relChannel(rgb[2]);
|
|
97
|
+
const lighter = Math.max(L(fg), L(bg));
|
|
98
|
+
const darker = Math.min(L(fg), L(bg));
|
|
99
|
+
return (lighter + 0.05) / (darker + 0.05);
|
|
100
|
+
}
|
|
101
|
+
function elements(html) {
|
|
102
|
+
const found = [];
|
|
103
|
+
const walk = (node) => {
|
|
104
|
+
if (node.tagName) found.push(node);
|
|
105
|
+
for (const child of node.childNodes || []) walk(child);
|
|
106
|
+
};
|
|
107
|
+
walk(parse(html));
|
|
108
|
+
return found;
|
|
109
|
+
}
|
|
110
|
+
function nodeAttrs(node) {
|
|
111
|
+
return Object.fromEntries((node.attrs || []).map((item) => [item.name.toLowerCase(), item.value]));
|
|
112
|
+
}
|
|
113
|
+
function nodeText(node) {
|
|
114
|
+
return (node.value || "") + (node.childNodes || []).map(nodeText).join("");
|
|
115
|
+
}
|
|
116
|
+
function accessibleName(tag, node, all) {
|
|
117
|
+
const a = nodeAttrs(node);
|
|
118
|
+
if (a["aria-label"]?.trim()) return true;
|
|
119
|
+
if (a["aria-labelledby"] && a["aria-labelledby"].split(/\s+/).every((id) => all.some((entry) => nodeAttrs(entry).id === id && nodeText(entry).trim()))) return true;
|
|
120
|
+
if (a.id && all.some((entry) => entry.tagName === "label" && nodeAttrs(entry).for === a.id && nodeText(entry).trim())) return true;
|
|
121
|
+
let parent = node.parentNode;
|
|
122
|
+
while (parent) {
|
|
123
|
+
if (parent.tagName === "label" && nodeText(parent).trim()) return true;
|
|
124
|
+
parent = parent.parentNode;
|
|
125
|
+
}
|
|
126
|
+
if (tag === "input" && a.type === "image" && a.alt?.trim()) return true;
|
|
127
|
+
if (a.title?.trim()) return true;
|
|
128
|
+
return false;
|
|
129
|
+
}
|
|
130
|
+
function auditFragment(html, page = "/") {
|
|
131
|
+
const findings2 = [];
|
|
132
|
+
const all = elements(html);
|
|
133
|
+
const controls = all.filter((node) => ["input", "textarea", "select"].includes(node.tagName || ""));
|
|
134
|
+
for (const node of controls) {
|
|
135
|
+
const tag = node.tagName;
|
|
136
|
+
const a = nodeAttrs(node);
|
|
137
|
+
const type = (a.type || "").toLowerCase();
|
|
138
|
+
if (tag === "input" && ["hidden", "submit", "button", "reset"].includes(type)) continue;
|
|
139
|
+
if ("disabled" in a) {
|
|
140
|
+
findings2.push(finding({
|
|
141
|
+
id: `disabled-${a.name || a.id || tag}`,
|
|
142
|
+
requirementId: "wcag-1.4.3-contrast",
|
|
143
|
+
domain: "accessibility",
|
|
144
|
+
severity: "note",
|
|
145
|
+
confidence: "confirmed",
|
|
146
|
+
status: "not-applicable",
|
|
147
|
+
page,
|
|
148
|
+
evidence: "Disabled controls are a contrast exception.",
|
|
149
|
+
verifier: "form-name",
|
|
150
|
+
repairOwner: "pages",
|
|
151
|
+
applicability: "WCAG contrast does not apply to disabled controls."
|
|
152
|
+
}));
|
|
153
|
+
continue;
|
|
154
|
+
}
|
|
155
|
+
if (!accessibleName(tag, node, all)) {
|
|
156
|
+
findings2.push(finding({
|
|
157
|
+
id: `unnamed-${a.name || a.id || tag}`,
|
|
158
|
+
requirementId: "wcag-3.3.2-labels",
|
|
159
|
+
domain: "accessibility",
|
|
160
|
+
severity: "serious",
|
|
161
|
+
confidence: "confirmed",
|
|
162
|
+
status: "fail",
|
|
163
|
+
page,
|
|
164
|
+
component: "form",
|
|
165
|
+
evidence: `<${tag}> has no label, aria-label, or aria-labelledby.`,
|
|
166
|
+
verifier: "form-name",
|
|
167
|
+
repairOwner: "pages",
|
|
168
|
+
suggestedRepair: "Associate a visible label with the control."
|
|
169
|
+
}));
|
|
170
|
+
}
|
|
171
|
+
const required = "required" in a || a["aria-required"] === "true";
|
|
172
|
+
const described = a["aria-describedby"] || a["aria-errormessage"];
|
|
173
|
+
const describedExists = described?.split(/\s+/).every((id) => all.some((entry) => nodeAttrs(entry).id === id));
|
|
174
|
+
if (required && !describedExists) {
|
|
175
|
+
findings2.push(finding({
|
|
176
|
+
id: `error-${a.name || a.id || tag}`,
|
|
177
|
+
requirementId: "wcag-3.3.1-error-identification",
|
|
178
|
+
domain: "accessibility",
|
|
179
|
+
severity: "warning",
|
|
180
|
+
confidence: "suspected",
|
|
181
|
+
status: "warning",
|
|
182
|
+
page,
|
|
183
|
+
component: "form",
|
|
184
|
+
evidence: "Required control has no linked description; browser validation may still identify errors.",
|
|
185
|
+
verifier: "form-errors",
|
|
186
|
+
repairOwner: "pages",
|
|
187
|
+
suggestedRepair: "Point the control at a plain-language error or status element."
|
|
188
|
+
}));
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
const scripts = [...html.matchAll(/<script\b[^>]*>([\s\S]*?)<\/script>/gi)].map((item) => item[1] || "");
|
|
192
|
+
for (const script of scripts) {
|
|
193
|
+
const blocksTab = /["']Tab["']|\bTab\b/.test(script) && /preventDefault\s*\(/.test(script);
|
|
194
|
+
const hasExit = /Escape|dialog\.close|data-trap-exit/.test(script);
|
|
195
|
+
if (blocksTab && !hasExit) {
|
|
196
|
+
findings2.push(finding({
|
|
197
|
+
id: "keyboard-trap",
|
|
198
|
+
requirementId: "wcag-2.1.1-keyboard",
|
|
199
|
+
domain: "accessibility",
|
|
200
|
+
severity: "warning",
|
|
201
|
+
confidence: "suspected",
|
|
202
|
+
status: "warning",
|
|
203
|
+
page,
|
|
204
|
+
evidence: "Inline script may intercept Tab; exercise the actual keyboard path in a browser.",
|
|
205
|
+
verifier: "keyboard-trap",
|
|
206
|
+
repairOwner: "pages",
|
|
207
|
+
suggestedRepair: "Allow Tab to leave, or provide a keyboard exit."
|
|
208
|
+
}));
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
const sticky = /position\s*:\s*(sticky|fixed)/i.test(html);
|
|
212
|
+
const focusable = /<(a|button|input|textarea|select)\b/i.test(html);
|
|
213
|
+
const offset = /scroll-padding-top\s*:/i.test(html) || /data-focus-exception/.test(html);
|
|
214
|
+
if (sticky && focusable && !offset) {
|
|
215
|
+
findings2.push(finding({
|
|
216
|
+
id: "obscured-focus",
|
|
217
|
+
requirementId: "wcag-2.4.11-focus-not-obscured",
|
|
218
|
+
domain: "accessibility",
|
|
219
|
+
severity: "warning",
|
|
220
|
+
confidence: "suspected",
|
|
221
|
+
status: "warning",
|
|
222
|
+
page,
|
|
223
|
+
evidence: "Fixed or sticky positioning merits a rendered focus-obstruction check.",
|
|
224
|
+
verifier: "focus-offset",
|
|
225
|
+
repairOwner: "pages",
|
|
226
|
+
suggestedRepair: "Add scroll-padding-top at least as tall as the sticky region."
|
|
227
|
+
}));
|
|
228
|
+
}
|
|
229
|
+
for (const match of html.matchAll(/<([a-z0-9]+)\b([^>]*)>/gi)) {
|
|
230
|
+
const raw = match[2] || "";
|
|
231
|
+
const style = /style="([^"]*)"/i.exec(raw)?.[1] || "";
|
|
232
|
+
const color = /(?:^|;)\s*color\s*:\s*(#[0-9a-fA-F]{3,6})/i.exec(style)?.[1];
|
|
233
|
+
const background = /background(?:-color)?\s*:\s*(#[0-9a-fA-F]{3,6})/i.exec(style)?.[1];
|
|
234
|
+
if (!color || !background) continue;
|
|
235
|
+
const ratio = contrastRatio(color, background);
|
|
236
|
+
if (ratio == null) continue;
|
|
237
|
+
const font = /font-size\s*:\s*(\d+)px/i.exec(style);
|
|
238
|
+
const large = font ? Number(font[1]) >= 24 : false;
|
|
239
|
+
const minimum = large ? 3 : 4.5;
|
|
240
|
+
if (/\bdisabled\b/i.test(raw)) {
|
|
241
|
+
findings2.push(finding({
|
|
242
|
+
id: `contrast-exception-${color}`,
|
|
243
|
+
requirementId: "wcag-1.4.3-contrast",
|
|
244
|
+
domain: "accessibility",
|
|
245
|
+
severity: "note",
|
|
246
|
+
confidence: "confirmed",
|
|
247
|
+
status: "not-applicable",
|
|
248
|
+
page,
|
|
249
|
+
evidence: "Disabled controls are outside the contrast criterion.",
|
|
250
|
+
verifier: "contrast",
|
|
251
|
+
repairOwner: "pages",
|
|
252
|
+
applicability: "Disabled control exception."
|
|
253
|
+
}));
|
|
254
|
+
continue;
|
|
255
|
+
}
|
|
256
|
+
if (ratio < minimum) {
|
|
257
|
+
findings2.push(finding({
|
|
258
|
+
id: `contrast-${color}-${background}`,
|
|
259
|
+
requirementId: "wcag-1.4.3-contrast",
|
|
260
|
+
domain: "accessibility",
|
|
261
|
+
severity: "warning",
|
|
262
|
+
confidence: "suspected",
|
|
263
|
+
status: "warning",
|
|
264
|
+
page,
|
|
265
|
+
evidence: `Inline colors imply contrast ${ratio.toFixed(2)}:1 below ${minimum}:1; verify computed colors in the browser.`,
|
|
266
|
+
verifier: "contrast",
|
|
267
|
+
repairOwner: "pages",
|
|
268
|
+
suggestedRepair: "Darken the text or lighten the background until the ratio clears the threshold."
|
|
269
|
+
}));
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
for (const image of all.filter((node) => node.tagName === "img")) {
|
|
273
|
+
const a = nodeAttrs(image);
|
|
274
|
+
if (a.alt == null) {
|
|
275
|
+
findings2.push(finding({
|
|
276
|
+
id: `img-alt-${a.src || "unknown"}`,
|
|
277
|
+
requirementId: "wcag-1.1.1-text-alternative",
|
|
278
|
+
domain: "accessibility",
|
|
279
|
+
severity: "serious",
|
|
280
|
+
confidence: "confirmed",
|
|
281
|
+
status: "fail",
|
|
282
|
+
page,
|
|
283
|
+
evidence: "img is missing an alt attribute.",
|
|
284
|
+
verifier: "text-alternative",
|
|
285
|
+
repairOwner: "pages",
|
|
286
|
+
suggestedRepair: 'Add alt text, or alt="" when the image is decorative.'
|
|
287
|
+
}));
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
return findings2;
|
|
291
|
+
}
|
|
292
|
+
function auditIndexing(input) {
|
|
293
|
+
const findings2 = [];
|
|
294
|
+
const paths = new Set(input.pages.map((page) => page.path));
|
|
295
|
+
for (const page of input.pages) {
|
|
296
|
+
const noindex = /<meta\b[^>]*name=["']robots["'][^>]*content=["'][^"']*noindex/i.test(page.html);
|
|
297
|
+
if (input.environment === "preview" && noindex) {
|
|
298
|
+
findings2.push(finding({
|
|
299
|
+
id: `preview-noindex-${page.path}`,
|
|
300
|
+
requirementId: "seo-indexing-intent",
|
|
301
|
+
domain: "seo",
|
|
302
|
+
severity: "note",
|
|
303
|
+
confidence: "confirmed",
|
|
304
|
+
status: "pass",
|
|
305
|
+
page: page.path,
|
|
306
|
+
evidence: "Preview noindex is intentional.",
|
|
307
|
+
verifier: "indexing",
|
|
308
|
+
repairOwner: "preview"
|
|
309
|
+
}));
|
|
310
|
+
continue;
|
|
311
|
+
}
|
|
312
|
+
if (input.environment === "production" && noindex && page.intendedIndex) {
|
|
313
|
+
findings2.push(finding({
|
|
314
|
+
id: `production-noindex-${page.path}`,
|
|
315
|
+
requirementId: "seo-indexing-intent",
|
|
316
|
+
domain: "seo",
|
|
317
|
+
severity: "serious",
|
|
318
|
+
confidence: "confirmed",
|
|
319
|
+
status: "fail",
|
|
320
|
+
page: page.path,
|
|
321
|
+
evidence: "Production page is noindex but is intended to be indexed.",
|
|
322
|
+
verifier: "indexing",
|
|
323
|
+
repairOwner: "pages",
|
|
324
|
+
suggestedRepair: "Rebuild with production indexing and remove the unintended robots noindex."
|
|
325
|
+
}));
|
|
326
|
+
}
|
|
327
|
+
const canonical = /<link\b[^>]*rel=["']canonical["'][^>]*href=["']([^"']+)["']/i.exec(page.html)?.[1];
|
|
328
|
+
if (input.environment === "production" && page.intendedIndex && !canonical) {
|
|
329
|
+
findings2.push(finding({
|
|
330
|
+
id: `canonical-missing-${page.path}`,
|
|
331
|
+
requirementId: "seo-canonical-origin",
|
|
332
|
+
domain: "seo",
|
|
333
|
+
severity: "serious",
|
|
334
|
+
confidence: "confirmed",
|
|
335
|
+
status: "fail",
|
|
336
|
+
page: page.path,
|
|
337
|
+
evidence: "Indexable production page has no canonical URL.",
|
|
338
|
+
verifier: "canonical",
|
|
339
|
+
repairOwner: "compiler"
|
|
340
|
+
}));
|
|
341
|
+
}
|
|
342
|
+
if (input.environment === "production" && input.publicOrigin && canonical) {
|
|
343
|
+
let host = "";
|
|
344
|
+
try {
|
|
345
|
+
host = new URL(canonical).origin;
|
|
346
|
+
} catch {
|
|
347
|
+
host = "";
|
|
348
|
+
}
|
|
349
|
+
const origin = input.publicOrigin.replace(/\/$/, "");
|
|
350
|
+
if (host !== origin) {
|
|
351
|
+
findings2.push(finding({
|
|
352
|
+
id: `canonical-origin-${page.path}`,
|
|
353
|
+
requirementId: "seo-canonical-origin",
|
|
354
|
+
domain: "seo",
|
|
355
|
+
severity: "serious",
|
|
356
|
+
confidence: "confirmed",
|
|
357
|
+
status: "fail",
|
|
358
|
+
page: page.path,
|
|
359
|
+
evidence: `Canonical origin ${host || canonical} does not match ${origin}.`,
|
|
360
|
+
verifier: "canonical",
|
|
361
|
+
repairOwner: "pages",
|
|
362
|
+
suggestedRepair: "Set canonical to the production origin."
|
|
363
|
+
}));
|
|
364
|
+
}
|
|
365
|
+
try {
|
|
366
|
+
const target = new URL(canonical).pathname.replace(/\/$/, "") || "/";
|
|
367
|
+
if (!paths.has(target)) {
|
|
368
|
+
findings2.push(finding({
|
|
369
|
+
id: `canonical-target-${page.path}`,
|
|
370
|
+
requirementId: "seo-canonical-origin",
|
|
371
|
+
domain: "seo",
|
|
372
|
+
severity: "serious",
|
|
373
|
+
confidence: "confirmed",
|
|
374
|
+
status: "fail",
|
|
375
|
+
page: page.path,
|
|
376
|
+
evidence: `Canonical target ${target} is not a built route.`,
|
|
377
|
+
verifier: "canonical",
|
|
378
|
+
repairOwner: "pages",
|
|
379
|
+
suggestedRepair: "Point canonical at a route that exists."
|
|
380
|
+
}));
|
|
381
|
+
}
|
|
382
|
+
} catch {
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
if (input.environment === "production" && !input.publicOrigin) {
|
|
386
|
+
findings2.push(finding({
|
|
387
|
+
id: `missing-origin-${page.path}`,
|
|
388
|
+
requirementId: "seo-canonical-origin",
|
|
389
|
+
domain: "seo",
|
|
390
|
+
severity: "serious",
|
|
391
|
+
confidence: "confirmed",
|
|
392
|
+
status: "fail",
|
|
393
|
+
page: page.path,
|
|
394
|
+
evidence: "Production canonical and sitemap checks need publicOrigin.",
|
|
395
|
+
verifier: "canonical",
|
|
396
|
+
repairOwner: "launch",
|
|
397
|
+
suggestedRepair: "Set publicOrigin before production publication."
|
|
398
|
+
}));
|
|
399
|
+
}
|
|
400
|
+
const jsonLd = /<script\b[^>]*type=["']application\/ld\+json["'][^>]*>([\s\S]*?)<\/script>/i.exec(page.html)?.[1];
|
|
401
|
+
if (jsonLd) {
|
|
402
|
+
if (jsonLd.includes("</")) {
|
|
403
|
+
findings2.push(finding({
|
|
404
|
+
id: `jsonld-breakout-${page.path}`,
|
|
405
|
+
requirementId: "seo-structured-data-consistency",
|
|
406
|
+
domain: "seo",
|
|
407
|
+
severity: "serious",
|
|
408
|
+
confidence: "confirmed",
|
|
409
|
+
status: "fail",
|
|
410
|
+
page: page.path,
|
|
411
|
+
evidence: "Structured data contains a literal script-closing sequence.",
|
|
412
|
+
verifier: "structured-data",
|
|
413
|
+
repairOwner: "compiler",
|
|
414
|
+
suggestedRepair: "Serialize < as \\u003c."
|
|
415
|
+
}));
|
|
416
|
+
}
|
|
417
|
+
try {
|
|
418
|
+
const data = JSON.parse(jsonLd);
|
|
419
|
+
const visible = page.html.replace(/<script[\s\S]*?<\/script>/gi, " ").replace(/<[^>]+>/g, " ");
|
|
420
|
+
if (data["@type"] === "LocalBusiness" && !data.address) {
|
|
421
|
+
findings2.push(finding({
|
|
422
|
+
id: `local-business-${page.path}`,
|
|
423
|
+
requirementId: "seo-structured-data-consistency",
|
|
424
|
+
domain: "seo",
|
|
425
|
+
severity: "serious",
|
|
426
|
+
confidence: "confirmed",
|
|
427
|
+
status: "fail",
|
|
428
|
+
page: page.path,
|
|
429
|
+
evidence: "LocalBusiness is used without an address.",
|
|
430
|
+
verifier: "structured-data",
|
|
431
|
+
repairOwner: "compiler",
|
|
432
|
+
suggestedRepair: "Use Organization unless a real address is in the facts."
|
|
433
|
+
}));
|
|
434
|
+
}
|
|
435
|
+
if (typeof data.name === "string" && data.name && !visible.includes(data.name)) {
|
|
436
|
+
findings2.push(finding({
|
|
437
|
+
id: `schema-name-${page.path}`,
|
|
438
|
+
requirementId: "seo-structured-data-consistency",
|
|
439
|
+
domain: "seo",
|
|
440
|
+
severity: "serious",
|
|
441
|
+
confidence: "confirmed",
|
|
442
|
+
status: "fail",
|
|
443
|
+
page: page.path,
|
|
444
|
+
evidence: "Structured data name is not in the visible text.",
|
|
445
|
+
verifier: "structured-data",
|
|
446
|
+
repairOwner: "pages",
|
|
447
|
+
suggestedRepair: "Keep the entity name visible."
|
|
448
|
+
}));
|
|
449
|
+
}
|
|
450
|
+
} catch {
|
|
451
|
+
findings2.push(finding({
|
|
452
|
+
id: `jsonld-parse-${page.path}`,
|
|
453
|
+
requirementId: "seo-structured-data-consistency",
|
|
454
|
+
domain: "seo",
|
|
455
|
+
severity: "serious",
|
|
456
|
+
confidence: "confirmed",
|
|
457
|
+
status: "fail",
|
|
458
|
+
page: page.path,
|
|
459
|
+
evidence: "Structured data is not valid JSON.",
|
|
460
|
+
verifier: "structured-data",
|
|
461
|
+
repairOwner: "compiler"
|
|
462
|
+
}));
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
const redirects = input.redirects || [];
|
|
467
|
+
const graph = /* @__PURE__ */ new Map();
|
|
468
|
+
for (const route of redirects) {
|
|
469
|
+
if (route.disposition !== "redirect" && route.disposition !== "consolidate") continue;
|
|
470
|
+
graph.set(route.from, route.to);
|
|
471
|
+
if (!paths.has(route.to) && route.to !== "/") {
|
|
472
|
+
findings2.push(finding({
|
|
473
|
+
id: `redirect-target-${route.from}`,
|
|
474
|
+
requirementId: "seo-redirect-integrity",
|
|
475
|
+
domain: "seo",
|
|
476
|
+
severity: "serious",
|
|
477
|
+
confidence: "confirmed",
|
|
478
|
+
status: "fail",
|
|
479
|
+
page: route.from,
|
|
480
|
+
evidence: `Redirect destination ${route.to} is not a built route.`,
|
|
481
|
+
verifier: "redirects",
|
|
482
|
+
repairOwner: "storyboard",
|
|
483
|
+
suggestedRepair: "Choose keep, a real destination, or retire."
|
|
484
|
+
}));
|
|
485
|
+
}
|
|
486
|
+
if (route.to === "/" && route.from !== "/" && !route.intentionalHomepage) {
|
|
487
|
+
findings2.push(finding({
|
|
488
|
+
id: `homepage-redirect-${route.from}`,
|
|
489
|
+
requirementId: "seo-redirect-integrity",
|
|
490
|
+
domain: "seo",
|
|
491
|
+
severity: "serious",
|
|
492
|
+
confidence: "confirmed",
|
|
493
|
+
status: "fail",
|
|
494
|
+
page: route.from,
|
|
495
|
+
evidence: "Material URL redirects to the homepage without an explicit decision.",
|
|
496
|
+
verifier: "redirects",
|
|
497
|
+
repairOwner: "storyboard",
|
|
498
|
+
suggestedRepair: "Mark intentionalHomepage or choose a specific destination."
|
|
499
|
+
}));
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
for (const start of graph.keys()) {
|
|
503
|
+
const seen = /* @__PURE__ */ new Set();
|
|
504
|
+
let cursor = start;
|
|
505
|
+
while (cursor && graph.has(cursor)) {
|
|
506
|
+
if (seen.has(cursor)) {
|
|
507
|
+
findings2.push(finding({
|
|
508
|
+
id: `redirect-loop-${start}`,
|
|
509
|
+
requirementId: "seo-redirect-integrity",
|
|
510
|
+
domain: "seo",
|
|
511
|
+
severity: "serious",
|
|
512
|
+
confidence: "confirmed",
|
|
513
|
+
status: "fail",
|
|
514
|
+
page: start,
|
|
515
|
+
evidence: `Redirect loop includes ${[...seen, cursor].join(" -> ")}.`,
|
|
516
|
+
verifier: "redirects",
|
|
517
|
+
repairOwner: "storyboard",
|
|
518
|
+
suggestedRepair: "Break the cycle."
|
|
519
|
+
}));
|
|
520
|
+
break;
|
|
521
|
+
}
|
|
522
|
+
seen.add(cursor);
|
|
523
|
+
cursor = graph.get(cursor);
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
if (input.sitemap) {
|
|
527
|
+
const locs = [...input.sitemap.matchAll(/<loc>([^<]+)<\/loc>/g)].map((item) => item[1] || "");
|
|
528
|
+
const banned = /* @__PURE__ */ new Set();
|
|
529
|
+
for (const page of input.pages) if (!page.intendedIndex) banned.add(page.path);
|
|
530
|
+
for (const route of redirects) if (route.disposition === "redirect" || route.disposition === "retire") banned.add(route.from);
|
|
531
|
+
for (const loc of locs) {
|
|
532
|
+
let path = loc;
|
|
533
|
+
try {
|
|
534
|
+
path = new URL(loc, "https://example.invalid").pathname.replace(/\/$/, "") || "/";
|
|
535
|
+
} catch {
|
|
536
|
+
}
|
|
537
|
+
if (banned.has(path)) {
|
|
538
|
+
findings2.push(finding({
|
|
539
|
+
id: `sitemap-${path}`,
|
|
540
|
+
requirementId: "seo-sitemap-exclusions",
|
|
541
|
+
domain: "seo",
|
|
542
|
+
severity: "serious",
|
|
543
|
+
confidence: "confirmed",
|
|
544
|
+
status: "fail",
|
|
545
|
+
page: path,
|
|
546
|
+
evidence: "Sitemap includes a noindex, redirect, or retired URL.",
|
|
547
|
+
verifier: "sitemap",
|
|
548
|
+
repairOwner: "compiler",
|
|
549
|
+
suggestedRepair: "Omit that URL from the sitemap."
|
|
550
|
+
}));
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
return findings2;
|
|
555
|
+
}
|
|
556
|
+
function gzipSize(bytes) {
|
|
557
|
+
return gzipSync(typeof bytes === "string" ? Buffer.from(bytes) : bytes).length;
|
|
558
|
+
}
|
|
559
|
+
function auditTransfer(files) {
|
|
560
|
+
const findings2 = [];
|
|
561
|
+
let js = 0;
|
|
562
|
+
let css = 0;
|
|
563
|
+
let fonts = 0;
|
|
564
|
+
let total = 0;
|
|
565
|
+
for (const file of files) {
|
|
566
|
+
total += file.bytes.length;
|
|
567
|
+
if (/\.m?js$/i.test(file.path)) js += gzipSize(file.bytes);
|
|
568
|
+
if (/\.css$/i.test(file.path)) css += gzipSize(file.bytes);
|
|
569
|
+
if (/\.(woff2?|ttf|otf)$/i.test(file.path)) fonts += file.bytes.length;
|
|
570
|
+
if (file.bytes.length === 0 && /\.(m?js|css|png|jpg|webp|woff2?)$/i.test(file.path)) {
|
|
571
|
+
findings2.push(finding({
|
|
572
|
+
id: `empty-${file.path}`,
|
|
573
|
+
requirementId: "perf-broken-resource",
|
|
574
|
+
domain: "performance",
|
|
575
|
+
severity: "serious",
|
|
576
|
+
confidence: "confirmed",
|
|
577
|
+
status: "fail",
|
|
578
|
+
evidence: `${file.path} is empty.`,
|
|
579
|
+
verifier: "transfer-budget",
|
|
580
|
+
repairOwner: "pages",
|
|
581
|
+
suggestedRepair: "Remove the failed resource or replace it."
|
|
582
|
+
}));
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
const limits = [
|
|
586
|
+
["js", js, TRANSFER_BUDGETS.firstPartyJsGzip],
|
|
587
|
+
["css", css, TRANSFER_BUDGETS.cssGzip],
|
|
588
|
+
["fonts", fonts, TRANSFER_BUDGETS.fonts],
|
|
589
|
+
["transfer", total, TRANSFER_BUDGETS.initialTransfer]
|
|
590
|
+
];
|
|
591
|
+
for (const [kind, actual, limit] of limits) {
|
|
592
|
+
if (actual > limit) {
|
|
593
|
+
findings2.push(finding({
|
|
594
|
+
id: `budget-${kind}`,
|
|
595
|
+
requirementId: "perf-transfer-budget",
|
|
596
|
+
domain: "performance",
|
|
597
|
+
severity: "serious",
|
|
598
|
+
confidence: "confirmed",
|
|
599
|
+
status: "fail",
|
|
600
|
+
evidence: `${kind} is ${actual} bytes against the Vitris starting budget of ${limit}. This is a project policy, not a Core Web Vital.`,
|
|
601
|
+
verifier: "transfer-budget",
|
|
602
|
+
repairOwner: "pages",
|
|
603
|
+
suggestedRepair: "Reduce the asset or record an explicit media exception."
|
|
604
|
+
}));
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
return findings2;
|
|
608
|
+
}
|
|
609
|
+
function contentHash(text) {
|
|
610
|
+
return createHash("sha256").update(text).digest("hex");
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
// src/knowledge/page-transfer.ts
|
|
614
|
+
import { readFileSync, existsSync, statSync } from "node:fs";
|
|
615
|
+
import { isAbsolute, relative, resolve, sep } from "node:path";
|
|
616
|
+
import { parse as parse2 } from "parse5";
|
|
617
|
+
var assetType = /\.(?:m?js|css|woff2?|ttf|otf)$/i;
|
|
618
|
+
function pageTransferAssets(dist2, page, publicOrigin2) {
|
|
619
|
+
const base = new URL(publicOrigin2 || "https://vitris.invalid");
|
|
620
|
+
const pageUrl = new URL("/" + relative(dist2, page.path).replaceAll("\\", "/"), base);
|
|
621
|
+
const resources = /* @__PURE__ */ new Map();
|
|
622
|
+
const inlineCss = [], inlineJs = [];
|
|
623
|
+
function localFile(ref, owner) {
|
|
624
|
+
let url;
|
|
625
|
+
try {
|
|
626
|
+
url = new URL(ref, owner);
|
|
627
|
+
} catch {
|
|
628
|
+
return;
|
|
629
|
+
}
|
|
630
|
+
if (url.origin !== base.origin || !/^https?:$/.test(url.protocol)) return;
|
|
631
|
+
let pathname;
|
|
632
|
+
try {
|
|
633
|
+
pathname = decodeURIComponent(url.pathname);
|
|
634
|
+
} catch {
|
|
635
|
+
return;
|
|
636
|
+
}
|
|
637
|
+
const file = resolve(dist2, "." + pathname), rel = relative(resolve(dist2), file);
|
|
638
|
+
if (!rel || rel === ".." || rel.startsWith(".." + sep) || isAbsolute(rel) || !assetType.test(file)) return;
|
|
639
|
+
return file;
|
|
640
|
+
}
|
|
641
|
+
function cssReferences(css, owner) {
|
|
642
|
+
const source = css.replace(/\/\*[\s\S]*?\*\//g, "");
|
|
643
|
+
for (const match of source.matchAll(/url\(\s*(?:"([^"]*)"|'([^']*)'|([^\s)]+))\s*\)|@import\s+["']([^"']+)["']/gi)) {
|
|
644
|
+
add(match[1] ?? match[2] ?? match[3] ?? match[4], owner);
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
function add(ref, owner) {
|
|
648
|
+
const file = localFile(ref, owner);
|
|
649
|
+
if (!file || resources.has(file)) return;
|
|
650
|
+
if (!existsSync(file) || !statSync(file).isFile()) return;
|
|
651
|
+
const asset = { path: file, bytes: readFileSync(file) };
|
|
652
|
+
resources.set(file, asset);
|
|
653
|
+
if (/\.css$/i.test(file)) cssReferences(Buffer.from(asset.bytes).toString("utf8"), new URL(ref, owner));
|
|
654
|
+
}
|
|
655
|
+
function walk(node) {
|
|
656
|
+
if ("tagName" in node) {
|
|
657
|
+
if (node.tagName === "template" || node.tagName === "noscript") return;
|
|
658
|
+
const attrs = Object.fromEntries(node.attrs.map((a) => [a.name, a.value]));
|
|
659
|
+
const text = ("childNodes" in node ? node.childNodes : []).map((c) => "value" in c ? c.value : "").join("");
|
|
660
|
+
if (node.tagName === "script") {
|
|
661
|
+
if (attrs.src) add(attrs.src, pageUrl);
|
|
662
|
+
else if (!attrs.type || /^(?:module|(?:text|application)\/javascript)$/i.test(attrs.type)) inlineJs.push(text);
|
|
663
|
+
}
|
|
664
|
+
if (node.tagName === "link" && /(?:^|\s)(?:stylesheet|modulepreload|preload)(?:\s|$)/i.test(attrs.rel || "") && attrs.href) add(attrs.href, pageUrl);
|
|
665
|
+
if (node.tagName === "style") {
|
|
666
|
+
inlineCss.push(text);
|
|
667
|
+
cssReferences(text, pageUrl);
|
|
668
|
+
}
|
|
669
|
+
if (attrs.style) {
|
|
670
|
+
inlineCss.push(attrs.style);
|
|
671
|
+
cssReferences(attrs.style, pageUrl);
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
if ("childNodes" in node) for (const child of node.childNodes) walk(child);
|
|
675
|
+
}
|
|
676
|
+
walk(parse2(page.html));
|
|
677
|
+
return [
|
|
678
|
+
{ path: page.path, bytes: Buffer.from(page.html) },
|
|
679
|
+
...resources.values(),
|
|
680
|
+
...inlineCss.length ? [{ path: page.path + ".inline.css", bytes: Buffer.from(inlineCss.join("\n")), inline: true }] : [],
|
|
681
|
+
...inlineJs.length ? [{ path: page.path + ".inline.js", bytes: Buffer.from(inlineJs.join("\n")), inline: true }] : []
|
|
682
|
+
];
|
|
683
|
+
}
|
|
684
|
+
function auditPageTransfers(dist2, pages, publicOrigin2) {
|
|
685
|
+
return pages.flatMap((page) => {
|
|
686
|
+
const assets = pageTransferAssets(dist2, page, publicOrigin2);
|
|
687
|
+
const findings2 = [
|
|
688
|
+
...auditTransfer(assets).filter((f) => f.id !== "budget-transfer"),
|
|
689
|
+
...auditTransfer(assets.filter((a) => !a.inline)).filter((f) => f.id === "budget-transfer")
|
|
690
|
+
];
|
|
691
|
+
return findings2.map((finding2) => ({
|
|
692
|
+
...finding2,
|
|
693
|
+
id: finding2.id + "-" + relative(dist2, page.path).replaceAll("\\", "/").replace(/[^a-z0-9]+/gi, "-"),
|
|
694
|
+
page: page.path,
|
|
695
|
+
evidence: relative(dist2, page.path).replaceAll("\\", "/") + ": " + finding2.evidence
|
|
696
|
+
}));
|
|
697
|
+
});
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
// src/knowledge/launch-policy.ts
|
|
701
|
+
function blocksProduction(finding2) {
|
|
702
|
+
if (finding2.status === "waived" || finding2.status === "pass" || finding2.status === "not-applicable") return false;
|
|
703
|
+
if (finding2.status === "tool-error" || finding2.status === "stale") return true;
|
|
704
|
+
if (finding2.status === "unknown" && finding2.severity === "serious") return true;
|
|
705
|
+
return finding2.status === "fail" && finding2.severity === "serious" && finding2.confidence === "confirmed";
|
|
706
|
+
}
|
|
707
|
+
function applyOverrides(findings2, overrides = [], buildHash2 = "", activePolicy = LAUNCH_POLICY_ID) {
|
|
708
|
+
return findings2.map((item) => {
|
|
709
|
+
const override = overrides.find((entry) => entry.findingId === item.id);
|
|
710
|
+
if (!override) return item;
|
|
711
|
+
const matches = override.buildHash === buildHash2 && override.policyHash === activePolicy && override.reason.trim() && override.scope.trim();
|
|
712
|
+
if (!matches) return item;
|
|
713
|
+
return { ...item, status: "waived", evidence: `${item.evidence} Waived for scope ${override.scope}: ${override.reason}` };
|
|
714
|
+
});
|
|
715
|
+
}
|
|
716
|
+
function evaluateLaunchDecision(input) {
|
|
717
|
+
const adjusted = applyOverrides(input.findings, input.overrides, input.buildHash, LAUNCH_POLICY_ID);
|
|
718
|
+
const findings2 = [...adjusted];
|
|
719
|
+
if (input.environment === "production" && input.requiredVerifierStatus && input.requiredVerifierStatus !== "ok") {
|
|
720
|
+
findings2.push({
|
|
721
|
+
id: "required-verifier",
|
|
722
|
+
requirementId: "vitris-launch-evidence-binding",
|
|
723
|
+
domain: "publication",
|
|
724
|
+
severity: "serious",
|
|
725
|
+
confidence: "confirmed",
|
|
726
|
+
status: input.requiredVerifierStatus === "stale" ? "stale" : "tool-error",
|
|
727
|
+
evidence: `Required browser verification is ${input.requiredVerifierStatus}.`,
|
|
728
|
+
verifier: "launch-policy",
|
|
729
|
+
verifierVersion: "2026-09-22",
|
|
730
|
+
policyHash: LAUNCH_POLICY_ID,
|
|
731
|
+
repairOwner: "browser",
|
|
732
|
+
verifiedAt: "1970-01-01T00:00:00.000Z",
|
|
733
|
+
suggestedRepair: "Produce a trusted browser receipt for this exact build, or stay on preview."
|
|
734
|
+
});
|
|
735
|
+
}
|
|
736
|
+
if (input.environment === "production" && input.evidenceTrusted === false) {
|
|
737
|
+
findings2.push({
|
|
738
|
+
id: "untrusted-evidence",
|
|
739
|
+
requirementId: "vitris-launch-evidence-binding",
|
|
740
|
+
domain: "publication",
|
|
741
|
+
severity: "serious",
|
|
742
|
+
confidence: "confirmed",
|
|
743
|
+
status: "fail",
|
|
744
|
+
evidence: "Browser evidence was not marked trusted. Agent-authored receipts are not accepted.",
|
|
745
|
+
verifier: "launch-policy",
|
|
746
|
+
verifierVersion: "2026-09-22",
|
|
747
|
+
policyHash: LAUNCH_POLICY_ID,
|
|
748
|
+
repairOwner: "launch",
|
|
749
|
+
verifiedAt: "1970-01-01T00:00:00.000Z"
|
|
750
|
+
});
|
|
751
|
+
}
|
|
752
|
+
const blockers = findings2.filter(blocksProduction);
|
|
753
|
+
const waived = findings2.filter((item) => item.status === "waived");
|
|
754
|
+
const warnings = findings2.filter((item) => item.status === "warning" || item.severity === "warning" && item.status !== "fail");
|
|
755
|
+
const unknowns = findings2.filter((item) => item.status === "unknown" && item.severity !== "serious");
|
|
756
|
+
const launchAllowed = input.environment === "production" && blockers.length === 0;
|
|
757
|
+
const summary = launchAllowed ? "Production launch checks passed. This is not a WCAG conformance claim. Manual coverage stays disclosed." : input.environment === "preview" ? `Preview remains available. ${blockers.length} production blocker(s) would stop launch.` : `Production launch blocked: ${blockers.map((item) => item.id).join(", ") || "verification incomplete"}.`;
|
|
758
|
+
return {
|
|
759
|
+
policyId: LAUNCH_POLICY_ID,
|
|
760
|
+
environment: input.environment,
|
|
761
|
+
launchAllowed,
|
|
762
|
+
previewAllowed: true,
|
|
763
|
+
conformanceClaim: "none",
|
|
764
|
+
blockers,
|
|
765
|
+
warnings,
|
|
766
|
+
unknowns,
|
|
767
|
+
waived,
|
|
768
|
+
summary
|
|
769
|
+
};
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
// scripts/launch-preflight.ts
|
|
773
|
+
function arg(name) {
|
|
774
|
+
const index = process.argv.indexOf(name);
|
|
775
|
+
return index >= 0 ? process.argv[index + 1] : void 0;
|
|
776
|
+
}
|
|
777
|
+
if (process.argv.includes("--help")) {
|
|
778
|
+
console.log("Usage: vitris-launch-preflight --site DIR --environment preview|production [--origin URL]");
|
|
779
|
+
process.exit(0);
|
|
780
|
+
}
|
|
781
|
+
var root = resolve2(arg("--site") || ".");
|
|
782
|
+
var environment = arg("--environment") === "production" ? "production" : "preview";
|
|
783
|
+
process.env.VITRIS_SITE_ENVIRONMENT = environment;
|
|
784
|
+
var launch = existsSync2(join(root, "launch.json")) ? JSON.parse(readFileSync2(join(root, "launch.json"), "utf8")) : {};
|
|
785
|
+
var siteConfig = existsSync2(join(root, "site.json")) ? JSON.parse(readFileSync2(join(root, "site.json"), "utf8")) : {};
|
|
786
|
+
var publicOrigin = arg("--origin") || process.env.VITRIS_PUBLIC_ORIGIN || launch.publicOrigin;
|
|
787
|
+
if (publicOrigin) process.env.VITRIS_PUBLIC_ORIGIN = publicOrigin;
|
|
788
|
+
var dist = join(root, "dist");
|
|
789
|
+
var findings = [];
|
|
790
|
+
if (environment === "production") for (const failure of templateAdaptationFailures(root, "launch")) findings.push({
|
|
791
|
+
id: "template-adaptation-" + findings.length,
|
|
792
|
+
requirementId: "vitris-launch-evidence-binding",
|
|
793
|
+
domain: "publication",
|
|
794
|
+
severity: "serious",
|
|
795
|
+
confidence: "confirmed",
|
|
796
|
+
status: "fail",
|
|
797
|
+
evidence: failure,
|
|
798
|
+
verifier: "launch-preflight",
|
|
799
|
+
verifierVersion: "2026-10-10",
|
|
800
|
+
repairOwner: "template-adaptation",
|
|
801
|
+
verifiedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
802
|
+
});
|
|
803
|
+
var browserStatus = "unavailable";
|
|
804
|
+
var evidenceTrusted = false;
|
|
805
|
+
var initialTransferBytes;
|
|
806
|
+
var browserReportHash;
|
|
807
|
+
var screenshotSetHash;
|
|
808
|
+
var browserPrerequisite = true;
|
|
809
|
+
if (environment === "production" && existsSync2(dist) && performancePolicy(root).enabled) {
|
|
810
|
+
try {
|
|
811
|
+
const chrome = await lighthouseBrowser();
|
|
812
|
+
await closeLighthouseBrowser(chrome);
|
|
813
|
+
} catch (error) {
|
|
814
|
+
browserPrerequisite = false;
|
|
815
|
+
findings.push({
|
|
816
|
+
id: "performance-browser-unavailable",
|
|
817
|
+
requirementId: "perf-field-cwv",
|
|
818
|
+
domain: "performance",
|
|
819
|
+
severity: "serious",
|
|
820
|
+
confidence: "confirmed",
|
|
821
|
+
status: "tool-error",
|
|
822
|
+
evidence: `Lighthouse Chrome could not start: ${error instanceof Error ? error.message : String(error)}`,
|
|
823
|
+
verifier: "lighthouse-readiness",
|
|
824
|
+
verifierVersion: "2026-10-24",
|
|
825
|
+
repairOwner: "browser",
|
|
826
|
+
verifiedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
827
|
+
});
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
if (environment === "production" && existsSync2(dist) && browserPrerequisite) {
|
|
831
|
+
const sibling = dirname(fileURLToPath(import.meta.url));
|
|
832
|
+
const bundled = join(sibling, "vitris-verify-browser.js");
|
|
833
|
+
const verifier = existsSync2(bundled) ? bundled : join(sibling, "verify-browser.ts");
|
|
834
|
+
const run = spawnSync(process.execPath, [
|
|
835
|
+
...verifier.endsWith(".ts") ? ["--experimental-strip-types"] : [],
|
|
836
|
+
verifier,
|
|
837
|
+
"--site",
|
|
838
|
+
root
|
|
839
|
+
], { encoding: "utf8", env: { ...process.env, VITRIS_SITE_ENVIRONMENT: environment }, timeout: browserVerificationTimeoutMs() });
|
|
840
|
+
if (run.status === 0) {
|
|
841
|
+
try {
|
|
842
|
+
const report = JSON.parse(readFileSync2(join(root, "agent/reviews/browser.json"), "utf8"));
|
|
843
|
+
const shots = report.checks.flatMap((check) => [check, ...check.firstVisit ? [check.firstVisit] : []]);
|
|
844
|
+
if (report.checks.length > 0 && report.checks.every((check) => check.failures.length === 0) && report.distHash === fingerprint(root, ["dist"]) && shots.every((shot) => shot.screenshotHash === fingerprint(root, [shot.screenshot]))) {
|
|
845
|
+
browserStatus = "ok";
|
|
846
|
+
evidenceTrusted = true;
|
|
847
|
+
initialTransferBytes = report.checks.find((check) => check.path === "/" && check.width === 375)?.initialTransferBytes;
|
|
848
|
+
browserReportHash = contentHash(readFileSync2(join(root, "agent/reviews/browser.json"), "utf8"));
|
|
849
|
+
screenshotSetHash = contentHash(JSON.stringify(shots.map((shot) => ({ path: shot.screenshot, hash: shot.screenshotHash }))));
|
|
850
|
+
} else browserStatus = "stale";
|
|
851
|
+
} catch {
|
|
852
|
+
browserStatus = "stale";
|
|
853
|
+
}
|
|
854
|
+
} else {
|
|
855
|
+
console.error(`Browser verification failed: ${(run.stderr || run.stdout || run.error?.message || "unknown error").slice(-2e3)}`);
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
if (!existsSync2(dist)) {
|
|
859
|
+
findings.push({
|
|
860
|
+
id: "dist-missing",
|
|
861
|
+
requirementId: "vitris-launch-evidence-binding",
|
|
862
|
+
domain: "publication",
|
|
863
|
+
severity: "serious",
|
|
864
|
+
confidence: "confirmed",
|
|
865
|
+
status: "tool-error",
|
|
866
|
+
evidence: "dist/ is missing, so production evidence cannot be bound.",
|
|
867
|
+
verifier: "launch-preflight",
|
|
868
|
+
verifierVersion: "2026-09-22",
|
|
869
|
+
policyHash: LAUNCH_POLICY_ID,
|
|
870
|
+
repairOwner: "preview",
|
|
871
|
+
verifiedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
872
|
+
});
|
|
873
|
+
} else {
|
|
874
|
+
const htmlFiles = [];
|
|
875
|
+
const walk = (dir) => {
|
|
876
|
+
for (const name of readdirSync(dir)) {
|
|
877
|
+
const path = join(dir, name);
|
|
878
|
+
if (statSync2(path).isDirectory()) walk(path);
|
|
879
|
+
else if (name.endsWith(".html")) htmlFiles.push({ path, html: readFileSync2(path, "utf8") });
|
|
880
|
+
}
|
|
881
|
+
};
|
|
882
|
+
walk(dist);
|
|
883
|
+
for (const file of htmlFiles) findings.push(...auditFragment(file.html, file.path));
|
|
884
|
+
findings.push(...auditPageTransfers(dist, htmlFiles, publicOrigin));
|
|
885
|
+
if (environment === "production" && browserStatus === "ok" && initialTransferBytes !== void 0 && initialTransferBytes > TRANSFER_BUDGETS.initialTransfer) findings.push({
|
|
886
|
+
id: "budget-initial-transfer",
|
|
887
|
+
requirementId: "perf-transfer-budget",
|
|
888
|
+
domain: "performance",
|
|
889
|
+
severity: "serious",
|
|
890
|
+
confidence: "confirmed",
|
|
891
|
+
status: "fail",
|
|
892
|
+
evidence: `Homepage initial requests transferred ${initialTransferBytes} bytes against the ${TRANSFER_BUDGETS.initialTransfer} byte Vitris starting budget.`,
|
|
893
|
+
verifier: "browser-transfer",
|
|
894
|
+
verifierVersion: "2026-09-22",
|
|
895
|
+
policyHash: LAUNCH_POLICY_ID,
|
|
896
|
+
repairOwner: "pages",
|
|
897
|
+
verifiedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
898
|
+
});
|
|
899
|
+
const pages = htmlFiles.map((file) => {
|
|
900
|
+
let rel = relative2(dist, file.path).replaceAll("\\", "/");
|
|
901
|
+
if (rel === "index.html") rel = "";
|
|
902
|
+
else if (rel.endsWith("/index.html")) rel = rel.slice(0, -"/index.html".length);
|
|
903
|
+
const route = `/${rel}`.replace(/\/$/, "") || "/";
|
|
904
|
+
const pageFile = rel ? join(root, "pages", `${rel}.html`) : join(root, "pages/index.html");
|
|
905
|
+
const nestedFile = rel ? join(root, "pages", rel, "index.html") : pageFile;
|
|
906
|
+
const source = existsSync2(pageFile) ? pageFile : nestedFile;
|
|
907
|
+
const pageIndexing = existsSync2(source) ? parseFrontmatter(readFileSync2(source, "utf8")).meta.indexing : void 0;
|
|
908
|
+
return {
|
|
909
|
+
path: route,
|
|
910
|
+
html: file.html,
|
|
911
|
+
intendedIndex: route !== "/404.html" && route !== "/404" && route !== COOKIE_COMPLIANCE_PATH && siteConfig.indexing !== "noindex" && pageIndexing !== "noindex"
|
|
912
|
+
};
|
|
913
|
+
});
|
|
914
|
+
findings.push(...auditIndexing({ environment, pages, publicOrigin, sitemap: existsSync2(join(dist, "sitemap.xml")) ? readFileSync2(join(dist, "sitemap.xml"), "utf8") : void 0 }));
|
|
915
|
+
}
|
|
916
|
+
var manifest = existsSync2(dist) ? artifactManifest(dist) : void 0;
|
|
917
|
+
var buildHash = manifest?.sha256 || "missing-dist";
|
|
918
|
+
var decision = evaluateLaunchDecision({
|
|
919
|
+
environment,
|
|
920
|
+
findings,
|
|
921
|
+
buildHash,
|
|
922
|
+
requiredVerifierStatus: environment === "production" ? browserStatus : "ok",
|
|
923
|
+
evidenceTrusted: environment !== "production" || evidenceTrusted
|
|
924
|
+
});
|
|
925
|
+
mkdirSync(join(root, "agent", "reviews"), { recursive: true });
|
|
926
|
+
if (manifest) writeFileSync(join(root, "agent", "reviews", "launch-artifact-manifest.json"), JSON.stringify(manifest, null, 2));
|
|
927
|
+
var buildEvidence = existsSync2(join(dist, "build-evidence.json")) ? JSON.parse(readFileSync2(join(dist, "build-evidence.json"), "utf8")) : {};
|
|
928
|
+
var knowledgeManifest = join(dirname(fileURLToPath(import.meta.url)), "../design-system/knowledge/v2/manifest.json");
|
|
929
|
+
var knowledgeHash = existsSync2(knowledgeManifest) ? contentHash(readFileSync2(knowledgeManifest, "utf8")) : "unavailable";
|
|
930
|
+
var sourceHash = contentHash(JSON.stringify({ source: buildEvidence.sourceHash, compiler: buildEvidence.compilerHash }));
|
|
931
|
+
var configHash = contentHash(["launch.json", "site.json", "onboarding/storyboard.json"].map((path) => existsSync2(join(root, path)) ? contentHash(readFileSync2(join(root, path), "utf8")) : "missing").join("|"));
|
|
932
|
+
var receipt = sealReceipt({
|
|
933
|
+
id: "launch-preflight",
|
|
934
|
+
scope: "launch",
|
|
935
|
+
buildHash,
|
|
936
|
+
policyHash: LAUNCH_POLICY_ID,
|
|
937
|
+
knowledgeHash,
|
|
938
|
+
sourceHash,
|
|
939
|
+
configHash,
|
|
940
|
+
themeHash: existsSync2(join(root, "theme/defaults.json")) ? contentHash(readFileSync2(join(root, "theme/defaults.json"), "utf8")) : "missing",
|
|
941
|
+
mediaHash: existsSync2(join(root, "media")) ? fingerprint(root, ["media"]) : "missing",
|
|
942
|
+
screenshotHash: screenshotSetHash,
|
|
943
|
+
contentHash: browserReportHash,
|
|
944
|
+
passed: decision.launchAllowed,
|
|
945
|
+
findings
|
|
946
|
+
});
|
|
947
|
+
writeFileSync(join(root, "agent", "reviews", "launch-evidence.json"), JSON.stringify(receipt, null, 2));
|
|
948
|
+
writeFileSync(join(root, "agent", "reviews", "launch-preflight.json"), JSON.stringify({
|
|
949
|
+
schemaVersion: 1,
|
|
950
|
+
policyId: decision.policyId,
|
|
951
|
+
environment,
|
|
952
|
+
launchAllowed: decision.launchAllowed,
|
|
953
|
+
previewAllowed: decision.previewAllowed,
|
|
954
|
+
conformanceClaim: decision.conformanceClaim,
|
|
955
|
+
summary: decision.summary,
|
|
956
|
+
blockerIds: decision.blockers.map((item) => item.id),
|
|
957
|
+
warningIds: decision.warnings.map((item) => item.id),
|
|
958
|
+
buildHash,
|
|
959
|
+
evidenceDigest: receipt.digest,
|
|
960
|
+
manualCoverage: "pending",
|
|
961
|
+
note: "Automated checks only. This receipt is not a WCAG certification."
|
|
962
|
+
}, null, 2));
|
|
963
|
+
console.log(decision.summary);
|
|
964
|
+
if (environment === "production" && !decision.launchAllowed) process.exit(1);
|