@buaa_smat/hometrans 26.0.2 → 26.0.4-devecocli.1
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/agents/code-reviewer.md +111 -154
- package/devecocli-plugin/common.ts +2271 -0
- package/devecocli-plugin/content-resolver.ts +363 -0
- package/devecocli-plugin/install.ts +72 -0
- package/devecocli-plugin/uninstall.ts +26 -0
- package/devecocli-plugin/update.ts +77 -0
- package/i18n/FILE-NAMES.md +9 -0
- package/i18n/agents/code-reviewer.md +436 -0
- package/i18n/agents/model-render-worker.md +38 -0
- package/i18n/agents/specgen-worker.md +18 -0
- package/i18n/commands/hometrans.md +17 -0
- package/i18n/skills/a2h-app-migrate/SKILL.md +206 -0
- package/i18n/skills/a2h-app-migrate/references/config.example.json +28 -0
- package/i18n/skills/a2h-app-migrate/references/feature-scope.md +121 -0
- package/i18n/skills/a2h-app-migrate/references/specs.example.json +19 -0
- package/i18n/skills/a2h-app-migrate/references/stage-map.md +50 -0
- package/i18n/skills/a2h-app-migrate/references/workflow.yaml +2007 -0
- package/i18n/skills/a2h-app-migrate/scripts/check_spec_gen_done.mjs +187 -0
- package/i18n/skills/a2h-app-migrate/scripts/env_preflight.mjs +1656 -0
- package/i18n/skills/a2h-app-migrate/scripts/human_review_gate.mjs +728 -0
- package/i18n/skills/a2h-app-migrate/scripts/validate_workflow.mjs +541 -0
- package/i18n/skills/a2h-app-migrate/test/test_android_index.mjs +143 -0
- package/i18n/skills/a2h-app-migrate/test/test_arch_done.mjs +54 -0
- package/i18n/skills/a2h-app-migrate/test/test_build_fixer_contract.mjs +98 -0
- package/i18n/skills/a2h-app-migrate/test/test_config_example.mjs +42 -0
- package/i18n/skills/a2h-app-migrate/test/test_ensure_utg_snapshot.mjs +147 -0
- package/i18n/skills/a2h-app-migrate/test/test_env_requirements.mjs +713 -0
- package/i18n/skills/a2h-app-migrate/test/test_finalize.mjs +117 -0
- package/i18n/skills/a2h-app-migrate/test/test_image_probe.mjs +120 -0
- package/i18n/skills/a2h-app-migrate/test/test_interaction.mjs +122 -0
- package/i18n/skills/a2h-app-migrate/test/test_preflight_report.mjs +93 -0
- package/i18n/skills/a2h-app-migrate/test/test_resume_plan.mjs +271 -0
- package/i18n/skills/a2h-app-migrate/test/test_resume_summary.mjs +222 -0
- package/i18n/skills/a2h-app-migrate/test/test_reuse_static_utg.mjs +136 -0
- package/i18n/skills/a2h-app-migrate/test/test_run_dir.mjs +552 -0
- package/i18n/skills/a2h-app-migrate/test/test_skill_doc.mjs +144 -0
- package/i18n/skills/a2h-app-migrate/test/test_spec_gen_done.mjs +263 -0
- package/i18n/skills/a2h-app-migrate/test/test_spec_gen_gate.mjs +165 -0
- package/i18n/skills/a2h-app-migrate/test/test_specs_json_preflight.mjs +76 -0
- package/i18n/skills/a2h-app-migrate/test/test_ui_batch_gate.mjs +226 -0
- package/i18n/skills/a2h-app-migrate/test/test_user_facing_progress.mjs +43 -0
- package/i18n/skills/a2h-app-migrate/test/test_utg_static_done.mjs +207 -0
- package/i18n/skills/a2h-app-migrate/test/test_validate_workflow_bilingual.mjs +87 -0
- package/i18n/skills/a2h-arch-generate/SKILL.md +378 -0
- package/i18n/skills/a2h-arch-generate/examples/reconcile-existing-project.md +107 -0
- package/i18n/skills/a2h-arch-generate/examples/simple-conversion-backend.md +70 -0
- package/i18n/skills/a2h-arch-generate/references/arkts-mvvm-v2.md +1407 -0
- package/i18n/skills/a2h-arch-generate/references/artifact-contracts.generate.md +120 -0
- package/i18n/skills/a2h-arch-generate/references/artifact-contracts.reconcile.md +123 -0
- package/i18n/skills/a2h-arch-generate/references/bpta-layered-architecture-design.md +88 -0
- package/i18n/skills/a2h-arch-generate/references/database-schema-recovery.md +107 -0
- package/i18n/skills/a2h-arch-generate/references/existing-target-annotation.md +68 -0
- package/i18n/skills/a2h-arch-generate/references/harmony-project-inspection.md +150 -0
- package/i18n/skills/a2h-arch-generate/references/harmony-target-architecture.md +94 -0
- package/i18n/skills/a2h-arch-generate/references/homegraph-workflow.md +131 -0
- package/i18n/skills/a2h-arch-generate/references/source-baseline.md +93 -0
- package/i18n/skills/a2h-arch-generate/scripts/generate_source_baseline.mjs +360 -0
- package/i18n/skills/a2h-arch-generate/scripts/inspect_harmony_target.mjs +798 -0
- package/i18n/skills/a2h-arch-generate/scripts/lib/contract_terms.mjs +40 -0
- package/i18n/skills/a2h-arch-generate/scripts/module_create/generate.mjs +639 -0
- package/i18n/skills/a2h-arch-generate/scripts/module_create/testdata/reconcile-layer-PROJECT_DESIGN.md +47 -0
- package/i18n/skills/a2h-arch-generate/scripts/module_create/testdata/single-entry-PROJECT_DESIGN.md +15 -0
- package/i18n/skills/a2h-arch-generate/scripts/module_create/testdata/three-layer-PROJECT_DESIGN.md +36 -0
- package/i18n/skills/a2h-arch-generate/scripts/module_create/testdata/verification-report.md +150 -0
- package/i18n/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/uniapp_source/pages.json +5 -0
- package/i18n/skills/a2h-arch-generate/scripts/tests/e2e/run_e2e.mjs +548 -0
- package/i18n/skills/a2h-arch-generate/scripts/tests/run_tests.mjs +1261 -0
- package/i18n/skills/a2h-arch-generate/scripts/tests/test_module_templates.mjs +70 -0
- package/i18n/skills/a2h-arch-generate/scripts/validate_architecture_docs.mjs +851 -0
- package/i18n/skills/a2h-arch-generate/scripts/validate_data_docs.mjs +982 -0
- package/i18n/skills/a2h-arkts-logic-coder/SKILL.md +304 -0
- package/i18n/skills/a2h-arkts-logic-coder/references/ISSUES.md +10 -0
- package/i18n/skills/a2h-arkts-logic-coder/references/code-generation.md +249 -0
- package/i18n/skills/a2h-arkts-logic-coder/references/spec-design.md +344 -0
- package/i18n/skills/a2h-arkts-logic-coder/scripts/design/move_spec_technical_reference.mjs +162 -0
- package/i18n/skills/a2h-arkts-logic-coder/scripts/design/validate_spec_design_output.mjs +298 -0
- package/i18n/skills/a2h-arkts-logic-coder/scripts/state_doc.mjs +877 -0
- package/i18n/skills/a2h-arkts-logic-coder/scripts/test_check_units.ts +149 -0
- package/i18n/skills/a2h-arkts-logic-coder/test/golden/move_design.md +18 -0
- package/i18n/skills/a2h-arkts-logic-coder/test/golden/move_design_crlf.md +18 -0
- package/i18n/skills/a2h-arkts-logic-coder/test/golden/move_spec.md +7 -0
- package/i18n/skills/a2h-arkts-logic-coder/test/golden/validate_issue_file.md +12 -0
- package/i18n/skills/a2h-arkts-logic-coder/test/golden/validate_issues.json +57 -0
- package/i18n/skills/a2h-arkts-logic-coder/test/test_spec_design_scripts.mjs +547 -0
- package/i18n/skills/a2h-arkts-logic-coder/test/test_state_doc.mjs +597 -0
- package/i18n/skills/a2h-batch-ui-align/SKILL.md +372 -0
- package/i18n/skills/a2h-batch-ui-align/references/cards/alignment.md +35 -0
- package/i18n/skills/a2h-batch-ui-align/references/cards/build.md +13 -0
- package/i18n/skills/a2h-batch-ui-align/references/cards/canvas.md +17 -0
- package/i18n/skills/a2h-batch-ui-align/references/cards/dynamics.md +27 -0
- package/i18n/skills/a2h-batch-ui-align/references/cards/geometry.md +85 -0
- package/i18n/skills/a2h-batch-ui-align/references/cards/interaction.md +23 -0
- package/i18n/skills/a2h-batch-ui-align/references/cards/resources.md +89 -0
- package/i18n/skills/a2h-batch-ui-align/references/cards/state-v1.md +29 -0
- package/i18n/skills/a2h-batch-ui-align/references/cards/state.md +14 -0
- package/i18n/skills/a2h-batch-ui-align/references/cards/widgets.md +62 -0
- package/i18n/skills/a2h-batch-ui-align/references/cards/window.md +30 -0
- package/i18n/skills/a2h-batch-ui-align/references/checker-rules.md +930 -0
- package/i18n/skills/a2h-batch-ui-align/references/conversion-procedure.md +420 -0
- package/i18n/skills/a2h-batch-ui-align/references/incremental-scope.md +158 -0
- package/i18n/skills/a2h-batch-ui-align/references/lottie-integration.md +43 -0
- package/i18n/skills/a2h-batch-ui-align/references/mappings/android-to-harmonyOS-ui-atomic-component-mapping-reference.md +2552 -0
- package/i18n/skills/a2h-batch-ui-align/references/mappings/android-to-harmonyOS-ui-interaction-mapping-reference.md +560 -0
- package/i18n/skills/a2h-batch-ui-align/references/mappings/android-to-harmonyOS-ui-layout-mapping-reference.md +175 -0
- package/i18n/skills/a2h-batch-ui-align/references/state-mgmt/_decorator-quickref.md +251 -0
- package/i18n/skills/a2h-batch-ui-align/references/state-mgmt/_paradigm-selection.md +28 -0
- package/i18n/skills/a2h-batch-ui-align/references/step3-capture.md +232 -0
- package/i18n/skills/a2h-batch-ui-align/references/step4-prepare.md +206 -0
- package/i18n/skills/a2h-batch-ui-align/references/step5-convert.md +232 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/android_parse_fast.ts +2005 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/branch_coverage.mjs +155 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/build_conversion_set.mjs +2118 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/databinding_analyzer_design.md +79 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/detect_paradigm.mjs +245 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/draw_coverage.mjs +264 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/export_ui_info.mjs +1805 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/gen_rule_docs.mjs +100 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/generate_pages_json.mjs +612 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/group_pack.mjs +1959 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/icon_coverage.mjs +147 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/image_probe.mjs +405 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/measure_pack.ts +1632 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/phase5_check.mjs +1300 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/shell_contract.mjs +1234 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/state_doc.mjs +417 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/core/cli.ts +134 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/core/i18n.ts +18 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/main.ts +216 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/a11y.ts +615 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/android_immersive.ts +125 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/attr_chain.ts +49 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/block_comment_break.ts +64 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/blur_mirrored.ts +134 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/builder_call_sites.ts +242 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/builder_invokes_callback.ts +136 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/canvas.ts +255 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/color_string.ts +109 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/column_shrink.ts +154 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/constant_coordinate.ts +39 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/container_align.ts +140 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/dialog_backboard.ts +91 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/entry_root_builtin.ts +69 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/entry_route.ts +114 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/event_default_click.ts +179 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/fixed_size_safe_area.ts +103 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/format_string.ts +157 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/framework_dialog.ts +110 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/framework_picker.ts +115 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/hit_test.ts +339 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/image_source.ts +84 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/input_traps.ts +249 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/layout_placement.ts +780 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/lottie_host.ts +145 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/media_content.ts +138 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/media_tint.ts +408 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/offset_in_scroll.ts +163 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/orphan_component.ts +119 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/overlay_binds.ts +56 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/overlay_string.ts +96 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/padding_in_size.ts +179 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/page_reachability.ts +94 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/path_commands_vp.ts +50 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/percent_height_in_scroll.ts +81 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/popup_menu.ts +137 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/r_template_string.ts +37 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/relative_container_height.ts +102 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/request_permission.ts +98 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/resource_as_string.ts +68 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/root_weight.ts +147 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/runtime_traps.ts +440 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/safe_area_clipping.ts +168 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/scroll_align.ts +127 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/scroll_delta.ts +178 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/sdk_api.ts +195 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/shared_chrome.ts +73 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/sheet_blur.ts +95 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/shell_content.ts +198 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/stack_occluding.ts +118 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/state_decorators.ts +73 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/state_name_shadows.ts +93 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/string_quote_leak.ts +73 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/surface_stroke.ts +50 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/swiper_index.ts +65 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/theme_color.ts +184 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/track_getter.ts +132 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/waterflow_sections.ts +231 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/wide_constant_width.ts +53 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/static_check/rules/window_mode.ts +67 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_a11y.test.mjs +598 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_blur.test.mjs +217 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_builder_calls.test.mjs +323 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_fidelity.test.mjs +507 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_input_runtime.test.mjs +514 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_layout_placement.test.mjs +651 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_occlusion_offset_format.test.mjs +372 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_overlay_lottie.test.mjs +199 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_review_fixes.test.mjs +298 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_rules.test.mjs +365 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_scroll_padding_raster.test.mjs +262 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_weight_color.test.mjs +473 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/branch_coverage.test.mjs +116 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/build_conversion_set.test.mjs +693 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/draw_coverage.test.mjs +245 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/export_ui_info.test.mjs +742 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/generate_pages_json.test.mjs +123 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/group_pack.test.mjs +363 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/image_probe.test.mjs +243 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/measure_pack.test.mjs +326 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/occlusion.test.mjs +102 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/phase5_check.test.mjs +356 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/skill_doc_contract.test.mjs +60 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/state_doc.test.mjs +395 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/static_check_registry.test.mjs +122 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/tests/text_color_diff.test.mjs +250 -0
- package/i18n/skills/a2h-batch-ui-align/scripts/text_color_diff.mjs +470 -0
- package/i18n/skills/a2h-coldstart-smoke-gate/SKILL.md +62 -0
- package/i18n/skills/a2h-dashboard-render/SKILL.md +73 -0
- package/i18n/skills/a2h-dashboard-render/references/artifact-contract.jsonc +117 -0
- package/i18n/skills/a2h-dashboard-render/references/artifact-registry-spec.md +67 -0
- package/i18n/skills/a2h-dashboard-render/references/dashboard-guide.md +91 -0
- package/i18n/skills/a2h-dashboard-render/references/dashboard.config.example.json +19 -0
- package/i18n/skills/a2h-dashboard-render/scripts/dashboard.mjs +3245 -0
- package/i18n/skills/a2h-dashboard-render/scripts/device_capture.mjs +2050 -0
- package/i18n/skills/a2h-dashboard-render/test/fixtures/page_capture/expected.json +156 -0
- package/i18n/skills/a2h-dashboard-render/test/fixtures/page_capture/hmos.json +1 -0
- package/i18n/skills/a2h-dashboard-render/test/fixtures/page_capture/list.xml +1 -0
- package/i18n/skills/a2h-dashboard-render/test/test_artifact_contract.mjs +168 -0
- package/i18n/skills/a2h-dashboard-render/test/test_dashboard_architecture.mjs +118 -0
- package/i18n/skills/a2h-dashboard-render/test/test_dashboard_build.mjs +93 -0
- package/i18n/skills/a2h-dashboard-render/test/test_dashboard_i18n.mjs +154 -0
- package/i18n/skills/a2h-dashboard-render/test/test_dashboard_node.mjs +1369 -0
- package/i18n/skills/a2h-dashboard-render/test/test_dashboard_spec_pipeline.mjs +318 -0
- package/i18n/skills/a2h-dashboard-render/test/test_dashboard_ui_pipeline.mjs +81 -0
- package/i18n/skills/a2h-dashboard-render/test/test_device_capture_env.mjs +115 -0
- package/i18n/skills/a2h-dashboard-render/test/test_device_capture_policy.mjs +411 -0
- package/i18n/skills/a2h-dashboard-render/test/test_page_capture.mjs +147 -0
- package/i18n/skills/a2h-dashboard-render/test/test_usage_readers.mjs +512 -0
- package/i18n/skills/a2h-fix-build-errors/SKILL.md +304 -0
- package/i18n/skills/a2h-fix-build-errors/references/arkts-strict-patterns.md +219 -0
- package/i18n/skills/a2h-fix-build-errors/references/rdb-entity-pattern.md +131 -0
- package/i18n/skills/a2h-module-semantic-docs/SKILL.md +265 -0
- package/i18n/skills/a2h-module-semantic-docs/test/golden/module_structure.json +187 -0
- package/i18n/skills/a2h-module-semantic-docs/test/golden/module_understanding.json +351 -0
- package/i18n/skills/a2h-module-semantic-docs/test/golden/module_update_plan.json +495 -0
- package/i18n/skills/a2h-module-semantic-docs/test/golden/project_directory_structure.json +157 -0
- package/i18n/skills/a2h-module-semantic-docs/test/test_scan_and_commit.mjs +388 -0
- package/i18n/skills/a2h-page-specgen/SKILL.md +239 -0
- package/i18n/skills/a2h-page-specgen/references/behavior-ledger.md +1174 -0
- package/i18n/skills/a2h-page-specgen/references/body-language.md +179 -0
- package/i18n/skills/a2h-page-specgen/references/gates.md +329 -0
- package/i18n/skills/a2h-page-specgen/references/page-inventory.md +220 -0
- package/i18n/skills/a2h-page-specgen/references/scenario-authoring.md +274 -0
- package/i18n/skills/a2h-page-specgen/references/spec-example.md +312 -0
- package/i18n/skills/a2h-page-specgen/references/spec-template.md +210 -0
- package/i18n/skills/a2h-page-specgen/scripts/behavior-audit.mjs +2436 -0
- package/i18n/skills/a2h-page-specgen/scripts/behavior-discovery.mjs +1833 -0
- package/i18n/skills/a2h-page-specgen/scripts/behavior-model.mjs +181 -0
- package/i18n/skills/a2h-page-specgen/scripts/behavior-reconcile.mjs +1205 -0
- package/i18n/skills/a2h-page-specgen/scripts/entry-evidence.mjs +1123 -0
- package/i18n/skills/a2h-page-specgen/scripts/facts-build.mjs +1613 -0
- package/i18n/skills/a2h-page-specgen/scripts/footprint.mjs +1650 -0
- package/i18n/skills/a2h-page-specgen/scripts/gate.mjs +864 -0
- package/i18n/skills/a2h-page-specgen/scripts/interactions.mjs +346 -0
- package/i18n/skills/a2h-page-specgen/scripts/inventory.mjs +371 -0
- package/i18n/skills/a2h-page-specgen/scripts/lib/contracts.mjs +155 -0
- package/i18n/skills/a2h-page-specgen/scripts/lib/graph-evidence.mjs +235 -0
- package/i18n/skills/a2h-page-specgen/scripts/lib/hg.mjs +684 -0
- package/i18n/skills/a2h-page-specgen/scripts/lib/homegraph-process.mjs +102 -0
- package/i18n/skills/a2h-page-specgen/scripts/lib/homegraph-query.mjs +161 -0
- package/i18n/skills/a2h-page-specgen/scripts/lib/operation-reviews.mjs +913 -0
- package/i18n/skills/a2h-page-specgen/scripts/lib/prose.mjs +252 -0
- package/i18n/skills/a2h-page-specgen/scripts/lib/reach.mjs +53 -0
- package/i18n/skills/a2h-page-specgen/scripts/lib/semantic-detail.mjs +353 -0
- package/i18n/skills/a2h-page-specgen/scripts/lib/source-text.mjs +497 -0
- package/i18n/skills/a2h-page-specgen/scripts/operation-evidence.mjs +1542 -0
- package/i18n/skills/a2h-page-specgen/scripts/prepare.mjs +864 -0
- package/i18n/skills/a2h-page-specgen/scripts/render.mjs +276 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/acceptance.mjs +897 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/PlainDisplayPage.json +25 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/PlainDisplayPage.prompt.md +373 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/PlainDisplayPage.worker.md +300 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/SilentFailurePage.json +47 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/SilentFailurePage.prompt.md +373 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/SilentFailurePage.worker.md +300 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/UniAppSourcePage.discovery.json +2694 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/UniAppSourcePage.json +726 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/UniAppSourcePage.post-review.json +108 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/UniAppSourcePage.prompt.md +373 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/UniAppSourcePage.review.md +65 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/UniAppSourcePage.worker.md +267 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/ValidatedSearchPage.json +57 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/ValidatedSearchPage.prompt.md +373 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/ValidatedSearchPage.worker.md +300 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/branch-checklist.md +32 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/gate-results.json +22 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/manifest.json +111 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/portability.test.mjs +141 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/review.md +22 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/acceptance/authoring/run.mjs +553 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/android-entry-evidence.test.mjs +585 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/android-operation-evidence.test.mjs +755 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/behavior-audit-group.test.mjs +546 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/behavior-audit-post.test.mjs +655 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/behavior-audit-pre.test.mjs +1234 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/behavior-component-gate.test.mjs +520 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/behavior-discovery.test.mjs +1516 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/behavior-finalize.test.mjs +759 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/behavior-fixtures.mjs +630 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/behavior-model.test.mjs +118 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/behavior-reconcile.test.mjs +798 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/behavior-regression.test.mjs +886 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/contracts.test.mjs +205 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/entry-evidence.test.mjs +475 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/facts.test.mjs +1205 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/finalize.test.mjs +271 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/fixtures/facts/i18n/zh.js.txt +8 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/fixtures/facts/res/values-b+zh+Hans/strings.xml +7 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/fixtures/facts/res/values-zh/strings.xml +8 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/App.vue +1 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/bundle-conflict-record.json +17 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/bundle-record.json +17 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/manifest.json +3 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/pages/list/index.vue +80 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/pages.json +14 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/source-record.json +15 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/src/components/RefreshPanel.vue +15 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/src/composables/useRefresh.ts +50 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/src/pages/help/index.vue +9 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/src/state/store.ts +4 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/fixtures/utg/click_paths.json +28 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/footprint-resolve.test.mjs +1029 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/fsx.test.mjs +32 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/gate-partial.test.mjs +143 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/gate.test.mjs +1121 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/graph-evidence.test.mjs +332 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/helpers.mjs +188 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/hg.test.mjs +549 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/homegraph-process-fixture.mjs +130 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/homegraph-query.test.mjs +288 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/integration.test.mjs +368 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/interactions.test.mjs +348 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/inventory.test.mjs +250 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/keys.test.mjs +776 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/operation-reviews.test.mjs +1002 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/plan-build.test.mjs +1103 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/prepare-homegraph-reproduction.mjs +365 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/prepare-homegraph.test.mjs +569 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/prepare-pipeline.test.mjs +326 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/prompt-tpl.test.mjs +240 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/prose.test.mjs +427 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/protocol-docs.test.mjs +531 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/reach.test.mjs +93 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/recovery-e2e.test.mjs +418 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/recovery.test.mjs +1782 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/render.test.mjs +536 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/review-followup.test.mjs +467 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/semantic-detail.test.mjs +949 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/submit.test.mjs +1239 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/uniapp-operation-evidence.test.mjs +639 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/utg-footprint-contract.test.mjs +274 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/utg-io.test.mjs +90 -0
- package/i18n/skills/a2h-page-specgen/scripts/test/waker-process.test.mjs +1801 -0
- package/i18n/skills/a2h-resource-convert/SKILL.md +375 -0
- package/i18n/skills/a2h-resource-convert/references/code-vector-icon-rules.md +336 -0
- package/i18n/skills/a2h-resource-convert/references/incremental-page-migration.md +272 -0
- package/i18n/skills/a2h-resource-convert/references/lottie-conversion-rules.md +226 -0
- package/i18n/skills/a2h-resource-convert/references/resource-mapping-rules.md +493 -0
- package/i18n/skills/a2h-resource-convert/references/step4-resource-types.md +251 -0
- package/i18n/skills/a2h-resource-convert/references/step7-report-template.md +217 -0
- package/i18n/skills/a2h-resource-convert/scripts/a2h_resource_convert.ts +2596 -0
- package/i18n/skills/a2h-resource-convert/scripts/lottie_hosts.ts +415 -0
- package/i18n/skills/a2h-resource-convert/scripts/tests/docs_only_i18n.test.mjs +44 -0
- package/i18n/skills/a2h-resource-convert/scripts/tests/lottie_hosts.test.mjs +222 -0
- package/i18n/skills/a2h-spec-design-pipeline/SKILL.md +238 -0
- package/i18n/skills/a2h-spec-design-pipeline/references/coding-loop.md +358 -0
- package/i18n/skills/a2h-spec-design-pipeline/references/homegraph-cli.md +307 -0
- package/i18n/skills/a2h-spec-design-pipeline/references/initialization.md +103 -0
- package/i18n/skills/a2h-spec-design-pipeline/references/merge-queue.md +266 -0
- package/i18n/skills/a2h-spec-design-pipeline/references/post-loop.md +23 -0
- package/i18n/skills/a2h-spec-design-pipeline/references/review-loop.md +71 -0
- package/i18n/skills/a2h-spec-design-pipeline/references/scripts.md +55 -0
- package/i18n/skills/a2h-spec-design-pipeline/references/specs.example.json +19 -0
- package/i18n/skills/a2h-spec-design-pipeline/references/state-and-resume.md +246 -0
- package/i18n/skills/a2h-spec-design-pipeline/scripts/plan_groups.ts +752 -0
- package/i18n/skills/a2h-spec-design-pipeline/scripts/test_plan_groups.ts +661 -0
- package/i18n/skills/a2h-spec-generate/SKILL.md +375 -0
- package/i18n/skills/a2h-spec-generate/references/batch-mode.md +215 -0
- package/i18n/skills/a2h-spec-generate/references/delete-blast-radius.md +3 -0
- package/i18n/skills/a2h-spec-generate/references/dispatch-watchdog.md +150 -0
- package/i18n/skills/a2h-spec-generate/references/fusion-task-contract.md +184 -0
- package/i18n/skills/a2h-spec-generate/references/input-formats.md +27 -0
- package/i18n/skills/a2h-spec-generate/references/library-evidence.md +3 -0
- package/i18n/skills/a2h-spec-generate/references/method-discipline.md +64 -0
- package/i18n/skills/a2h-spec-generate/references/optional-gates.json +45 -0
- package/i18n/skills/a2h-spec-generate/references/recall-guide.md +84 -0
- package/i18n/skills/a2h-spec-generate/references/recall-terse.md +3 -0
- package/i18n/skills/a2h-spec-generate/references/recall-uniapp.md +10 -0
- package/i18n/skills/a2h-spec-generate/references/requirement-scope.md +122 -0
- package/i18n/skills/a2h-spec-generate/references/review-checklist.md +22 -0
- package/i18n/skills/a2h-spec-generate/references/spec-sample-complex.md +80 -0
- package/i18n/skills/a2h-spec-generate/references/spec-sample-transfer.md +43 -0
- package/i18n/skills/a2h-spec-generate/references/spec-samples.md +65 -0
- package/i18n/skills/a2h-spec-generate/references/specs.schema.json +85 -0
- package/i18n/skills/a2h-spec-generate/references/synthesis-rules.md +145 -0
- package/i18n/skills/a2h-spec-generate/references/transfer-file.md +5 -0
- package/i18n/skills/a2h-spec-generate/references/transfer-socket.md +5 -0
- package/i18n/skills/a2h-spec-generate/references/worker-rules.md +129 -0
- package/i18n/skills/a2h-spec-generate/scripts/check-fused-spec.mjs +702 -0
- package/i18n/skills/a2h-spec-generate/scripts/check_spec.ts +515 -0
- package/i18n/skills/a2h-spec-generate/scripts/collect-specs.mjs +727 -0
- package/i18n/skills/a2h-spec-generate/scripts/feature-stem.mjs +151 -0
- package/i18n/skills/a2h-spec-generate/scripts/parse_requirements.ts +515 -0
- package/i18n/skills/a2h-spec-generate/scripts/prepare-facts.mjs +313 -0
- package/i18n/skills/a2h-spec-generate/scripts/publish-specs.mjs +354 -0
- package/i18n/skills/a2h-spec-generate/scripts/regroup-by-page.mjs +669 -0
- package/i18n/skills/a2h-spec-generate/scripts/render-tasks.mjs +385 -0
- package/i18n/skills/a2h-spec-generate/scripts/report.mjs +136 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/analysis/graph/build.ts +2217 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/analysis/graph/component-variants.ts +845 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/analysis/names/policy.ts +572 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/analysis/names/traceability.ts +580 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/analysis/req-model/build.ts +1265 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/fusion/area-facts.ts +1057 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/fusion/behavior-seed.ts +565 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/fusion/library-evidence.ts +544 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/fusion/navigation-guard.ts +363 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/fusion/schema.ts +317 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/fusion/selfcheck.ts +707 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/fusion/spec-bindings.ts +436 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/fusion/task-contract.ts +608 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/interaction-analysis/contracts.ts +650 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/interaction-analysis/task-contract.ts +178 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/interaction-analysis/tree-sitter-adapter.ts +923 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/model/finalize.ts +912 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/model/task.ts +279 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/requirement-scope.ts +163 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/source-index/homegraph.ts +1039 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/src/validation/req-text.ts +256 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/fixtures/fusion-run.ts +243 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/fusion-area-facts.test.ts +576 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/fusion-behavior-detectors.test.ts +176 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/fusion-behavior-e2e.test.ts +103 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/fusion-behavior-schema.test.ts +111 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/fusion-behavior-selfcheck.test.ts +307 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/fusion-contract.test.ts +340 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/fusion-finalize.test.ts +1857 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/fusion-navigation-guard.test.ts +262 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/fusion-prepare.test.ts +722 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/fusion-scope.test.ts +339 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/fusion-selfcheck.test.ts +1253 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/fusion-spec.test.ts +608 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/model-scope.test.ts +411 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/model-task-contract.test.ts +300 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/model-v4.test.ts +1061 -0
- package/i18n/skills/a2h-spec-generate/scripts/reqgen/test/uniapp-scanner.test.ts +159 -0
- package/i18n/skills/a2h-spec-generate/template/REQ.txt +22 -0
- package/i18n/skills/a2h-spec-generate/template/REQ.xlsx +0 -0
- package/i18n/skills/a2h-spec-generate/test/check-fused-spec.test.mjs +847 -0
- package/i18n/skills/a2h-spec-generate/test/check-spec.test.ts +415 -0
- package/i18n/skills/a2h-spec-generate/test/collect-specs.test.mjs +808 -0
- package/i18n/skills/a2h-spec-generate/test/feature-stem.test.mjs +157 -0
- package/i18n/skills/a2h-spec-generate/test/fixtures/uniapp-src/src/components/MyCard.vue +9 -0
- package/i18n/skills/a2h-spec-generate/test/fixtures/uniapp-src/src/feature/editor/index.vue +1 -0
- package/i18n/skills/a2h-spec-generate/test/fixtures/uniapp-src/src/pages/detail/index.vue +1 -0
- package/i18n/skills/a2h-spec-generate/test/fixtures/uniapp-src/src/pages/home/index.vue +33 -0
- package/i18n/skills/a2h-spec-generate/test/fixtures/uniapp-src/src/pages/settings/index.vue +1 -0
- package/i18n/skills/a2h-spec-generate/test/fixtures/uniapp-src/src/pages.json +23 -0
- package/i18n/skills/a2h-spec-generate/test/inspect-uniapp.test.mjs +54 -0
- package/i18n/skills/a2h-spec-generate/test/prepare-facts.test.mjs +41 -0
- package/i18n/skills/a2h-spec-generate/test/publish-specs.test.mjs +295 -0
- package/i18n/skills/a2h-spec-generate/test/regroup-by-page.test.mjs +354 -0
- package/i18n/skills/a2h-spec-generate/test/render-tasks.test.mjs +596 -0
- package/i18n/skills/a2h-spec-generate/test/report.test.mjs +47 -0
- package/i18n/skills/a2h-utg-explorer/SKILL.md +126 -0
- package/i18n/skills/a2h-utg-explorer/references/architecture.md +282 -0
- package/i18n/skills/a2h-utg-explorer/scripts/compile_tasks.mjs +908 -0
- package/i18n/skills/a2h-utg-explorer/scripts/final_utg.mjs +446 -0
- package/i18n/skills/a2h-utg-explorer/scripts/hint_check.mjs +147 -0
- package/i18n/skills/a2h-utg-explorer/scripts/hint_source.mjs +119 -0
- package/i18n/skills/a2h-utg-explorer/scripts/hybrid_route_cdp.mjs +376 -0
- package/i18n/skills/a2h-utg-explorer/scripts/recover_b.mjs +550 -0
- package/i18n/skills/a2h-utg-explorer/scripts/recover_d.mjs +647 -0
- package/i18n/skills/a2h-utg-explorer/scripts/seed_recipes.mjs +426 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/attest.test.mjs +66 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/compose_identity.test.mjs +302 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/content_wait.test.mjs +207 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/diagnostics.test.mjs +252 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/direct_launch.test.mjs +130 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/final_utg.test.mjs +135 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/generalization_fixes.test.mjs +252 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/hint_check.test.mjs +129 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/hybrid_route_identity.test.mjs +146 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/interruptions.test.mjs +614 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/launch_bridge.test.mjs +214 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/overflow_prefix.test.mjs +327 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/overlay_identity.test.mjs +204 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/page_identity_tiers.test.mjs +393 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/pager_navigation.test.mjs +119 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/panel_routes.test.mjs +208 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/pipeline.test.mjs +240 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/recover_b.test.mjs +173 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/recover_d.test.mjs +280 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/robustness_fixes.test.mjs +345 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/runner_capabilities.test.mjs +194 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/seed_recipes.test.mjs +261 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/semantics.test.mjs +102 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/state_ambiguity.test.mjs +92 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/twin_opener.test.mjs +119 -0
- package/i18n/skills/a2h-utg-explorer/scripts/tests/variant_strings.test.mjs +63 -0
- package/i18n/skills/a2h-utg-explorer/scripts/utg_explorer/diagnostics.mjs +196 -0
- package/i18n/skills/a2h-utg-explorer/scripts/utg_explorer/hybrid_route.mjs +140 -0
- package/i18n/skills/a2h-utg-explorer/scripts/utg_explorer/semantics.mjs +1562 -0
- package/i18n/skills/a2h-utg-explorer/scripts/utg_explorer/state_phase.mjs +47 -0
- package/i18n/skills/a2h-utg-explorer/scripts/utg_explorer/task_runner.mjs +2714 -0
- package/i18n/skills/a2h-utg-static/SKILL.md +372 -0
- package/i18n/skills/a2h-utg-static/references/ui-elements-static-utg-schema.md +248 -0
- package/i18n/skills/a2h-utg-static/references/view-interactions.md +215 -0
- package/i18n/skills/a2h-utg-static/scripts/assemble.mjs +2190 -0
- package/i18n/skills/a2h-utg-static/scripts/audit.mjs +268 -0
- package/i18n/skills/a2h-utg-static/scripts/click_paths.mjs +720 -0
- package/i18n/skills/a2h-utg-static/scripts/compose_body_text.mjs +250 -0
- package/i18n/skills/a2h-utg-static/scripts/compose_titles.mjs +374 -0
- package/i18n/skills/a2h-utg-static/scripts/compose_widgets.mjs +498 -0
- package/i18n/skills/a2h-utg-static/scripts/data_model.mjs +590 -0
- package/i18n/skills/a2h-utg-static/scripts/data_producers.mjs +431 -0
- package/i18n/skills/a2h-utg-static/scripts/fragment_nav.mjs +1137 -0
- package/i18n/skills/a2h-utg-static/scripts/hybrid_scope.mjs +705 -0
- package/i18n/skills/a2h-utg-static/scripts/interaction_sites.mjs +267 -0
- package/i18n/skills/a2h-utg-static/scripts/label_resolve.mjs +958 -0
- package/i18n/skills/a2h-utg-static/scripts/lib/hybrid-provenance.mjs +201 -0
- package/i18n/skills/a2h-utg-static/scripts/lib/uniapp-routes.mjs +195 -0
- package/i18n/skills/a2h-utg-static/scripts/nl_hints.mjs +545 -0
- package/i18n/skills/a2h-utg-static/scripts/presenter_nav.mjs +490 -0
- package/i18n/skills/a2h-utg-static/scripts/static_prior.mjs +956 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/regression_matrix.mjs +1261 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_callee_string_default.mjs +30 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_chrome_tokens.mjs +60 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_commented_out_trigger.mjs +111 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_compose_res_text.mjs +125 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_compose_vm_nav.mjs +289 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_data_model.mjs +120 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_data_producers.mjs +113 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_disabled_guard.mjs +42 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_drawer_panel_gesture.mjs +140 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_fresh_branch_guard.mjs +49 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_hint_language.mjs +136 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_hybrid_bundle_attribution.mjs +74 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_hybrid_bundled_pages.mjs +181 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_hybrid_provenance.mjs +150 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_hybrid_scope.mjs +457 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_hybrid_title_renders.mjs +118 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_label_accessor_forms.mjs +187 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_label_source.mjs +70 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_launch_intent_guard.mjs +67 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_login_interceptor.mjs +368 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_mode_and_cb_param.mjs +172 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_module_strings.mjs +78 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_nl_hint_grammar.mjs +42 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_nl_hints_gate.mjs +85 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_nl_hints_off_path.mjs +67 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_non_gesture_step_flag.mjs +62 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_preference_widgets.mjs +48 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_read_text_crlf.mjs +41 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_sealed_dialog_state.mjs +148 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_state_specific_hop.mjs +130 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_synthetic_label_identity.mjs +51 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_template_title.mjs +61 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_ui_elements_flow_filter.mjs +110 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_uniapp_data_table.mjs +340 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_uniapp_relative_url.mjs +125 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_uniapp_routes.mjs +161 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_uniapp_source.mjs +330 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_utg_specgen_boundary.mjs +45 -0
- package/i18n/skills/a2h-utg-static/scripts/tests/test_viewpage_nav.mjs +340 -0
- package/i18n/skills/a2h-utg-static/scripts/uniapp_nav.mjs +1394 -0
- package/i18n/skills/a2h-utg-static/scripts/uniapp_widgets.mjs +244 -0
- package/i18n/skills/a2h-utg-static/tools/convert_static_utg_to_ui_elements.ts +769 -0
- package/index.js +1643 -0
- package/package.json +18 -168
- package/platforms/deveco/agents/code-reviewer.frontmatter.md +1 -1
- package/platforms/opencode/agents/code-reviewer.frontmatter.md +1 -1
- package/plugin.jsonc +12 -0
- package/skills/a2h-app-migrate/SKILL.md +31 -12
- package/skills/a2h-app-migrate/references/config.example.json +1 -0
- package/skills/a2h-app-migrate/references/feature-scope.md +121 -0
- package/skills/a2h-app-migrate/references/stage-map.md +4 -2
- package/skills/a2h-app-migrate/references/workflow.yaml +427 -103
- package/skills/a2h-app-migrate/scripts/android_index.mjs +35 -8
- package/skills/a2h-app-migrate/scripts/check_module_docs_done.mjs +39 -1
- package/skills/a2h-app-migrate/scripts/check_spec_gen_done.mjs +78 -6
- package/skills/a2h-app-migrate/scripts/check_spec_pipeline_done.mjs +144 -9
- package/skills/a2h-app-migrate/scripts/check_ui_batch_done.mjs +14 -1
- package/skills/a2h-app-migrate/scripts/check_utg_static_done.mjs +46 -5
- package/skills/a2h-app-migrate/scripts/diagnose.mjs +162 -0
- package/skills/a2h-app-migrate/scripts/env_preflight.mjs +178 -44
- package/skills/a2h-app-migrate/scripts/feature_scope.mjs +347 -0
- package/skills/a2h-app-migrate/scripts/human_review_gate.mjs +81 -11
- package/skills/a2h-app-migrate/scripts/infer_android_root.mjs +17 -1
- package/skills/a2h-app-migrate/scripts/ledger.mjs +80 -10
- package/skills/a2h-app-migrate/scripts/migration_manifest.mjs +351 -0
- package/skills/a2h-app-migrate/scripts/paths_preflight.mjs +9 -23
- package/skills/a2h-app-migrate/scripts/resume_plan.mjs +72 -12
- package/skills/a2h-app-migrate/scripts/reuse_static_utg.mjs +33 -1
- package/skills/a2h-app-migrate/scripts/run_dir.mjs +137 -41
- package/skills/a2h-app-migrate/scripts/scope_model.mjs +255 -0
- package/skills/a2h-app-migrate/scripts/scope_report.mjs +128 -0
- package/skills/a2h-app-migrate/scripts/source_fp.mjs +120 -0
- package/skills/a2h-app-migrate/scripts/spec_layout.mjs +2 -0
- package/skills/a2h-app-migrate/scripts/validate_workflow.mjs +38 -0
- package/skills/a2h-app-migrate/test/test_android_index.mjs +143 -0
- package/skills/a2h-app-migrate/test/test_apk_preflight.mjs +63 -0
- package/skills/a2h-app-migrate/test/test_arch_done.mjs +54 -0
- package/skills/a2h-app-migrate/test/test_build_fixer_contract.mjs +98 -0
- package/skills/a2h-app-migrate/test/test_config_example.mjs +42 -0
- package/skills/a2h-app-migrate/test/test_devecocli_docs_preflight.mjs +32 -0
- package/skills/a2h-app-migrate/test/test_ensure_utg_snapshot.mjs +147 -0
- package/skills/a2h-app-migrate/test/test_entry_guards.mjs +102 -0
- package/skills/a2h-app-migrate/test/test_env_requirements.mjs +713 -0
- package/skills/a2h-app-migrate/test/test_feature_scope.mjs +217 -0
- package/skills/a2h-app-migrate/test/test_finalize.mjs +117 -0
- package/skills/a2h-app-migrate/test/test_gate_checkpoint.mjs +146 -0
- package/skills/a2h-app-migrate/test/test_hmos_fingerprint.mjs +68 -0
- package/skills/a2h-app-migrate/test/test_i18n_engine_mirror.mjs +51 -0
- package/skills/a2h-app-migrate/test/test_image_probe.mjs +120 -0
- package/skills/a2h-app-migrate/test/test_incremental_acceptance.mjs +145 -0
- package/skills/a2h-app-migrate/test/test_incremental_phase2.mjs +223 -0
- package/skills/a2h-app-migrate/test/test_incremental_phase2_acceptance.mjs +157 -0
- package/skills/a2h-app-migrate/test/test_incremental_profile.mjs +84 -0
- package/skills/a2h-app-migrate/test/test_infer_android_root.mjs +101 -0
- package/skills/a2h-app-migrate/test/test_interaction.mjs +122 -0
- package/skills/a2h-app-migrate/test/test_json_io.mjs +32 -0
- package/skills/a2h-app-migrate/test/test_leaf_questions.mjs +150 -0
- package/skills/a2h-app-migrate/test/test_migration_manifest.mjs +225 -0
- package/skills/a2h-app-migrate/test/test_module_docs_done.mjs +86 -0
- package/skills/a2h-app-migrate/test/test_parse_args.mjs +69 -0
- package/skills/a2h-app-migrate/test/test_preflight_report.mjs +93 -0
- package/skills/a2h-app-migrate/test/test_resume_plan.mjs +271 -0
- package/skills/a2h-app-migrate/test/test_resume_summary.mjs +222 -0
- package/skills/a2h-app-migrate/test/test_reuse_static_utg.mjs +136 -0
- package/skills/a2h-app-migrate/test/test_run_dir.mjs +552 -0
- package/skills/a2h-app-migrate/test/test_scope_model.mjs +172 -0
- package/skills/a2h-app-migrate/test/test_skill_doc.mjs +144 -0
- package/skills/a2h-app-migrate/test/test_spec_engine_acceptance.mjs +94 -0
- package/skills/a2h-app-migrate/test/test_spec_engine_contract.mjs +155 -0
- package/skills/a2h-app-migrate/test/test_spec_gen_done.mjs +263 -0
- package/skills/a2h-app-migrate/test/test_spec_gen_gate.mjs +165 -0
- package/skills/a2h-app-migrate/test/test_spec_pipeline_done.mjs +511 -0
- package/skills/a2h-app-migrate/test/test_specs_json_preflight.mjs +76 -0
- package/skills/a2h-app-migrate/test/test_ui_batch_capture_audit.mjs +106 -0
- package/skills/a2h-app-migrate/test/test_ui_batch_done.mjs +65 -0
- package/skills/a2h-app-migrate/test/test_ui_batch_gate.mjs +226 -0
- package/skills/a2h-app-migrate/test/test_uniapp_preflight.mjs +83 -0
- package/skills/a2h-app-migrate/test/test_user_facing_progress.mjs +43 -0
- package/skills/a2h-app-migrate/test/test_utg_dirs.mjs +41 -0
- package/skills/a2h-app-migrate/test/test_utg_static_done.mjs +214 -0
- package/skills/a2h-app-migrate/test/test_validate_races.mjs +50 -0
- package/skills/a2h-app-migrate/test/test_validate_workflow_bilingual.mjs +87 -0
- package/skills/a2h-arch-generate/SKILL.md +20 -17
- package/skills/a2h-arch-generate/references/database-schema-recovery.md +2 -2
- package/skills/a2h-arch-generate/references/harmony-project-inspection.md +8 -8
- package/skills/a2h-arch-generate/references/homegraph-workflow.md +25 -14
- package/skills/a2h-arch-generate/references/module-evidence-subagent.md +2 -2
- package/skills/a2h-arch-generate/references/source-baseline.md +4 -4
- package/skills/a2h-arch-generate/scripts/cleanup_intermediates.mjs +34 -3
- package/skills/a2h-arch-generate/scripts/create_project.mjs +24 -1
- package/skills/a2h-arch-generate/scripts/generate_source_baseline.mjs +35 -46
- package/skills/a2h-arch-generate/scripts/inspect_and_route.mjs +29 -5
- package/skills/a2h-arch-generate/scripts/inspect_harmony_target.mjs +33 -40
- package/skills/a2h-arch-generate/scripts/module_create/generate.mjs +2 -3
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/android_source/app/build.gradle +11 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/android_source/app/src/main/AndroidManifest.xml +12 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/android_source/app/src/main/java/com/example/notes/MainActivity.kt +8 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/android_source/app/src/main/java/com/example/notes/NotesStore.kt +17 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/android_source/build.gradle +3 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/android_source/settings.gradle +1 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/harmony_target/AppScope/app.json5 +8 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/harmony_target/build-profile.json5 +14 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/harmony_target/common/utils/build-profile.json5 +7 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/harmony_target/common/utils/oh-package.json5 +1 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/harmony_target/common/utils/src/main/ets/utils/Format.ets +3 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/harmony_target/features/home/build-profile.json5 +7 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/harmony_target/features/home/oh-package.json5 +1 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/harmony_target/features/home/src/main/ets/pages/Home.ets +3 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/harmony_target/features/sync/build-profile.json5 +7 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/harmony_target/features/sync/oh-package.json5 +1 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/harmony_target/features/sync/src/main/ets/engine/SyncEngine.ets +3 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/harmony_target/hvigorfile.ts +1 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/harmony_target/oh-package.json5 +1 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/harmony_target/products/app/build-profile.json5 +7 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/harmony_target/products/app/oh-package.json5 +9 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/harmony_target/products/app/src/main/ets/pages/Index.ets +7 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/uniapp_source/App.vue +10 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/uniapp_source/manifest.json +6 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/uniapp_source/pages/index/index.vue +16 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/fixtures/uniapp_source/pages.json +5 -0
- package/skills/a2h-arch-generate/scripts/tests/e2e/run_e2e.mjs +548 -0
- package/skills/a2h-arch-generate/scripts/tests/run_tests.mjs +1260 -0
- package/skills/a2h-arch-generate/scripts/tests/test_cleanup.mjs +208 -0
- package/skills/a2h-arch-generate/scripts/tests/test_console_encoding.mjs +52 -0
- package/skills/a2h-arch-generate/scripts/tests/test_git_root.mjs +34 -0
- package/skills/a2h-arch-generate/scripts/tests/test_module_templates.mjs +70 -0
- package/skills/a2h-arch-generate/scripts/tests/test_router.mjs +164 -0
- package/skills/a2h-arch-generate/scripts/validate_architecture_docs.mjs +2 -5
- package/skills/a2h-arch-generate/scripts/validate_incremental_docs.mjs +4 -2
- package/skills/a2h-arkts-logic-coder/SKILL.md +163 -15
- package/skills/a2h-arkts-logic-coder/references/ISSUES.md +3 -1
- package/skills/a2h-arkts-logic-coder/references/code-generation.md +120 -1
- package/skills/a2h-arkts-logic-coder/references/spec-design.md +46 -11
- package/skills/a2h-arkts-logic-coder/scripts/design/validate_spec_design_output.mjs +22 -25
- package/skills/a2h-arkts-logic-coder/scripts/state_doc.mjs +873 -0
- package/skills/a2h-arkts-logic-coder/test/golden/inspect_happy.json +20 -0
- package/skills/a2h-arkts-logic-coder/test/golden/move_design.md +18 -0
- package/skills/a2h-arkts-logic-coder/test/golden/move_design_crlf.md +18 -0
- package/skills/a2h-arkts-logic-coder/test/golden/move_spec.md +7 -0
- package/skills/a2h-arkts-logic-coder/test/golden/resolve_cases.json +36 -0
- package/skills/a2h-arkts-logic-coder/test/golden/validate_issue_file.md +12 -0
- package/skills/a2h-arkts-logic-coder/test/golden/validate_issues.json +57 -0
- package/skills/a2h-arkts-logic-coder/test/test_spec_design_scripts.mjs +547 -0
- package/skills/a2h-arkts-logic-coder/test/test_state_doc.mjs +596 -0
- package/skills/a2h-batch-ui-align/SKILL.md +78 -26
- package/skills/a2h-batch-ui-align/assets/ColorUtils.ets +16 -2
- package/skills/a2h-batch-ui-align/references/cards/alignment.md +5 -1
- package/skills/a2h-batch-ui-align/references/cards/geometry.md +6 -1
- package/skills/a2h-batch-ui-align/references/cards/interaction.md +2 -1
- package/skills/a2h-batch-ui-align/references/cards/resources.md +9 -3
- package/skills/a2h-batch-ui-align/references/cards/widgets.md +27 -3
- package/skills/a2h-batch-ui-align/references/cards/window.md +2 -1
- package/skills/a2h-batch-ui-align/references/checker-rules.md +301 -13
- package/skills/a2h-batch-ui-align/references/conversion-procedure.md +53 -13
- package/skills/a2h-batch-ui-align/references/host-dispatch.md +2 -0
- package/skills/a2h-batch-ui-align/references/incremental-scope.md +28 -9
- package/skills/a2h-batch-ui-align/references/mappings/android-to-harmonyOS-ui-atomic-component-mapping-reference.md +14 -9
- package/skills/a2h-batch-ui-align/references/mappings/android-to-harmonyOS-ui-interaction-mapping-reference.md +2 -2
- package/skills/a2h-batch-ui-align/references/mappings/android-to-harmonyOS-ui-layout-mapping-reference.md +28 -1
- package/skills/a2h-batch-ui-align/references/state-mgmt/_/350/243/205/351/245/260/345/231/250/351/200/237/346/237/245.md +30 -0
- package/skills/a2h-batch-ui-align/references/step3-capture.md +25 -6
- package/skills/a2h-batch-ui-align/references/step4-prepare.md +7 -2
- package/skills/a2h-batch-ui-align/references/step5-convert.md +33 -9
- package/skills/a2h-batch-ui-align/scripts/android_parse_fast.ts +6 -7
- package/skills/a2h-batch-ui-align/scripts/branch_coverage.mjs +155 -0
- package/skills/a2h-batch-ui-align/scripts/build_conversion_set.mjs +463 -22
- package/skills/a2h-batch-ui-align/scripts/capture_audit.mjs +474 -0
- package/skills/a2h-batch-ui-align/scripts/capture_fast.mjs +665 -0
- package/skills/a2h-batch-ui-align/scripts/capture_verify.mjs +552 -0
- package/skills/a2h-batch-ui-align/scripts/detach.mjs +5 -2
- package/skills/a2h-batch-ui-align/scripts/draw_coverage.mjs +264 -0
- package/skills/a2h-batch-ui-align/scripts/evidence_gate.mjs +263 -0
- package/skills/a2h-batch-ui-align/scripts/export_ui_info.mjs +20 -3
- package/skills/a2h-batch-ui-align/scripts/generate_pages_json.mjs +4 -5
- package/skills/a2h-batch-ui-align/scripts/group_pack.mjs +220 -35
- package/skills/a2h-batch-ui-align/scripts/group_queue.mjs +517 -41
- package/skills/a2h-batch-ui-align/scripts/icon_coverage.mjs +147 -0
- package/skills/a2h-batch-ui-align/scripts/image_probe.mjs +231 -54
- package/skills/a2h-batch-ui-align/scripts/list_existing.mjs +141 -0
- package/skills/a2h-batch-ui-align/scripts/measure_pack.ts +239 -14
- package/skills/a2h-batch-ui-align/scripts/page_gap.mjs +210 -0
- package/skills/a2h-batch-ui-align/scripts/phase5_check.mjs +98 -11
- package/skills/a2h-batch-ui-align/scripts/progress_identity.mjs +208 -0
- package/skills/a2h-batch-ui-align/scripts/scroll_verdict.mjs +62 -0
- package/skills/a2h-batch-ui-align/scripts/shell_contract.mjs +118 -4
- package/skills/a2h-batch-ui-align/scripts/shell_requests.mjs +273 -0
- package/skills/a2h-batch-ui-align/scripts/state_doc.mjs +9 -4
- package/skills/a2h-batch-ui-align/scripts/static_check/core/android.ts +231 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/core/baseline.ts +79 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/core/i18n.ts +1 -5
- package/skills/a2h-batch-ui-align/scripts/static_check/core/parse.ts +90 -2
- package/skills/a2h-batch-ui-align/scripts/static_check/core/scan.ts +44 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/main.ts +61 -12
- package/skills/a2h-batch-ui-align/scripts/static_check/registry.ts +32 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/a11y.ts +3 -17
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/android_immersive.ts +3 -3
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/attr_chain.ts +1 -19
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/blur_mirrored.ts +2 -2
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/builder_invokes_callback.ts +84 -19
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/color_string.ts +11 -4
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/constant_coordinate.ts +2 -2
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/dialog_backboard.ts +91 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/event_default_click.ts +179 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/framework_dialog.ts +110 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/framework_picker.ts +5 -5
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/hit_test.ts +339 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/image_source.ts +84 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/input_traps.ts +249 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/layout_placement.ts +234 -5
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/lottie_host.ts +145 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/media_content.ts +2 -2
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/media_tint.ts +110 -12
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/overlay_binds.ts +56 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/overlay_string.ts +96 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/padding_in_size.ts +179 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/percent_height_in_scroll.ts +3 -2
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/popup_menu.ts +81 -8
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/relative_container_height.ts +102 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/root_weight.ts +54 -4
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/runtime_traps.ts +440 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/scroll_align.ts +75 -23
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/scroll_delta.ts +178 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/swiper_index.ts +65 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/theme_color.ts +184 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/waterflow_sections.ts +231 -0
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/wide_constant_width.ts +4 -4
- package/skills/a2h-batch-ui-align/scripts/static_check/rules/window_mode.ts +2 -3
- package/skills/a2h-batch-ui-align/scripts/static_check/scan_file.ts +30 -2
- package/skills/a2h-batch-ui-align/scripts/tests/agent_cli.test.mjs +231 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_a11y.test.mjs +598 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_align_tint.test.mjs +312 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_baseline.test.mjs +129 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_blur.test.mjs +217 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_builder_calls.test.mjs +323 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_canvas_pct.test.mjs +312 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_coolmall_runtime2.test.mjs +697 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_fidelity.test.mjs +507 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_hit_test.test.mjs +298 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_input_runtime.test.mjs +514 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_layout_placement.test.mjs +651 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_occlusion_offset_format.test.mjs +372 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_overlay_lottie.test.mjs +199 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_review_fixes.test.mjs +298 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_rule_smoke.test.mjs +269 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_rules.test.mjs +365 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_runtime_api.test.mjs +346 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_scroll_padding_raster.test.mjs +262 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_scroll_safearea.test.mjs +742 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_shell.test.mjs +91 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_theme.test.mjs +86 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_theme_runtime.test.mjs +95 -0
- package/skills/a2h-batch-ui-align/scripts/tests/arkts_static_check_weight_color.test.mjs +473 -0
- package/skills/a2h-batch-ui-align/scripts/tests/branch_coverage.test.mjs +116 -0
- package/skills/a2h-batch-ui-align/scripts/tests/build_conversion_set.test.mjs +693 -0
- package/skills/a2h-batch-ui-align/scripts/tests/build_conversion_set_scope.test.mjs +291 -0
- package/skills/a2h-batch-ui-align/scripts/tests/capture_audit.test.mjs +179 -0
- package/skills/a2h-batch-ui-align/scripts/tests/capture_fast.test.mjs +56 -0
- package/skills/a2h-batch-ui-align/scripts/tests/capture_gate.test.mjs +197 -0
- package/skills/a2h-batch-ui-align/scripts/tests/capture_review_fixes.test.mjs +322 -0
- package/skills/a2h-batch-ui-align/scripts/tests/color_utils_asset.test.mjs +93 -0
- package/skills/a2h-batch-ui-align/scripts/tests/detect_paradigm.test.mjs +260 -0
- package/skills/a2h-batch-ui-align/scripts/tests/draw_coverage.test.mjs +244 -0
- package/skills/a2h-batch-ui-align/scripts/tests/evidence_gate.test.mjs +435 -0
- package/skills/a2h-batch-ui-align/scripts/tests/export_scroll_states.test.mjs +31 -0
- package/skills/a2h-batch-ui-align/scripts/tests/export_ui_info.test.mjs +742 -0
- package/skills/a2h-batch-ui-align/scripts/tests/fixtures/icon_drift_search_sheet/SearchMenuDialog.buggy.ets +95 -0
- package/skills/a2h-batch-ui-align/scripts/tests/fixtures/icon_drift_search_sheet/page_0002_SearchMenuFragment/meta.json +21 -0
- package/skills/a2h-batch-ui-align/scripts/tests/fixtures/icon_drift_search_sheet/page_0002_SearchMenuFragment/screenshot.png +0 -0
- package/skills/a2h-batch-ui-align/scripts/tests/fixtures/icon_drift_search_sheet/page_0002_SearchMenuFragment/view.xml +35 -0
- package/skills/a2h-batch-ui-align/scripts/tests/generate_pages_json.test.mjs +123 -0
- package/skills/a2h-batch-ui-align/scripts/tests/group_commit.test.mjs +126 -0
- package/skills/a2h-batch-ui-align/scripts/tests/group_pack.test.mjs +363 -0
- package/skills/a2h-batch-ui-align/scripts/tests/group_pack_evidence.test.mjs +95 -0
- package/skills/a2h-batch-ui-align/scripts/tests/group_queue.test.mjs +1782 -0
- package/skills/a2h-batch-ui-align/scripts/tests/group_watch.test.mjs +215 -0
- package/skills/a2h-batch-ui-align/scripts/tests/harmony_index.test.mjs +95 -0
- package/skills/a2h-batch-ui-align/scripts/tests/host_env.test.mjs +115 -0
- package/skills/a2h-batch-ui-align/scripts/tests/icon_coverage.test.mjs +314 -0
- package/skills/a2h-batch-ui-align/scripts/tests/image_probe.test.mjs +243 -0
- package/skills/a2h-batch-ui-align/scripts/tests/list_existing.test.mjs +157 -0
- package/skills/a2h-batch-ui-align/scripts/tests/measure_pack.test.mjs +326 -0
- package/skills/a2h-batch-ui-align/scripts/tests/occlusion.test.mjs +102 -0
- package/skills/a2h-batch-ui-align/scripts/tests/page_gap.test.mjs +115 -0
- package/skills/a2h-batch-ui-align/scripts/tests/phase5_check.test.mjs +356 -0
- package/skills/a2h-batch-ui-align/scripts/tests/progress_identity.test.mjs +174 -0
- package/skills/a2h-batch-ui-align/scripts/tests/shell_contract.test.mjs +302 -0
- package/skills/a2h-batch-ui-align/scripts/tests/shell_requests.test.mjs +158 -0
- package/skills/a2h-batch-ui-align/scripts/tests/skill_doc_contract.test.mjs +60 -0
- package/skills/a2h-batch-ui-align/scripts/tests/state_doc.test.mjs +395 -0
- package/skills/a2h-batch-ui-align/scripts/tests/static_check_registry.test.mjs +122 -0
- package/skills/a2h-batch-ui-align/scripts/tests/test_bfs_exit.ts +49 -0
- package/skills/a2h-batch-ui-align/scripts/tests/text_color_diff.test.mjs +250 -0
- package/skills/a2h-coldstart-smoke-gate/SKILL.md +7 -4
- package/skills/a2h-dashboard-render/scripts/dashboard.mjs +12 -14
- package/skills/a2h-dashboard-render/scripts/device_capture.mjs +29 -30
- package/skills/a2h-dashboard-render/test/fixtures/page_capture/broken.xml +1 -0
- package/skills/a2h-dashboard-render/test/fixtures/page_capture/expected.json +156 -0
- package/skills/a2h-dashboard-render/test/fixtures/page_capture/hmos.json +1 -0
- package/skills/a2h-dashboard-render/test/fixtures/page_capture/list.xml +1 -0
- package/skills/a2h-dashboard-render/test/fixtures/page_capture/nested_scroll.xml +1 -0
- package/skills/a2h-dashboard-render/test/test_artifact_contract.mjs +168 -0
- package/skills/a2h-dashboard-render/test/test_cli_check_registry.mjs +99 -0
- package/skills/a2h-dashboard-render/test/test_dashboard_architecture.mjs +118 -0
- package/skills/a2h-dashboard-render/test/test_dashboard_build.mjs +93 -0
- package/skills/a2h-dashboard-render/test/test_dashboard_i18n.mjs +203 -0
- package/skills/a2h-dashboard-render/test/test_dashboard_node.mjs +1369 -0
- package/skills/a2h-dashboard-render/test/test_dashboard_spec_pipeline.mjs +318 -0
- package/skills/a2h-dashboard-render/test/test_dashboard_ui_pipeline.mjs +81 -0
- package/skills/a2h-dashboard-render/test/test_device_capture_env.mjs +115 -0
- package/skills/a2h-dashboard-render/test/test_device_capture_policy.mjs +411 -0
- package/skills/a2h-dashboard-render/test/test_device_locale_dialogs.mjs +17 -0
- package/skills/a2h-dashboard-render/test/test_page_capture.mjs +147 -0
- package/skills/a2h-dashboard-render/test/test_usage_readers.mjs +512 -0
- package/skills/a2h-module-semantic-docs/SKILL.md +51 -13
- package/skills/a2h-module-semantic-docs/scripts/scan_modules.mjs +66 -11
- package/skills/a2h-module-semantic-docs/test/golden/module_structure.json +187 -0
- package/skills/a2h-module-semantic-docs/test/golden/module_understanding.json +351 -0
- package/skills/a2h-module-semantic-docs/test/golden/module_update_plan.json +495 -0
- package/skills/a2h-module-semantic-docs/test/golden/project_directory_structure.json +157 -0
- package/skills/a2h-module-semantic-docs/test/test_incremental_fingerprint.mjs +94 -0
- package/skills/a2h-module-semantic-docs/test/test_scan_and_commit.mjs +388 -0
- package/skills/a2h-page-specgen/SKILL.md +240 -0
- package/skills/a2h-page-specgen/references/behavior-ledger.md +1170 -0
- package/skills/a2h-page-specgen/references/body-language.md +179 -0
- package/skills/a2h-page-specgen/references/evidence.md +105 -0
- package/skills/a2h-page-specgen/references/execution-model.md +364 -0
- package/skills/a2h-page-specgen/references/footprint-and-grouping.md +255 -0
- package/skills/a2h-page-specgen/references/gates.md +323 -0
- package/skills/a2h-page-specgen/references/page-inventory.md +220 -0
- package/skills/a2h-page-specgen/references/scenario-authoring.md +272 -0
- package/skills/a2h-page-specgen/references/spec-example.md +312 -0
- package/skills/a2h-page-specgen/references/spec-template.md +210 -0
- package/skills/a2h-page-specgen/scripts/behavior-audit.mjs +2436 -0
- package/skills/a2h-page-specgen/scripts/behavior-discovery.mjs +1833 -0
- package/skills/a2h-page-specgen/scripts/behavior-model.mjs +181 -0
- package/skills/a2h-page-specgen/scripts/behavior-reconcile.mjs +1205 -0
- package/skills/a2h-page-specgen/scripts/dispatch.mjs +212 -0
- package/skills/a2h-page-specgen/scripts/entry-evidence.mjs +1123 -0
- package/skills/a2h-page-specgen/scripts/facts-build.mjs +1613 -0
- package/skills/a2h-page-specgen/scripts/finalize.mjs +825 -0
- package/skills/a2h-page-specgen/scripts/footprint.mjs +1650 -0
- package/skills/a2h-page-specgen/scripts/gate.mjs +848 -0
- package/skills/a2h-page-specgen/scripts/interactions.mjs +344 -0
- package/skills/a2h-page-specgen/scripts/inventory.mjs +371 -0
- package/skills/a2h-page-specgen/scripts/lib/contracts.mjs +155 -0
- package/skills/a2h-page-specgen/scripts/lib/deps-source.mjs +399 -0
- package/skills/a2h-page-specgen/scripts/lib/draft-store.mjs +229 -0
- package/skills/a2h-page-specgen/scripts/lib/footprint-roles.mjs +278 -0
- package/skills/a2h-page-specgen/scripts/lib/fsx.mjs +79 -0
- package/skills/a2h-page-specgen/scripts/lib/graph-evidence.mjs +235 -0
- package/skills/a2h-page-specgen/scripts/lib/hg.mjs +683 -0
- package/skills/a2h-page-specgen/scripts/lib/homegraph-process.mjs +102 -0
- package/skills/a2h-page-specgen/scripts/lib/homegraph-query.mjs +161 -0
- package/skills/a2h-page-specgen/scripts/lib/ledger.mjs +478 -0
- package/skills/a2h-page-specgen/scripts/lib/main-module.mjs +24 -0
- package/skills/a2h-page-specgen/scripts/lib/operation-reviews.mjs +913 -0
- package/skills/a2h-page-specgen/scripts/lib/prose.mjs +238 -0
- package/skills/a2h-page-specgen/scripts/lib/reach.mjs +53 -0
- package/skills/a2h-page-specgen/scripts/lib/recovery-policy.mjs +28 -0
- package/skills/a2h-page-specgen/scripts/lib/scope.mjs +355 -0
- package/skills/a2h-page-specgen/scripts/lib/semantic-detail.mjs +353 -0
- package/skills/a2h-page-specgen/scripts/lib/source-text.mjs +497 -0
- package/skills/a2h-page-specgen/scripts/lib/symbols.mjs +125 -0
- package/skills/a2h-page-specgen/scripts/lib/utg-io.mjs +110 -0
- package/skills/a2h-page-specgen/scripts/lib/waker-event-store.mjs +658 -0
- package/skills/a2h-page-specgen/scripts/operation-evidence.mjs +1542 -0
- package/skills/a2h-page-specgen/scripts/prepare.mjs +840 -0
- package/skills/a2h-page-specgen/scripts/render.mjs +294 -0
- package/skills/a2h-page-specgen/scripts/report.mjs +340 -0
- package/skills/a2h-page-specgen/scripts/submission.mjs +697 -0
- package/skills/a2h-page-specgen/scripts/submit.mjs +85 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/README.md +77 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/acceptance.mjs +871 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/PlainDisplayPage.java +15 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/PlainDisplayPage.json +26 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/PlainDisplayPage.prompt.md +347 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/PlainDisplayPage.worker.md +298 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/SilentFailurePage.java +36 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/SilentFailurePage.json +43 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/SilentFailurePage.prompt.md +347 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/SilentFailurePage.worker.md +298 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/UniAppSourcePage.discovery.json +2694 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/UniAppSourcePage.json +726 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/UniAppSourcePage.post-review.json +108 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/UniAppSourcePage.prompt.md +347 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/UniAppSourcePage.review.md +65 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/UniAppSourcePage.worker.md +265 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/ValidatedSearchPage.java +47 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/ValidatedSearchPage.json +54 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/ValidatedSearchPage.prompt.md +347 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/ValidatedSearchPage.worker.md +298 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/branch-checklist.md +32 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/gate-results.json +22 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/manifest.json +111 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/portability.test.mjs +141 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/review.md +22 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/authoring/run.mjs +515 -0
- package/skills/a2h-page-specgen/scripts/test/acceptance/cases.example.json +57 -0
- package/skills/a2h-page-specgen/scripts/test/android-entry-evidence.test.mjs +585 -0
- package/skills/a2h-page-specgen/scripts/test/android-operation-evidence.test.mjs +755 -0
- package/skills/a2h-page-specgen/scripts/test/behavior-audit-group.test.mjs +543 -0
- package/skills/a2h-page-specgen/scripts/test/behavior-audit-post.test.mjs +652 -0
- package/skills/a2h-page-specgen/scripts/test/behavior-audit-pre.test.mjs +1231 -0
- package/skills/a2h-page-specgen/scripts/test/behavior-component-gate.test.mjs +494 -0
- package/skills/a2h-page-specgen/scripts/test/behavior-discovery.test.mjs +1513 -0
- package/skills/a2h-page-specgen/scripts/test/behavior-finalize.test.mjs +758 -0
- package/skills/a2h-page-specgen/scripts/test/behavior-fixtures.mjs +623 -0
- package/skills/a2h-page-specgen/scripts/test/behavior-model.test.mjs +116 -0
- package/skills/a2h-page-specgen/scripts/test/behavior-reconcile.test.mjs +795 -0
- package/skills/a2h-page-specgen/scripts/test/behavior-regression.test.mjs +883 -0
- package/skills/a2h-page-specgen/scripts/test/contracts.test.mjs +205 -0
- package/skills/a2h-page-specgen/scripts/test/dispatch.test.mjs +258 -0
- package/skills/a2h-page-specgen/scripts/test/entry-evidence.test.mjs +475 -0
- package/skills/a2h-page-specgen/scripts/test/facts.test.mjs +1203 -0
- package/skills/a2h-page-specgen/scripts/test/finalize.test.mjs +243 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/Api.kt +20 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/BothAnnotations.kt +28 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/Cache.kt +7 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/Comments.kt +26 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/Mmkv.kt +7 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/Models.kt +19 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/Pair.kt +7 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/Prefs.kt +9 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/Room.kt +11 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/Sample.kt +43 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/Templates.kt +34 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/Timeouts.kt +8 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/androidTest/Helper.kt +5 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/build.gradle.kts +16 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/i18n/en.js.txt +5 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/i18n/zh.js.txt +4 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/libs.versions.toml +14 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/package.json +10 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/res/values/strings.xml +10 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/res/values-b+zh+Hans/strings.xml +4 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/res/values-land/strings.xml +5 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/res/values-night/strings.xml +5 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/res/values-v21/strings.xml +4 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/res/values-zh/strings.xml +4 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/test/Legacy.kt +4 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts/weather.proto +11 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-container/src/AppPreferences.kt +13 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-container/src/SettingsViewModel.kt +16 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-dao/src/UserDao.kt +28 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-moko/i18n/src/commonMain/moko-resources/base/strings.xml +6 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-moko/i18n/src/commonMain/moko-resources/fil/strings.xml +6 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-pref/res/values/arrays.xml +25 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-pref/res/values/strings.xml +10 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-pref/res/xml/prefs.xml +27 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-pref/src/Api.java +19 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-pref/src/Datastore.kt +12 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-pref/src/Settings.java +13 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-pref/src/forecast.js +14 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-pref/src/store.js +14 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-receiver/src/BasePreferences.kt +13 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-receiver/src/Screen.kt +14 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-receiver/src/UiPreferences.kt +8 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/facts-retrofit/src/AuthAPI.kt +26 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/fp/AndroidManifest.xml +20 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/fp/feature/auth/navigation/ScreenRoute.kt +8 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/fp/pages.json +19 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/fp/src/components/Widget.vue +11 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/fp/src/pages/detail/detail.vue +14 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/fp/src/pages/index/index.vue +24 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/fp/src/store/userStore.js +11 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/fp/src/uni_modules/uview-ui/components/u-thing.js +5 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/fp.mkdb.mjs +144 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/hg.mkdb.mjs +112 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/BottomPanels.java +14 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/BottomPanels.kt +14 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/BottomPanelsKotlinForms.kt +12 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/ChildContent.java +6 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/ComposeLifecycle.kt +26 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/LifecycleCallAndOverride.java +10 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/LifecycleHooks.kt +31 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/MainFragment.java +6 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/ManyLifecycleHooks.kt +12 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/ManyListeners.java +12 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/PlainActivity.java +3 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/RefreshOnResume.java +7 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/RefreshResultNoise.kt +36 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/SelectionView.java +5 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/ShowPage.vue +12 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/ThirdPartyLifecycle.kt +25 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/src/fragment_detail.xml +1 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/App.vue +1 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/bundle-conflict-record.json +17 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/bundle-record.json +17 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/manifest.json +3 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/pages/list/index.vue +80 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/pages.json +14 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/source-record.json +15 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/src/components/RefreshPanel.vue +15 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/src/composables/useRefresh.ts +50 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/src/pages/help/index.vue +9 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/uniapp-source/src/state/store.ts +4 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/utg/click_paths.json +28 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/utg/fold-chain/utg.json +12 -0
- package/skills/a2h-page-specgen/scripts/test/fixtures/utg/utg.json +34 -0
- package/skills/a2h-page-specgen/scripts/test/footprint-resolve.test.mjs +1029 -0
- package/skills/a2h-page-specgen/scripts/test/footprint-roles.test.mjs +172 -0
- package/skills/a2h-page-specgen/scripts/test/fsx.test.mjs +32 -0
- package/skills/a2h-page-specgen/scripts/test/gate-partial.test.mjs +143 -0
- package/skills/a2h-page-specgen/scripts/test/gate.test.mjs +1078 -0
- package/skills/a2h-page-specgen/scripts/test/graph-evidence.test.mjs +332 -0
- package/skills/a2h-page-specgen/scripts/test/helpers.mjs +188 -0
- package/skills/a2h-page-specgen/scripts/test/hg.test.mjs +549 -0
- package/skills/a2h-page-specgen/scripts/test/homegraph-process-fixture.mjs +130 -0
- package/skills/a2h-page-specgen/scripts/test/homegraph-query.test.mjs +288 -0
- package/skills/a2h-page-specgen/scripts/test/integration.test.mjs +368 -0
- package/skills/a2h-page-specgen/scripts/test/interactions.test.mjs +310 -0
- package/skills/a2h-page-specgen/scripts/test/inventory.test.mjs +250 -0
- package/skills/a2h-page-specgen/scripts/test/keys.test.mjs +776 -0
- package/skills/a2h-page-specgen/scripts/test/ledger-lock.test.mjs +77 -0
- package/skills/a2h-page-specgen/scripts/test/ledger.test.mjs +464 -0
- package/skills/a2h-page-specgen/scripts/test/main-module.test.mjs +43 -0
- package/skills/a2h-page-specgen/scripts/test/operation-reviews.test.mjs +1002 -0
- package/skills/a2h-page-specgen/scripts/test/plan-build.test.mjs +1103 -0
- package/skills/a2h-page-specgen/scripts/test/prepare-homegraph-reproduction.mjs +365 -0
- package/skills/a2h-page-specgen/scripts/test/prepare-homegraph.test.mjs +569 -0
- package/skills/a2h-page-specgen/scripts/test/prepare-index.test.mjs +160 -0
- package/skills/a2h-page-specgen/scripts/test/prepare-pipeline.test.mjs +326 -0
- package/skills/a2h-page-specgen/scripts/test/prompt-tpl.test.mjs +236 -0
- package/skills/a2h-page-specgen/scripts/test/prose.test.mjs +398 -0
- package/skills/a2h-page-specgen/scripts/test/protocol-docs.test.mjs +531 -0
- package/skills/a2h-page-specgen/scripts/test/reach.test.mjs +93 -0
- package/skills/a2h-page-specgen/scripts/test/recovery-e2e.test.mjs +418 -0
- package/skills/a2h-page-specgen/scripts/test/recovery-policy.test.mjs +14 -0
- package/skills/a2h-page-specgen/scripts/test/recovery.test.mjs +1782 -0
- package/skills/a2h-page-specgen/scripts/test/render.test.mjs +546 -0
- package/skills/a2h-page-specgen/scripts/test/report.test.mjs +296 -0
- package/skills/a2h-page-specgen/scripts/test/review-followup.test.mjs +467 -0
- package/skills/a2h-page-specgen/scripts/test/scope.test.mjs +292 -0
- package/skills/a2h-page-specgen/scripts/test/semantic-detail.test.mjs +949 -0
- package/skills/a2h-page-specgen/scripts/test/source-text.test.mjs +181 -0
- package/skills/a2h-page-specgen/scripts/test/submit.test.mjs +1231 -0
- package/skills/a2h-page-specgen/scripts/test/uniapp-operation-evidence.test.mjs +639 -0
- package/skills/a2h-page-specgen/scripts/test/utg-footprint-contract.test.mjs +274 -0
- package/skills/a2h-page-specgen/scripts/test/utg-io.test.mjs +90 -0
- package/skills/a2h-page-specgen/scripts/test/waker-event-store.test.mjs +1365 -0
- package/skills/a2h-page-specgen/scripts/test/waker-process.test.mjs +1801 -0
- package/skills/a2h-page-specgen/scripts/test/waker.test.mjs +1993 -0
- package/skills/a2h-page-specgen/scripts/test/watchdog.test.mjs +342 -0
- package/skills/a2h-page-specgen/scripts/waker.mjs +1301 -0
- package/skills/a2h-page-specgen/scripts/watchdog.mjs +299 -0
- package/skills/a2h-resource-convert/SKILL.md +9 -1
- package/skills/a2h-resource-convert/references/code-vector-icon-rules.md +2 -1
- package/skills/a2h-resource-convert/references/incremental-page-migration.md +23 -2
- package/skills/a2h-resource-convert/references/lottie-conversion-rules.md +7 -0
- package/skills/a2h-resource-convert/references/step4-resource-types.md +2 -0
- package/skills/a2h-resource-convert/scripts/a2h_resource_convert.ts +115 -53
- package/skills/a2h-resource-convert/scripts/a2h_resource_incremental.ts +68 -0
- package/skills/a2h-resource-convert/scripts/code_vector_icons.ts +45 -3
- package/skills/a2h-resource-convert/scripts/extract_page_resources.ts +42 -5
- package/skills/a2h-resource-convert/scripts/lottie_hosts.ts +415 -0
- package/skills/a2h-resource-convert/scripts/lottie_refs.ts +398 -0
- package/skills/a2h-resource-convert/scripts/merge_mapping.ts +316 -0
- package/skills/a2h-resource-convert/scripts/svg_fidelity_check.ts +2 -1
- package/skills/a2h-resource-convert/scripts/tests/adaptive_icon.test.mjs +182 -0
- package/skills/a2h-resource-convert/scripts/tests/app_identity.test.mjs +206 -0
- package/skills/a2h-resource-convert/scripts/tests/code_vector_guard.test.mjs +75 -0
- package/skills/a2h-resource-convert/scripts/tests/docs_only_i18n.test.mjs +44 -0
- package/skills/a2h-resource-convert/scripts/tests/lottie_hosts.test.mjs +222 -0
- package/skills/a2h-resource-convert/scripts/tests/lottie_incremental.test.mjs +178 -0
- package/skills/a2h-resource-convert/scripts/tests/merge_mapping.test.mjs +201 -0
- package/skills/a2h-spec-design-pipeline/SKILL.md +98 -121
- package/skills/a2h-spec-design-pipeline/references/coding-loop.md +170 -45
- package/skills/a2h-spec-design-pipeline/references/execution-model.md +62 -12
- package/skills/a2h-spec-design-pipeline/references/final-report-template.md +6 -4
- package/skills/a2h-spec-design-pipeline/references/homegraph-cli.md +229 -0
- package/skills/a2h-spec-design-pipeline/references/initialization.md +49 -6
- package/skills/a2h-spec-design-pipeline/references/merge-queue.md +198 -54
- package/skills/a2h-spec-design-pipeline/references/permission-index.json +206 -0
- package/skills/a2h-spec-design-pipeline/references/post-loop.md +23 -0
- package/skills/a2h-spec-design-pipeline/references/resolver-prompt.md +67 -0
- package/skills/a2h-spec-design-pipeline/references/review-loop.md +46 -0
- package/skills/a2h-spec-design-pipeline/references/scripts.md +47 -14
- package/skills/a2h-spec-design-pipeline/references/shared-layer.md +390 -0
- package/skills/a2h-spec-design-pipeline/references/state-and-resume.md +148 -29
- package/skills/a2h-spec-design-pipeline/references/static-defect-gate.md +104 -24
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/config/ruleMeta.json +18 -0
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/config/ruleSet.json +16 -0
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/data/README.md +47 -0
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/data/api-param-contract.json +31 -0
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/data/api-permission-map.json +698 -0
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/document/checker/hometrans/api-permission-declared-cn.md +96 -0
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/document/checker/hometrans/api-permission-declared-en.md +103 -0
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/document/checker/hometrans/arkui-runtime-pitfall-cn.md +124 -0
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/document/checker/hometrans/arkui-runtime-pitfall-en.md +138 -0
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/document/checker/hometrans/platform-api-contract-cn.md +106 -0
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/document/checker/hometrans/platform-api-contract-en.md +113 -0
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/lib/checker/ApiPermissionDeclaredCheck.js +705 -0
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/lib/checker/ArkUIRuntimePitfallCheck.js +1063 -0
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/lib/checker/PlatformApiContractCheck.js +473 -0
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/lib/checker/platform/ExtraDataSubCheck.js +485 -0
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/lib/index.js +13 -0
- package/skills/a2h-spec-design-pipeline/rules/migration-rules/package.json +18 -0
- package/skills/a2h-spec-design-pipeline/scripts/branch_landed.ts +12 -38
- package/skills/a2h-spec-design-pipeline/scripts/check_design_map.ts +108 -0
- package/skills/a2h-spec-design-pipeline/scripts/check_permissions.ts +420 -0
- package/skills/a2h-spec-design-pipeline/scripts/check_review_evidence.ts +45 -0
- package/skills/a2h-spec-design-pipeline/scripts/dispatch/evidence.mjs +95 -7
- package/skills/a2h-spec-design-pipeline/scripts/dispatch/fold.mjs +156 -7
- package/skills/a2h-spec-design-pipeline/scripts/dispatch/landing.mjs +71 -0
- package/skills/a2h-spec-design-pipeline/scripts/dispatch/progress.mjs +22 -3
- package/skills/a2h-spec-design-pipeline/scripts/dispatch/reconcile.mjs +63 -4
- package/skills/a2h-spec-design-pipeline/scripts/dispatch/wait.mjs +33 -3
- package/skills/a2h-spec-design-pipeline/scripts/dispatch/worktree.mjs +2 -2
- package/skills/a2h-spec-design-pipeline/scripts/dispatch.mjs +232 -13
- package/skills/a2h-spec-design-pipeline/scripts/ensure_index.ts +866 -0
- package/skills/a2h-spec-design-pipeline/scripts/fixtures/homecheck-stub.cjs +47 -0
- package/skills/a2h-spec-design-pipeline/scripts/homecheck_scan.ts +220 -44
- package/skills/a2h-spec-design-pipeline/scripts/lib/shared_classes.ts +113 -0
- package/skills/a2h-spec-design-pipeline/scripts/lib/shared_docs.ts +202 -0
- package/skills/a2h-spec-design-pipeline/scripts/lib/wiring.ts +58 -0
- package/skills/a2h-spec-design-pipeline/scripts/plan_groups.ts +178 -14
- package/skills/a2h-spec-design-pipeline/scripts/resolve_wiring.ts +3 -0
- package/skills/a2h-spec-design-pipeline/scripts/resolver_prompt.ts +368 -0
- package/skills/a2h-spec-design-pipeline/scripts/scan_shared.ts +642 -0
- package/skills/a2h-spec-design-pipeline/scripts/sync_permission_index.ts +340 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_api_permission_declared.ts +281 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_arkui_runtime_pitfall.ts +690 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_check_design_map.ts +46 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_check_permissions.ts +201 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_dispatch_commands.mjs +42 -8
- package/skills/a2h-spec-design-pipeline/scripts/test_dispatch_e2e.mjs +27 -9
- package/skills/a2h-spec-design-pipeline/scripts/test_dispatch_evidence.mjs +242 -9
- package/skills/a2h-spec-design-pipeline/scripts/test_dispatch_fold.mjs +192 -7
- package/skills/a2h-spec-design-pipeline/scripts/test_dispatch_landing.mjs +531 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_dispatch_progress.mjs +49 -1
- package/skills/a2h-spec-design-pipeline/scripts/test_dispatch_reconcile.mjs +92 -4
- package/skills/a2h-spec-design-pipeline/scripts/test_dispatch_wait.mjs +51 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_ensure_index.ts +572 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_ensure_index_real.ts +56 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_homecheck_scan.ts +17 -10
- package/skills/a2h-spec-design-pipeline/scripts/test_homegraph_docs.ts +217 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_permission_index.ts +214 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_plan_groups.ts +155 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_platform_api_contract.ts +308 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_resolve_wiring.ts +14 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_resolver_prompt.ts +401 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_scan_shared.ts +996 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_shared_classes.ts +80 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_shared_docs.ts +205 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_shared_layer_docs.ts +165 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_shared_layer_e2e.ts +85 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_validate_shared_manifest.ts +720 -0
- package/skills/a2h-spec-design-pipeline/scripts/test_wiring.ts +40 -0
- package/skills/a2h-spec-design-pipeline/scripts/validate_shared_manifest.ts +566 -0
- package/skills/a2h-spec-generate/SKILL.md +89 -23
- package/skills/a2h-spec-generate/references/batch-mode.md +78 -17
- package/skills/a2h-spec-generate/references/dispatch-watchdog.md +150 -0
- package/skills/a2h-spec-generate/references/fusion-task-contract.md +7 -0
- package/skills/a2h-spec-generate/references/review-checklist.md +1 -0
- package/skills/a2h-spec-generate/references/specs.schema.json +24 -11
- package/skills/a2h-spec-generate/references/synthesis-rules.md +4 -2
- package/skills/a2h-spec-generate/references/worker-rules.md +6 -3
- package/skills/a2h-spec-generate/scripts/check-fused-spec.mjs +4 -5
- package/skills/a2h-spec-generate/scripts/check_spec.ts +145 -14
- package/skills/a2h-spec-generate/scripts/collect-specs.mjs +261 -19
- package/skills/a2h-spec-generate/scripts/dispatch-watch.mjs +1168 -0
- package/skills/a2h-spec-generate/scripts/ensure-index.mjs +1 -2
- package/skills/a2h-spec-generate/scripts/feature-stem.mjs +1 -2
- package/skills/a2h-spec-generate/scripts/publish-specs.mjs +1 -2
- package/skills/a2h-spec-generate/scripts/regroup-by-page.mjs +1 -2
- package/skills/a2h-spec-generate/scripts/render-tasks.mjs +25 -46
- package/skills/a2h-spec-generate/scripts/reqgen/src/analysis/graph/build.ts +26 -27
- package/skills/a2h-spec-generate/scripts/reqgen/src/analysis/graph/component-variants.ts +3 -6
- package/skills/a2h-spec-generate/scripts/reqgen/src/analysis/names/policy.ts +31 -32
- package/skills/a2h-spec-generate/scripts/reqgen/src/analysis/names/traceability.ts +2 -3
- package/skills/a2h-spec-generate/scripts/reqgen/src/analysis/req-model/build.ts +15 -26
- package/skills/a2h-spec-generate/scripts/reqgen/src/fusion/area-facts.ts +102 -81
- package/skills/a2h-spec-generate/scripts/reqgen/src/fusion/behavior-seed.ts +39 -19
- package/skills/a2h-spec-generate/scripts/reqgen/src/fusion/library-evidence.ts +12 -13
- package/skills/a2h-spec-generate/scripts/reqgen/src/fusion/navigation-guard.ts +363 -0
- package/skills/a2h-spec-generate/scripts/reqgen/src/fusion/task-contract.ts +35 -196
- package/skills/a2h-spec-generate/scripts/reqgen/src/interaction-analysis/contracts.ts +3 -1
- package/skills/a2h-spec-generate/scripts/reqgen/src/interaction-analysis/task-contract.ts +22 -96
- package/skills/a2h-spec-generate/scripts/reqgen/src/interaction-analysis/tree-sitter-adapter.ts +3 -4
- package/skills/a2h-spec-generate/scripts/reqgen/src/model/contracts.ts +1 -1
- package/skills/a2h-spec-generate/scripts/reqgen/src/model/finalize.ts +74 -7
- package/skills/a2h-spec-generate/scripts/reqgen/src/model/prepare.ts +51 -7
- package/skills/a2h-spec-generate/scripts/reqgen/src/model/task.ts +42 -111
- package/skills/a2h-spec-generate/scripts/reqgen/src/requirement-scope.ts +1 -20
- package/skills/a2h-spec-generate/scripts/reqgen/src/source-index/homegraph.ts +1 -2
- package/skills/a2h-spec-generate/scripts/reqgen/src/validation/req-text.ts +3 -4
- package/skills/a2h-spec-generate/scripts/reqgen/test/control-fact-join.test.ts +50 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/control-name-uniapp.test.ts +75 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/cross-area-anchor.test.ts +256 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/fixtures/fusion-run.ts +243 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/fixtures/zip.ts +63 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/fusion-area-facts.test.ts +650 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/fusion-behavior-detectors.test.ts +176 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/fusion-behavior-e2e.test.ts +103 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/fusion-behavior-schema.test.ts +111 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/fusion-behavior-seed.test.ts +195 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/fusion-behavior-selfcheck.test.ts +307 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/fusion-contract.test.ts +347 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/fusion-finalize.test.ts +1948 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/fusion-library-evidence.test.ts +239 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/fusion-navigation-guard.test.ts +277 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/fusion-prepare.test.ts +844 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/fusion-scope.test.ts +339 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/fusion-selfcheck.test.ts +1253 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/fusion-spec.test.ts +608 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/model-cli-blockers.test.ts +117 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/model-scope.test.ts +411 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/model-seeds.test.ts +175 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/model-task-contract.test.ts +300 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/model-v4.test.ts +1061 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/specgen-completeness.test.ts +286 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/stagem-stored-path.test.ts +25 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/uniapp-scanner.test.ts +159 -0
- package/skills/a2h-spec-generate/scripts/reqgen/test/zip.test.ts +61 -0
- package/skills/a2h-spec-generate/test/check-fused-spec.test.mjs +879 -0
- package/skills/a2h-spec-generate/test/check-spec.test.ts +430 -0
- package/skills/a2h-spec-generate/test/collect-specs.test.mjs +811 -0
- package/skills/a2h-spec-generate/test/detect-project.test.mjs +37 -0
- package/skills/a2h-spec-generate/test/dispatch-watch.test.mjs +606 -0
- package/skills/a2h-spec-generate/test/ensure-index.test.mjs +229 -0
- package/skills/a2h-spec-generate/test/feature-stem.test.mjs +157 -0
- package/skills/a2h-spec-generate/test/fixtures/android/app/src/main/AndroidManifest.xml +3 -0
- package/skills/a2h-spec-generate/test/fixtures/android/build.gradle +3 -0
- package/skills/a2h-spec-generate/test/fixtures/android/settings.gradle +3 -0
- package/skills/a2h-spec-generate/test/fixtures/uniapp-src/package.json +9 -0
- package/skills/a2h-spec-generate/test/fixtures/uniapp-src/src/App.vue +8 -0
- package/skills/a2h-spec-generate/test/fixtures/uniapp-src/src/components/MyCard.vue +9 -0
- package/skills/a2h-spec-generate/test/fixtures/uniapp-src/src/feature/editor/index.vue +1 -0
- package/skills/a2h-spec-generate/test/fixtures/uniapp-src/src/main.ts +6 -0
- package/skills/a2h-spec-generate/test/fixtures/uniapp-src/src/manifest.json +4 -0
- package/skills/a2h-spec-generate/test/fixtures/uniapp-src/src/pages/detail/index.vue +1 -0
- package/skills/a2h-spec-generate/test/fixtures/uniapp-src/src/pages/home/index.vue +33 -0
- package/skills/a2h-spec-generate/test/fixtures/uniapp-src/src/pages/settings/index.vue +1 -0
- package/skills/a2h-spec-generate/test/fixtures/uniapp-src/src/pages.json +23 -0
- package/skills/a2h-spec-generate/test/fixtures/uniapp-src/src/services/items.ts +3 -0
- package/skills/a2h-spec-generate/test/fixtures/uniapp-src/tsconfig.json +8 -0
- package/skills/a2h-spec-generate/test/fixtures/unknown/README.txt +1 -0
- package/skills/a2h-spec-generate/test/inspect-uniapp.test.mjs +54 -0
- package/skills/a2h-spec-generate/test/prepare-facts.test.mjs +41 -0
- package/skills/a2h-spec-generate/test/publication-verdict.test.mjs +182 -0
- package/skills/a2h-spec-generate/test/publish-specs.test.mjs +295 -0
- package/skills/a2h-spec-generate/test/regroup-by-page.test.mjs +354 -0
- package/skills/a2h-spec-generate/test/render-tasks.test.mjs +596 -0
- package/skills/a2h-spec-generate/test/report.test.mjs +47 -0
- package/skills/a2h-utg-explorer/SKILL.md +9 -3
- package/skills/a2h-utg-explorer/references/architecture.md +7 -0
- package/skills/a2h-utg-explorer/scripts/audit.mjs +8 -2
- package/skills/a2h-utg-explorer/scripts/compile_tasks.mjs +120 -85
- package/skills/a2h-utg-explorer/scripts/direct_launch.mjs +47 -2
- package/skills/a2h-utg-explorer/scripts/hint_check.mjs +1 -2
- package/skills/a2h-utg-explorer/scripts/hybrid_route_cdp.mjs +376 -0
- package/skills/a2h-utg-explorer/scripts/plan.mjs +8 -0
- package/skills/a2h-utg-explorer/scripts/recover.mjs +1 -1
- package/skills/a2h-utg-explorer/scripts/recover_d.mjs +288 -21
- package/skills/a2h-utg-explorer/scripts/rejudge.mjs +5 -3
- package/skills/a2h-utg-explorer/scripts/report.mjs +89 -0
- package/skills/a2h-utg-explorer/scripts/run_cycle.mjs +67 -10
- package/skills/a2h-utg-explorer/scripts/run_device.mjs +10 -2
- package/skills/a2h-utg-explorer/scripts/seed_recipes.mjs +426 -0
- package/skills/a2h-utg-explorer/scripts/tests/attest.test.mjs +66 -0
- package/skills/a2h-utg-explorer/scripts/tests/blank_wait.test.mjs +126 -0
- package/skills/a2h-utg-explorer/scripts/tests/calendar_round_fixes.test.mjs +244 -0
- package/skills/a2h-utg-explorer/scripts/tests/chain.test.mjs +45 -0
- package/skills/a2h-utg-explorer/scripts/tests/compose_identity.test.mjs +302 -0
- package/skills/a2h-utg-explorer/scripts/tests/content_wait.test.mjs +207 -0
- package/skills/a2h-utg-explorer/scripts/tests/coverage_rules.test.mjs +104 -0
- package/skills/a2h-utg-explorer/scripts/tests/d_prereqs.test.mjs +231 -0
- package/skills/a2h-utg-explorer/scripts/tests/default_override.test.mjs +109 -0
- package/skills/a2h-utg-explorer/scripts/tests/device_health.test.mjs +160 -0
- package/skills/a2h-utg-explorer/scripts/tests/device_locale_dialogs.test.mjs +29 -0
- package/skills/a2h-utg-explorer/scripts/tests/device_locale_identity.test.mjs +77 -0
- package/skills/a2h-utg-explorer/scripts/tests/device_lock_retry.test.mjs +187 -0
- package/skills/a2h-utg-explorer/scripts/tests/diagnostics.test.mjs +254 -0
- package/skills/a2h-utg-explorer/scripts/tests/direct_launch.test.mjs +130 -0
- package/skills/a2h-utg-explorer/scripts/tests/explorer_review_fixes.test.mjs +137 -0
- package/skills/a2h-utg-explorer/scripts/tests/final_utg.test.mjs +135 -0
- package/skills/a2h-utg-explorer/scripts/tests/first_round_phases.test.mjs +16 -0
- package/skills/a2h-utg-explorer/scripts/tests/foreground_spelling.test.mjs +155 -0
- package/skills/a2h-utg-explorer/scripts/tests/fresh_state_plan.test.mjs +78 -0
- package/skills/a2h-utg-explorer/scripts/tests/generalization_fixes.test.mjs +252 -0
- package/skills/a2h-utg-explorer/scripts/tests/hint_check.test.mjs +129 -0
- package/skills/a2h-utg-explorer/scripts/tests/holds_without_data_parity.test.mjs +26 -0
- package/skills/a2h-utg-explorer/scripts/tests/hybrid_route.test.mjs +120 -0
- package/skills/a2h-utg-explorer/scripts/tests/hybrid_route_identity.test.mjs +146 -0
- package/skills/a2h-utg-explorer/scripts/tests/interruptions.test.mjs +614 -0
- package/skills/a2h-utg-explorer/scripts/tests/launch_bridge.test.mjs +214 -0
- package/skills/a2h-utg-explorer/scripts/tests/launch_failure.test.mjs +40 -0
- package/skills/a2h-utg-explorer/scripts/tests/node_coverage.test.mjs +193 -0
- package/skills/a2h-utg-explorer/scripts/tests/overflow_prefix.test.mjs +327 -0
- package/skills/a2h-utg-explorer/scripts/tests/overlay_identity.test.mjs +204 -0
- package/skills/a2h-utg-explorer/scripts/tests/page_identity_tiers.test.mjs +393 -0
- package/skills/a2h-utg-explorer/scripts/tests/pager_navigation.test.mjs +119 -0
- package/skills/a2h-utg-explorer/scripts/tests/panel_routes.test.mjs +208 -0
- package/skills/a2h-utg-explorer/scripts/tests/pipeline.test.mjs +240 -0
- package/skills/a2h-utg-explorer/scripts/tests/pr169_review_fixes.test.mjs +218 -0
- package/skills/a2h-utg-explorer/scripts/tests/pr191_review_fixes.test.mjs +292 -0
- package/skills/a2h-utg-explorer/scripts/tests/recover.test.mjs +212 -0
- package/skills/a2h-utg-explorer/scripts/tests/recover_b.test.mjs +173 -0
- package/skills/a2h-utg-explorer/scripts/tests/recover_d.test.mjs +280 -0
- package/skills/a2h-utg-explorer/scripts/tests/recover_d_grounding.test.mjs +164 -0
- package/skills/a2h-utg-explorer/scripts/tests/replay_reroute.test.mjs +143 -0
- package/skills/a2h-utg-explorer/scripts/tests/review_fixes.test.mjs +213 -0
- package/skills/a2h-utg-explorer/scripts/tests/robustness_fixes.test.mjs +345 -0
- package/skills/a2h-utg-explorer/scripts/tests/run_cycle.test.mjs +458 -0
- package/skills/a2h-utg-explorer/scripts/tests/run_cycle_follow.test.mjs +35 -0
- package/skills/a2h-utg-explorer/scripts/tests/runner_capabilities.test.mjs +194 -0
- package/skills/a2h-utg-explorer/scripts/tests/scope.test.mjs +229 -0
- package/skills/a2h-utg-explorer/scripts/tests/scroll_sweep.test.mjs +336 -0
- package/skills/a2h-utg-explorer/scripts/tests/seed_recipes.test.mjs +261 -0
- package/skills/a2h-utg-explorer/scripts/tests/semantics.test.mjs +102 -0
- package/skills/a2h-utg-explorer/scripts/tests/snapshot_integrity.test.mjs +142 -0
- package/skills/a2h-utg-explorer/scripts/tests/state_ambiguity.test.mjs +92 -0
- package/skills/a2h-utg-explorer/scripts/tests/string_tables_twin_ties.test.mjs +83 -0
- package/skills/a2h-utg-explorer/scripts/tests/tar_fixture.mjs +12 -0
- package/skills/a2h-utg-explorer/scripts/tests/twin_opener.test.mjs +119 -0
- package/skills/a2h-utg-explorer/scripts/tests/u2_backend.test.mjs +346 -0
- package/skills/a2h-utg-explorer/scripts/tests/ui_state_anchors.test.mjs +112 -0
- package/skills/a2h-utg-explorer/scripts/tests/variant_strings.test.mjs +63 -0
- package/skills/a2h-utg-explorer/scripts/tests/worklist_parts.test.mjs +24 -0
- package/skills/a2h-utg-explorer/scripts/utg_explorer/adapters.mjs +135 -7
- package/skills/a2h-utg-explorer/scripts/utg_explorer/diagnostics.mjs +196 -0
- package/skills/a2h-utg-explorer/scripts/utg_explorer/hybrid_route.mjs +140 -0
- package/skills/a2h-utg-explorer/scripts/utg_explorer/semantics.mjs +245 -69
- package/skills/a2h-utg-explorer/scripts/utg_explorer/state_phase.mjs +47 -0
- package/skills/a2h-utg-explorer/scripts/utg_explorer/strings.mjs +164 -0
- package/skills/a2h-utg-explorer/scripts/utg_explorer/task_runner.mjs +718 -42
- package/skills/a2h-utg-explorer/scripts/variant.mjs +57 -11
- package/skills/a2h-utg-static/SKILL.md +6 -2
- package/skills/a2h-utg-static/scripts/assemble.mjs +93 -3
- package/skills/a2h-utg-static/scripts/click_paths.mjs +135 -25
- package/skills/a2h-utg-static/scripts/compose_body_text.mjs +3 -3
- package/skills/a2h-utg-static/scripts/compose_overlay.mjs +110 -3
- package/skills/a2h-utg-static/scripts/compose_titles.mjs +5 -5
- package/skills/a2h-utg-static/scripts/compose_widgets.mjs +4 -4
- package/skills/a2h-utg-static/scripts/data_model.mjs +590 -0
- package/skills/a2h-utg-static/scripts/data_producers.mjs +431 -0
- package/skills/a2h-utg-static/scripts/fragment_nav.mjs +2 -3
- package/skills/a2h-utg-static/scripts/hybrid_scope.mjs +46 -1
- package/skills/a2h-utg-static/scripts/label_resolve.mjs +49 -4
- package/skills/a2h-utg-static/scripts/lib/hybrid-provenance.mjs +201 -0
- package/skills/a2h-utg-static/scripts/lib/uniapp-routes.mjs +195 -0
- package/skills/a2h-utg-static/scripts/menu_nav.mjs +1 -1
- package/skills/a2h-utg-static/scripts/nl_hints.mjs +34 -7
- package/skills/a2h-utg-static/scripts/presenter_nav.mjs +1 -2
- package/skills/a2h-utg-static/scripts/route_interceptor.mjs +21 -7
- package/skills/a2h-utg-static/scripts/run_pipeline.mjs +86 -4
- package/skills/a2h-utg-static/scripts/static_prior.mjs +26 -29
- package/skills/a2h-utg-static/scripts/tests/test_activity_gates.mjs +84 -0
- package/skills/a2h-utg-static/scripts/tests/test_carry_answers.mjs +30 -0
- package/skills/a2h-utg-static/scripts/tests/test_compose_res_text.mjs +18 -0
- package/skills/a2h-utg-static/scripts/tests/test_data_model.mjs +120 -0
- package/skills/a2h-utg-static/scripts/tests/test_data_producers.mjs +114 -0
- package/skills/a2h-utg-static/scripts/tests/test_guard_kinds_locale.mjs +12 -0
- package/skills/a2h-utg-static/scripts/tests/test_hybrid_provenance.mjs +150 -0
- package/skills/a2h-utg-static/scripts/tests/test_hybrid_scope.mjs +165 -1
- package/skills/a2h-utg-static/scripts/tests/test_library_activity.mjs +45 -0
- package/skills/a2h-utg-static/scripts/tests/test_login_interceptor.mjs +38 -0
- package/skills/a2h-utg-static/scripts/tests/test_module_strings.mjs +35 -1
- package/skills/a2h-utg-static/scripts/tests/test_nl_hints_default_override.mjs +50 -0
- package/skills/a2h-utg-static/scripts/tests/test_pipeline_llm_phases.mjs +21 -0
- package/skills/a2h-utg-static/scripts/tests/test_pr169_review_fixes.mjs +172 -0
- package/skills/a2h-utg-static/scripts/tests/test_redirect_path_cost.mjs +136 -0
- package/skills/a2h-utg-static/scripts/tests/test_route_token_words.mjs +29 -1
- package/skills/a2h-utg-static/scripts/tests/test_uniapp_route_jump.mjs +175 -0
- package/skills/a2h-utg-static/scripts/tests/test_uniapp_routes.mjs +161 -0
- package/skills/a2h-utg-static/scripts/tests/test_uniapp_source.mjs +99 -0
- package/skills/a2h-utg-static/scripts/tests/test_utg_specgen_boundary.mjs +45 -0
- package/skills/a2h-utg-static/scripts/tests/test_vm_nav_helper_navigate.mjs +21 -0
- package/skills/a2h-utg-static/scripts/uniapp_nav.mjs +112 -69
- package/skills/a2h-utg-static/scripts/vm_nav.mjs +9 -1
- package/README.md +0 -439
- package/dist/cli/config-store.js +0 -128
- package/dist/cli/config.js +0 -48
- package/dist/cli/editors.json +0 -114
- package/dist/cli/env-vars.js +0 -127
- package/dist/cli/index.js +0 -73
- package/dist/cli/init.js +0 -2513
- package/dist/cli/uninstall.js +0 -406
- package/dist/platform/compose.js +0 -228
- package/dist/platform/frontmatter.js +0 -151
- package/dist/platform/installer.js +0 -417
- package/dist/platform/registry.js +0 -337
- package/dist/platform/transform.js +0 -363
- package/dist/platform/types.js +0 -9
- package/dist/platform/validate.js +0 -152
- package/dist/utils/regex.js +0 -7
- package/env-requirements.json +0 -511
- package/resource/choose_editor.png +0 -0
- package/resource/convert_pipeline_process.svg +0 -114
- package/resource/project_architecture.svg +0 -120
- package/resource/set_environment.png +0 -0
- package/resource/set_multimodel.png +0 -0
- package/resource/set_sdk.png +0 -0
- package/resource/title_dark.png +0 -0
- package/skills/a2h-app-migrate/scripts/i18n-term.d.mts +0 -5
- package/skills/a2h-app-migrate/scripts/i18n-term.mjs +0 -54
- package/skills/a2h-arch-generate/scripts/i18n-term.d.mts +0 -5
- package/skills/a2h-arch-generate/scripts/i18n-term.mjs +0 -54
- package/skills/a2h-arkts-logic-coder/scripts/design/i18n-term.d.mts +0 -5
- package/skills/a2h-arkts-logic-coder/scripts/design/i18n-term.mjs +0 -54
- package/skills/a2h-batch-ui-align/references/source-only-tier.md +0 -38
- package/skills/a2h-batch-ui-align/scripts/i18n-term.d.mts +0 -5
- package/skills/a2h-batch-ui-align/scripts/i18n-term.mjs +0 -54
- package/skills/a2h-dashboard-render/scripts/i18n-term.d.mts +0 -5
- package/skills/a2h-dashboard-render/scripts/i18n-term.mjs +0 -54
- package/skills/a2h-resource-convert/scripts/i18n-term.d.mts +0 -5
- package/skills/a2h-resource-convert/scripts/i18n-term.mjs +0 -54
- package/skills/a2h-spec-design-pipeline/scripts/ensure_wt_index.ts +0 -885
- package/skills/a2h-spec-design-pipeline/scripts/i18n-term.d.mts +0 -5
- package/skills/a2h-spec-design-pipeline/scripts/i18n-term.mjs +0 -54
- package/skills/a2h-spec-design-pipeline/scripts/test_ensure_wt_index.ts +0 -856
- package/skills/a2h-spec-design-pipeline/scripts/test_i18n_term.ts +0 -70
- package/skills/a2h-spec-generate/scripts/i18n-term.d.mts +0 -5
- package/skills/a2h-spec-generate/scripts/i18n-term.mjs +0 -54
- package/skills/a2h-spec-generate/scripts/reqgen/src/i18n-term.d.mts +0 -5
- package/skills/a2h-spec-generate/scripts/reqgen/src/i18n-term.mjs +0 -54
- package/skills/a2h-utg-explorer/scripts/i18n-term.d.mts +0 -5
- package/skills/a2h-utg-explorer/scripts/i18n-term.mjs +0 -54
- package/skills/a2h-utg-static/scripts/i18n-term.d.mts +0 -5
- package/skills/a2h-utg-static/scripts/i18n-term.mjs +0 -54
- package/skills/a2h-utg-static/scripts/tests/test_i18n_term.mjs +0 -155
|
@@ -0,0 +1,930 @@
|
|
|
1
|
+
# arkts_static_check rule table
|
|
2
|
+
|
|
3
|
+
<!-- Generated by scripts/gen_rule_docs.mjs from the meta in scripts/static_check/rules/*.ts; do not edit by hand. -->
|
|
4
|
+
|
|
5
|
+
Look up by rule id: `grep -n "### <id>" references/checker-rules.md`, and read only the matching section.
|
|
6
|
+
Level GATE = must be cleared (exit 1); CAND = for manual review only. When a parameter listed under "Needs" is absent, the rule is silently skipped.
|
|
7
|
+
A downgrade marker is written above the hit line (with the colon and the basis), and downgrades that GATE to CAND.
|
|
8
|
+
|
|
9
|
+
## geometry — Geometry (size, placement, alignment)
|
|
10
|
+
|
|
11
|
+
### bg-only-container-collapsed
|
|
12
|
+
|
|
13
|
+
- Level: GATE / CAND
|
|
14
|
+
- Needs: —
|
|
15
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
16
|
+
- Trigger: a `Row`/`Column`/`Stack`/`Flex`/`RelativeContainer` with no children is shown only through background/backgroundImage/backgroundColor/a gradient, yet has no size on its width or height axis (judged after expanding same-file @Styles / @Extend). When the chain has `.attributeModifier()` the size may be set at runtime, so it drops to CAND.
|
|
17
|
+
- Fix: When width/height are unset a container takes the size its children need (size attributes doc); with no children that is 0, and `.background()` does not take part in measuring: give the background layer `.width('100%')` (fill the parent) or an explicit size; when it should follow a sibling's size, hang the background on that sibling.
|
|
18
|
+
- Downgrade marker: none
|
|
19
|
+
|
|
20
|
+
### canvas-coord-density-scaled
|
|
21
|
+
|
|
22
|
+
- Level: GATE / CAND
|
|
23
|
+
- Needs: —
|
|
24
|
+
- Knowledge card: `references/cards/canvas.md`
|
|
25
|
+
- Trigger: none of the CanvasRenderingContext2D instances constructed in the file is passed LengthMetricsUnit.PX, yet a density conversion (vp2px / densityPixels / variables assigned from them or helper methods) appears in the arguments of draw calls or lineWidth, or measureText().width is divided by the density.
|
|
26
|
+
- Fix: remove the conversion and draw directly in vp; when physical pixels are really needed, pass `LengthMetricsUnit.PX` at construction. For justified cases such as drawing into a PixelMap, write `// CANVAS-PX: <basis>` above the first occurrence to downgrade it to CAND.
|
|
27
|
+
- Downgrade marker: `// CANVAS-PX: <basis>`
|
|
28
|
+
|
|
29
|
+
### canvas-font-px-literal
|
|
30
|
+
|
|
31
|
+
- Level: GATE / CAND
|
|
32
|
+
- Needs: —
|
|
33
|
+
- Knowledge card: `references/cards/canvas.md`
|
|
34
|
+
- Trigger: a string literal in a `.font =` assignment expression contains a `px` font size.
|
|
35
|
+
- Fix: rewrite Android `sp(N)` as `` `${N}vp` `` or `fp2px(N)` + `px`; when physical pixels are really needed, write `// CANVAS-PX: <basis>` above it to downgrade it to CAND.
|
|
36
|
+
- Downgrade marker: `// CANVAS-PX: <basis>`
|
|
37
|
+
|
|
38
|
+
### card-width-wraps
|
|
39
|
+
|
|
40
|
+
- Level: GATE / CAND
|
|
41
|
+
- Needs: —
|
|
42
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
43
|
+
- Trigger: a child container in a `Column` (including @Builder roots) with a background color and a corner radius or stroke has no width declaration at all; a chip containing only Text/Image/SymbolGlyph is CAND.
|
|
44
|
+
- Fix: add `.width('100%')` to the card, and if the parent Column has no width either, add it there too; when it really wraps its content, write `// WRAP-WIDTH: <basis>` above it.
|
|
45
|
+
- Downgrade marker: `// WRAP-WIDTH: <basis>`
|
|
46
|
+
|
|
47
|
+
### column-shrink-child-centered
|
|
48
|
+
|
|
49
|
+
- Level: CAND
|
|
50
|
+
- Needs: —
|
|
51
|
+
- Knowledge card: `references/cards/alignment.md`
|
|
52
|
+
- Trigger: a `Column` writes no alignItems, and its top-level child Row/Column/Stack/Flex does not fill the width (no width('100%')/layoutWeight/flexGrow) and uses no alignSelf; when the child is a same-file `@Builder` call (`this.X(…)`) or a same-file struct call, its root container is judged.
|
|
53
|
+
- Fix: write .alignItems(HorizontalAlign.Start), or give the child container .width('100%'). When it really is centered (Android gravity=center_horizontal), note the basis
|
|
54
|
+
- Downgrade marker: none
|
|
55
|
+
|
|
56
|
+
### constant-coordinate
|
|
57
|
+
|
|
58
|
+
- Level: CAND
|
|
59
|
+
- Needs: —
|
|
60
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
61
|
+
- Trigger: the x or y of `.position({…})` / `.offset({…})` is a numeric constant.
|
|
62
|
+
- Fix: - The `[CANDIDATES]` section is **not defects**, just a narrowing of the manual review scope. Whether the fill containers and constant coordinates it lists are correct depends on the anchoring direction and stacking order on the Android source side — lexical analysis cannot decide that. Treat it as the to-review list for the three items "Position Anchor Evidence", "Interaction Reachability Evidence" and "Window Mode Evidence", and annotate the source of each entry; **do not change code just because something is listed** — most fill containers are legitimate.
|
|
63
|
+
- Downgrade marker: none
|
|
64
|
+
|
|
65
|
+
### container-align-unset
|
|
66
|
+
|
|
67
|
+
- Level: CAND
|
|
68
|
+
- Needs: —
|
|
69
|
+
- Knowledge card: `references/cards/alignment.md`
|
|
70
|
+
- Trigger: a `Column`/`Row` directly contains Text (or a @Builder call whose top level renders Text), but writes no attribute that decides the horizontal position (alignItems for Column / justifyContent for Row).
|
|
71
|
+
- Fix: Android LinearLayout / Compose Column default to start. If the Android side writes no horizontal gravity, translate it explicitly as .alignItems(HorizontalAlign.Start) (Column) / .justifyContent(FlexAlign.Start) (Row); if this place should be centered anyway (empty-state illustration, icon inside a button), ignore this entry.
|
|
72
|
+
- Downgrade marker: none
|
|
73
|
+
|
|
74
|
+
### fixed-box-text-wraps
|
|
75
|
+
|
|
76
|
+
- Level: GATE / CAND
|
|
77
|
+
- Needs: —
|
|
78
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
79
|
+
- Trigger: the literal text of a fixed-width, fixed-height `Text` does not fit by font-size estimate and there is no `maxLines`.
|
|
80
|
+
- Fix: `fixed-box-text-wraps` (GATE: the literal text of a fixed-width, fixed-height `Text` does not fit by font-size estimate and has no `maxLines`; CJK/symbols estimated at 1em, pure ASCII reported as GATE only when clearly overflowing; when the font size cannot be read as a number (`$r(...)`, a variable, `px`) it is estimated at 16 and downgraded to CAND) → `.maxLines(1)` + widen.
|
|
81
|
+
- Downgrade marker: none
|
|
82
|
+
|
|
83
|
+
### hscroll-centered-in-column
|
|
84
|
+
|
|
85
|
+
- Level: GATE / CAND
|
|
86
|
+
- Needs: —
|
|
87
|
+
- Knowledge card: `references/cards/alignment.md`
|
|
88
|
+
- Trigger: a horizontal `Scroll` has no width (it shrinks to its content) and the `Column` directly around it writes no `alignItems` (default HorizontalAlign.Center); GATE when the content is ForEach / LazyForEach / Repeat, CAND otherwise.
|
|
89
|
+
- Fix: Compose LazyRow / HorizontalScrollView fill the width and start at the leading edge. Give the horizontal Scroll `.width('100%')` + `.align(Alignment.Start)` (horizontally Start = left + vertically centered, which is what is wanted), or write `.alignItems(HorizontalAlign.Start)` on the parent Column. When centered on purpose, write `// SCROLL-CENTER: <basis>` above the Scroll to downgrade to CAND
|
|
90
|
+
- Downgrade marker: `// SCROLL-CENTER: <basis>`
|
|
91
|
+
|
|
92
|
+
### layout-weight-on-component-root
|
|
93
|
+
|
|
94
|
+
- Level: GATE
|
|
95
|
+
- Needs: —
|
|
96
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
97
|
+
- Trigger: a struct's build() root node writes `.layoutWeight()`, while some call site chains attributes/events onto that component.
|
|
98
|
+
- Fix: move `.layoutWeight()` from the struct's build() root node to the call site, and make the inner root node fill **only along the parent container's main axis** (parent `Row` → `.width('100%')`, parent `Column` → `.height('100%')`). With a parent `Row`, do not also add `.height('100%')` while you are at it: if it lands inside a scroll container, the next rule will stop it.
|
|
99
|
+
- Downgrade marker: none
|
|
100
|
+
|
|
101
|
+
### layout-weight-on-shared-component-root
|
|
102
|
+
|
|
103
|
+
- Level: GATE / CAND
|
|
104
|
+
- Needs: —
|
|
105
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
106
|
+
- Trigger: a struct's build() root node writes `.layoutWeight()`, and the component is called from 2 or more files (the call sites chain no attributes, so the previous rule does not fire; callers importing by relative path or by package name both count). GATE when the weight is a number literal; CAND when it comes from a value (e.g. `.layoutWeight(this.w)`), since callers already control it.
|
|
107
|
+
- Fix: how much main-axis space a child takes is the caller's decision (Compose writes `Modifier.weight` only at the call site, never inside the component): remove `.layoutWeight()` from the component root and write `X({ … }).layoutWeight(1)` only at the call sites that must fill. When the Android source component really carries the weight on its root (callers cannot override it), write `// ROOT-WEIGHT: <source evidence>` above the root weight to close this rule.
|
|
108
|
+
- Downgrade marker: `// ROOT-WEIGHT: <basis>`
|
|
109
|
+
|
|
110
|
+
### main-axis-pct-siblings
|
|
111
|
+
|
|
112
|
+
- Level: GATE / CAND
|
|
113
|
+
- Needs: —
|
|
114
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
115
|
+
- Trigger: ≥2 direct children (including @Builder roots) of a `Row`/`Column` all write `'100%'` on the main axis; CAND when only 1 does and it has other siblings.
|
|
116
|
+
- Fix: `main-axis-pct-siblings` (GATE: ≥2 direct children of a `Row`/`Column` are all `'100%'` on the main axis, including `@Builder` root nodes; CAND when only 1 is and it has other siblings) → change to `.layoutWeight(n)`
|
|
117
|
+
- Downgrade marker: none
|
|
118
|
+
|
|
119
|
+
### padding-consumes-fixed-size
|
|
120
|
+
|
|
121
|
+
- Level: GATE / CAND
|
|
122
|
+
- Needs: —
|
|
123
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
124
|
+
- Trigger: one component declares a literal `.width()`/`.height()` (or `.size()`) and `.padding()`, and the padding of one axis summed over both sides is ≥ that (non-zero) size — the content box is 0.
|
|
125
|
+
- Fix: ArkUI width/height already include padding (Android's padding lies outside the declared size). Android "N dp icon + P dp padding" becomes an outer box of `N+2P` holding an `N` icon, or a size of `N+2P` plus the padding; `IconButton` maps to a 48×48 box around the icon. When justified, write `// PADDING-IN-SIZE: <basis>` above the `.padding(` line or the component to downgrade to CAND.
|
|
126
|
+
- Downgrade marker: `// PADDING-IN-SIZE: <basis>`
|
|
127
|
+
|
|
128
|
+
### path-commands-vp
|
|
129
|
+
|
|
130
|
+
- Level: GATE / CAND
|
|
131
|
+
- Needs: —
|
|
132
|
+
- Knowledge card: `references/cards/canvas.md`
|
|
133
|
+
- Trigger: A template string starting with M and containing a second path command uses `${…}` interpolation, and neither that line nor the 20 lines before it contain vp2px / lpx2px / fp2px / LengthMetricsUnit.PX (Path2D is exempt).
|
|
134
|
+
- Fix: Convert with this.getUIContext().vp2px() before interpolating; if the value is already in px, write // PATH-PX: <basis> on the line above
|
|
135
|
+
- Downgrade marker: `// PATH-PX: <basis>`
|
|
136
|
+
|
|
137
|
+
### pct-in-auto-size-parent
|
|
138
|
+
|
|
139
|
+
- Level: GATE / CAND
|
|
140
|
+
- Needs: —
|
|
141
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
142
|
+
- Trigger: a container has no definite size on some axis (only a constraintSize min lower bound, or nothing written at all), while a direct child writes `'100%'` on the same axis; for a struct root, it is followed to the call sites.
|
|
143
|
+
- Fix: remove the child's `'100%'` and let the parent's `alignItems` and the child's `constraintSize({ min… })` size it; when equal heights are really required, measure with `onAreaChange` and set a value, or give the parent a definite size. When the size really is given from above, write `// PCT-PARENT-SIZED: <basis>` above the container to downgrade it to CAND.
|
|
144
|
+
- Downgrade marker: `// PCT-PARENT-SIZED: <basis>`
|
|
145
|
+
|
|
146
|
+
### pct-width-with-hmargin
|
|
147
|
+
|
|
148
|
+
- Level: GATE
|
|
149
|
+
- Needs: —
|
|
150
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
151
|
+
- Trigger: the same attribute chain has both `.width('100%')` and a `.margin({…})` with left/right/start/end.
|
|
152
|
+
- Fix: width('100%') stacked with left/right margin → 100% does not subtract its own margin, so the actual width exceeds the parent container and overflows on the right
|
|
153
|
+
- Downgrade marker: none
|
|
154
|
+
|
|
155
|
+
### percent-height-in-scroll
|
|
156
|
+
|
|
157
|
+
- Level: GATE
|
|
158
|
+
- Needs: —
|
|
159
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
160
|
+
- Trigger: going up from a percentage `.height()` to a vertical Scroll/List/Grid/WaterFlow, no layer in between has a definite height (followed across structs to the call site).
|
|
161
|
+
- Fix: corner badges use `.position({ right, bottom })`; a content root that must fill the viewport uses `.constraintSize({ minHeight: '100%' })`; a mask / greyed-out layer covering the whole card uses `.overlay(this.<@Builder>())` whose builder root is `width/height('100%')` + `backgroundColor` + `hitTestBehavior(HitTestMode.Transparent)` (`'100%'` inside the overlay is relative to the host); **do not** pass a colour string (`overlay(string)` is mask text, GATE `overlay-string-color`).
|
|
162
|
+
- Downgrade marker: none
|
|
163
|
+
|
|
164
|
+
### relative-container-unsized-in-scroll
|
|
165
|
+
|
|
166
|
+
- Level: GATE
|
|
167
|
+
- Needs: —
|
|
168
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
169
|
+
- Trigger: A `RelativeContainer` inside a vertical Scroll/List/Grid/WaterFlow, with no definite height on any level up to the scroll container, whose own height is unset or `'auto'` / `LayoutPolicy.wrapContent` / `fixAtIdealSize`, and with a child whose `alignRules` anchor top / bottom / center on `'__container__'` (traced across structs to the call site).
|
|
170
|
+
- Fix: RelativeContainer doc: when height is `"auto"` (API 11+) or `wrapContent` (API 20+), any child anchored to the container in the vertical direction disables the self-sizing and the height counts as unset (FAQ faqs-arkui-318: the container height and the child layout depend on each other in a cycle). Express an Android `wrap_content` card with `Column`/`Row`/`Stack` (left icon + text column = `Row { Image; Column { … } }`, corner elements with `Stack` + `Alignment`); when two-dimensional constraints are really needed, anchor vertically only on siblings (the first child has no vertical alignRules and sits at the top by default) and write `.height('auto')`, or write the height measured in the reference view tree.
|
|
171
|
+
- Downgrade marker: none
|
|
172
|
+
|
|
173
|
+
### scroll-align-default-center
|
|
174
|
+
|
|
175
|
+
- Level: GATE / CAND
|
|
176
|
+
- Needs: —
|
|
177
|
+
- Knowledge card: `references/cards/alignment.md`
|
|
178
|
+
- Trigger: a vertical `Scroll` writes no `.align()` (defaults to Alignment.Center); GATE when the content contains ForEach / LazyForEach / Repeat (data-driven, item count unknown), CAND otherwise.
|
|
179
|
+
- Fix: write .align(Alignment.TopStart) (`align` is a universal attribute; the API reference "Location" lists it as effective on Scroll, default Alignment.Center). When it really is centered (Android fillViewport + gravity=center), write `// SCROLL-CENTER: <basis>` above the Scroll to downgrade to CAND; EVIDENCE text does not close this rule
|
|
180
|
+
- Downgrade marker: `// SCROLL-CENTER: <basis>`
|
|
181
|
+
|
|
182
|
+
### scroll-align-not-top
|
|
183
|
+
|
|
184
|
+
- Level: GATE / CAND
|
|
185
|
+
- Needs: —
|
|
186
|
+
- Knowledge card: `references/cards/alignment.md`
|
|
187
|
+
- Trigger: the `.align(Alignment.X)` of a vertical `Scroll` is not Top*; GATE when X is Start, CAND otherwise.
|
|
188
|
+
- Fix: laying out from the top should be Alignment.TopStart; keep it and note the basis only when the Android side really has centered/bottom-anchored semantics (fillViewport + gravity=center, stackFromEnd/reverseLayout)
|
|
189
|
+
- Downgrade marker: none
|
|
190
|
+
|
|
191
|
+
### shared-chrome-placement-drift
|
|
192
|
+
|
|
193
|
+
- Level: GATE / CAND
|
|
194
|
+
- Needs: —
|
|
195
|
+
- Knowledge card: `references/cards/alignment.md`
|
|
196
|
+
- Trigger: the same imported custom component is a direct child of a struct build() root `Stack` on ≥2 pages, but the pages' Stacks align it differently (votes only among explicit values).
|
|
197
|
+
- Fix: unify the pages, or move it into a host container component
|
|
198
|
+
- Downgrade marker: none
|
|
199
|
+
|
|
200
|
+
### stack-bar-default-center
|
|
201
|
+
|
|
202
|
+
- Level: GATE / CAND
|
|
203
|
+
- Needs: —
|
|
204
|
+
- Knowledge card: `references/cards/alignment.md`
|
|
205
|
+
- Trigger: in a `Stack` with no alignContent, among ≥2 siblings one is horizontally `'100%'`, has a fixed height vertically and no positioning at all (the bar child is vertically centered).
|
|
206
|
+
- Fix: Compose Box / FrameLayout default to top-left: Box() translates to Stack({ alignContent: Alignment.TopStart }), Box(contentAlignment = X) translates to X; when centering is really intended, write // STACK-CENTER: <basis> above it
|
|
207
|
+
- Downgrade marker: `// STACK-CENTER: <basis>`
|
|
208
|
+
|
|
209
|
+
### stack-child-align-noop
|
|
210
|
+
|
|
211
|
+
- Level: GATE / CAND
|
|
212
|
+
- Needs: —
|
|
213
|
+
- Knowledge card: `references/cards/alignment.md`
|
|
214
|
+
- Trigger: a `Stack` has no alignContent, and a child relies on its own `.align()` to pin to the bottom/edge while wrapping its content on that axis.
|
|
215
|
+
- Fix: `stack-child-align-noop` (GATE: a `Stack` with no `alignContent` (both the constructor argument and its own `.alignContent()` / `.align()` count; the last one wins), whose child relies on its own `.align()` to pin to the bottom/edge while that child wraps its content on that axis) → set `alignContent` on the `Stack`
|
|
216
|
+
- Downgrade marker: none
|
|
217
|
+
|
|
218
|
+
### stack-custom-child-default-center
|
|
219
|
+
|
|
220
|
+
- Level: GATE / CAND
|
|
221
|
+
- Needs: —
|
|
222
|
+
- Knowledge card: `references/cards/alignment.md`
|
|
223
|
+
- Trigger: in a `Stack` with no alignContent, one of ≥2 siblings is a project custom component with no positioning at its call site, whose build() root does not fill the Stack vertically (or horizontally). Decided across files; when the root is itself a custom component it is followed down the component chain (up to 4 levels); children inside if / else branches count too. GATE only when it misses vertically, the Stack is taller, and the root has a definite height or children placed with `.position` / `.offset` inside; a content-sized overlay with no inner positioning (loading, empty state, hint), a horizontal-only miss, or `.attributeModifier()` on the chain is CAND.
|
|
224
|
+
- Fix: ConstraintLayout / MotionLayout / FrameLayout / Compose Box anchor children top-left (or by constraints): when layering into a `Stack`, write `Stack({ alignContent: Alignment.TopStart })`; or give the call site `.position` / `.markAnchor` / `.align`; or make the component root `.width('100%').height('100%')` and position inside it. For an intentional center, write `// STACK-CENTER: <basis>` above the call.
|
|
225
|
+
- Downgrade marker: `// STACK-CENTER: <basis>`
|
|
226
|
+
|
|
227
|
+
### stack-overlay-default-center
|
|
228
|
+
|
|
229
|
+
- Level: GATE / CAND
|
|
230
|
+
- Needs: —
|
|
231
|
+
- Knowledge card: `references/cards/alignment.md`
|
|
232
|
+
- Trigger: in a `Stack` with no alignContent (or set to Center), one of ≥2 siblings is positioned only by a one-sided margin, does not fill the height, and has no position/offset/align.
|
|
233
|
+
- Fix: `stack-overlay-default-center` (GATE: in a `Stack` likewise without `alignContent`, one of ≥2 siblings is positioned only by a one-sided `margin.bottom`/`margin.top`, does not fill the height, and has no position/offset/align; write `// STACK-CENTER: <basis>` for an intentional center to downgrade it to CAND) → set the matching `alignContent` on the `Stack`
|
|
234
|
+
- Downgrade marker: `// STACK-CENTER: <basis>`
|
|
235
|
+
|
|
236
|
+
### text-input-default-padding-clips
|
|
237
|
+
|
|
238
|
+
- Level: GATE / CAND
|
|
239
|
+
- Needs: —
|
|
240
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
241
|
+
- Trigger: a `TextInput` / `TextArea` / `Search` writes a literal `.height(H)` but no `.padding()`, and the default padding (8vp top and bottom; 12vp in TextInput underline mode) plus one text line does not fit in H — the text is clipped to its top half.
|
|
242
|
+
- Fix: Compose BasicTextField / an undecorated EditText have no inner padding and map to `.padding(0)` (TextInput reference: default padding {top 8, right 16, bottom 8, left 16}; with padding 0 also set `.borderRadius(0)` so the caret is not cut), or make the height text line + padding. When justified, write `// PADDING-IN-SIZE: <basis>` above the component to downgrade to CAND
|
|
243
|
+
- Downgrade marker: `// PADDING-IN-SIZE: <basis>`
|
|
244
|
+
|
|
245
|
+
### waterflow-section-count-literal
|
|
246
|
+
|
|
247
|
+
- Level: CAND
|
|
248
|
+
- Needs: —
|
|
249
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
250
|
+
- Trigger: `SectionOptions` `itemsCount` is written as a number literal.
|
|
251
|
+
- Fix: SDK WaterFlowSections: after changing sections, the child counts of all sections must add up to the real number of WaterFlow children, or the layout breaks and stops scrolling. Compute itemsCount from the data source (e.g. `this.vm.listData.length`) and sync with `sections.update` / `splice` when the data changes (refresh, load more, mock replaced by real data); do not switch between full-line and grid content with if/else inside one FlowItem template, split them into sections.
|
|
252
|
+
- Downgrade marker: none
|
|
253
|
+
|
|
254
|
+
### waterflow-sections-no-gap
|
|
255
|
+
|
|
256
|
+
- Level: GATE / CAND
|
|
257
|
+
- Needs: —
|
|
258
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
259
|
+
- Trigger: `WaterFlow({ sections: … })` has no `columnsGap` / `rowsGap` in its attribute chain, no `SectionOptions` added to that sections object writes `rowsGap` / `columnsGap` / `margin`, and no FlowItem writes `margin` / `padding`: every FlowItem touches the next one. Each WaterFlow is judged by its own sections (nested objects, callbacks and building the object before assigning the gap all count). GATE needs both: the sections and FlowItems are visible in this file, and with `--android` the Android source this file ports (same file name, or this file cites `X.kt`) has a Lazy*Grid writing `verticalItemSpacing` / `spacedBy`. Sections built in a ViewModel or another file, or FlowItems supplied by a @Builder / component, are CAND only.
|
|
260
|
+
- Fix: SDK SectionOptions: columnsGap / rowsGap fall back to the WaterFlow attribute of the same name, margin defaults to 0. Map the Compose source item by item: `contentPadding` → each section `margin` (or WaterFlow `.padding`), `horizontalArrangement = spacedBy(x)` → `columnsGap`, `verticalItemSpacing = y` → `rowsGap`; full-line items (`span = FullLine`) go into a `crossCount: 1` section that also writes `rowsGap`. When the source really has no spacing, write `// WATERFLOW-GAP: <source evidence>` above the WaterFlow to close this rule.
|
|
261
|
+
- Downgrade marker: `// WATERFLOW-GAP: <basis>`
|
|
262
|
+
|
|
263
|
+
### wide-constant-width
|
|
264
|
+
|
|
265
|
+
- Level: CAND
|
|
266
|
+
- Needs: —
|
|
267
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
268
|
+
- Trigger: a constant width ≥ 300vp (or a constraintSize minWidth ≥ 300).
|
|
269
|
+
- Fix: write it as a relative width following Android's ratios (dialog: the backboard option `width` takes the screen-width share from the `dialog panel` line of measure_summary; the backboard is the panel, see the "Dialogs" item of the widgets card); when it really is a fixed width, note the basis
|
|
270
|
+
- Downgrade marker: none
|
|
271
|
+
|
|
272
|
+
## appearance — Appearance (color, widget appearance, visual effects, transitions)
|
|
273
|
+
|
|
274
|
+
### alpha-scale-mismatch
|
|
275
|
+
|
|
276
|
+
- Level: GATE
|
|
277
|
+
- Needs: —
|
|
278
|
+
- Knowledge card: `references/cards/resources.md`
|
|
279
|
+
- Trigger: the alpha `a` in `setAlphaComponent(color, a)` is a decimal literal between 0 and 1 (e.g. 0.5) — the function's alpha scale is 0..255.
|
|
280
|
+
- Fix: Compose `copy(alpha = 0.5f)` is 0..1, Android `ColorUtils.setAlphaComponent` is 0..255: 0.5 yields an alpha byte of only 0 or 1 (depending on rounding) and the color is almost fully transparent (a disabled button disappears). Write `setAlphaComponent(c, 128)` (round(f × 255)), or `withAlpha(c, 0.5)` from `assets/ColorUtils.ets` (Compose scale).
|
|
281
|
+
- Downgrade marker: none
|
|
282
|
+
|
|
283
|
+
### blur-not-mirrored
|
|
284
|
+
|
|
285
|
+
- Level: GATE / CAND
|
|
286
|
+
- Needs: `--android`
|
|
287
|
+
- Knowledge card: `references/cards/widgets.md`
|
|
288
|
+
- Trigger: an Android source file or layout XML uses a background blur, while the HarmonyOS files whose text cites that source file have no blur API at all; CAND when there is more than one Android file with that name.
|
|
289
|
+
- Fix: `blur-not-mirrored` (GATE, needs `--android`): an Android source file or layout XML uses a background blur (`*BlurView` tags, `RenderEffect.createBlurEffect`, `setBackgroundBlurRadius`, `FLAG_BLUR_BEHIND`, `RenderScriptBlur`, etc.), yet the HarmonyOS files whose text cites that source file have no blur API at all (`BlurStyle.NONE` and a zero radius do not count; `systemMaterial` does; commented-out Android code does not count; downgraded to CAND when Android has several files with that name). When the parent flow has accepted the difference, write `// APPEARANCE-ESCALATED(BlurView): <ruling source>` to downgrade it to CAND.
|
|
290
|
+
- Downgrade marker: `// APPEARANCE-ESCALATED(BlurView): <basis>`
|
|
291
|
+
|
|
292
|
+
### color-alpha-appended
|
|
293
|
+
|
|
294
|
+
- Level: GATE / CAND
|
|
295
|
+
- Needs: —
|
|
296
|
+
- Knowledge card: `references/cards/resources.md`
|
|
297
|
+
- Trigger: alpha is concatenated after `'#RRGGBB'` (`+` / `.concat` / template interpolation), or `` `${color}${…alpha|opacity…}` ``.
|
|
298
|
+
- Fix: Compose Color.copy(alpha = x) / setAlphaComponent switch to setAlphaComponent(color, x) from assets/ColorUtils.ets; fixed values are precomputed into a #AARRGGBB literal. When it really is a different format, write // ALPHA-SUFFIX: <basis> above it
|
|
299
|
+
- Downgrade marker: `// ALPHA-SUFFIX: <basis>`
|
|
300
|
+
|
|
301
|
+
### color-built-at-runtime
|
|
302
|
+
|
|
303
|
+
- Level: CAND
|
|
304
|
+
- Needs: —
|
|
305
|
+
- Knowledge card: `references/cards/resources.md`
|
|
306
|
+
- Trigger: `'#…' +` / `'#…'.concat(` / `` `#…${ `` concatenates a color string at runtime (except the ColorUtils.ets shipped with this skill).
|
|
307
|
+
- Fix: `color-literal-malformed` (GATE) / `color-built-at-runtime` (CAND): change the color string to a valid literal or use `assets/ColorUtils.ets`; if a CAND-hit concatenation is a safe form such as simply adding a `#` prefix, just explain it in the report.
|
|
308
|
+
- Downgrade marker: none
|
|
309
|
+
|
|
310
|
+
### color-literal-malformed
|
|
311
|
+
|
|
312
|
+
- Level: GATE
|
|
313
|
+
- Needs: —
|
|
314
|
+
- Knowledge card: `references/cards/resources.md`
|
|
315
|
+
- Trigger: the number of hex digits in a color string literal `'#…'` is 5, 7 or ≥9 (pure-digit strings are judged only at color attribute arguments).
|
|
316
|
+
- Fix: `color-literal-malformed` (GATE) / `color-built-at-runtime` (CAND): change the color string to a valid literal or use `assets/ColorUtils.ets`; if a CAND-hit concatenation is a safe form such as simply adding a `#` prefix, just explain it in the report.
|
|
317
|
+
- Downgrade marker: none
|
|
318
|
+
|
|
319
|
+
### dialog-backboard-default
|
|
320
|
+
|
|
321
|
+
- Level: GATE
|
|
322
|
+
- Needs: —
|
|
323
|
+
- Knowledge card: `references/cards/widgets.md`
|
|
324
|
+
- Trigger: The options of `openCustomDialog(…)` / `new CustomDialogController({…})` (a literal, or a variable in the same file initialised with a literal) do not set both `backgroundBlurStyle` and `cornerRadius` (not reported when a `CustomDialogController` sets `customStyle: true`).
|
|
325
|
+
- Fix: The dialog backboard has its own default look: `cornerRadius` defaults to 32vp; `backgroundBlurStyle` defaults to `COMPONENT_ULTRA_THICK` before API 26.0.0 and to `NONE` after it (promptAction / CustomDialog doc), so the same code looks different on different devices. Per the "Dialogs" item of the widgets card, the backboard is the Android panel: set `backgroundBlurStyle: BlurStyle.NONE`, `backgroundColor: <panel colour>`, `cornerRadius: <panel radius>`, `width: '<panel share of screen width>%'` in the options, and add no padding / background / radius on the builder root; the inset between the Android window and panel is transparent and is not translated into a container.
|
|
326
|
+
- Downgrade marker: none
|
|
327
|
+
|
|
328
|
+
### framework-dialog-appearance
|
|
329
|
+
|
|
330
|
+
- Level: GATE / CAND
|
|
331
|
+
- Needs: `--android`
|
|
332
|
+
- Knowledge card: `references/cards/widgets.md`
|
|
333
|
+
- Trigger: the Android source uses `AlertDialog.Builder` / `MaterialAlertDialogBuilder` under a Material / AppCompat / MaterialComponents / Material3 app theme, while a HarmonyOS file citing that source uses the system default look of `showAlertDialog` / `AlertDialog.show` / `promptAction.showDialog` / `showActionSheet` (CAND when the theme is Holo / DeviceDefault / unresolved, or when `values-v*` / `values-night` redefines that theme on another family).
|
|
334
|
+
- Fix: handle per the widgets card "System dialogs and menus — the look follows the source theme": reuse (or create once) a shared dialog component drawn to the source theme, opened with `openCustomDialog` / `CustomDialogController`; when the parent flow accepts the difference, `APPEARANCE-ESCALATED(AlertDialog)` downgrades it to CAND.
|
|
335
|
+
- Downgrade marker: `// APPEARANCE-ESCALATED(AlertDialog): <basis>`
|
|
336
|
+
|
|
337
|
+
### framework-picker-appearance
|
|
338
|
+
|
|
339
|
+
- Level: GATE / CAND
|
|
340
|
+
- Needs: `--android`
|
|
341
|
+
- Knowledge card: `references/cards/widgets.md`
|
|
342
|
+
- Trigger: the Android source uses TimePicker/DatePicker (or their Dialog) in the default mode (no spinner declaration), while the HarmonyOS file instantiates the corresponding wheel component.
|
|
343
|
+
- Fix: handle per Phase 4.3 "Appearance Substitution"; when the parent flow has accepted the difference, the `APPEARANCE-ESCALATED` marker downgrades it to CAND.
|
|
344
|
+
- Downgrade marker: `// APPEARANCE-ESCALATED(<Widget>): <basis>`
|
|
345
|
+
|
|
346
|
+
### overlay-string-color
|
|
347
|
+
|
|
348
|
+
- Level: GATE
|
|
349
|
+
- Needs: —
|
|
350
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
351
|
+
- Trigger: The first argument of `.overlay(` is a colour string: a colour literal (`'#…'`, `'transparent'`, `'rgb(…)'`/`'rgba(…)'`), a conditional with a colour-literal branch, or a `this.<member>` initialised with a colour literal.
|
|
352
|
+
- Fix: `overlay(value: string)` is the **mask text** overload (overlay doc): the colour value is drawn as text at the component's top-left corner and the mask itself paints no pixels. Write a whole-card mask as an `@Builder` overlay: `@Builder mask() { Column().width('100%').height('100%').backgroundColor(<colour>).hitTestBehavior(HitTestMode.Transparent) }`, called as `.overlay(this.mask())` (overlay doc example 3: `'100%'` inside the overlay is relative to the host component); for a conditional mask use `if` inside the builder, never pass `'transparent'`.
|
|
353
|
+
- Downgrade marker: none
|
|
354
|
+
|
|
355
|
+
### popup-menu-default-look
|
|
356
|
+
|
|
357
|
+
- Level: GATE / CAND
|
|
358
|
+
- Needs: `--android`
|
|
359
|
+
- Knowledge card: `references/cards/widgets.md`
|
|
360
|
+
- Trigger: the Android source uses `PopupMenu(` under a Material / AppCompat / MaterialComponents / Material3 app theme, while a HarmonyOS file citing that source passes `MenuElement[]` to `.bindMenu(...)` (an array literal, or a member that is not a @Builder), which renders the ArkUI system menu look (CAND when the theme is unresolved).
|
|
361
|
+
- Fix: use `.bindMenu(this.xxxMenu)` with `@Builder xxxMenu() { Menu() { MenuItem(...) } }`, taking width, corner radius, row height, font size, inset and dividers from the measure_pack; when the menu was not captured, from the widgets card's source-theme table. When the parent flow accepts the difference, `APPEARANCE-ESCALATED(PopupMenu)` downgrades it to CAND.
|
|
362
|
+
- Downgrade marker: `// APPEARANCE-ESCALATED(PopupMenu): <basis>`
|
|
363
|
+
|
|
364
|
+
### popup-menu-not-bound
|
|
365
|
+
|
|
366
|
+
- Level: GATE / CAND
|
|
367
|
+
- Needs: `--android`
|
|
368
|
+
- Knowledge card: `references/cards/widgets.md`
|
|
369
|
+
- Trigger: an Android source file has `PopupMenu(`, while none of the HarmonyOS files whose text cites that source file has `.bindMenu()` / `.bindContextMenu()`.
|
|
370
|
+
- Fix: handle per Phase 4.3 "System dialogs and menus"; the downgrade marker is the same, written as `APPEARANCE-ESCALATED(PopupMenu)`.
|
|
371
|
+
- Downgrade marker: `// APPEARANCE-ESCALATED(PopupMenu): <basis>`
|
|
372
|
+
|
|
373
|
+
### sheet-blur-under-opaque-bg
|
|
374
|
+
|
|
375
|
+
- Level: CAND
|
|
376
|
+
- Needs: —
|
|
377
|
+
- Knowledge card: `references/cards/widgets.md`
|
|
378
|
+
- Trigger: The literal options of `bindSheet` set `blurStyle` (not NONE) but do not set `backgroundColor`, or set it to an opaque literal.
|
|
379
|
+
- Fix: Set a semi-transparent `backgroundColor` (matching the Android overlay color, e.g. `'#80FFFFFF'`); to control the radius precisely, use `backgroundColor: Color.Transparent` + `blurStyle: BlurStyle.NONE` and apply `.backgroundEffect({ radius, color })` on the content root node.
|
|
380
|
+
- Downgrade marker: none
|
|
381
|
+
|
|
382
|
+
### stack-occluding-sibling
|
|
383
|
+
|
|
384
|
+
- Level: GATE
|
|
385
|
+
- Needs: —
|
|
386
|
+
- Knowledge card: `references/cards/geometry.md`
|
|
387
|
+
- Trigger: a later child in a `Stack` is `'100%'` in width and height and carries its own opaque background, covering the earlier siblings entirely.
|
|
388
|
+
- Fix: move the page background color onto the Stack itself (.backgroundColor) or make it the first child; the upper container sets no background
|
|
389
|
+
- Downgrade marker: none
|
|
390
|
+
|
|
391
|
+
### surface-stroke-not-mirrored
|
|
392
|
+
|
|
393
|
+
- Level: CAND
|
|
394
|
+
- Needs: `--android`
|
|
395
|
+
- Knowledge card: `references/cards/widgets.md`
|
|
396
|
+
- Trigger: the Android source has `GradientDrawable.setStroke`, but there is not a single `.border()` in the scan scope.
|
|
397
|
+
- Fix: go back to the source to check the stroke's toggle and color.
|
|
398
|
+
- Downgrade marker: none
|
|
399
|
+
|
|
400
|
+
### text-on-stateful-bg-no-color
|
|
401
|
+
|
|
402
|
+
- Level: GATE / CAND
|
|
403
|
+
- Needs: —
|
|
404
|
+
- Knowledge card: `references/cards/dynamics.md`
|
|
405
|
+
- Trigger: a container's `backgroundColor` is a ternary expression, while neither its direct child `Text` nor its `Span`s have `fontColor`; CAND when only some Spans set a color.
|
|
406
|
+
- Fix: go back to the source and check the `setTextColor` in the same branch; when it really is the default color, write `// TEXT-COLOR-DEFAULT: <basis>` above it.
|
|
407
|
+
- Downgrade marker: `// TEXT-COLOR-DEFAULT: <basis>`
|
|
408
|
+
|
|
409
|
+
### theme-color-literal
|
|
410
|
+
|
|
411
|
+
- Level: GATE / CAND
|
|
412
|
+
- Needs: `shell-plan`
|
|
413
|
+
- Knowledge card: `references/cards/resources.md`
|
|
414
|
+
- Trigger: the shell contract's theme.mode is not static (Android has a dark scheme or a runtime theme colour), and an .ets file contains a `'#…'` colour literal, or a colour-attribute argument is a fixed enum such as `Color.White` / `Color.Black`.
|
|
415
|
+
- Fix: change it to `$r('app.color.<name>')`, defined under the same name in both the base and dark color.json (the dark value cites the line of the Android dark scheme / values-night), submitted through registry_requests `color` / `dark_color`; a runtime theme colour listed in the contract's `theme.runtime_slots` does not use `$r`: it is read through a getter of the observable theme state in `theme.state_module` (GATE `theme-runtime-color-static`). A colour whose value is the same in both Android schemes gets `// THEME-FIXED: <both scheme lines>` above it (downgraded to CAND).
|
|
416
|
+
- Downgrade marker: `// THEME-FIXED: <basis>`
|
|
417
|
+
|
|
418
|
+
### theme-mode-closure
|
|
419
|
+
|
|
420
|
+
- Level: GATE
|
|
421
|
+
- Needs: —
|
|
422
|
+
- Knowledge card: `references/cards/resources.md`
|
|
423
|
+
- Trigger: the project writes a theme mode (a `ThemeMode` enum plus `setThemeMode(` / `themeMode =`), but no file calls `setColorMode(` (a mention in a comment or a string literal does not count).
|
|
424
|
+
- Fix: Dark/light takes effect through `ApplicationContext.setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK / _LIGHT / _NOT_SET)`; storing the state without calling it changes nothing. Call it where the mode is set and, because setColorMode is not persisted (FAQ "Dark mode adaptation and persistence"), read the stored mode in the entry ability on launch and call it again.
|
|
425
|
+
- Downgrade marker: none
|
|
426
|
+
|
|
427
|
+
### theme-runtime-color-static
|
|
428
|
+
|
|
429
|
+
- Level: GATE / CAND
|
|
430
|
+
- Needs: `shell-plan`
|
|
431
|
+
- Knowledge card: `references/cards/resources.md`
|
|
432
|
+
- Trigger: the shell contract's `theme.runtime_slots` is non-empty (the Android colour scheme's `primary` comes from a user setting), and `$r('app.color.<slot>')` appears in a colour attribute or colour field; or the project has a second theme-state implementation (a file other than `theme.state_module` declares a `*Theme*Store` / `*ThemeState` class).
|
|
433
|
+
- Fix: read the runtime theme colour through a getter of the observable theme state in `theme.state_module` (V2: `@ObservedV2` + `@Trace`; the component holds the instance and writes `.backgroundColor(this.theme.primary)`); `$r('app.color.<slot>')` is a compile-time resource and does not follow the colour the user picks. Where the colour really stays the brand colour and does not follow the skin (e.g. the splash logo), write `// THEME-STATIC: <Android basis file:line>` above it (downgraded to CAND). Delete a second theme-state implementation and import `state_module` instead.
|
|
434
|
+
- Downgrade marker: `// THEME-STATIC: <basis>`
|
|
435
|
+
|
|
436
|
+
### theme-sheet-background-default
|
|
437
|
+
|
|
438
|
+
- Level: GATE
|
|
439
|
+
- Needs: `shell-plan`
|
|
440
|
+
- Knowledge card: `references/cards/resources.md`
|
|
441
|
+
- Trigger: the shell contract's theme.mode is not static, and the options of a `bindSheet(` call have no `backgroundColor`.
|
|
442
|
+
- Fix: SheetOptions.backgroundColor defaults to Color.White, which stays white in dark mode: pass `backgroundColor: $r('app.color.<surface>')` explicitly.
|
|
443
|
+
- Downgrade marker: none
|
|
444
|
+
|
|
445
|
+
### transition-pair-mismatch
|
|
446
|
+
|
|
447
|
+
- Level: GATE
|
|
448
|
+
- Needs: `shell-plan`
|
|
449
|
+
- Knowledge card: `references/cards/dynamics.md`
|
|
450
|
+
- Trigger: in pageTransition, PageTransitionEnter and PageTransitionExit of the same RouteType are not paired.
|
|
451
|
+
- Fix: router transitions need paired declarations on the pages before and after; a one-sided declaration breaks the hand-off
|
|
452
|
+
- Downgrade marker: none
|
|
453
|
+
|
|
454
|
+
### transition-undeclared-but-animated
|
|
455
|
+
|
|
456
|
+
- Level: GATE
|
|
457
|
+
- Needs: `shell-plan`
|
|
458
|
+
- Knowledge card: `references/cards/dynamics.md`
|
|
459
|
+
- Trigger: the source chain of the host Activity declares no Fragment transition, while a shell-content page writes pageTransition().
|
|
460
|
+
- Fix: switching inside the shell has no animation on the Android side, so none may be invented here
|
|
461
|
+
- Downgrade marker: none
|
|
462
|
+
|
|
463
|
+
## resources — Resources (Resource usage, color strings, string and SVG content)
|
|
464
|
+
|
|
465
|
+
### fillcolor-media-unresolved
|
|
466
|
+
|
|
467
|
+
- Level: CAND
|
|
468
|
+
- Needs: —
|
|
469
|
+
- Knowledge card: `references/cards/resources.md`
|
|
470
|
+
- Trigger: the argument of the Image that `.fillColor()` belongs to is not an `app.media.*` literal, and no media name can be resolved from the @Builder call sites either.
|
|
471
|
+
- Fix: manually open every SVG actually passed in and check its tint channel
|
|
472
|
+
- Downgrade marker: none
|
|
473
|
+
|
|
474
|
+
### fillcolor-on-full-viewport-path
|
|
475
|
+
|
|
476
|
+
- Level: GATE
|
|
477
|
+
- Needs: `--resources`
|
|
478
|
+
- Knowledge card: `references/cards/resources.md`
|
|
479
|
+
- Trigger: the referenced media SVG has a fill="none" bounding box covering the viewBox: a path whose d is exactly the full viewBox rectangle, or a rect with x/y at 0 and width/height equal to the viewBox.
|
|
480
|
+
- Fix: - The rules that read SVG/resource file content (need `--resources`) correspond to the sub-items of "Misused Resource References": `fillcolor-on-stroke-svg`, `fillcolor-on-full-viewport-path`, `media-unresolved-theme-attr` / `media-placeholder-in-use`, `media-duplicate-attribute`. They are exactly the class missed by "just running `ls media/` to confirm the name exists".
|
|
481
|
+
- Downgrade marker: none
|
|
482
|
+
|
|
483
|
+
### fillcolor-on-raster-media
|
|
484
|
+
|
|
485
|
+
- Level: GATE
|
|
486
|
+
- Needs: `--resources`
|
|
487
|
+
- Knowledge card: `references/cards/resources.md`
|
|
488
|
+
- Trigger: the `app.media.*` tinted by `.fillColor()` exists only as a bitmap (png/webp/jpg/bmp/gif) in every resource qualifier directory, with no SVG.
|
|
489
|
+
- Fix: SDK: fillColor "only applies to SVG sources … use colorFilter to recolour png images". Drop fillColor and use `.colorFilter(new ColorFilter([0,0,0,0,r, 0,0,0,0,g, 0,0,0,0,b, 0,0,0,1,0]))` (r/g/b in 0~1, keeps alpha, = Android `tint` / `ColorFilter SRC_IN`); or convert the icon from the Android `<vector>` to SVG.
|
|
490
|
+
- Downgrade marker: none
|
|
491
|
+
|
|
492
|
+
### fillcolor-on-stroke-svg
|
|
493
|
+
|
|
494
|
+
- Level: GATE
|
|
495
|
+
- Needs: `--resources`
|
|
496
|
+
- Knowledge card: `references/cards/resources.md`
|
|
497
|
+
- Trigger: the media SVG tinted by `.fillColor()` has geometry colored by stroke with no fill.
|
|
498
|
+
- Fix: - The rules that read SVG/resource file content (need `--resources`) correspond to the sub-items of "Misused Resource References": `fillcolor-on-stroke-svg`, `fillcolor-on-full-viewport-path`, `media-unresolved-theme-attr` / `media-placeholder-in-use`, `media-duplicate-attribute`. They are exactly the class missed by "just running `ls media/` to confirm the name exists".
|
|
499
|
+
- Downgrade marker: none
|
|
500
|
+
|
|
501
|
+
### format-string-without-args
|
|
502
|
+
|
|
503
|
+
- Level: GATE
|
|
504
|
+
- Needs: `--resources`
|
|
505
|
+
- Knowledge card: `references/cards/resources.md`
|
|
506
|
+
- Trigger: a resource in string.json with format placeholders (%1$s / %d …) is handed directly to Text/Span for display via an argument-less `$r('app.string.x')` (including via an intermediate field/variable).
|
|
507
|
+
- Fix: pass arguments: $r('app.string.x', value), or getStringSync(id, value)
|
|
508
|
+
- Downgrade marker: none
|
|
509
|
+
|
|
510
|
+
### lottie-host-not-integrated
|
|
511
|
+
|
|
512
|
+
- Level: GATE / CAND
|
|
513
|
+
- Needs: `--android`
|
|
514
|
+
- Knowledge card: `references/cards/resources.md`
|
|
515
|
+
- Trigger: An Android source cited by the `.ets` plays Lottie (`LottieAnimation` / `LottieAnimationView` / `rememberLottieComposition` / `lottie_rawRes` etc.), and none of the `.ets` citing it imports `@ohos/lottie`.
|
|
516
|
+
- Fix: Load `rawfile/lottie/<name>.json` with `@ohos/lottie` per `references/lottie-integration.md` (request `@ohos/lottie` in registry_requests if the dependency is missing). When it truly cannot be integrated, write `// LOTTIE-DEGRADED: <which animation, what placeholder, why>` in a `.ets` that cites the source to downgrade to CAND, and register L3 degraded in the report. Replacing the Lottie with another static drawable is "substituting an existing drawable with mismatched semantics", not a downgrade exit.
|
|
517
|
+
- Downgrade marker: `// LOTTIE-DEGRADED: <basis>`
|
|
518
|
+
|
|
519
|
+
### media-duplicate-attribute
|
|
520
|
+
|
|
521
|
+
- Level: GATE
|
|
522
|
+
- Needs: `--resources`
|
|
523
|
+
- Knowledge card: `references/cards/resources.md`
|
|
524
|
+
- Trigger: in the referenced media SVG, the same attribute appears twice on the same element (invalid XML; the whole image does not show).
|
|
525
|
+
- Fix: - The rules that read SVG/resource file content (need `--resources`) correspond to the sub-items of "Misused Resource References": `fillcolor-on-stroke-svg`, `fillcolor-on-full-viewport-path`, `media-unresolved-theme-attr` / `media-placeholder-in-use`, `media-duplicate-attribute`. They are exactly the class missed by "just running `ls media/` to confirm the name exists".
|
|
526
|
+
- Downgrade marker: none
|
|
527
|
+
|
|
528
|
+
### media-placeholder-in-use
|
|
529
|
+
|
|
530
|
+
- Level: GATE
|
|
531
|
+
- Needs: `--resources`
|
|
532
|
+
- Knowledge card: `references/cards/resources.md`
|
|
533
|
+
- Trigger: the referenced media SVG is a placeholder generated in the resource conversion stage (grey rectangle + resource name text).
|
|
534
|
+
- Fix: - The rules that read SVG/resource file content (need `--resources`) correspond to the sub-items of "Misused Resource References": `fillcolor-on-stroke-svg`, `fillcolor-on-full-viewport-path`, `media-unresolved-theme-attr` / `media-placeholder-in-use`, `media-duplicate-attribute`. They are exactly the class missed by "just running `ls media/` to confirm the name exists".
|
|
535
|
+
- Downgrade marker: none
|
|
536
|
+
|
|
537
|
+
### media-unresolved-theme-attr
|
|
538
|
+
|
|
539
|
+
- Level: GATE
|
|
540
|
+
- Needs: `--resources`
|
|
541
|
+
- Knowledge card: `references/cards/resources.md`
|
|
542
|
+
- Trigger: the fill/stroke of the referenced media SVG is still an unresolved Android theme attribute (`?attr/…`).
|
|
543
|
+
- Fix: - The rules that read SVG/resource file content (need `--resources`) correspond to the sub-items of "Misused Resource References": `fillcolor-on-stroke-svg`, `fillcolor-on-full-viewport-path`, `media-unresolved-theme-attr` / `media-placeholder-in-use`, `media-duplicate-attribute`. They are exactly the class missed by "just running `ls media/` to confirm the name exists".
|
|
544
|
+
- Downgrade marker: none
|
|
545
|
+
|
|
546
|
+
### r-template-string
|
|
547
|
+
|
|
548
|
+
- Level: GATE
|
|
549
|
+
- Needs: —
|
|
550
|
+
- Knowledge card: `references/cards/resources.md`
|
|
551
|
+
- Trigger: `$r(` is immediately followed by a template string (backticks).
|
|
552
|
+
- Fix: $r() requires a literal; template-string concatenation is unreliable at runtime — switch to an explicit mapping table
|
|
553
|
+
- Downgrade marker: none
|
|
554
|
+
|
|
555
|
+
### resource-as-string
|
|
556
|
+
|
|
557
|
+
- Level: GATE
|
|
558
|
+
- Needs: —
|
|
559
|
+
- Knowledge card: `references/cards/resources.md`
|
|
560
|
+
- Trigger: `$r()` / `$rawfile()` or a name declared as `: Resource` is used as a string via `.toString()`, `String()`, template interpolation or `+` concatenation.
|
|
561
|
+
- Fix: display only: hand the Resource directly to Text()/promptAction etc.; to concatenate: this.getUIContext().getHostContext()!.resourceManager.getStringSync($r('app.string.x').id[, format args]); when a ViewModel has no UIContext, the page passes in the context or the already-fetched string. Format arguments of Android getString(R.string.x, a) / stringResource(R.string.x, a) use getStringSync(id, a) or $r('app.string.x', a)
|
|
562
|
+
- Downgrade marker: none
|
|
563
|
+
|
|
564
|
+
### string-quote-leak
|
|
565
|
+
|
|
566
|
+
- Level: GATE
|
|
567
|
+
- Needs: `--resources`
|
|
568
|
+
- Knowledge card: `references/cards/resources.md`
|
|
569
|
+
- Trigger: the value of some resource in string.json still has Android escape quotes (`"…"`) at both ends.
|
|
570
|
+
- Fix: the string resource still has Android escape quotes: "…" is escape syntax, not text content.
|
|
571
|
+
- Downgrade marker: none
|
|
572
|
+
|
|
573
|
+
## interaction — Interaction and reachability (clicks, navigation, accessibility, scrolling)
|
|
574
|
+
|
|
575
|
+
### a11y-content-desc-unobservable
|
|
576
|
+
|
|
577
|
+
- Level: GATE / CAND
|
|
578
|
+
- Needs: —
|
|
579
|
+
- Knowledge card: `references/cards/interaction.md`
|
|
580
|
+
- Trigger: a component chain has `.accessibilityText(X)` but no `.accessibilityDescription(…)`; GATE for interactive icon-only/glyph-only controls, CAND otherwise.
|
|
581
|
+
- Fix: add `.accessibilityDescription(X)` with the same value as the Android `content-desc`.
|
|
582
|
+
- Downgrade marker: none
|
|
583
|
+
|
|
584
|
+
### chrome-duplicated-in-content-page
|
|
585
|
+
|
|
586
|
+
- Level: GATE
|
|
587
|
+
- Needs: `shell-plan`
|
|
588
|
+
- Knowledge card: `references/cards/interaction.md`
|
|
589
|
+
- Trigger: a shell-content page carries its own copy of the shell's chrome builder (bottom bar/side bar/top bar), or instantiates an imported chrome component.
|
|
590
|
+
- Fix: delete the copy; the shell draws it once for all
|
|
591
|
+
- Downgrade marker: none
|
|
592
|
+
|
|
593
|
+
### converted-page-unreachable
|
|
594
|
+
|
|
595
|
+
- Level: GATE
|
|
596
|
+
- Needs: —
|
|
597
|
+
- Knowledge card: `references/cards/interaction.md`
|
|
598
|
+
- Trigger: the route string `'pages/X'` of an @Entry page does not appear as a complete literal in any file of the whole project (loadContent targets excepted).
|
|
599
|
+
- Fix: if you confirm some entry point should navigate here, add router.pushUrl({ url: 'pages/X' })
|
|
600
|
+
- Downgrade marker: none
|
|
601
|
+
|
|
602
|
+
### dead-nav-todo
|
|
603
|
+
|
|
604
|
+
- Level: CAND
|
|
605
|
+
- Needs: `shell-plan`
|
|
606
|
+
- Knowledge card: `references/cards/interaction.md`
|
|
607
|
+
- Trigger: a shell-content page has a `TODO: navigate to` placeholder line.
|
|
608
|
+
- Fix: a navigation `TODO` is legitimate only when its target is a `skip` row.
|
|
609
|
+
- Downgrade marker: none
|
|
610
|
+
|
|
611
|
+
### entry-route-not-converted
|
|
612
|
+
|
|
613
|
+
- Level: GATE
|
|
614
|
+
- Needs: —
|
|
615
|
+
- Knowledge card: `references/cards/interaction.md`
|
|
616
|
+
- Trigger: the target page of the UIAbility's loadContent() does not exist, is a leftover DevEco scaffold page, or converted pages exist in the project but none of them is loaded by loadContent.
|
|
617
|
+
- Fix: `loadContent()` in the `UIAbility` does not point at a converted page, so the app launches the scaffold's Hello World. It fires only once converted pages exist.
|
|
618
|
+
- Downgrade marker: none
|
|
619
|
+
|
|
620
|
+
### event-default-click-swallows-parent
|
|
621
|
+
|
|
622
|
+
- Level: GATE
|
|
623
|
+
- Needs: —
|
|
624
|
+
- Knowledge card: `references/cards/interaction.md`
|
|
625
|
+
- Trigger: a component's build() binds `.onClick(…)` unconditionally to just `this.X()` / `this.X?.()` (the arrow may take parameters, e.g. `(e) => this.X(e)`), X being an `@Event` / callback parameter the caller may leave out (empty-function default, or optional / undefined default); the binding has no `hitTestBehavior` that switches on whether X was passed (a constant such as `HitTestMode.Default` does not count) and is not inside an `if (this.X …)` branch; some call site does not pass X while one of its ancestors (across the call chain too) writes `.onClick`. With same-name components in several modules, each call site is matched to its own declaration by import / module.
|
|
626
|
+
- Fix: an ArkUI tap is handled by the innermost hit node: a child that binds onClick (even to an empty function) takes the tap, and the ancestor's onClick no longer fires. Compose `onClick: (() -> Unit)? = null` adds `clickable` only when non-null; do not translate it into an empty default plus an unconditional binding. Do both steps: declare the parameter as optional `@Event X: (() => void) | undefined = undefined`, and keep the node out of hit testing when it is not passed: `.onClick(() => { this.X?.() })` with `.hitTestBehavior(this.X === undefined ? HitTestMode.None : HitTestMode.Default)`. Changing the default without the hitTestBehavior still takes the tap. Where the call site needs no click, a component without a click also works. When that call site really must not trigger the ancestor's click, write `// CLICK-OWNER: <evidence>` above it to close this rule.
|
|
627
|
+
- Downgrade marker: `// CLICK-OWNER: <basis>`
|
|
628
|
+
|
|
629
|
+
### fullsize-container
|
|
630
|
+
|
|
631
|
+
- Level: GATE / CAND
|
|
632
|
+
- Needs: —
|
|
633
|
+
- Knowledge card: `references/cards/interaction.md`
|
|
634
|
+
- Trigger: a node `'100%'` in width and height with no `hitTestBehavior` that the checker cannot prove, from the layer structure, leaves the taps below it alone. Nodes it can prove (taking input itself, a non-layered parent, nothing clickable below, a page root) are no longer listed. Any `hitTestBehavior` (`Block` / `Default` included) counts as the author's explicit choice and is out of scope.
|
|
635
|
+
- Fix: GATE "conditional overlay": while shown it covers clickable elements below it. When blocking input is the intent (loading mask, modal layer) write the downgrade marker `// HIT-TEST: blocks-input: <basis>`; otherwise add `.hitTestBehavior(HitTestMode.None)`. GATE "layer whose children take input": its own area covers clickable elements below it; size or place it so it does not, or add `.hitTestBehavior(HitTestMode.Transparent)` when a tap on it should reach them too; when covering the lower layer is the intent (a full-screen sheet over its own scrim) write `// HIT-TEST: covers-below: <basis>`. CAND (a component outside the scanned files drawn by it or below it, `zIndex` reordering, no call site found): the checker cannot decide it; check it under "Interaction Reachability Evidence".
|
|
636
|
+
- Downgrade marker: `// HIT-TEST: <blocks-input|covers-below>: <basis>`
|
|
637
|
+
|
|
638
|
+
### input-type-decimal-domain
|
|
639
|
+
|
|
640
|
+
- Level: GATE
|
|
641
|
+
- Needs: —
|
|
642
|
+
- Knowledge card: `references/cards/widgets.md`
|
|
643
|
+
- Trigger: an amount/price field (a **whole word**, split on camelCase / snake_case, of the struct name, text, placeholder or onChange is price / amount / money / cost / fee / balance, or the text contains a Chinese money word) uses `.type(InputType.Number)`; the fee inside FeedbackPage is not a whole word and does not count.
|
|
644
|
+
- Fix: InputType.Number is "pure digit input, no negatives or decimals" and **filters out** the decimal point; Android `inputType=numberDecimal` / Compose `KeyboardType.Decimal` only switch the keyboard. Use `InputType.NUMBER_DECIMAL` (API 11+, one decimal point, no negatives; use inputFilter for negatives). When the amount really is an integer, write `// INPUT-INTEGER: <basis>` above the component to close this rule.
|
|
645
|
+
- Downgrade marker: `// INPUT-INTEGER: <basis>`
|
|
646
|
+
|
|
647
|
+
### multiple-overlay-binds-same-node
|
|
648
|
+
|
|
649
|
+
- Level: GATE
|
|
650
|
+
- Needs: —
|
|
651
|
+
- Knowledge card: `references/cards/widgets.md`
|
|
652
|
+
- Trigger: One component's attribute chain binds two or more `.bindSheet(` / `.bindContentCover(`.
|
|
653
|
+
- Fix: Bind one sheet / content cover per node: put each overlay on its own trigger node, or wrap each in an empty container (e.g. `Column()`) as its host; with many or stacked overlays, manage them by content handle with `UIContext.openBindSheet` / `updateBindSheet` / `closeBindSheet`. Each Compose `ModalBottomSheet` has its own state, which in ArkUI means its own host node.
|
|
654
|
+
- Downgrade marker: none
|
|
655
|
+
|
|
656
|
+
### offset-in-scroll-content
|
|
657
|
+
|
|
658
|
+
- Level: GATE
|
|
659
|
+
- Needs: —
|
|
660
|
+
- Knowledge card: `references/cards/dynamics.md`
|
|
661
|
+
- Trigger: the y of `.offset` / `.translate` in the content of a vertical scroll container reads state written by that same scroll container's scroll callback.
|
|
662
|
+
- Fix: for a collapsing header, distribute the scroll amount with .onScrollFrameBegin instead (return { offsetRemain: 0 } while the header is not fully collapsed), and add no offset to the content
|
|
663
|
+
- Downgrade marker: none
|
|
664
|
+
|
|
665
|
+
### orphan-component
|
|
666
|
+
|
|
667
|
+
- Level: GATE
|
|
668
|
+
- Needs: —
|
|
669
|
+
- Knowledge card: `references/cards/interaction.md`
|
|
670
|
+
- Trigger: the name X of an `export struct X` in a non-@Entry file appears in no import and is not instantiated in its own file either.
|
|
671
|
+
- Fix: self-contained dialog/panel components must be imported by the wiring sub-agent in Step 5.5 and attached to their triggers (see SKILL.md Step 5.5).
|
|
672
|
+
- Downgrade marker: none
|
|
673
|
+
|
|
674
|
+
### scroll-delta-as-offset
|
|
675
|
+
|
|
676
|
+
- Level: GATE / CAND
|
|
677
|
+
- Needs: —
|
|
678
|
+
- Knowledge card: `references/cards/dynamics.md`
|
|
679
|
+
- Trigger: an `onDidScroll` / `onScroll` / `onWillScroll` callback assigns its **per-frame scroll delta** argument straight to state (GATE), or compares it with a non-zero threshold (CAND).
|
|
680
|
+
- Fix: the callback argument is this frame's delta, not the accumulated offset. For an accumulated offset (collapsing header, top-bar fade, Compose `firstVisibleItemScrollOffset` / View `getScrollY()`) read `this.scroller.currentOffset().yOffset`, or accumulate on state with `+=`; comparing with 0 to tell the direction is fine. When a delta is really meant, write `// SCROLL-DELTA: <basis>` above the callback or the assignment to downgrade to CAND.
|
|
681
|
+
- Downgrade marker: `// SCROLL-DELTA: <basis>`
|
|
682
|
+
|
|
683
|
+
### shell-content-has-entry
|
|
684
|
+
|
|
685
|
+
- Level: GATE
|
|
686
|
+
- Needs: `shell-plan`
|
|
687
|
+
- Knowledge card: `references/cards/interaction.md`
|
|
688
|
+
- Trigger: a page file of a group with presentation=shell-content in the plan declares @Entry.
|
|
689
|
+
- Fix: it should not be a standalone @Entry route page: the shell (entry group) mounts it, and navigation goes through the shell's tab switching/route stack, not router.pushUrl
|
|
690
|
+
- Downgrade marker: none
|
|
691
|
+
|
|
692
|
+
### stack-swallows-taps
|
|
693
|
+
|
|
694
|
+
- Level: GATE
|
|
695
|
+
- Needs: —
|
|
696
|
+
- Knowledge card: `references/cards/interaction.md`
|
|
697
|
+
- Trigger: a later, always-shown child of a `Stack`/`RelativeContainer` is `'100%'` in width and height, has no `hitTestBehavior`, takes no input itself or in its subtree, and an earlier sibling has a clickable element (items a `ForEach` / `LazyForEach` / `Repeat` repeats count at its position among the siblings). Any `hitTestBehavior` on the layer (`Block` / `Default` included) counts as the author's explicit choice and is not reported.
|
|
698
|
+
- Fix: give the layer `.hitTestBehavior(HitTestMode.None)` (`HitTestMode.Transparent` when the layer must still receive events itself). The default `HitTestMode.Default` blocks the touch test of sibling nodes, so a transparent layer with no onClick still swallows every tap below it.
|
|
699
|
+
- Downgrade marker: none
|
|
700
|
+
|
|
701
|
+
### swiper-index-unbound
|
|
702
|
+
|
|
703
|
+
- Level: GATE
|
|
704
|
+
- Needs: —
|
|
705
|
+
- Knowledge card: `references/cards/dynamics.md`
|
|
706
|
+
- Trigger: `aboutToAppear()` calls `this.<ctrl>.changeIndex(…)`, while the attribute chain of `Swiper(this.<ctrl>)` in the same file has no `.index(…)`.
|
|
707
|
+
- Fix: `aboutToAppear` runs before `build()` (custom component lifecycle doc), when the Swiper does not exist yet and the controller has nothing to page; the initial page is decided by `.index()` and is page 0 when it is unset (FAQ "How does Swiper show the page at a given index"). Give the Swiper `.index(this.vm.selectedTabIndex)` (V1 can bind it two-way with `$$`) so state drives both the initial page and later page changes; keep `changeIndex` for user actions after build.
|
|
708
|
+
- Downgrade marker: none
|
|
709
|
+
|
|
710
|
+
## state — State management (V1/V2 decorators, Builder parameter passing)
|
|
711
|
+
|
|
712
|
+
### appstoragev2-connect-creator
|
|
713
|
+
|
|
714
|
+
- Level: GATE
|
|
715
|
+
- Needs: —
|
|
716
|
+
- Knowledge card: `references/cards/state.md`
|
|
717
|
+
- Trigger: two shapes: (1) `AppStorageV2.connect(Type, key)` / `PersistenceV2.connect(Type, key)` passes a key but no third argument (default creator), with no `keys().includes(key)` guard before it; (2) one key (a string literal or a same-file `const X = '...'`) is connected with types **declared in different places** (classes each file declares or copies itself; compared by the declaring file of the class or the package it is imported from, so several pages importing one exported class do not count).
|
|
718
|
+
- Fix: AppStorageV2 docs: "the creator may be omitted only when the data is already stored; otherwise it must be given, or the app fails" — the first connect throws `BusinessError: The default creator should be function when first connect`, and a `connect(...) ?? new T()` fallback never runs; "connecting different types to one key makes the app fail", and same-named classes in different files are different types. Always write `connect(T, key, () => new T())!`; for a key shared across modules, put the class and its connect with a creator in one shared HAR (common/*) that every module imports, instead of copying the connector into each module.
|
|
719
|
+
- Downgrade marker: none
|
|
720
|
+
|
|
721
|
+
### builder-param-arrow-inline-component
|
|
722
|
+
|
|
723
|
+
- Level: GATE
|
|
724
|
+
- Needs: —
|
|
725
|
+
- Knowledge card: `references/cards/state.md`
|
|
726
|
+
- Trigger: a **custom component** receives an arrow function `prop: () => { … }` in its constructor argument whose body writes a component directly (`Child({…})`, `Text(…)`, `Column() {…}`, `ForEach(…)`) instead of only calling a @Builder such as `this.X()` / `X()`. Only names proven to be components count: built-in kinds, structs declared in this file, and imports that resolve to a file declaring a struct of that name; an imported global `@Builder function` (e.g. `() => { EmptyView() }`) or an unresolved name does not fire.
|
|
727
|
+
- Fix: only @Builder / @LocalBuilder bodies are compiled into UI build code; an arrow body is kept as is, so `Child({…})` inside it is a plain call of the component class and crashes with `TypeError: class constructor cannot called without 'new'` when the slot renders. It compiles and the cold start does not hit it (slots usually sit in a Success / has-data branch). Move the component into a `@Builder X()` of this component (use `@LocalBuilder` when it reads parent state) and pass `prop: () => { this.X() }`; when it does not read this, `prop: this.X` works too. When the capitalised name called in the arrow is really a @Builder function from a source this check cannot resolve (e.g. a re-export), write `// ARROW-SLOT: <evidence>` above the property to close this rule.
|
|
728
|
+
- Downgrade marker: `// ARROW-SLOT: <basis>`
|
|
729
|
+
|
|
730
|
+
### builder-param-bare-method-ref
|
|
731
|
+
|
|
732
|
+
- Level: GATE
|
|
733
|
+
- Needs: —
|
|
734
|
+
- Knowledge card: `references/cards/state.md`
|
|
735
|
+
- Trigger: a **custom component** (a struct declared in this file or imported) receives `prop: this.X` in its constructor argument, where X is this component's `@Builder` (not `@LocalBuilder`) and X's body reads `this.`.
|
|
736
|
+
- Fix: Inside a @Builder, `this` is the component at the **actual call site**: once `this.X` is handed to a child's @BuilderParam, X runs in the child and `this.foo` reads the child → an `undefined is not callable` crash or the child's field of the same name (FAQ "Error message: undefined is not callable when calling this in BuilderParam"). Write `prop: () => { this.X() }` (the arrow body may **only** call a @Builder; components go inside X, see builder-param-arrow-inline-component), or declare X with `@LocalBuilder` (its `this` stays the declaring component). When X's `this` reads only members the child also has, write `// BUILDER-THIS: <basis>` above the call site to close this rule.
|
|
737
|
+
- Downgrade marker: `// BUILDER-THIS: <basis>`
|
|
738
|
+
|
|
739
|
+
### builder-param-by-value
|
|
740
|
+
|
|
741
|
+
- Level: GATE / CAND
|
|
742
|
+
- Needs: —
|
|
743
|
+
- Knowledge card: `references/cards/state.md`
|
|
744
|
+
- Trigger: a call site of a same-file @Builder / @LocalBuilder passes a state-derived argument positionally (`this.x()`, a state field, a getter, a `this.x` with no declaration found); CAND when the argument as a whole is an @ObservedV2 instance.
|
|
745
|
+
- Fix: read `this.xxx` directly inside the Builder, or switch to a single object-literal parameter, or, with several parameters, pass `UIUtils.makeBinding<T>(() => this.x)`, declare the parameter as `Binding<T>` and read `.value` inside the Builder (API 20+, `arkts-builder` §Passing parameters by callback), or turn it into a `@Component` + `@Prop`. When you have confirmed the arguments do not change with state, write `// BUILDER-STATIC: <basis>` above the call site to downgrade it to CAND.
|
|
746
|
+
- Downgrade marker: `// BUILDER-STATIC: <basis>`
|
|
747
|
+
|
|
748
|
+
### controlled-input-conditional-writeback
|
|
749
|
+
|
|
750
|
+
- Level: GATE / CAND
|
|
751
|
+
- Needs: —
|
|
752
|
+
- Knowledge card: `references/cards/state.md`
|
|
753
|
+
- Trigger: a `TextInput`/`TextArea`/`Search` binds `text` one way to `this.x`, the assignment to `this.x` in `onChange` does not run on every path (if/else with every arm assigning, or an assignment in a try block, count as every path), and the callback makes no `this.…(…)` call that hands the new value on: GATE when the value written is derived from the parameter (ordinary input never writes back and the state keeps its old value); CAND when the parameter itself is written back only when a check passes (`if (ok(v)) this.x = v`: rejected input stays in the field while the state keeps the previous value).
|
|
754
|
+
- Fix: The displayed value of an ArkUI input is kept by the component itself; without a write-back in `onChange` the state variable does not follow (TextInput reference, text parameter; FAQ "How to fix abnormal TextInput input limits"). Compose `onValueChange = { v -> val f = filter(v); if (f != v) state = f }` / "assign after filtering" becomes a write of the filtered result on **every path**: `const f = filter(v); this.x = f;`, or a `text: $$this.x` / `!!` two-way binding plus `inputFilter`. For the validation-guard CAND (`if (ok(v)) this.x = v`), refuse the input with `.inputFilter(…)` when the Android side did.
|
|
755
|
+
- Downgrade marker: none
|
|
756
|
+
|
|
757
|
+
### dialog-controller-v2-builder
|
|
758
|
+
|
|
759
|
+
- Level: GATE
|
|
760
|
+
- Needs: —
|
|
761
|
+
- Knowledge card: `references/cards/state.md`
|
|
762
|
+
- Trigger: `new CustomDialogController({ builder: X(...) })` is written in a `@ComponentV2` component, or the builder target X is `@ComponentV2` (not `@CustomDialog`).
|
|
763
|
+
- Fix: CustomDialog reference: CustomDialogController is valid only as a member of a @CustomDialog / @Component struct and assigned inside a @Component, and the builder must be a @CustomDialog. In a V2 page use `this.getUIContext().getPromptAction().openCustomDialog(new ComponentContent(uiContext, wrapBuilder(fn), params), options)`, whose builder may instantiate a @ComponentV2 component; close it with closeCustomDialog(contentNode).
|
|
764
|
+
- Downgrade marker: none
|
|
765
|
+
|
|
766
|
+
### observedv2-without-trace
|
|
767
|
+
|
|
768
|
+
- Level: GATE
|
|
769
|
+
- Needs: —
|
|
770
|
+
- Knowledge card: `references/cards/state.md`
|
|
771
|
+
- Trigger: the file has @ObservedV2 but no @Trace at all.
|
|
772
|
+
- Fix: the @ObservedV2 class has no @Trace property at all, so state changes do not trigger a UI refresh
|
|
773
|
+
- Downgrade marker: none
|
|
774
|
+
|
|
775
|
+
### paradigm-mix
|
|
776
|
+
|
|
777
|
+
- Level: GATE
|
|
778
|
+
- Needs: —
|
|
779
|
+
- Knowledge card: `references/cards/state.md`
|
|
780
|
+
- Trigger: the same file has both V1 decorators (@State/@Prop/@Link/@Observed/…) and V2 decorators (@Local/@Param/@ObservedV2/@Trace/…).
|
|
781
|
+
- Fix: V1 and V2 decorators mixed in the same file — the two paradigms must not be mixed in the same project
|
|
782
|
+
- Downgrade marker: none
|
|
783
|
+
|
|
784
|
+
### trace-without-observedv2
|
|
785
|
+
|
|
786
|
+
- Level: GATE
|
|
787
|
+
- Needs: —
|
|
788
|
+
- Knowledge card: `references/cards/state.md`
|
|
789
|
+
- Trigger: the file has @Trace but no @ObservedV2.
|
|
790
|
+
- Fix: @Trace appears but the class lacks @ObservedV2; the two must be used together, and either alone has no effect
|
|
791
|
+
- Downgrade marker: none
|
|
792
|
+
|
|
793
|
+
### track-class-getter-in-ui
|
|
794
|
+
|
|
795
|
+
- Level: GATE
|
|
796
|
+
- Needs: —
|
|
797
|
+
- Knowledge card: `references/cards/state.md`
|
|
798
|
+
- Trigger: a getter is declared in the body of a class that uses both @Observed and @Track.
|
|
799
|
+
- Fix: change it to a plain method (prototype methods are not subject to the @Track proxy constraint), or promote it to a real @Track field
|
|
800
|
+
- Downgrade marker: none
|
|
801
|
+
|
|
802
|
+
## window — Window and system bars (immersion, safe area)
|
|
803
|
+
|
|
804
|
+
### android-immersive-not-mirrored
|
|
805
|
+
|
|
806
|
+
- Level: CAND
|
|
807
|
+
- Needs: `--android`
|
|
808
|
+
- Knowledge card: `references/cards/window.md`
|
|
809
|
+
- Trigger: the Android source has edge-to-edge calls (enableEdgeToEdge / setDecorFitsSystemWindows), while the HarmonyOS project has no component-level immersion at all (ignoresLayoutSafeAreaEdges / expandSafeArea).
|
|
810
|
+
- Fix: decide host ownership per ①; you **must not** substitute screenshots or "consistent with the baseline" for that decision.
|
|
811
|
+
- Downgrade marker: none
|
|
812
|
+
|
|
813
|
+
### backdrop-image-in-clipping-ancestor
|
|
814
|
+
|
|
815
|
+
- Level: CAND
|
|
816
|
+
- Needs: —
|
|
817
|
+
- Knowledge card: `references/cards/window.md`
|
|
818
|
+
- Trigger: an `Image` that is '100%' in both width and height (a background image filling its container) sits inside a Refresh/Scroll/List/Grid/WaterFlow, while its own file, a file the call chain passes through, or an upper-level file (the shell host Index.ets) of the file where each layer of the clipping container is mounted applies component-level immersion (ignoresLayoutSafeAreaEdges / expandSafeArea of background); not reported inside ForEach/LazyForEach/Repeat items.
|
|
819
|
+
- Fix: see "Window Mode Evidence" ③ "Layer by layer under the bar". If the image is the background of the chrome that Android draws under the system bar (header image, collapsing-header backdrop), move it into the extension layer under the page root, outside the clipping container: `.background(<@Builder that draws the image>, { ignoresLayoutSafeAreaEdges: [LayoutSafeAreaEdge.TOP] })`, with the state-driven opacity set on that layer itself; delete it from the original place. When it is not under the bar (list card backdrop, etc.), note it in the report's CANDIDATES.
|
|
820
|
+
- Downgrade marker: none
|
|
821
|
+
|
|
822
|
+
### fixed-size-expand-safe-area
|
|
823
|
+
|
|
824
|
+
- Level: GATE / CAND
|
|
825
|
+
- Needs: —
|
|
826
|
+
- Knowledge card: `references/cards/window.md`
|
|
827
|
+
- Trigger: A component whose last effective height on the chain is a fixed value (numeric literal / member declared as number) sets `expandSafeArea`; GATE when SafeAreaEdge.TOP is explicit, CAND otherwise.
|
|
828
|
+
- Fix: Give the layer its own fixed height without expandSafeArea, and change the background to .background(<color or builder>, { ignoresLayoutSafeAreaEdges: [LayoutSafeAreaEdge.TOP] }) — the background area includes the expanded safe area and the component layout is unchanged (background settings doc, BackgroundOptions); or use a percentage height on the inner layer and then expandSafeArea (percentages are exempt). On a CAND hit, state the actual value of that height expression in the report.
|
|
829
|
+
- Downgrade marker: none
|
|
830
|
+
|
|
831
|
+
### safe-area-in-clipping-ancestor
|
|
832
|
+
|
|
833
|
+
- Level: GATE
|
|
834
|
+
- Needs: —
|
|
835
|
+
- Knowledge card: `references/cards/window.md`
|
|
836
|
+
- Trigger: the ancestors of the component carrying `expandSafeArea(SYSTEM)` / `background(…, { ignoresLayoutSafeAreaEdges })` include a Refresh/Scroll/List/Grid/WaterFlow.
|
|
837
|
+
- Fix: `safe-area-in-clipping-ancestor` (GATE): see "Window Mode Evidence" ③. Fix: put the background that must reach into the system bar in a separate layer under the page root, outside the refresh/scroll container (its height driven by the same state, `.hitTestBehavior(HitTestMode.None)`), while the content stays in the original container. This layer uses background + ignoresLayoutSafeAreaEdges; a fixed height with expandSafeArea only moves up without growing, see fixed-size-expand-safe-area.
|
|
838
|
+
- Downgrade marker: none
|
|
839
|
+
|
|
840
|
+
### system-bar-height-read
|
|
841
|
+
|
|
842
|
+
- Level: GATE
|
|
843
|
+
- Needs: —
|
|
844
|
+
- Knowledge card: `references/cards/window.md`
|
|
845
|
+
- Trigger: reading the system bar height: avoid-area APIs (getWindowAvoidArea, etc.), an avoidAreaChange listener, or the old contract's AppStorage bar-height key (TYPE_KEYBOARD excepted).
|
|
846
|
+
- Fix: the fix is to delete the call and the matching padding and switch to the component-level background extension, **not** to make the read reactive.
|
|
847
|
+
- Downgrade marker: none
|
|
848
|
+
|
|
849
|
+
### window-fullscreen-layout
|
|
850
|
+
|
|
851
|
+
- Level: GATE
|
|
852
|
+
- Needs: —
|
|
853
|
+
- Knowledge card: `references/cards/window.md`
|
|
854
|
+
- Trigger: the code has `setWindowLayoutFullScreen(` and the argument is not the literal `false`.
|
|
855
|
+
- Fix: the fix is to delete the call and the matching padding and switch to the component-level background extension, **not** to make the read reactive.
|
|
856
|
+
- Downgrade marker: none
|
|
857
|
+
|
|
858
|
+
## build — Compile time (otherwise it takes a full build round to surface)
|
|
859
|
+
|
|
860
|
+
### block-comment-break
|
|
861
|
+
|
|
862
|
+
- Level: GATE
|
|
863
|
+
- Needs: —
|
|
864
|
+
- Knowledge card: `references/cards/build.md`
|
|
865
|
+
- Trigger: `*/` appears inside a block comment while the comment still continues after it (more body text on the same line, or the next non-empty line still starts with `*`), so the comment is closed early.
|
|
866
|
+
- Fix: a */ sequence appears inside a JSDoc block, so the comment is closed early here and the body text after it will be parsed as code (change /* … */ in inner examples to the // line-comment form; rewrite */ in paths, e.g. foo_<x>/view.xml)
|
|
867
|
+
- Downgrade marker: none
|
|
868
|
+
|
|
869
|
+
### builder-call-chained-attr
|
|
870
|
+
|
|
871
|
+
- Level: GATE
|
|
872
|
+
- Needs: —
|
|
873
|
+
- Knowledge card: `references/cards/build.md`
|
|
874
|
+
- Trigger: attributes are chained directly after a Builder call `this.card(...)` (`.layoutWeight(1)`, etc.).
|
|
875
|
+
- Fix: it always fails to compile with 10505001; the attributes must be written on the root node inside the Builder body.
|
|
876
|
+
- Downgrade marker: none
|
|
877
|
+
|
|
878
|
+
### builder-invokes-callback-param
|
|
879
|
+
|
|
880
|
+
- Level: GATE
|
|
881
|
+
- Needs: —
|
|
882
|
+
- Knowledge card: `references/cards/build.md`
|
|
883
|
+
- Trigger: a @Builder parameter is declared as `() => void` and called bare as a UI statement `x();` (Builder body top level, an if/else block, a ForEach item closure). Calls inside an event handler (`.onClick(() => { x(); })`) or an object-literal callback (`MenuElement.action`) run at event time and do not count.
|
|
884
|
+
- Fix: to pass child content: pass a @Builder reference via @BuilderParam, or inline that child content. If only the click behaviour is needed: move the call into an event handler `.onClick(() => { x(); })`. Do not rewrite callbacks into id dispatch to clear this rule: that rewrite easily maps a call site to another behaviour
|
|
885
|
+
- Downgrade marker: none
|
|
886
|
+
|
|
887
|
+
### entry-root-not-builtin
|
|
888
|
+
|
|
889
|
+
- Level: GATE
|
|
890
|
+
- Needs: —
|
|
891
|
+
- Knowledge card: `references/cards/build.md`
|
|
892
|
+
- Trigger: the name of the first root node in an @Entry component's build() has a struct declaration in this project (a custom component as the root).
|
|
893
|
+
- Fix: wrap it in a built-in container — `Column() { Name({ … }) }`.width('100%').height('100%'). If Name itself is already 100%/100%, this wrapper is layout-transparent and changes no visible geometry
|
|
894
|
+
- Downgrade marker: none
|
|
895
|
+
|
|
896
|
+
### image-source-typed-array
|
|
897
|
+
|
|
898
|
+
- Level: GATE
|
|
899
|
+
- Needs: —
|
|
900
|
+
- Knowledge card: `references/cards/resources.md`
|
|
901
|
+
- Trigger: The argument of `createImageSource(x)` is a `Uint8Array`: `decodeSync(…)` / `new Uint8Array(…)` passed directly, or a variable in the same file declared `: Uint8Array` or assigned from either of those.
|
|
902
|
+
- Fix: The buffer overload accepts only `ArrayBuffer` (`createImageSource(buf: ArrayBuffer)` in the `@ohos.multimedia.image` d.ts); the compiler lets a `Uint8Array` through by structural typing and decoding fails at runtime. Pass `bytes.buffer.slice(bytes.byteOffset, bytes.byteOffset + bytes.byteLength)`: plain `bytes.buffer` brings in extra bytes when the view has an offset. Do not silently return null on a decode failure; log it and re-fetch.
|
|
903
|
+
- Downgrade marker: none
|
|
904
|
+
|
|
905
|
+
### request-permission-schema
|
|
906
|
+
|
|
907
|
+
- Level: GATE
|
|
908
|
+
- Needs: `--sdk`
|
|
909
|
+
- Knowledge card: `references/cards/build.md`
|
|
910
|
+
- Trigger: A requestPermissions entry name in module.json5 is not in the SDK's PermissionDefinitions.json, or a user_grant permission lacks reason / usedScene.
|
|
911
|
+
- Fix: every `module.json5` `requestPermissions` entry must name a permission in the SDK's own `PermissionDefinitions.json`, and a `user_grant` one must carry `reason` and `usedScene`. A miss fails PreBuild with `00303218 Configuration Error`, which does not name the permission. Grant modes come from the SDK, never from memory; without an SDK the rule is skipped.
|
|
912
|
+
- Downgrade marker: none
|
|
913
|
+
|
|
914
|
+
### sdk-api-nonexistent
|
|
915
|
+
|
|
916
|
+
- Level: GATE
|
|
917
|
+
- Needs: —
|
|
918
|
+
- Knowledge card: `references/cards/build.md`
|
|
919
|
+
- Trigger: a chained attribute method is one the data table lists as "does not exist on this component" (SDK_METHOD_RULES), or the text matches a nonexistent member/import name (SDK_TEXT_RULES, GestureEvent coordinates, ctx.units).
|
|
920
|
+
- Fix: change it to the SDK alternative given in the error message; every entry has been checked as "does not exist" against the SDK d.ts.
|
|
921
|
+
- Downgrade marker: none
|
|
922
|
+
|
|
923
|
+
### state-name-shadows-attribute
|
|
924
|
+
|
|
925
|
+
- Level: GATE
|
|
926
|
+
- Needs: —
|
|
927
|
+
- Knowledge card: `references/cards/build.md`
|
|
928
|
+
- Trigger: the name of a field declared with a state decorator (@Prop/@State/@Link/@Local/@Param/@Event/…) is the same as an ArkUI common attribute method (RESERVED_ATTR_NAMES).
|
|
929
|
+
- Fix: rename it with a prefix (e.g. size → iconSize): the CustomComponent base class already defines a method with that name, and a field with the same name fails to compile with 10505001.
|
|
930
|
+
- Downgrade marker: none
|