@litfamily/litclaude 1.0.10 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -0
- package/README.md +436 -45
- package/README_ko-KR.md +403 -17
- package/bin/install-ownership.mjs +155 -18
- package/bin/litclaude-ai.js +91 -9
- package/docs/ab/S11-baseline-desktop.webp +0 -0
- package/docs/ab/S11-baseline-phone.webp +0 -0
- package/docs/ab/S11-litclaude-desktop.webp +0 -0
- package/docs/ab/S11-litclaude-phone.webp +0 -0
- package/docs/ab/S3-baseline-desktop.webp +0 -0
- package/docs/ab/S3-baseline-phone.webp +0 -0
- package/docs/ab/S3-litclaude-desktop.webp +0 -0
- package/docs/ab/S3-litclaude-phone.webp +0 -0
- package/docs/ab/S4-baseline-desktop.webp +0 -0
- package/docs/ab/S4-baseline-phone.webp +0 -0
- package/docs/ab/S4-litclaude-desktop.webp +0 -0
- package/docs/ab/S4-litclaude-phone.webp +0 -0
- package/docs/ab/S5-baseline-pages.webp +0 -0
- package/docs/ab/S5-baseline-slides.webp +0 -0
- package/docs/ab/S5-litclaude-pages.webp +0 -0
- package/docs/ab/S5-litclaude-slides.webp +0 -0
- package/docs/ab/S7-litclaude-diagram.webp +0 -0
- package/docs/ab/S8-baseline-slides.webp +0 -0
- package/docs/ab/S8-litclaude-slides.webp +0 -0
- package/docs/ab/S9-litclaude-pages.webp +0 -0
- package/docs/agents.md +10 -7
- package/docs/assets/cover-motion-still.webp +0 -0
- package/docs/assets/cover-motion.webp +0 -0
- package/docs/assets/readme/badge-version.svg +1 -1
- package/docs/assets/skills/autoconference.webp +0 -0
- package/docs/assets/skills/automatic-checks.webp +0 -0
- package/docs/assets/skills/autoresearch.webp +0 -0
- package/docs/assets/skills/browser-drive.webp +0 -0
- package/docs/assets/skills/debugging.webp +0 -0
- package/docs/assets/skills/deep-interview.webp +0 -0
- package/docs/assets/skills/frontend-ui-ux.webp +0 -0
- package/docs/assets/skills/lit-burnoff-file.webp +0 -0
- package/docs/assets/skills/lit-burnoff.webp +0 -0
- package/docs/assets/skills/lit-code.webp +0 -0
- package/docs/assets/skills/lit-commit.webp +0 -0
- package/docs/assets/skills/lit-comprehend.webp +0 -0
- package/docs/assets/skills/lit-crucible.webp +0 -0
- package/docs/assets/skills/lit-diagram-drawer.webp +0 -0
- package/docs/assets/skills/lit-docx.webp +0 -0
- package/docs/assets/skills/lit-handoff.webp +0 -0
- package/docs/assets/skills/lit-humanizer.webp +0 -0
- package/docs/assets/skills/lit-init.webp +0 -0
- package/docs/assets/skills/lit-loop.webp +0 -0
- package/docs/assets/skills/lit-plan.webp +0 -0
- package/docs/assets/skills/lit-pptx.webp +0 -0
- package/docs/assets/skills/lit-recap.webp +0 -0
- package/docs/assets/skills/lit-scientific-visualization.webp +0 -0
- package/docs/assets/skills/lit-team.webp +0 -0
- package/docs/assets/skills/lit-typographic-motion.webp +0 -0
- package/docs/assets/skills/litgoal.webp +0 -0
- package/docs/assets/skills/litresearch.webp +0 -0
- package/docs/assets/skills/litwork.webp +0 -0
- package/docs/assets/skills/lsp-setup.webp +0 -0
- package/docs/assets/skills/readme-studio.webp +0 -0
- package/docs/assets/skills/refactor.webp +0 -0
- package/docs/assets/skills/review-work.webp +0 -0
- package/docs/assets/skills/start-work.webp +0 -0
- package/docs/assets/skills/structural-search.webp +0 -0
- package/docs/assets/skills/visual-qa.webp +0 -0
- package/docs/assets/skills/wikify.webp +0 -0
- package/docs/hooks.md +185 -41
- package/docs/migration.md +6 -3
- package/docs/privacy.md +6 -1
- package/package.json +4 -2
- package/plugins/litclaude/.claude-plugin/plugin.json +1 -1
- package/plugins/litclaude/agents/korean-prose-editor.md +1 -0
- package/plugins/litclaude/agents/korean-style-analyzer.md +1 -0
- package/plugins/litclaude/agents/meaning-preservation-auditor.md +1 -0
- package/plugins/litclaude/agents/native-flow-reviewer.md +1 -0
- package/plugins/litclaude/agents/polish-orchestrator.md +1 -0
- package/plugins/litclaude/bin/litclaude-hook.js +347 -35
- package/plugins/litclaude/bin/litclaude-hud.js +29 -1
- package/plugins/litclaude/bin/litclaude-mcp.js +1 -1
- package/plugins/litclaude/bundled-rules/lit-humanizer.md +14 -0
- package/plugins/litclaude/commands/korean-ai-slop-remover.md +2 -2
- package/plugins/litclaude/commands/lit-comprehend.md +11 -11
- package/plugins/litclaude/commands/lit-humanizer.md +75 -0
- package/plugins/litclaude/commands/lit-korean.md +4 -130
- package/plugins/litclaude/commands/litresearch.md +12 -10
- package/plugins/litclaude/hooks/hooks.json +1 -1
- package/plugins/litclaude/lib/canonical-runtime-commitments.mjs +2 -2
- package/plugins/litclaude/lib/canonical-skill-catalog.mjs +5 -1
- package/plugins/litclaude/lib/canonical-skill-resources.mjs +618 -13
- package/plugins/litclaude/lib/deliverable-hedge-guard.mjs +256 -350
- package/plugins/litclaude/lib/hud-accent-palette.mjs +33 -0
- package/plugins/litclaude/lib/interface-mode.mjs +33 -0
- package/plugins/litclaude/lib/interface-probe-gate.mjs +125 -0
- package/plugins/litclaude/lib/jev-skill-hint.mjs +445 -0
- package/plugins/litclaude/lib/motion-render-gate.mjs +164 -0
- package/plugins/litclaude/lib/mutated-file-paths.mjs +32 -1
- package/plugins/litclaude/lib/office-runtime-lock/package-lock.json +745 -0
- package/plugins/litclaude/lib/office-runtime-lock/package.json +12 -0
- package/plugins/litclaude/lib/office-runtime-lock/requirements.lock +15 -0
- package/plugins/litclaude/lib/office-runtime.mjs +255 -0
- package/plugins/litclaude/lib/office_data.py +493 -0
- package/plugins/litclaude/lib/office_runtime_bootstrap.py +61 -0
- package/plugins/litclaude/lib/ooxml_integrity.py +199 -0
- package/plugins/litclaude/lib/rename-aliases.mjs +3 -1
- package/plugins/litclaude/lib/render_pages.py +105 -0
- package/plugins/litclaude/skills/autoconference/SKILL.md +2 -0
- package/plugins/litclaude/skills/browser-drive/SKILL.md +19 -6
- package/plugins/litclaude/skills/browser-drive/scripts/capability-probe.mjs +44 -8
- package/plugins/litclaude/skills/frontend-ui-ux/ATTRIBUTION.md +26 -0
- package/plugins/litclaude/skills/frontend-ui-ux/SKILL.md +50 -16
- package/plugins/litclaude/skills/frontend-ui-ux/examples/phase-3-readme-ab/README.md +9 -0
- package/plugins/litclaude/skills/frontend-ui-ux/references/complete-contract.md +32 -6
- package/plugins/litclaude/skills/frontend-ui-ux/references/craft-floor.md +257 -0
- package/plugins/litclaude/skills/frontend-ui-ux/references/default-editorial-pixel.json +6 -0
- package/plugins/litclaude/skills/frontend-ui-ux/references/interaction-motion.md +34 -88
- package/plugins/litclaude/skills/frontend-ui-ux/references/motion-guide.md +130 -0
- package/plugins/litclaude/skills/frontend-ui-ux/references/slop-register.md +150 -0
- package/plugins/litclaude/skills/frontend-ui-ux/references/visual-reconstruction.md +39 -85
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe-page.mjs +1534 -0
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe-rules.mjs +141 -0
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe-server.mjs +57 -0
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe-static.mjs +129 -0
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe.mjs +316 -0
- package/plugins/litclaude/skills/lit-comprehend/SKILL.md +34 -43
- package/plugins/litclaude/skills/lit-comprehend/references/artifact-template.md +5 -44
- package/plugins/litclaude/skills/lit-comprehend/scripts/verify-explainer.mjs +6 -16
- package/plugins/litclaude/skills/lit-diagram-drawer/NOTICE +33 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/SKILL.md +123 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-architecture-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-architecture-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-architecture-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-bar-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-bar-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-bar-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-beeswarm-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-beeswarm-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-beeswarm-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-bubble-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-bubble-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-bubble-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-bump-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-bump-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-bump-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-data-flow-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-data-flow-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-data-flow-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-datalake-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-datalake-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-datalake-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-db-schema-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-db-schema-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-db-schema-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-dependency-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-dependency-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-dependency-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-deployment-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-deployment-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-deployment-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-dp-integration-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-dp-integration-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-dp-integration-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-er-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-er-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-er-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-fishbone-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-fishbone-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-fishbone-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-flowchart-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-flowchart-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-flowchart-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-gantt-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-gantt-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-gantt-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-heatmap-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-heatmap-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-heatmap-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-high-level-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-high-level-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-high-level-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-import-drawio-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-import-drawio-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-import-drawio-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-it-state-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-it-state-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-it-state-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-journey-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-journey-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-journey-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-kanban-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-kanban-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-kanban-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-layers-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-layers-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-layers-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-line-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-line-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-line-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-loop-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-loop-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-loop-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-marimekko-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-marimekko-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-marimekko-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-medallion-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-medallion-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-medallion-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-nested-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-nested-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-nested-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-org-chart-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-org-chart-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-org-chart-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-polar-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-polar-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-polar-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-process-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-process-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-process-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-pyramid-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-pyramid-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-pyramid-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-quadrant-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-quadrant-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-quadrant-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-queue-animated-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-queue-animated-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-queue-animated-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-radar-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-radar-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-radar-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-ridgeline-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-ridgeline-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-ridgeline-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-sankey-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-sankey-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-sankey-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-scatter-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-scatter-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-scatter-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-sequence-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-sequence-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-sequence-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-slopegraph-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-slopegraph-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-slopegraph-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-state-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-state-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-state-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-story-map-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-story-map-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-story-map-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-streamgraph-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-streamgraph-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-streamgraph-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-swimlane-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-swimlane-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-swimlane-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-timeline-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-timeline-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-timeline-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-tree-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-tree-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-tree-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-treemap-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-treemap-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-treemap-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-uml-class-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-uml-class-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-uml-class-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-venn-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-venn-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-venn-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-wardley-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-wardley-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-wardley-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-waterfall-dark.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-waterfall-full.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/examples/type-waterfall-light.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/fonts/OFL.txt +94 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/fonts/PretendardVariable.woff2 +0 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/fonts/provenance.json +22 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/icons.html +231 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/index.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/licenses/devicon-MIT.txt +20 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/licenses/diagram-design-MIT.txt +21 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/licenses/log-z-MIT.txt +21 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/licenses/simple-icons-CC0.md +30 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/assets/licenses/tabler-MIT.txt +21 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/examples/01-service-architecture/after.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/examples/01-service-architecture/brief.md +33 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/examples/02-release-decision/after.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/examples/02-release-decision/brief.md +18 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/examples/03-data-retention/after.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/examples/03-data-retention/brief.md +19 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/examples/04-oauth-sequence/after.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/examples/04-oauth-sequence/brief.md +17 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/examples/05-review-lanes/after.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/examples/05-review-lanes/brief.md +17 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/examples/06-rollout-gates/after.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/examples/06-rollout-gates/brief.md +17 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/examples/07-deployment-boundary/after.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/examples/07-deployment-boundary/brief.md +19 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/examples/08-policy-traces/after.html +1 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/examples/08-policy-traces/brief.md +20 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/accessibility.md +37 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/export.md +29 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/import-drawio.md +21 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/import-excalidraw.md +14 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/import-mermaid.md +18 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/import-schema.md +28 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/korean-typography.md +34 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/motion.md +29 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/office-pptx-docx.md +42 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/output-spec.md +48 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/primitive-annotation.md +12 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/primitive-icons.md +21 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/primitive-sketchy.md +11 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/primitive-terminal.md +11 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/profiles.md +24 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/semantic-patterns.md +27 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/style-guide.md +67 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-architecture.md +51 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-bar.md +51 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-beeswarm.md +49 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-bubble.md +49 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-bump.md +49 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-catalog.json +1433 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-data-flow.md +51 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-datalake.md +49 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-db-schema.md +49 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-dependency.md +49 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-deployment.md +49 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-dp-integration.md +49 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-dp-security-matrix.md +49 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-er.md +49 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-fishbone.md +49 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-flowchart.md +49 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-gantt.md +49 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-heatmap.md +53 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-high-level-vertical.md +53 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-high-level.md +53 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-import-drawio.md +53 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-import-excalidraw.md +53 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-import-mermaid.md +53 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-it-state.md +54 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-journey.md +54 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-kanban.md +54 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-layers.md +54 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-line.md +54 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-loop-terminal.md +53 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-loop.md +54 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-marimekko.md +54 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-medallion.md +54 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-nested.md +59 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-org-chart.md +58 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-paved-road-animated.md +72 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-polar.md +67 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-policy-trace-animated.md +69 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-process.md +58 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-pyramid.md +59 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-quadrant-consultant.md +60 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-quadrant.md +57 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-queue-animated.md +63 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-radar.md +57 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-ridgeline.md +63 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-sankey.md +68 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-scatter.md +60 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-sequence-oauth.md +66 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-sequence.md +63 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-slopegraph.md +65 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-state-lifecycle.md +53 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-state.md +59 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-story-map.md +52 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-streamgraph.md +53 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-swimlane.md +52 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-timeline.md +52 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-tree-block-decomposition.md +57 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-tree.md +54 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-treemap.md +54 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-uml-class.md +52 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-venn.md +51 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-wardley.md +52 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-waterfall.md +54 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/references/verifier-guide.md +66 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/block-registry.mjs +43 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/brief-contract.mjs +94 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/check-visible-text.mjs +15 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/diagram-metrics.mjs +223 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/doctor.mjs +35 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/drawio-extract.mjs +635 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/excalidraw-extract.mjs +319 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/export.mjs +116 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/mermaid-extract.mjs +438 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/office-safety.mjs +54 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/renderer.mjs +33 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/verify-all.mjs +58 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/verify-brief.mjs +22 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/verify-coverage.mjs +56 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/verify-diagram.mjs +27 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/verify-motion.mjs +12 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/verify-type.mjs +48 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/visual-quality.mjs +376 -0
- package/plugins/litclaude/skills/lit-docx/NOTICE +33 -0
- package/plugins/litclaude/skills/lit-docx/SKILL.md +170 -0
- package/plugins/litclaude/skills/lit-docx/references/frontmatter_schema.md +42 -0
- package/plugins/litclaude/skills/lit-docx/references/journal_style_spec.md +17 -0
- package/plugins/litclaude/skills/lit-docx/references/markdown_quality_checklist.md +37 -0
- package/plugins/litclaude/skills/lit-docx/references/slop_phrase_list.yaml +58 -0
- package/plugins/litclaude/skills/lit-docx/references/slop_rules.md +35 -0
- package/plugins/litclaude/skills/lit-docx/scripts/clean_markdown.py +95 -0
- package/plugins/litclaude/skills/lit-docx/scripts/convert_md_to_docx.py +1194 -0
- package/plugins/litclaude/skills/lit-docx/scripts/convert_md_to_pdf.py +290 -0
- package/plugins/litclaude/skills/lit-docx/scripts/convert_pdf.py +139 -0
- package/plugins/litclaude/skills/lit-docx/scripts/edit_docx.py +306 -0
- package/plugins/litclaude/skills/lit-docx/scripts/embed_images.py +78 -0
- package/plugins/litclaude/skills/lit-docx/scripts/generate_docx_templates.py +500 -0
- package/plugins/litclaude/skills/lit-docx/scripts/qa_docx.py +177 -0
- package/plugins/litclaude/skills/lit-docx/scripts/slop_lint.py +561 -0
- package/plugins/litclaude/skills/lit-docx/scripts/visual_audit.py +48 -0
- package/plugins/litclaude/skills/lit-docx/templates/docx/acs.docx +0 -0
- package/plugins/litclaude/skills/lit-docx/templates/docx/elsevier.docx +0 -0
- package/plugins/litclaude/skills/lit-docx/templates/docx/ieee.docx +0 -0
- package/plugins/litclaude/skills/lit-docx/templates/docx/korean-generic.docx +0 -0
- package/plugins/litclaude/skills/lit-docx/templates/docx/nature.docx +0 -0
- package/plugins/litclaude/skills/lit-docx/templates/latex/acs/README.md +5 -0
- package/plugins/litclaude/skills/lit-docx/templates/latex/acs/template.tex +37 -0
- package/plugins/litclaude/skills/lit-docx/templates/latex/elsevier/README.md +5 -0
- package/plugins/litclaude/skills/lit-docx/templates/latex/elsevier/template.tex +38 -0
- package/plugins/litclaude/skills/lit-docx/templates/latex/ieee/README.md +5 -0
- package/plugins/litclaude/skills/lit-docx/templates/latex/ieee/template.tex +37 -0
- package/plugins/litclaude/skills/lit-docx/templates/latex/korean-generic/README.md +5 -0
- package/plugins/litclaude/skills/lit-docx/templates/latex/korean-generic/template.tex +37 -0
- package/plugins/litclaude/skills/lit-docx/templates/latex/nature/README.md +5 -0
- package/plugins/litclaude/skills/lit-docx/templates/latex/nature/template.tex +37 -0
- package/plugins/litclaude/skills/lit-docx/templates/registry.yaml +1366 -0
- package/plugins/litclaude/skills/lit-humanizer/NOTICE +160 -0
- package/plugins/litclaude/skills/lit-humanizer/SKILL.md +164 -0
- package/plugins/litclaude/skills/lit-humanizer/assets/always-on-rule.md +9 -0
- package/plugins/litclaude/skills/lit-humanizer/assets/report-skeleton.md +25 -0
- package/plugins/litclaude/skills/lit-humanizer/assets/slide-text-skeleton.md +28 -0
- package/plugins/litclaude/skills/lit-humanizer/bench/prompts.md +73 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/accessibility-note/after.md +7 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/accessibility-note/before.md +7 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/api-reference/after.md +9 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/api-reference/before.md +15 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/changelog/after.md +5 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/changelog/before.md +12 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/code-comments/after.md +10 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/code-comments/before.md +19 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/commit/after.md +5 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/commit/before.md +7 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/data-release/after.md +7 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/data-release/before.md +9 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/english-essay/after.md +5 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/english-essay/before.md +5 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/incident-update/after.md +7 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/incident-update/before.md +7 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/ko-essay/after.md +7 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/ko-essay/before.md +9 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/ko-report/after.md +9 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/ko-report/before.md +13 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/ko-slide/after.md +19 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/ko-slide/before.md +21 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/meeting-brief/after.md +9 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/meeting-brief/before.md +11 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/policy-faq/after.md +9 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/policy-faq/before.md +9 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/pr/after.md +15 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/pr/before.md +17 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/project-update/after.md +7 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/project-update/before.md +9 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/readme/after.md +12 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/readme/before.md +14 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/report/after.md +13 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/report/before.md +11 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/research-abstract/after.md +5 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/research-abstract/before.md +5 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/slides/after.md +19 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/slides/before.md +19 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/troubleshooting/after.md +11 -0
- package/plugins/litclaude/skills/lit-humanizer/examples/troubleshooting/before.md +11 -0
- package/plugins/litclaude/skills/lit-humanizer/motion-guide.md +123 -0
- package/plugins/litclaude/skills/lit-humanizer/references/code-patterns.md +468 -0
- package/plugins/litclaude/skills/lit-humanizer/references/deliverable-channels.md +111 -0
- package/plugins/litclaude/skills/lit-humanizer/references/en-patterns-checklist.md +43 -0
- package/plugins/litclaude/skills/lit-humanizer/references/en-patterns-content.md +243 -0
- package/plugins/litclaude/skills/lit-humanizer/references/en-patterns-structure.md +375 -0
- package/plugins/litclaude/skills/lit-humanizer/references/en-patterns.md +57 -0
- package/plugins/litclaude/skills/lit-humanizer/references/ko-metrics.md +33 -0
- package/plugins/litclaude/skills/lit-humanizer/references/ko-patterns-a-d.md +659 -0
- package/plugins/litclaude/skills/lit-humanizer/references/ko-patterns-e-j.md +387 -0
- package/plugins/litclaude/skills/lit-humanizer/references/ko-patterns.md +31 -0
- package/plugins/litclaude/skills/lit-humanizer/references/rewrite-playbook.md +54 -0
- package/plugins/litclaude/skills/lit-humanizer/references/taxonomy.md +153 -0
- package/plugins/litclaude/skills/lit-humanizer/rules.json +884 -0
- package/plugins/litclaude/skills/lit-humanizer/scripts/artifact-text.mjs +38 -0
- package/plugins/litclaude/skills/lit-humanizer/scripts/core.mjs +207 -0
- package/plugins/litclaude/skills/lit-humanizer/scripts/detect.mjs +64 -0
- package/plugins/litclaude/skills/lit-humanizer/scripts/extract_office_text.py +112 -0
- package/plugins/litclaude/skills/lit-humanizer/scripts/ko-metrics.mjs +124 -0
- package/plugins/litclaude/skills/lit-humanizer/scripts/scan-input.mjs +29 -0
- package/plugins/litclaude/skills/lit-loop/SKILL.md +30 -1
- package/plugins/litclaude/skills/lit-plan/SKILL.md +4 -1
- package/plugins/litclaude/skills/lit-pptx/NOTICE +38 -0
- package/plugins/litclaude/skills/lit-pptx/SKILL.md +207 -0
- package/plugins/litclaude/skills/lit-pptx/assets/azure/circle-lg.png +0 -0
- package/plugins/litclaude/skills/lit-pptx/assets/azure/circle-md.png +0 -0
- package/plugins/litclaude/skills/lit-pptx/assets/azure/circle-sm.png +0 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/a2z/A2Z-Black.otf +0 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/a2z/A2Z-Bold.otf +0 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/a2z/A2Z-Light.otf +0 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/a2z/A2Z-Medium.otf +0 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/a2z/A2Z-Regular.otf +0 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/a2z/OFL.txt +94 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/a2z/SOURCE.md +29 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/pretendard/OFL.txt +94 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/pretendard/Pretendard-Bold.otf +0 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/pretendard/Pretendard-Regular.otf +0 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/provenance.json +78 -0
- package/plugins/litclaude/skills/lit-pptx/references/agents/analyst.md +49 -0
- package/plugins/litclaude/skills/lit-pptx/references/agents/antithesis.md +59 -0
- package/plugins/litclaude/skills/lit-pptx/references/agents/architect.md +44 -0
- package/plugins/litclaude/skills/lit-pptx/references/agents/critic.md +42 -0
- package/plugins/litclaude/skills/lit-pptx/references/agents/synthesizer.md +47 -0
- package/plugins/litclaude/skills/lit-pptx/references/agents/thesis.md +33 -0
- package/plugins/litclaude/skills/lit-pptx/references/anti-slop-checklist.md +81 -0
- package/plugins/litclaude/skills/lit-pptx/references/authoring-guide.md +173 -0
- package/plugins/litclaude/skills/lit-pptx/references/consensus-protocol.md +125 -0
- package/plugins/litclaude/skills/lit-pptx/references/data-display-cookbook.md +45 -0
- package/plugins/litclaude/skills/lit-pptx/references/design-system-azure.md +58 -0
- package/plugins/litclaude/skills/lit-pptx/references/interview-protocol.md +113 -0
- package/plugins/litclaude/skills/lit-pptx/references/stages/autopilot.md +48 -0
- package/plugins/litclaude/skills/lit-pptx/references/stages/interview.md +52 -0
- package/plugins/litclaude/skills/lit-pptx/references/stages/plan.md +42 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/compile-deck.js +414 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/craft_extras.py +373 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/deck_craft.py +321 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/embed_fonts.py +215 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/forbidden-terms.json +55 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/layout_inventory.py +418 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/learn_template.py +446 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/derive-palette.js +176 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/directive-parser.js +244 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/font-map.js +79 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/gen-bg.js +86 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/gen-gradient-assets.js +37 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/layout-resolver.js +768 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/markdown-loader.js +136 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/render-adapter-html.js +356 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/render-adapter-pptx.js +2094 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/runtime-require.js +28 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/slide-ast.js +561 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/spec-validator.js +94 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/template-registry.js +394 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/package.json +4 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/qa_deck.py +766 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/validate_pptx.py +215 -0
- package/plugins/litclaude/skills/lit-pptx/specs/markdown-slide-spec-v1.md +251 -0
- package/plugins/litclaude/skills/lit-pptx/specs/markdown-slide-spec-v2.md +214 -0
- package/plugins/litclaude/skills/lit-pptx/specs/slide-ast-v1.schema.json +229 -0
- package/plugins/litclaude/skills/lit-pptx/specs/slide-ast-v2.schema.json +144 -0
- package/plugins/litclaude/skills/lit-pptx/specs/template-enrollment-contract.md +382 -0
- package/plugins/litclaude/skills/lit-pptx/templates/enrolled/AZURE-A2Z/capabilities.yaml +146 -0
- package/plugins/litclaude/skills/lit-pptx/templates/enrolled/AZURE-A2Z/layout-mapping.yaml +454 -0
- package/plugins/litclaude/skills/lit-pptx/templates/enrolled/AZURE-A2Z/template.yaml +37 -0
- package/plugins/litclaude/skills/lit-pptx/templates/enrolled/AZURE-PRO/capabilities.yaml +154 -0
- package/plugins/litclaude/skills/lit-pptx/templates/enrolled/AZURE-PRO/layout-mapping.yaml +475 -0
- package/plugins/litclaude/skills/lit-pptx/templates/enrolled/AZURE-PRO/template.yaml +37 -0
- package/plugins/litclaude/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/capabilities.yaml +179 -0
- package/plugins/litclaude/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/layout-mapping.yaml +299 -0
- package/plugins/litclaude/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/template.yaml +45 -0
- package/plugins/litclaude/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/capabilities.yaml +181 -0
- package/plugins/litclaude/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/layout-mapping.yaml +299 -0
- package/plugins/litclaude/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/template.yaml +44 -0
- package/plugins/litclaude/skills/lit-scientific-visualization/SKILL.md +1 -0
- package/plugins/litclaude/skills/lit-typographic-motion/SKILL.md +131 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/NOTICE +23 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +56 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/audio/beat_grid.py +56 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/audio/requirements.lock +1084 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/core/constants.mjs +211 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/core/contrast.mjs +90 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/core/events.mjs +46 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/core/flash.mjs +211 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/core/gate-rules.mjs +550 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/core/presets.mjs +123 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/core/text.mjs +100 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/core/timeline.mjs +142 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/core/util.mjs +167 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/core/voices.mjs +19 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/models/word-timing.json +198 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/analysis.mjs +108 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/brief.mjs +158 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/chrome.mjs +330 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/coverage.mjs +83 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/done.mjs +104 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/encode.mjs +104 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/frame-worker.mjs +36 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/look.mjs +128 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/pipeline.mjs +592 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/png.mjs +112 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/report.mjs +66 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/runtime.mjs +330 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/session.mjs +145 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/sound-cli.mjs +60 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/sound.mjs +641 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-capture.mjs +178 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-gate.mjs +122 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-qa.mjs +295 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-serve.mjs +278 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage.mjs +503 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stills.mjs +100 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/treatment.mjs +343 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/ws-server.mjs +132 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/package-lock.json +25 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/package.json +10 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/init.js +288 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/qa.js +157 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/stage-kit.js +701 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/boot.mjs +123 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/engine.mjs +281 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/gl.mjs +319 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/glsl-common.mjs +78 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/index.html +6 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/lines.mjs +112 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/passes/crt.mjs +98 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/passes/dither.mjs +49 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/passes/glitch.mjs +77 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/passes/swiss-grid.mjs +61 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/passes/terminal-ui.mjs +88 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/passes/tidal-gradient.mjs +86 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/post.mjs +165 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/scale.mjs +15 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/scene.mjs +82 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/scenes/end-card.mjs +30 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/scenes/index.mjs +16 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/scenes/karaoke-line.mjs +47 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/scenes/kinetic-list.mjs +45 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/scenes/number-counter.mjs +29 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/scenes/signature.mjs +73 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/scenes/title-slam.mjs +73 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/stroke.mjs +236 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/web/type.mjs +180 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-400.ttf +0 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-700.ttf +0 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-900.ttf +0 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-400.ttf +0 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-700.ttf +0 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-900.ttf +0 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-400.ttf +0 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-700.ttf +0 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-900.ttf +0 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/archivo/OFL.txt +93 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/manifest.json +437 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/silkscreen/OFL.txt +93 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Bold.ttf +0 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Regular.ttf +0 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/stroke/CREDITS +42 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/stroke/EMSAllure.svg +216 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/stroke/EMSFelix.svg +216 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/stroke/EMSOsmotron.svg +216 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/stroke/EMSReadability.svg +216 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/stroke/EMSTech.svg +217 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/stroke/OFL.txt +91 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/vt323/OFL.txt +93 -0
- package/plugins/litclaude/skills/lit-typographic-motion/fonts/vt323/VT323-Regular.ttf +0 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/brief-schema.md +91 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/craft-loop.md +69 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/engine-contract.md +104 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/look.md +106 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/runtime.md +65 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/sound.md +83 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/stage.md +192 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/style-bibles.md +117 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/treatment.md +114 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/type-craft.md +79 -0
- package/plugins/litclaude/skills/lit-typographic-motion/scripts/motion-doctor.mjs +78 -0
- package/plugins/litclaude/skills/lit-typographic-motion/scripts/motion-runtime.mjs +67 -0
- package/plugins/litclaude/skills/lit-typographic-motion/scripts/motion.mjs +132 -0
- package/plugins/litclaude/skills/litresearch/SKILL.md +54 -18
- package/scripts/doctor.mjs +5 -0
- package/scripts/postinstall.mjs +1 -0
- package/plugins/litclaude/skills/lit-korean/SKILL.md +0 -327
- /package/plugins/litclaude/skills/{lit-korean/references/fidelity-checklist.md → lit-humanizer/references/litclaude-fidelity-checklist.md} +0 -0
- /package/plugins/litclaude/skills/{lit-korean/references/rewrite-rules.md → lit-humanizer/references/litclaude-rewrite-rules.md} +0 -0
- /package/plugins/litclaude/skills/{lit-korean/references/style-patterns.md → lit-humanizer/references/litclaude-style-patterns.md} +0 -0
|
@@ -0,0 +1,550 @@
|
|
|
1
|
+
// The numeric QA gate (MO-C-01..29, MO-D-02..04, and every MO-A / MO-SH rule a render log can
|
|
2
|
+
// prove). Pure: `evaluateGate(data)` takes already-collected data (manifest, frame log, preview
|
|
3
|
+
// audit, exports, determinism, perf, contrast samples) and returns one verdict per rule, so every
|
|
4
|
+
// rule has a small failing fixture without a browser. node/gate.mjs collects the data from a
|
|
5
|
+
// render's output directory.
|
|
6
|
+
import { GATE, SHADER, READING, SOFTWARE_RENDERERS, POST_FIELDS, PASS_IDS, FLASH_EVENT_THRESHOLD, PROVISIONAL_RULES } from "./constants.mjs";
|
|
7
|
+
import { readingFloor, readingCounts } from "./text.mjs";
|
|
8
|
+
import { auditRecords } from "./flash.mjs";
|
|
9
|
+
import { hexToRgb, hsl, hueDistance } from "./util.mjs";
|
|
10
|
+
|
|
11
|
+
const r = (id, status, detail, extra = {}) => ({ id, status, detail, provisional: PROVISIONAL_RULES.includes(id), ...extra });
|
|
12
|
+
const PASS = "PASS";
|
|
13
|
+
const FAIL = "FAIL";
|
|
14
|
+
const WARN = "WARN";
|
|
15
|
+
const NA = "N/A";
|
|
16
|
+
|
|
17
|
+
export const isSoftware = (renderer) => SOFTWARE_RENDERERS.some((s) => String(renderer ?? "").toLowerCase().includes(s));
|
|
18
|
+
const inside = (b, [x0, y0, x1, y1]) => b[0] >= x0 - 1e-6 && b[1] >= y0 - 1e-6 && b[2] <= x1 + 1e-6 && b[3] <= y1 + 1e-6;
|
|
19
|
+
const overrun = (b, [x0, y0, x1, y1]) => Math.max(x0 - b[0], y0 - b[1], b[2] - x1, b[3] - y1, 0);
|
|
20
|
+
|
|
21
|
+
function frameIndexOfTime(t, fps) {
|
|
22
|
+
return Math.round(t * fps);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** MO-C-01 + MO-SH-00a/00b: interval-union coverage and per-range continuity from the log. */
|
|
26
|
+
function glslPresence({ manifest, passLines, frameCount }) {
|
|
27
|
+
const covered = new Uint8Array(frameCount);
|
|
28
|
+
const seen = new Map();
|
|
29
|
+
for (const line of passLines) {
|
|
30
|
+
if (!PASS_IDS.includes(line.pass)) continue;
|
|
31
|
+
if (!seen.has(line.pass)) seen.set(line.pass, new Set());
|
|
32
|
+
seen.get(line.pass).add(line.frame);
|
|
33
|
+
if (line.draws >= 1 && line.frame >= 0 && line.frame < frameCount) covered[line.frame] = 1;
|
|
34
|
+
}
|
|
35
|
+
const gaps = [];
|
|
36
|
+
for (let f = 0; f < frameCount; f++) if (!covered[f]) gaps.push(f);
|
|
37
|
+
const broken = [];
|
|
38
|
+
for (const range of manifest.passRanges ?? []) {
|
|
39
|
+
const frames = seen.get(range.pass) ?? new Set();
|
|
40
|
+
for (let f = range.frameStart; f <= range.frameEnd; f++) {
|
|
41
|
+
if (!frames.has(f)) {
|
|
42
|
+
broken.push(`${range.pass}@${range.sceneId}#${range.shotIndex} frame ${f}`);
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
if (!(manifest.passRanges ?? []).length) return r("MO-C-01", FAIL, "manifest lists no look-library pass");
|
|
48
|
+
if (gaps.length) return r("MO-C-01", FAIL, `${gaps.length} frame(s) with no pass that drew (first: ${gaps[0]})`);
|
|
49
|
+
if (broken.length) return r("MO-C-01", FAIL, `manifest range with no log line (MO-SH-00a): ${broken.slice(0, 3).join(", ")}`);
|
|
50
|
+
return r("MO-C-01", PASS, `every one of ${frameCount} frames covered by a pass with draws >= 1`);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function webgl2Tier({ manifest, reportNotice }) {
|
|
54
|
+
if (!manifest.renderer) return r("MO-C-02", FAIL, "no WebGL2 renderer recorded");
|
|
55
|
+
const software = isSoftware(manifest.renderer);
|
|
56
|
+
if (software && !manifest.softwareRenderer) return r("MO-C-02", FAIL, `software renderer "${manifest.renderer}" is not labelled softwareRenderer`);
|
|
57
|
+
if (software && reportNotice === false) return r("MO-C-02", FAIL, "software renderer without the 'software-rendered, --samples lowered' notice");
|
|
58
|
+
return r("MO-C-02", PASS, `${software ? "software" : "hardware"} — ${manifest.renderer}`);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function softwareDowngrade({ manifest }) {
|
|
62
|
+
if (!manifest.softwareRenderer) return r("MO-SH-09", NA, "hardware renderer; no downgrade needed");
|
|
63
|
+
const problems = [];
|
|
64
|
+
if (manifest.samples !== 1) problems.push(`samples ${manifest.samples} (must be 1)`);
|
|
65
|
+
for (const p of manifest.passRanges ?? []) {
|
|
66
|
+
if (["tidal-gradient", "crt"].includes(p.pass) && !p.downgraded) problems.push(`${p.pass}@${p.sceneId}#${p.shotIndex} not marked downgraded`);
|
|
67
|
+
if (p.pass === "crt" && p.params?.persistenceEnabled) problems.push("crt persistence left on");
|
|
68
|
+
}
|
|
69
|
+
return problems.length ? r("MO-SH-09", FAIL, problems.join("; ")) : r("MO-SH-09", PASS, "software GL: samples 1, octaves and persistence downgraded, marked downgraded:true");
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function flashAudit({ masterFlash, previewFlash, manifest }) {
|
|
73
|
+
const master = auditRecords(masterFlash, manifest.fps, { loop: false });
|
|
74
|
+
const preview = previewFlash ? auditRecords(previewFlash.records, previewFlash.fps, { loop: true }) : null;
|
|
75
|
+
const worst = Math.max(master.general.flashes, preview?.general.flashes ?? 0);
|
|
76
|
+
const worstRed = Math.max(master.red.flashes, preview?.red.flashes ?? 0);
|
|
77
|
+
const detail = `master worst window ${master.general.flashes} general / ${master.red.flashes} red (at ${master.general.startSec}s)`
|
|
78
|
+
+ (preview ? `; preview (looping) ${preview.general.flashes} / ${preview.red.flashes}` : "; preview not audited")
|
|
79
|
+
+ " (limit 3 / 3)";
|
|
80
|
+
const ok = master.pass && (preview ? preview.pass : true);
|
|
81
|
+
return r("MO-C-03", ok ? PASS : FAIL, detail, { worst, worstRed, master, preview, previewMissing: !preview });
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
function fullFrameStep({ masterFlash }) {
|
|
85
|
+
const bad = masterFlash.map((rec, i) => ({ i, a: rec.stepArea })).filter((x) => x.a > SHADER.fullFrameStepArea);
|
|
86
|
+
return bad.length ? r("MO-SH-04a", FAIL, `full-frame luminance step at frame ${bad[0].i} (${(bad[0].a * 100).toFixed(1)}% of cells moved >= 0.1)`) : r("MO-SH-04a", PASS, "no frame pair steps more than 25% of the frame");
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
function safeAreas({ frames }) {
|
|
90
|
+
const title = [];
|
|
91
|
+
const action = [];
|
|
92
|
+
for (const fr of frames) {
|
|
93
|
+
for (const b of fr.textBoxes ?? []) if (!inside(b.bbox, GATE.titleSafe)) title.push(`"${b.text}"@${fr.frame}:${overrun(b.bbox, GATE.titleSafe).toFixed(1)}px`);
|
|
94
|
+
for (const e of fr.elements ?? []) if (!inside(e.bbox, GATE.actionSafe)) action.push(`${e.elementId}@${fr.frame}:${overrun(e.bbox, GATE.actionSafe).toFixed(1)}px`);
|
|
95
|
+
}
|
|
96
|
+
return [
|
|
97
|
+
title.length ? r("MO-C-04", FAIL, `violations: ${title.slice(0, 4).join(", ")}${title.length > 4 ? ` (+${title.length - 4})` : ""}`) : r("MO-C-04", PASS, "every glyph bbox inside [96, 54]-[1824, 1026]"),
|
|
98
|
+
action.length ? r("MO-C-05", FAIL, `violations: ${action.slice(0, 4).join(", ")}`) : r("MO-C-05", PASS, "every non-glyph element inside [48, 27]-[1872, 1053]"),
|
|
99
|
+
];
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export const isLargeType = (box) => box.fontSizePx >= GATE.largeFontPx || (box.fontSizePx >= GATE.largeBoldFontPx && box.weight >= GATE.largeBoldWeight);
|
|
103
|
+
|
|
104
|
+
function contrast({ contrastSamples }) {
|
|
105
|
+
if (!contrastSamples.length) return r("MO-C-06", FAIL, "no contrast samples were recorded");
|
|
106
|
+
let worst = null;
|
|
107
|
+
const failures = [];
|
|
108
|
+
for (const s of contrastSamples) {
|
|
109
|
+
const floor = isLargeType(s) ? GATE.contrastLarge : GATE.contrastBody;
|
|
110
|
+
const margin = s.ratio / floor;
|
|
111
|
+
if (!worst || margin < worst.margin) worst = { ...s, floor, margin };
|
|
112
|
+
if (s.ratio < floor) failures.push(`"${s.text}"@${s.frame}: ${s.ratio.toFixed(2)}:1 < ${floor}:1`);
|
|
113
|
+
}
|
|
114
|
+
const detail = `min ratio ${worst.ratio.toFixed(2)}:1 at frame ${worst.frame} ("${worst.text}", floor ${worst.floor}:1)`;
|
|
115
|
+
return failures.length ? r("MO-C-06", FAIL, `${detail}; ${failures.slice(0, 3).join(", ")}`) : r("MO-C-06", PASS, detail);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
function readingTime({ manifest }) {
|
|
119
|
+
let tightest = null;
|
|
120
|
+
const failures = [];
|
|
121
|
+
const eps = 1 / manifest.fps;
|
|
122
|
+
for (const u of manifest.timeline ?? []) {
|
|
123
|
+
const floor = readingFloor(u.text, u.kind);
|
|
124
|
+
if (floor <= 0) continue;
|
|
125
|
+
const slack = u.holdSec - floor;
|
|
126
|
+
if (!tightest || slack < tightest.slack) tightest = { u, floor, slack };
|
|
127
|
+
if (u.holdSec < floor - eps) failures.push(`"${u.text}" (${u.kind}) hold ${u.holdSec.toFixed(3)}s < ${floor.toFixed(3)}s`);
|
|
128
|
+
if ((u.kind === "line" || u.kind === "scene") && u.holdSec > 0) {
|
|
129
|
+
const { C } = readingCounts(u.text);
|
|
130
|
+
if (C / u.holdSec > READING.maxCharsPerSecond + 1e-9) failures.push(`"${u.text}" ${(C / u.holdSec).toFixed(1)} cps > 17`);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
const detail = tightest ? `tightest unit "${tightest.u.text}" (${tightest.u.kind}) hold ${tightest.u.holdSec.toFixed(3)}s vs floor ${tightest.floor.toFixed(3)}s` : "no text units";
|
|
134
|
+
return failures.length ? r("MO-C-07/08", FAIL, `${failures[0]}${failures.length > 1 ? ` (+${failures.length - 1})` : ""}`) : r("MO-C-07/08", PASS, detail);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
function beatRules({ manifest }) {
|
|
138
|
+
const fps = manifest.fps;
|
|
139
|
+
const grid = manifest.beatGrid ?? null;
|
|
140
|
+
const beatAt = (t) => {
|
|
141
|
+
if (grid) {
|
|
142
|
+
let best = grid[0];
|
|
143
|
+
for (const b of grid) if (Math.abs(b - t) < Math.abs(best - t)) best = b;
|
|
144
|
+
return best;
|
|
145
|
+
}
|
|
146
|
+
const step = 60 / manifest.bpm;
|
|
147
|
+
return Math.round(t / step) * step;
|
|
148
|
+
};
|
|
149
|
+
const beatLen = (t) => {
|
|
150
|
+
if (!grid) return 60 / manifest.bpm;
|
|
151
|
+
for (let i = 1; i < grid.length; i++) if (grid[i] > t) return grid[i] - grid[i - 1];
|
|
152
|
+
return grid.length > 1 ? grid[grid.length - 1] - grid[grid.length - 2] : 0.6;
|
|
153
|
+
};
|
|
154
|
+
const shots = (manifest.timeline ?? []).filter((u) => u.kind === "line" || u.kind === "scene");
|
|
155
|
+
const offBeat = [];
|
|
156
|
+
const short = [];
|
|
157
|
+
for (const s of shots) {
|
|
158
|
+
if (s.start > 0 && Math.abs(s.start - beatAt(s.start)) > (1 + 1e-6) / fps) offBeat.push(`${s.id} cut at ${s.start.toFixed(3)}s is ${((s.start - beatAt(s.start)) * 1000).toFixed(1)} ms off the beat`);
|
|
159
|
+
if (s.holdSec < 2 * beatLen(s.start) - 1 / fps) short.push(`${s.id} holds ${s.holdSec.toFixed(3)}s < 2 beats (${(2 * beatLen(s.start)).toFixed(3)}s)`);
|
|
160
|
+
}
|
|
161
|
+
return [
|
|
162
|
+
offBeat.length ? r("MO-A-15", FAIL, offBeat[0]) : r("MO-A-15", PASS, "every cut within 1 frame of a beat"),
|
|
163
|
+
short.length ? r("MO-A-16", FAIL, short[0]) : r("MO-A-16", PASS, "every shot holds at least 2 beats"),
|
|
164
|
+
];
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
function eojeolReveals({ manifest }) {
|
|
168
|
+
const bad = [];
|
|
169
|
+
for (const u of manifest.timeline ?? []) {
|
|
170
|
+
if (u.kind !== "reveal") continue;
|
|
171
|
+
const parent = (manifest.timeline ?? []).find((p) => p.sceneId === u.sceneId && p.shotIndex === u.shotIndex && (p.kind === "line" || p.kind === "scene"));
|
|
172
|
+
if (!parent) continue;
|
|
173
|
+
const tokens = parent.text.split(/\s+/u);
|
|
174
|
+
const revealTokens = u.text.split(/\s+/u);
|
|
175
|
+
const ok = tokens.some((_, i) => revealTokens.every((t, j) => tokens[i + j] === t));
|
|
176
|
+
if (!ok) bad.push(`"${u.text}" is not a whole eojeol run of "${parent.text}"`);
|
|
177
|
+
}
|
|
178
|
+
return bad.length ? r("MO-A-13", FAIL, bad[0]) : r("MO-A-13", PASS, "every reveal step is a whole eojeol (or whole item)");
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
function determinism({ determinism }) {
|
|
182
|
+
if (!determinism) return [r("MO-C-09", FAIL, "determinism re-render was not run"), r("MO-A-25", FAIL, "seeked-vs-sequential check was not run")];
|
|
183
|
+
const list = determinism.frames.map((f) => f.frame).join(", ");
|
|
184
|
+
if (determinism.status === "PASS") {
|
|
185
|
+
return [
|
|
186
|
+
r("MO-C-09", PASS, `rgbaSha256 match Y (frames re-rendered in a second process: ${list})`),
|
|
187
|
+
r("MO-A-25", PASS, `seeked stills equal the sequential video frame lines at samples ${determinism.samples}, shutter ${determinism.shutter}`),
|
|
188
|
+
];
|
|
189
|
+
}
|
|
190
|
+
if (determinism.status === "WARN") {
|
|
191
|
+
return [r("MO-C-09", WARN, `hardware-nondeterminism: hardware pair differed, SwiftShader pair matched (frames ${list})`), r("MO-A-25", WARN, "hardware pair differed; SwiftShader seeked pair matched")];
|
|
192
|
+
}
|
|
193
|
+
const bad = determinism.frames.find((f) => !f.match);
|
|
194
|
+
const detail = bad ? `frame ${bad.frame}: ${bad.sequential} vs ${bad.seeked}` : "mismatch";
|
|
195
|
+
return [r("MO-C-09", FAIL, `rgbaSha256 match N — ${detail}`), r("MO-A-25", FAIL, `seeked render differs from the sequential one — ${detail}`)];
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
function encodeFloors({ manifest, probe }) {
|
|
199
|
+
if (!probe) return r("MO-C-10/11/12", FAIL, "no MP4 master to probe (ffprobe missing or file absent)");
|
|
200
|
+
const problems = [];
|
|
201
|
+
if (probe.width < GATE.minResolution[0] || probe.height < GATE.minResolution[1]) problems.push(`resolution ${probe.width}x${probe.height}`);
|
|
202
|
+
if (probe.fps < GATE.minFps) problems.push(`fps ${probe.fps}`);
|
|
203
|
+
if (probe.duration < GATE.minDurationSec) problems.push(`duration ${probe.duration.toFixed(2)}s < 3s`);
|
|
204
|
+
if (probe.pixFmt !== "yuv420p") problems.push(`pix_fmt ${probe.pixFmt}`);
|
|
205
|
+
if (probe.colorSpace !== "bt709") problems.push(`color_space ${probe.colorSpace}`);
|
|
206
|
+
if (probe.colorRange !== "tv") problems.push(`color_range ${probe.colorRange}`);
|
|
207
|
+
if (probe.colorTransfer !== "bt709") problems.push(`color_transfer ${probe.colorTransfer}`);
|
|
208
|
+
if (probe.colorPrimaries !== "bt709") problems.push(`color_primaries ${probe.colorPrimaries}`);
|
|
209
|
+
const tags = problems.length === 0 ? "Y" : "N";
|
|
210
|
+
const detail = `${probe.duration.toFixed(2)} s @ ${probe.fps} fps, ${probe.width}x${probe.height} (ffprobe yuv420p/bt709/tv ${tags})`;
|
|
211
|
+
if (problems.length) return r("MO-C-10/11/12", FAIL, `${detail}: ${problems.join(", ")}`);
|
|
212
|
+
if (probe.duration > GATE.warnDurationSec) return r("MO-C-10/11/12", WARN, `${detail}; longer than 90 s`);
|
|
213
|
+
return r("MO-C-10/11/12", PASS, detail);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
function fileSizes({ exports, probe }) {
|
|
217
|
+
const problems = [];
|
|
218
|
+
const warn = [];
|
|
219
|
+
if (!exports.preview) problems.push("no preview");
|
|
220
|
+
else if (exports.preview.bytes > GATE.previewCapBytes) problems.push(`preview ${exports.preview.bytes} B > 3 MB`);
|
|
221
|
+
if (!exports.poster) problems.push("no poster");
|
|
222
|
+
else if (exports.poster.bytes > GATE.posterCapBytes) problems.push(`poster ${exports.poster.bytes} B > 1 MB`);
|
|
223
|
+
if (probe && probe.duration > 0 && probe.bytes > (GATE.mp4WarnBytesPer10s * probe.duration) / 10) warn.push("mp4 above 100 MB per 10 s");
|
|
224
|
+
const detail = `mp4 ${probe?.bytes ?? "?"}, ${exports.preview?.kind ?? "preview"} ${exports.preview?.bytes ?? "?"} (cap 3 MB), poster ${exports.poster?.bytes ?? "?"} (cap 1 MB)`;
|
|
225
|
+
if (problems.length) return r("MO-C-13", FAIL, `${detail}: ${problems.join(", ")}`);
|
|
226
|
+
return r("MO-C-13", warn.length ? WARN : PASS, warn.length ? `${detail}; ${warn.join(", ")}` : detail);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
function reducedMotion({ exports, still, manifest, frames }) {
|
|
230
|
+
if (!exports.reducedMotion) return r("MO-C-14", FAIL, "reduced-motion still missing");
|
|
231
|
+
const textual = (manifest.timeline ?? []).filter((u) => (u.kind === "line" || u.kind === "scene") && u.text);
|
|
232
|
+
const last = textual[textual.length - 1];
|
|
233
|
+
if (!last) return r("MO-C-14", PASS, "present; no text-bearing entry to compare");
|
|
234
|
+
const refFrame = Math.round(last.end * manifest.fps) - 1;
|
|
235
|
+
const ref = frames.find((f) => f.frame === refFrame);
|
|
236
|
+
if (!ref || !still) return r("MO-C-14", FAIL, `present, but ink data for the still or reference frame ${refFrame} is missing`);
|
|
237
|
+
const ratio = ref.inkPx > 0 ? still.inkPx / ref.inkPx : 1;
|
|
238
|
+
const detail = `present Y, ink ${still.inkPx} vs reference frame ${refFrame} ${ref.inkPx} (${ratio.toFixed(3)}x, floor 0.9x)`;
|
|
239
|
+
return ratio < GATE.stillInkRatio ? r("MO-C-14", FAIL, detail) : r("MO-C-14", PASS, detail);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
function tracking({ frames }) {
|
|
243
|
+
const display = [];
|
|
244
|
+
const machine = [];
|
|
245
|
+
const hangul = [];
|
|
246
|
+
const widthMotion = new Map();
|
|
247
|
+
for (const fr of frames) {
|
|
248
|
+
for (const b of fr.textBoxes ?? []) {
|
|
249
|
+
if (b.voice === "display" && b.trackingEm < GATE.displayTrackingFloorEm - 1e-9) display.push(`${b.text}@${fr.frame} ${b.trackingEm}em`);
|
|
250
|
+
if ((b.voice === "machine" || b.voice === "chrome") && b.trackingEm < 0) machine.push(`${b.text}@${fr.frame} ${b.trackingEm}em`);
|
|
251
|
+
if (b.script === "hangul" && (b.trackingEm !== 0 || b.widthPct !== 100)) hangul.push(`${b.text}@${fr.frame} tracking ${b.trackingEm} width ${b.widthPct}`);
|
|
252
|
+
if (b.script === "hangul") {
|
|
253
|
+
const k = `${b.elementId}`;
|
|
254
|
+
if (!widthMotion.has(k)) widthMotion.set(k, new Set());
|
|
255
|
+
widthMotion.get(k).add(`${b.trackingEm}/${b.widthPct}`);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
for (const [k, set] of widthMotion) if (set.size > 1) hangul.push(`${k} animates tracking/width`);
|
|
260
|
+
return [
|
|
261
|
+
display.length || machine.length
|
|
262
|
+
? r("MO-C-25", FAIL, [...display.map((d) => `display past -0.04em: ${d}`), ...machine.map((m) => `negative tracking on the machine voice: ${m}`)].slice(0, 3).join("; "))
|
|
263
|
+
: r("MO-C-25", PASS, "display tracking >= -0.04em; machine voice never negative"),
|
|
264
|
+
hangul.length ? r("MO-FT-04", FAIL, hangul[0]) : r("MO-FT-04", PASS, "no tracking or width motion on any Hangul run"),
|
|
265
|
+
];
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
function lineHeight({ frames }) {
|
|
269
|
+
const bad = [];
|
|
270
|
+
const seen = new Set();
|
|
271
|
+
for (const fr of frames) {
|
|
272
|
+
for (const b of fr.textBoxes ?? []) {
|
|
273
|
+
if (!b.blockId || !(b.lineCount >= 2) || seen.has(`${b.blockId}@${b.lineHeight}`)) continue;
|
|
274
|
+
seen.add(`${b.blockId}@${b.lineHeight}`);
|
|
275
|
+
const floor = b.cjk ? GATE.lineHeightCjk : GATE.lineHeightLatin;
|
|
276
|
+
if (b.lineHeight < floor - 1e-9) bad.push(`${b.blockId}: ${b.lineCount} lines at ${b.lineHeight} < ${floor}`);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
return bad.length ? r("MO-C-26", FAIL, bad[0]) : r("MO-C-26", PASS, "multi-line blocks at >= 1.5 (Latin) / >= 1.6 (CJK)");
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
function measure({ frames }) {
|
|
283
|
+
const bad = [];
|
|
284
|
+
const advisory = [];
|
|
285
|
+
for (const fr of frames) {
|
|
286
|
+
for (const b of fr.textBoxes ?? []) {
|
|
287
|
+
if (!b.paragraph) continue;
|
|
288
|
+
if (b.cjk) {
|
|
289
|
+
if (b.measureCh < GATE.measureCjkAdvisory[0] || b.measureCh > GATE.measureCjkAdvisory[1]) advisory.push(`${b.blockId} ${b.measureCh}ch`);
|
|
290
|
+
} else if (b.measureCh < GATE.measureLatin[0] || b.measureCh > GATE.measureLatin[1]) bad.push(`${b.blockId}: ${b.measureCh}ch outside 60-75`);
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
if (bad.length) return r("MO-C-27", FAIL, bad[0]);
|
|
294
|
+
return r("MO-C-27", PASS, advisory.length ? `Latin cards within 60-75ch; CJK advisory: ${advisory[0]} outside 30-45ch` : "no paragraph card outside its measure");
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
function accentClusters({ frames, manifest, preset }) {
|
|
298
|
+
const clusters = [];
|
|
299
|
+
const frameCount = frames.length;
|
|
300
|
+
const accentHex = preset?.accentRole ? preset.palette[preset.accentRole] : null;
|
|
301
|
+
const accentHue = accentHex ? hsl(...hexToRgb(accentHex)).h : null;
|
|
302
|
+
const clusterOf = (h) => clusters.find((c) => hueDistance(c.hue, h) <= GATE.clusterHueTolerance);
|
|
303
|
+
for (const fr of frames) {
|
|
304
|
+
const fills = [
|
|
305
|
+
...(fr.textBoxes ?? []).filter((b) => /^#[0-9a-f]{6}$/iu.test(b.fill)).map((b) => ({ color: b.fill, bbox: b.bbox })),
|
|
306
|
+
...(fr.fills ?? []),
|
|
307
|
+
];
|
|
308
|
+
for (const fill of fills) {
|
|
309
|
+
const [x0, y0, x1, y1] = fill.bbox;
|
|
310
|
+
if (x1 - x0 < GATE.clusterMinFillPx || y1 - y0 < GATE.clusterMinFillPx) continue;
|
|
311
|
+
const { h, s } = hsl(...hexToRgb(fill.color));
|
|
312
|
+
if (s < GATE.clusterSaturation) continue;
|
|
313
|
+
let c = clusterOf(h);
|
|
314
|
+
if (!c) {
|
|
315
|
+
c = { hue: h, colors: new Set(), frames: new Set(), shots: new Set() };
|
|
316
|
+
clusters.push(c);
|
|
317
|
+
}
|
|
318
|
+
c.colors.add(fill.color.toLowerCase());
|
|
319
|
+
c.frames.add(fr.frame);
|
|
320
|
+
if (fr.shot) c.shots.add(fr.shot.id);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
if (clusters.length > 2) return r("MO-C-29", FAIL, `${clusters.length} saturated clusters: ${clusters.map((c) => [...c.colors].join("/")).join(", ")}`);
|
|
324
|
+
let accent = accentHue !== null ? clusters.find((c) => hueDistance(c.hue, accentHue) <= GATE.clusterHueTolerance) : null;
|
|
325
|
+
if (!accent && clusters.length === 2) accent = clusters.reduce((a, b) => (a.frames.size <= b.frames.size ? a : b));
|
|
326
|
+
if (accent) {
|
|
327
|
+
const share = accent.frames.size / Math.max(1, frameCount);
|
|
328
|
+
if (accent.shots.size > GATE.accentMaxEntries) return r("MO-C-29", FAIL, `accent ${[...accent.colors].join("/")} appears in ${accent.shots.size} timeline entries (${[...accent.shots].join(", ")})`);
|
|
329
|
+
if (share > GATE.accentMaxFrameShare) return r("MO-C-29", FAIL, `accent ${[...accent.colors].join("/")} on ${(share * 100).toFixed(1)}% of frames (> 10%)`);
|
|
330
|
+
return r("MO-C-29", PASS, `${clusters.length} saturated cluster(s); accent ${[...accent.colors].join("/")} in 1 entry, ${(share * 100).toFixed(1)}% of frames`);
|
|
331
|
+
}
|
|
332
|
+
return r("MO-C-29", PASS, `${clusters.length} saturated cluster(s), no accent`);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
function perf({ perf, manifest }) {
|
|
336
|
+
if (!perf) return r("MO-D-02", FAIL, "perf run missing");
|
|
337
|
+
const ceiling = manifest.softwareRenderer ? GATE.perfP95SoftwareMs : GATE.perfP95HardwareMs;
|
|
338
|
+
const detail = `p95 ${perf.p95.toFixed(1)} ms over ${perf.frames} frames at --samples 1 (ceiling ${ceiling} ms, ${manifest.softwareRenderer ? "software" : "hardware"})`;
|
|
339
|
+
if (perf.frames < GATE.perfMinFrames) return r("MO-D-02", FAIL, `${detail}: fewer than 120 frames`);
|
|
340
|
+
return perf.p95 > ceiling ? r("MO-D-02", FAIL, `${detail}; lower --samples or the tidal octaves`) : r("MO-D-02", PASS, detail);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
function nearBlack({ frames, manifest }) {
|
|
344
|
+
const fps = manifest.fps;
|
|
345
|
+
const total = frames.length;
|
|
346
|
+
const beat = manifest.beatGrid ? 0.6 : 60 / manifest.bpm;
|
|
347
|
+
const empty = frames.map((f) => (f.inkPx ?? 0) === 0 && (f.luminanceP995 ?? 1) < GATE.nearBlackLuminance);
|
|
348
|
+
const limit = GATE.nearBlackHoldFactor * 2 * beat * fps;
|
|
349
|
+
const allowance = GATE.nearBlackEdgeAllowanceSec * fps;
|
|
350
|
+
let worst = null;
|
|
351
|
+
for (const s of (manifest.timeline ?? []).filter((u) => u.kind === "line" || u.kind === "scene")) {
|
|
352
|
+
const a = frameIndexOfTime(s.start, fps);
|
|
353
|
+
const b = Math.min(total, frameIndexOfTime(s.end, fps));
|
|
354
|
+
let runStart = -1;
|
|
355
|
+
for (let f = a; f <= b; f++) {
|
|
356
|
+
if (f < b && empty[f]) {
|
|
357
|
+
if (runStart < 0) runStart = f;
|
|
358
|
+
continue;
|
|
359
|
+
}
|
|
360
|
+
if (runStart >= 0) {
|
|
361
|
+
const length = f - runStart;
|
|
362
|
+
const edge = runStart === 0 || f === total ? allowance : 0;
|
|
363
|
+
if (length > limit + edge && (!worst || length > worst.length)) worst = { length, shot: s.id, from: runStart };
|
|
364
|
+
runStart = -1;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
return worst ? r("MO-D-03", FAIL, `${worst.length} empty near-black frames in ${worst.shot} from frame ${worst.from}`) : r("MO-D-03", PASS, "no empty near-black run longer than 2x the minimum hold");
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
function eventCeiling({ manifest, shotEvents, frames }) {
|
|
372
|
+
const byShot = new Map((shotEvents ?? []).map((s) => [s.shotId, [...s.events]]));
|
|
373
|
+
let prevInvert = null;
|
|
374
|
+
let lastInvertChange = null;
|
|
375
|
+
const invertProblems = [];
|
|
376
|
+
const cuts = new Set((manifest.timeline ?? []).filter((u) => u.kind === "line" || u.kind === "scene").map((u) => Math.round(u.start * manifest.fps)));
|
|
377
|
+
let prevFlash = 0;
|
|
378
|
+
for (const fr of frames) {
|
|
379
|
+
const shotId = fr.shot?.id;
|
|
380
|
+
const flash = fr.post?.flash ?? 0;
|
|
381
|
+
if (flash > FLASH_EVENT_THRESHOLD && prevFlash <= FLASH_EVENT_THRESHOLD && shotId) {
|
|
382
|
+
if (!byShot.has(shotId)) byShot.set(shotId, []);
|
|
383
|
+
byShot.get(shotId).push({ t: fr.frame / manifest.fps, source: "flash" });
|
|
384
|
+
}
|
|
385
|
+
prevFlash = flash;
|
|
386
|
+
const inv = fr.post?.invert === true;
|
|
387
|
+
if (prevInvert !== null && inv !== prevInvert) {
|
|
388
|
+
if (!byShot.has(shotId)) byShot.set(shotId, []);
|
|
389
|
+
byShot.get(shotId).push({ t: fr.frame / manifest.fps, source: "invert" });
|
|
390
|
+
if (!cuts.has(fr.frame)) invertProblems.push(`invert changed off a cut at frame ${fr.frame}`);
|
|
391
|
+
if (lastInvertChange !== null && fr.frame - lastInvertChange < 2 * (60 / manifest.bpm) * manifest.fps - 1) invertProblems.push(`invert held ${fr.frame - lastInvertChange} frames < 2 beats`);
|
|
392
|
+
lastInvertChange = fr.frame;
|
|
393
|
+
}
|
|
394
|
+
prevInvert = inv;
|
|
395
|
+
}
|
|
396
|
+
const dense = [];
|
|
397
|
+
for (const [shotId, events] of byShot) {
|
|
398
|
+
const times = events.map((e) => e.t).sort((a, b) => a - b);
|
|
399
|
+
for (let i = 0; i < times.length; i++) {
|
|
400
|
+
let n = 0;
|
|
401
|
+
for (let j = i; j < times.length && times[j] < times[i] + 1; j++) n += 1;
|
|
402
|
+
if (n > SHADER.eventsPerSecondPerShot) {
|
|
403
|
+
dense.push(`${shotId}: ${n} events in 1 s from ${times[i].toFixed(2)}s`);
|
|
404
|
+
break;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
return [
|
|
409
|
+
dense.length ? r("MO-SH-03", FAIL, dense[0]) : r("MO-SH-03", PASS, "<= 2 events in any 1 s window of every shot"),
|
|
410
|
+
invertProblems.length ? r("MO-A-58", FAIL, invertProblems[0]) : r("MO-A-58", PASS, "post overrides in range; invert only on cuts, held >= 2 beats"),
|
|
411
|
+
];
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
function postRanges({ frames }) {
|
|
415
|
+
const bad = [];
|
|
416
|
+
for (const fr of frames) {
|
|
417
|
+
for (const [field, rule] of Object.entries(POST_FIELDS)) {
|
|
418
|
+
const v = fr.post?.[field];
|
|
419
|
+
if (v === undefined || rule.pair || rule.boolean) continue;
|
|
420
|
+
if (v < rule.min || v > rule.max || (rule.exclusiveMin && v <= 0)) bad.push(`${field}=${v} at frame ${fr.frame}`);
|
|
421
|
+
}
|
|
422
|
+
if (bad.length) break;
|
|
423
|
+
}
|
|
424
|
+
return bad;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
function passCaps({ manifest, passLines }) {
|
|
428
|
+
const out = [];
|
|
429
|
+
const glitch = (manifest.passRanges ?? []).filter((p) => p.pass === "glitch");
|
|
430
|
+
const gBad = glitch.find((p) => p.params.hitRatePerSecRealized > SHADER.glitchHitRateCap + 1e-9 || p.params.areaCapPct > SHADER.glitchAreaCapPct || (p.params.maxHitAreaPct ?? 0) > SHADER.glitchAreaCapPct + 1e-9);
|
|
431
|
+
out.push(!glitch.length ? r("MO-SH-05", NA, "glitch not in this preset")
|
|
432
|
+
: gBad ? r("MO-SH-05", FAIL, `glitch@${gBad.sceneId}#${gBad.shotIndex}: ${gBad.params.hitRatePerSecRealized} hits/s, area ${gBad.params.maxHitAreaPct}% (caps 2.0 / 20%)`)
|
|
433
|
+
: r("MO-SH-05", PASS, "glitch <= 2.0 hits/s and <= 20% area in every shot"));
|
|
434
|
+
const tidal = (manifest.passRanges ?? []).filter((p) => p.pass === "tidal-gradient");
|
|
435
|
+
let tBad = null;
|
|
436
|
+
for (const p of tidal) {
|
|
437
|
+
const times = p.params.surgeTimes ?? [];
|
|
438
|
+
for (let i = 0; i < times.length && !tBad; i++) if (times.filter((t) => t >= times[i] && t < times[i] + 1).length > SHADER.surgeRateCap) tBad = `${p.sceneId}#${p.shotIndex}: more than 2 surges in 1 s`;
|
|
439
|
+
if (!tBad && (p.params.surgeAttackSec < SHADER.surgeAttackFloor || p.params.surgeDecaySec < SHADER.surgeDecayFloor)) tBad = `${p.sceneId}#${p.shotIndex}: surge attack ${p.params.surgeAttackSec}s / decay ${p.params.surgeDecaySec}s under 0.1 s`;
|
|
440
|
+
}
|
|
441
|
+
out.push(!tidal.length ? r("MO-SH-06", NA, "tidal-gradient not in this preset") : tBad ? r("MO-SH-06", FAIL, tBad) : r("MO-SH-06", PASS, "surges <= 2/s, attack and decay >= 0.1 s"));
|
|
442
|
+
const crtRanges = (manifest.passRanges ?? []).filter((p) => p.pass === "crt");
|
|
443
|
+
let cBad = null;
|
|
444
|
+
for (const p of crtRanges) {
|
|
445
|
+
const values = passLines.filter((l) => l.pass === "crt" && l.frame >= p.frameStart && l.frame <= p.frameEnd).map((l) => l.uniforms?.u_flicker).filter((v) => typeof v === "number");
|
|
446
|
+
const pp = values.length ? Math.max(...values) - Math.min(...values) : 0;
|
|
447
|
+
if (pp > SHADER.crtFlickerCap + 1e-6) cBad = `crt@${p.sceneId}#${p.shotIndex}: flicker ${pp.toFixed(4)} peak-to-peak > 0.06`;
|
|
448
|
+
if (!cBad && p.params.persistenceEnabled && !p.params.shotStateful) cBad = `crt@${p.sceneId}#${p.shotIndex}: persistence on a non-stateful scene`;
|
|
449
|
+
}
|
|
450
|
+
out.push(!crtRanges.length ? r("MO-SH-07", NA, "crt not in this preset") : cBad ? r("MO-SH-07", FAIL, cBad) : r("MO-SH-07", PASS, "crt flicker <= 0.06 peak-to-peak; persistence only on stateful shots"));
|
|
451
|
+
const ditherRanges = (manifest.passRanges ?? []).filter((p) => p.pass === "dither");
|
|
452
|
+
let dBad = null;
|
|
453
|
+
for (const p of ditherRanges) {
|
|
454
|
+
const seeds = new Set(passLines.filter((l) => l.pass === "dither" && l.frame >= p.frameStart && l.frame <= p.frameEnd).map((l) => l.uniforms?.u_seed));
|
|
455
|
+
if (seeds.size > 1) dBad = `dither@${p.sceneId}#${p.shotIndex} reseeded inside the shot (${seeds.size} seeds)`;
|
|
456
|
+
}
|
|
457
|
+
out.push(!ditherRanges.length ? r("MO-SH-08", NA, "dither not in this preset") : dBad ? r("MO-SH-08", FAIL, dBad) : r("MO-SH-08", PASS, "dither seed fixed per shot"));
|
|
458
|
+
const guides = (manifest.passRanges ?? []).find((p) => p.pass === "swiss-grid" && p.params.showGuides);
|
|
459
|
+
out.push(guides ? r("MO-SH-10", FAIL, `swiss-grid showGuides true in ${guides.sceneId}#${guides.shotIndex}`) : r("MO-SH-10", PASS, "swiss-grid guides off (or not used)"));
|
|
460
|
+
const term = (manifest.passRanges ?? []).find((p) => p.pass === "terminal-ui" && p.params.layers > SHADER.terminalLayerCap);
|
|
461
|
+
out.push(term ? r("MO-SH-11", FAIL, `terminal-ui uses ${term.params.layers} layers in ${term.sceneId}`) : r("MO-SH-11", PASS, "terminal-ui <= 2 Canvas2D layers per scene (or not used)"));
|
|
462
|
+
return out;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
function seedRule({ manifest, seedOf }) {
|
|
466
|
+
const bad = (manifest.passRanges ?? []).find((p) => p.pass !== "swiss-grid" && p.seed !== seedOf(manifest.seed, p.sceneId, p.shotIndex, p.pass));
|
|
467
|
+
const grid = (manifest.passRanges ?? []).find((p) => p.pass === "swiss-grid" && p.seed !== null);
|
|
468
|
+
if (bad) return r("MO-SH-01", FAIL, `${bad.pass}@${bad.sceneId}#${bad.shotIndex} seed ${bad.seed} != fnv1a32(runSeed:sceneId:shotIndex:pass)`);
|
|
469
|
+
if (grid) return r("MO-SH-01", FAIL, "swiss-grid carries a seed; it must be null");
|
|
470
|
+
return r("MO-SH-01", PASS, "every pass seed = fnv1a32(runSeed:sceneId:shotIndex:pass); swiss-grid null");
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
function presence({ exports, manifest }) {
|
|
474
|
+
const missing = [];
|
|
475
|
+
if (!exports.film) missing.push("MP4 master");
|
|
476
|
+
if (!exports.preview) missing.push("preview");
|
|
477
|
+
if (!exports.poster) missing.push("poster");
|
|
478
|
+
if (!exports.reducedMotion) missing.push("reduced-motion still");
|
|
479
|
+
if (!manifest) missing.push("manifest");
|
|
480
|
+
return missing.length ? r("MO-A-37..41", FAIL, `missing: ${missing.join(", ")}`) : r("MO-A-37..41", PASS, "MP4, preview, poster, reduced-motion still and manifest present");
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
function timelineSchema({ manifest }) {
|
|
484
|
+
const fields = ["id", "sceneId", "shotIndex", "start", "end", "holdSec", "kind", "text", "script", "beatSec"];
|
|
485
|
+
const bad = (manifest.timeline ?? []).find((u) => fields.some((f) => u[f] === undefined));
|
|
486
|
+
if (!(manifest.timeline ?? []).length) return r("MO-A-41a", FAIL, "manifest has no timeline");
|
|
487
|
+
return bad ? r("MO-A-41a", FAIL, `timeline entry ${bad.id ?? "?"} lacks a canonical field`) : r("MO-A-41a", PASS, `${manifest.timeline.length} canonical timeline entries`);
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
function hangulWeights({ frames, allowedHangulFonts }) {
|
|
491
|
+
const bad = [];
|
|
492
|
+
for (const fr of frames) for (const b of fr.textBoxes ?? []) if (b.script === "hangul" && allowedHangulFonts && !allowedHangulFonts.includes(b.fontFile)) bad.push(`${b.text}: ${b.fontFile}`);
|
|
493
|
+
return bad.length ? r("MO-A-33", FAIL, `Hangul set in a non-pair font: ${bad[0]}`) : r("MO-A-33", PASS, "Hangul uses only the lit-pptx Regular/Bold pair or Galmuri");
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Evaluate every rule. `data` fields: manifest, frames (master frame lines), passLines, masterFlash,
|
|
498
|
+
* previewFlash {records, fps}, shotEvents, exports {film, preview, poster, reducedMotion}, probe,
|
|
499
|
+
* still {inkPx}, contrastSamples, determinism, perf, coverage {ok, missing}, preset, seedOf,
|
|
500
|
+
* allowedHangulFonts, reportNotice.
|
|
501
|
+
*/
|
|
502
|
+
export function evaluateGate(data) {
|
|
503
|
+
const frames = data.frames ?? [];
|
|
504
|
+
const rules = [];
|
|
505
|
+
rules.push(glslPresence({ manifest: data.manifest, passLines: data.passLines ?? [], frameCount: data.manifest.frameCount ?? frames.length }));
|
|
506
|
+
rules.push(webgl2Tier(data));
|
|
507
|
+
rules.push(flashAudit({ masterFlash: data.masterFlash ?? [], previewFlash: data.previewFlash, manifest: data.manifest }));
|
|
508
|
+
rules.push(...safeAreas({ frames }));
|
|
509
|
+
rules.push(contrast({ contrastSamples: data.contrastSamples ?? [] }));
|
|
510
|
+
rules.push(readingTime(data));
|
|
511
|
+
rules.push(determinism(data)[0]);
|
|
512
|
+
rules.push(encodeFloors({ manifest: data.manifest, probe: data.probe }));
|
|
513
|
+
rules.push(fileSizes({ exports: data.exports ?? {}, probe: data.probe }));
|
|
514
|
+
rules.push(reducedMotion({ exports: data.exports ?? {}, still: data.still, manifest: data.manifest, frames }));
|
|
515
|
+
const [c25, ft04] = tracking({ frames });
|
|
516
|
+
rules.push(c25);
|
|
517
|
+
rules.push(lineHeight({ frames }));
|
|
518
|
+
rules.push(measure({ frames }));
|
|
519
|
+
rules.push(accentClusters({ frames, manifest: data.manifest, preset: data.preset }));
|
|
520
|
+
rules.push(perf(data));
|
|
521
|
+
rules.push(nearBlack({ frames, manifest: data.manifest }));
|
|
522
|
+
rules.push(data.coverage ? (data.coverage.ok ? r("MO-D-04", PASS, "every codepoint resolves in its run's font") : r("MO-D-04", FAIL, data.coverage.missing.slice(0, 3).join("; "))) : r("MO-D-04", FAIL, "glyph coverage was not checked"));
|
|
523
|
+
// Rule-index order for the remaining enforced MO-A / MO-SH / MO-FT rows.
|
|
524
|
+
const [a15, a16] = beatRules(data);
|
|
525
|
+
const [sh03, a58] = eventCeiling({ manifest: data.manifest, shotEvents: data.shotEvents, frames });
|
|
526
|
+
const postBad = postRanges({ frames });
|
|
527
|
+
rules.push(eojeolReveals(data));
|
|
528
|
+
rules.push(a15, a16);
|
|
529
|
+
rules.push(determinism(data)[1]);
|
|
530
|
+
rules.push(hangulWeights({ frames, allowedHangulFonts: data.allowedHangulFonts }));
|
|
531
|
+
rules.push(presence({ exports: data.exports ?? {}, manifest: data.manifest }));
|
|
532
|
+
rules.push(timelineSchema(data));
|
|
533
|
+
rules.push(postBad.length ? r("MO-A-58", FAIL, `override out of range: ${postBad[0]}`) : a58);
|
|
534
|
+
if (data.seedOf) rules.push(seedRule({ manifest: data.manifest, seedOf: data.seedOf }));
|
|
535
|
+
rules.push(sh03);
|
|
536
|
+
rules.push(fullFrameStep({ masterFlash: data.masterFlash ?? [] }));
|
|
537
|
+
rules.push(...passCaps({ manifest: data.manifest, passLines: data.passLines ?? [] }));
|
|
538
|
+
rules.push(softwareDowngrade(data));
|
|
539
|
+
rules.push(ft04);
|
|
540
|
+
const failed = rules.filter((x) => x.status === FAIL);
|
|
541
|
+
return { pass: failed.length === 0, rules, failed: failed.map((x) => x.id), flashFail: failed.some((x) => x.id === "MO-C-03"), perfOnly: failed.length > 0 && failed.every((x) => x.id === "MO-D-02") };
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
/** Pre-flight: the timeline rules and glyph coverage, before any frame is rendered. */
|
|
545
|
+
export function evaluatePreflight({ manifest, coverage }) {
|
|
546
|
+
const rules = [readingTime({ manifest }), ...beatRules({ manifest }), eojeolReveals({ manifest }),
|
|
547
|
+
coverage.ok ? r("MO-D-04", PASS, "every codepoint resolves in its run's font") : r("MO-D-04", FAIL, coverage.missing.slice(0, 5).join("; "))];
|
|
548
|
+
const failed = rules.filter((x) => x.status === FAIL);
|
|
549
|
+
return { pass: failed.length === 0, rules, failed: failed.map((x) => x.id) };
|
|
550
|
+
}
|