@buaa_smat/hometrans 0.1.17 → 0.1.19
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/README.md +120 -56
- package/agents/code-reviewer.md +321 -65
- package/agents/logic-coder.md +113 -88
- package/agents/logic-context-builder.md +47 -29
- package/agents/scripts/hmos-precheck/backends/arkts.mjs +567 -0
- package/agents/scripts/hmos-precheck/backends/arkts_diff.mjs +159 -0
- package/agents/scripts/hmos-precheck/backends/arkts_project_rules.mjs +398 -0
- package/agents/scripts/hmos-precheck/backends/codelinter.mjs +250 -0
- package/agents/scripts/hmos-precheck/backends/project_integrity.mjs +321 -0
- package/agents/scripts/hmos-precheck/backends/static_precheck.mjs +247 -0
- package/agents/scripts/hmos-precheck/core/config.mjs +184 -0
- package/agents/scripts/hmos-precheck/core/diagnostic_scope.mjs +20 -0
- package/agents/scripts/hmos-precheck/core/process_adapter.mjs +47 -0
- package/agents/scripts/hmos-precheck/core/project_catalog.mjs +50 -0
- package/agents/scripts/hmos-precheck/core/result_projection.mjs +147 -0
- package/agents/scripts/hmos-precheck/core/scope_plan.mjs +131 -0
- package/agents/scripts/hmos-precheck/core/sdk_context.mjs +67 -0
- package/agents/scripts/hmos-precheck/docs/architecture.md +37 -0
- package/agents/scripts/hmos-precheck/docs/performance-optimization.md +28 -0
- package/agents/scripts/hmos-precheck/docs/upstream-reference.json +19 -0
- package/agents/scripts/hmos-precheck/docs/validation.md +50 -0
- package/agents/scripts/hmos-precheck/index.mjs +17 -0
- package/agents/scripts/hmos-precheck/invocation.mjs +231 -0
- package/agents/scripts/hmos-precheck/rules/rule_case_matrix.csv +32 -0
- package/agents/scripts/hmos-precheck/rules/rule_inventory.csv +64 -0
- package/agents/scripts/hmos-precheck/rules/rule_inventory.mjs +59 -0
- package/agents/scripts/hmos-precheck/rules/rule_policy.mjs +54 -0
- package/agents/scripts/platform_query.mjs +626 -0
- package/agents/scripts/platform_query.test.mjs +422 -0
- package/agents/self-test-fixer.md +36 -34
- package/agents/self-tester.md +123 -143
- package/agents/test-case-generation-generator.md +317 -0
- package/agents/test-case-generation-validator.md +231 -0
- package/dist/cli/config-store.js +16 -63
- package/dist/cli/env-vars.js +1 -3
- package/dist/cli/index.js +0 -11
- package/dist/cli/init.js +123 -204
- package/dist/cli/uninstall.js +3 -127
- package/dist/utils/regex.js +8 -0
- package/env-requirements.json +55 -54
- package/package.json +6 -6
- package/resource/convert_pipeline_process.svg +103 -0
- package/resource/project_architecture.svg +122 -0
- package/resource/title_dark.png +0 -0
- package/skills/hmos-batch-ui-align/SKILL.md +345 -43
- package/skills/hmos-batch-ui-align/references/conversion-procedure.md +661 -180
- package/skills/hmos-batch-ui-align/references/mappings/android-to-harmonyOS-ui-atomic-component-mapping-reference.md +2533 -2533
- package/skills/hmos-batch-ui-align/references/mappings/android-to-harmonyOS-ui-interaction-mapping-reference.md +555 -555
- package/skills/hmos-batch-ui-align/references/mappings/android-to-harmonyOS-ui-layout-mapping-reference.md +117 -117
- package/skills/hmos-batch-ui-align/references/mvvm/@Link/350/243/205/351/245/260/345/231/250/357/274/232/347/210/266/345/255/220/345/217/214/345/220/221/345/220/214/346/255/245.md +648 -648
- package/skills/hmos-batch-ui-align/references/mvvm/@Observed/350/243/205/351/245/260/345/231/250/345/222/214@ObjectLink/350/243/205/351/245/260/345/231/250/357/274/232/345/265/214/345/245/227/347/261/273/345/257/271/350/261/241/345/261/236/346/200/247/345/217/230/345/214/226.md +2088 -2088
- package/skills/hmos-batch-ui-align/references/mvvm/@Prop/350/243/205/351/245/260/345/231/250/357/274/232/347/210/266/345/255/220/345/215/225/345/220/221/345/220/214/346/255/245.md +1033 -1033
- package/skills/hmos-batch-ui-align/references/mvvm/@Provide/350/243/205/351/245/260/345/231/250/345/222/214@Consume/350/243/205/351/245/260/345/231/250/357/274/232/344/270/216/345/220/216/344/273/243/347/273/204/344/273/266/345/217/214/345/220/221/345/220/214/346/255/245.md +1183 -1183
- package/skills/hmos-batch-ui-align/references/mvvm/@State/350/243/205/351/245/260/345/231/250/357/274/232/347/273/204/344/273/266/345/206/205/347/212/266/346/200/201.md +576 -576
- package/skills/hmos-batch-ui-align/references/mvvm/@Track/350/243/205/351/245/260/345/231/250/357/274/232class/345/257/271/350/261/241/345/261/236/346/200/247/347/272/247/346/233/264/346/226/260.md +297 -297
- package/skills/hmos-batch-ui-align/references/mvvm/@Watch/350/243/205/351/245/260/345/231/250/357/274/232/347/212/266/346/200/201/345/217/230/351/207/217/346/233/264/346/224/271/351/200/232/347/237/245.md +395 -395
- package/skills/hmos-batch-ui-align/references/mvvm/AppStorage/357/274/232/345/272/224/347/224/250/345/205/250/345/261/200/347/232/204UI/347/212/266/346/200/201/345/255/230/345/202/250.md +902 -902
- package/skills/hmos-batch-ui-align/references/mvvm/Environment/357/274/232/350/256/276/345/244/207/347/216/257/345/242/203/346/237/245/350/257/242.md +106 -106
- package/skills/hmos-batch-ui-align/references/mvvm/LocalStorage/357/274/232/351/241/265/351/235/242/347/272/247UI/347/212/266/346/200/201/345/255/230/345/202/250.md +1178 -1178
- package/skills/hmos-batch-ui-align/references/mvvm/MVVM/346/250/241/345/274/217/357/274/210V1/357/274/211.md +911 -911
- package/skills/hmos-batch-ui-align/references/mvvm/PersistentStorage/357/274/232/346/214/201/344/271/205/345/214/226/345/255/230/345/202/250UI/347/212/266/346/200/201.md +354 -354
- package/skills/hmos-batch-ui-align/references/mvvm//347/256/241/347/220/206/345/272/224/347/224/250/346/213/245/346/234/211/347/232/204/347/212/266/346/200/201/346/246/202/350/277/260.md +11 -11
- package/skills/hmos-batch-ui-align/references/mvvm-v2/!!/350/257/255/346/263/225/357/274/232/345/217/214/345/220/221/347/273/221/345/256/232.md +206 -0
- package/skills/hmos-batch-ui-align/references/mvvm-v2/@Computed/350/243/205/351/245/260/345/231/250/357/274/232/350/256/241/347/256/227/345/261/236/346/200/247.md +373 -0
- package/skills/hmos-batch-ui-align/references/mvvm-v2/@Event/350/243/205/351/245/260/345/231/250/357/274/232/350/247/204/350/214/203/347/273/204/344/273/266/350/276/223/345/207/272.md +158 -0
- package/skills/hmos-batch-ui-align/references/mvvm-v2/@Local/350/243/205/351/245/260/345/231/250/357/274/232/347/273/204/344/273/266/345/206/205/351/203/250/347/212/266/346/200/201.md +750 -0
- package/skills/hmos-batch-ui-align/references/mvvm-v2/@Monitor/350/243/205/351/245/260/345/231/250/357/274/232/347/212/266/346/200/201/345/217/230/351/207/217/344/277/256/346/224/271/345/274/202/346/255/245/347/233/221/345/220/254.md +1704 -0
- package/skills/hmos-batch-ui-align/references/mvvm-v2/@ObservedV2/350/243/205/351/245/260/345/231/250/345/222/214@Trace/350/243/205/351/245/260/345/231/250/357/274/232/347/261/273/345/261/236/346/200/247/345/217/230/345/214/226/350/247/202/346/265/213.md +1012 -0
- package/skills/hmos-batch-ui-align/references/mvvm-v2/@Once/350/243/205/351/245/260/345/231/250/357/274/232/345/210/235/345/247/213/345/214/226/345/220/214/346/255/245/344/270/200/346/254/241.md +164 -0
- package/skills/hmos-batch-ui-align/references/mvvm-v2/@Param/350/243/205/351/245/260/345/231/250/357/274/232/347/273/204/344/273/266/345/244/226/351/203/250/350/276/223/345/205/245.md +840 -0
- package/skills/hmos-batch-ui-align/references/mvvm-v2/@Provider/350/243/205/351/245/260/345/231/250/345/222/214@Consumer/350/243/205/351/245/260/345/231/250/357/274/232/350/267/250/347/273/204/344/273/266/345/261/202/347/272/247/345/217/214/345/220/221/345/220/214/346/255/245.md +856 -0
- package/skills/hmos-batch-ui-align/references/mvvm-v2/@Type/350/243/205/351/245/260/345/231/250/357/274/232/346/240/207/350/256/260/347/261/273/345/261/236/346/200/247/347/232/204/347/261/273/345/236/213.md +83 -0
- package/skills/hmos-batch-ui-align/references/mvvm-v2/AppStorageV2/357/274/232/345/272/224/347/224/250/345/205/250/345/261/200UI/347/212/266/346/200/201/345/255/230/345/202/250.md +294 -0
- package/skills/hmos-batch-ui-align/references/mvvm-v2/MVVM/346/250/241/345/274/217/357/274/210V2/357/274/211.md +1407 -0
- package/skills/hmos-batch-ui-align/references/mvvm-v2/PersistenceV2/357/274/232/346/214/201/344/271/205/345/214/226/345/255/230/345/202/250UI/347/212/266/346/200/201.md +1220 -0
- package/skills/hmos-batch-ui-align/references/mvvm-v2/_/350/214/203/345/274/217/351/200/211/346/213/251/350/257/264/346/230/216.md +47 -0
- package/skills/hmos-batch-ui-align/references/mvvm-v2/_/350/243/205/351/245/260/345/231/250/351/200/237/346/237/245.md +133 -0
- package/skills/hmos-batch-ui-align/references/mvvm-v2//347/212/266/346/200/201/347/256/241/347/220/206V1/345/220/221V2/350/277/201/347/247/273/344/270/216/346/267/267/347/224/250/346/214/207/345/257/274.md +840 -0
- package/skills/hmos-batch-ui-align/scripts/android_parse_fast.ts +1798 -0
- package/skills/hmos-batch-ui-align/scripts/arkts_static_check.ts +1592 -0
- package/skills/hmos-batch-ui-align/scripts/measure_pack.ts +752 -0
- package/skills/hmos-convert-pipeline/SKILL.md +168 -121
- package/skills/hmos-fix-build-errors/SKILL.md +87 -67
- package/skills/hmos-fix-build-errors/references/arkts-strict-patterns.md +219 -219
- package/skills/hmos-fix-build-errors/references/known-patterns.md +157 -157
- package/skills/hmos-fix-build-errors/references/rdb-entity-pattern.md +131 -131
- package/skills/hmos-incremental-ui-align/README.md +53 -36
- package/skills/hmos-incremental-ui-align/SKILL.md +179 -23
- package/skills/hmos-incremental-ui-align/diff_analysis.md +52 -52
- package/skills/hmos-incremental-ui-align/page_align.md +62 -62
- package/skills/hmos-incremental-ui-align/references/Comparison_Template.md +38 -2
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243/@Link/350/243/205/351/245/260/345/231/250/357/274/232/347/210/266/345/255/220/345/217/214/345/220/221/345/220/214/346/255/245.md +648 -648
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243/@Observed/350/243/205/351/245/260/345/231/250/345/222/214@ObjectLink/350/243/205/351/245/260/345/231/250/357/274/232/345/265/214/345/245/227/347/261/273/345/257/271/350/261/241/345/261/236/346/200/247/345/217/230/345/214/226.md +2088 -2088
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243/@Prop/350/243/205/351/245/260/345/231/250/357/274/232/347/210/266/345/255/220/345/215/225/345/220/221/345/220/214/346/255/245.md +1033 -1033
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243/@Provide/350/243/205/351/245/260/345/231/250/345/222/214@Consume/350/243/205/351/245/260/345/231/250/357/274/232/344/270/216/345/220/216/344/273/243/347/273/204/344/273/266/345/217/214/345/220/221/345/220/214/346/255/245.md +1183 -1183
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243/@State/350/243/205/351/245/260/345/231/250/357/274/232/347/273/204/344/273/266/345/206/205/347/212/266/346/200/201.md +576 -576
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243/@Track/350/243/205/351/245/260/345/231/250/357/274/232class/345/257/271/350/261/241/345/261/236/346/200/247/347/272/247/346/233/264/346/226/260.md +297 -297
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243/@Watch/350/243/205/351/245/260/345/231/250/357/274/232/347/212/266/346/200/201/345/217/230/351/207/217/346/233/264/346/224/271/351/200/232/347/237/245.md +395 -395
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243/AppStorage/357/274/232/345/272/224/347/224/250/345/205/250/345/261/200/347/232/204UI/347/212/266/346/200/201/345/255/230/345/202/250.md +902 -902
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243/Environment/357/274/232/350/256/276/345/244/207/347/216/257/345/242/203/346/237/245/350/257/242.md +106 -106
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243/LocalStorage/357/274/232/351/241/265/351/235/242/347/272/247UI/347/212/266/346/200/201/345/255/230/345/202/250.md +1178 -1178
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243/MVVM/346/250/241/345/274/217V1.md +911 -911
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243/PersistentStorage/357/274/232/346/214/201/344/271/205/345/214/226/345/255/230/345/202/250UI/347/212/266/346/200/201.md +354 -354
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243//347/256/241/347/220/206/345/272/224/347/224/250/346/213/245/346/234/211/347/232/204/347/212/266/346/200/201/346/246/202/350/277/260.md +11 -11
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243V2/!!/350/257/255/346/263/225/357/274/232/345/217/214/345/220/221/347/273/221/345/256/232.md +206 -0
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243V2/@Computed/350/243/205/351/245/260/345/231/250/357/274/232/350/256/241/347/256/227/345/261/236/346/200/247.md +373 -0
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243V2/@Event/350/243/205/351/245/260/345/231/250/357/274/232/350/247/204/350/214/203/347/273/204/344/273/266/350/276/223/345/207/272.md +158 -0
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243V2/@Local/350/243/205/351/245/260/345/231/250/357/274/232/347/273/204/344/273/266/345/206/205/351/203/250/347/212/266/346/200/201.md +750 -0
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243V2/@Monitor/350/243/205/351/245/260/345/231/250/357/274/232/347/212/266/346/200/201/345/217/230/351/207/217/344/277/256/346/224/271/345/274/202/346/255/245/347/233/221/345/220/254.md +1704 -0
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243V2/@ObservedV2/350/243/205/351/245/260/345/231/250/345/222/214@Trace/350/243/205/351/245/260/345/231/250/357/274/232/347/261/273/345/261/236/346/200/247/345/217/230/345/214/226/350/247/202/346/265/213.md +1012 -0
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243V2/@Once/350/243/205/351/245/260/345/231/250/357/274/232/345/210/235/345/247/213/345/214/226/345/220/214/346/255/245/344/270/200/346/254/241.md +164 -0
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243V2/@Param/350/243/205/351/245/260/345/231/250/357/274/232/347/273/204/344/273/266/345/244/226/351/203/250/350/276/223/345/205/245.md +840 -0
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243V2/@Provider/350/243/205/351/245/260/345/231/250/345/222/214@Consumer/350/243/205/351/245/260/345/231/250/357/274/232/350/267/250/347/273/204/344/273/266/345/261/202/347/272/247/345/217/214/345/220/221/345/220/214/346/255/245.md +856 -0
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243V2/@Type/350/243/205/351/245/260/345/231/250/357/274/232/346/240/207/350/256/260/347/261/273/345/261/236/346/200/247/347/232/204/347/261/273/345/236/213.md +83 -0
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243V2/AppStorageV2/357/274/232/345/272/224/347/224/250/345/205/250/345/261/200UI/347/212/266/346/200/201/345/255/230/345/202/250.md +294 -0
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243V2/MVVM/346/250/241/345/274/217/357/274/210V2/357/274/211.md +1407 -0
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243V2/PersistenceV2/357/274/232/346/214/201/344/271/205/345/214/226/345/255/230/345/202/250UI/347/212/266/346/200/201.md +1220 -0
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243V2/_/350/214/203/345/274/217/351/200/211/346/213/251/350/257/264/346/230/216.md +47 -0
- package/skills/hmos-incremental-ui-align/references/MVVM/345/274/200/345/217/221/346/226/207/346/241/243V2//347/212/266/346/200/201/347/256/241/347/220/206V1/345/220/221V2/350/277/201/347/247/273/344/270/216/346/267/267/347/224/250/346/214/207/345/257/274.md +840 -0
- package/skills/hmos-incremental-ui-align/references/State_Model_Template.md +74 -0
- package/skills/hmos-incremental-ui-align/references/UI_Analysis_Template.md +34 -4
- package/skills/hmos-incremental-ui-align/references/android-to-harmonyOS-ui-atomic-component-mapping-reference.md +2533 -2533
- package/skills/hmos-incremental-ui-align/references/android-to-harmonyOS-ui-interaction-mapping-reference.md +555 -555
- package/skills/hmos-incremental-ui-align/references/android-to-harmonyOS-ui-layout-mapping-reference.md +117 -117
- package/skills/hmos-incremental-ui-align/scripts/app_feature_verify.ts +937 -0
- package/skills/hmos-incremental-ui-align/scripts/extract_checklist.ts +343 -0
- package/skills/hmos-incremental-ui-align/scripts/navigation-capure.md +44 -5
- package/skills/hmos-incremental-ui-align/scripts/page_capture.ts +977 -0
- package/skills/hmos-incremental-ui-align/scripts/page_capture_burst.ts +188 -0
- package/skills/hmos-integration-test/README.md +61 -70
- package/skills/hmos-integration-test/SKILL.md +128 -111
- package/skills/hmos-resources-convert/SKILL.md +334 -66
- package/skills/hmos-resources-convert/references/code-vector-icon-rules.md +335 -0
- package/skills/hmos-resources-convert/references/conversion-rules.md +676 -663
- package/skills/hmos-resources-convert/references/dependency-analysis-rules.md +410 -388
- package/skills/hmos-resources-convert/references/lottie-conversion-rules.md +219 -0
- package/skills/hmos-resources-convert/references/resource-mapping-rules.md +482 -457
- package/skills/hmos-resources-convert/references/xml-drawable-to-svg-rules.md +592 -513
- package/skills/hmos-resources-convert/scripts/a2h_resource_convert.ts +2163 -0
- package/skills/hmos-resources-convert/scripts/code_vector_icons.ts +591 -0
- package/skills/hmos-resources-convert/scripts/svg_fidelity_check.ts +632 -0
- package/skills/hmos-spec-generate/SKILL.md +293 -214
- package/skills/hmos-spec-generate/scripts/parse_requirements.ts +515 -0
- package/skills/hmos-spec-generate/template/REQ.txt +22 -0
- package/skills/hmos-spec-generate/template/REQ.xlsx +0 -0
- package/skills/hmos-test-case-generation/README.md +241 -0
- package/skills/hmos-test-case-generation/SKILL.md +324 -0
- package/skills/hmos-test-case-generation/references/contract.md +315 -0
- package/skills/hmos-test-case-generation/references/review-notes-template.md +84 -0
- package/skills/hmos-test-case-generation/references/ui-elements-schema.md +142 -0
- package/skills/hmos-test-case-generation/tools/convert_to_ui_elements.ts +550 -0
- package/skills/hmos-test-case-generation/tools/validate.ts +1312 -0
- package/tools/bfs-crawl/README.md +73 -0
- package/tools/bfs-crawl/android_viewtree_bfs_crawler.ts +1662 -0
- package/tools/test-tools/autotest/config.ts +175 -0
- package/tools/test-tools/autotest/deps/autotest-agent-0.1.1.tgz +0 -0
- package/tools/test-tools/autotest/docs/README.md +266 -0
- package/tools/test-tools/autotest/{testcases_schema.md → docs/testcases_schema.md} +1 -1
- package/tools/test-tools/autotest/engine/batch-launcher.ts +327 -0
- package/tools/test-tools/autotest/engine/report-tool.ts +773 -0
- package/tools/test-tools/autotest/engine/self-test-runner.ts +961 -0
- package/tools/test-tools/autotest/engine/testcases-tool.ts +246 -0
- package/tools/test-tools/autotest/paths.ts +41 -0
- package/tools/test-tools/autotest/resolve-metadata-tool.ts +143 -0
- package/tools/test-tools/autotest/runner/logger.ts +45 -0
- package/tools/test-tools/autotest/runner/process-utils.ts +41 -0
- package/tools/test-tools/autotest/validate.ts +167 -0
- package/agents/build-fixer.md +0 -385
- package/agents/logic-coder/scripts/platform_context_query.py +0 -568
- package/agents/review-fixer.md +0 -405
- package/agents/spec-generator.md +0 -541
- package/dist/cli/mcp-setup.js +0 -258
- package/dist/cli/mcp.js +0 -94
- package/dist/context/index.js +0 -694
- package/resource/migration_process.svg +0 -94
- package/resource/migration_process_transparent.svg +0 -93
- package/skills/hmos-batch-ui-align/scripts/android_parse_fast.py +0 -1606
- package/skills/hmos-incremental-ui-align/scripts/__pycache__/app_feature_verify.cpython-314.pyc +0 -0
- package/skills/hmos-incremental-ui-align/scripts/app_feature_verify.py +0 -542
- package/skills/hmos-incremental-ui-align/scripts/page_capture.py +0 -597
- package/skills/hmos-resources-convert/evals/evals.json +0 -171
- package/skills/hmos-resources-convert/template/AppScope/app.json5 +0 -10
- package/skills/hmos-resources-convert/template/AppScope/resources/base/element/string.json +0 -8
- package/skills/hmos-resources-convert/template/AppScope/resources/base/media/background.png +0 -0
- package/skills/hmos-resources-convert/template/AppScope/resources/base/media/foreground.png +0 -0
- package/skills/hmos-resources-convert/template/AppScope/resources/base/media/layered_image.json +0 -7
- package/skills/hmos-resources-convert/template/build-profile.json5 +0 -42
- package/skills/hmos-resources-convert/template/code-linter.json5 +0 -32
- package/skills/hmos-resources-convert/template/entry/build-profile.json5 +0 -33
- package/skills/hmos-resources-convert/template/entry/hvigorfile.ts +0 -6
- package/skills/hmos-resources-convert/template/entry/obfuscation-rules.txt +0 -23
- package/skills/hmos-resources-convert/template/entry/oh-package.json5 +0 -10
- package/skills/hmos-resources-convert/template/entry/src/main/ets/entryability/EntryAbility.ets +0 -48
- package/skills/hmos-resources-convert/template/entry/src/main/ets/entrybackupability/EntryBackupAbility.ets +0 -16
- package/skills/hmos-resources-convert/template/entry/src/main/ets/pages/Index.ets +0 -23
- package/skills/hmos-resources-convert/template/entry/src/main/module.json5 +0 -55
- package/skills/hmos-resources-convert/template/entry/src/main/resources/base/element/color.json +0 -8
- package/skills/hmos-resources-convert/template/entry/src/main/resources/base/element/float.json +0 -8
- package/skills/hmos-resources-convert/template/entry/src/main/resources/base/element/string.json +0 -16
- package/skills/hmos-resources-convert/template/entry/src/main/resources/base/media/background.png +0 -0
- package/skills/hmos-resources-convert/template/entry/src/main/resources/base/media/foreground.png +0 -0
- package/skills/hmos-resources-convert/template/entry/src/main/resources/base/media/layered_image.json +0 -7
- package/skills/hmos-resources-convert/template/entry/src/main/resources/base/media/startIcon.png +0 -0
- package/skills/hmos-resources-convert/template/entry/src/main/resources/base/profile/backup_config.json +0 -3
- package/skills/hmos-resources-convert/template/entry/src/main/resources/base/profile/main_pages.json +0 -5
- package/skills/hmos-resources-convert/template/entry/src/main/resources/dark/element/color.json +0 -8
- package/skills/hmos-resources-convert/template/entry/src/mock/mock-config.json5 +0 -2
- package/skills/hmos-resources-convert/template/entry/src/ohosTest/ets/test/Ability.test.ets +0 -35
- package/skills/hmos-resources-convert/template/entry/src/ohosTest/ets/test/List.test.ets +0 -5
- package/skills/hmos-resources-convert/template/entry/src/ohosTest/module.json5 +0 -16
- package/skills/hmos-resources-convert/template/entry/src/test/List.test.ets +0 -5
- package/skills/hmos-resources-convert/template/entry/src/test/LocalUnit.test.ets +0 -33
- package/skills/hmos-resources-convert/template/hvigor/hvigor-config.json5 +0 -23
- package/skills/hmos-resources-convert/template/hvigorfile.ts +0 -6
- package/skills/hmos-resources-convert/template/oh-package-lock.json5 +0 -28
- package/skills/hmos-resources-convert/template/oh-package.json5 +0 -10
- package/skills/hmos-resources-convert/tools/apktool_3.0.1.jar +0 -0
- package/skills/hmos-spec-generate/references/android-platform-tokens.md +0 -105
- package/skills/hmos-spec-generate/references/spec-sample-1.md +0 -78
- package/skills/hmos-spec-generate/references/spec-sample-2.md +0 -58
- package/skills/hmos-spec-generate/references/spec-sample-3.md +0 -116
- package/skills/hmos-spec-generate/references/step4-report-template.md +0 -33
- package/tools/test-tools/autotest/README.md +0 -238
- package/tools/test-tools/autotest/pyproject.toml +0 -26
- package/tools/test-tools/autotest/report_tool.py +0 -759
- package/tools/test-tools/autotest/self_test_runner.py +0 -895
- package/tools/test-tools/autotest/testcases_tool.py +0 -215
- package/tools/test-tools/autotest/uv.lock +0 -3156
- package/tools/test-tools/harmony_autotest-0.1.0-py3-none-any.whl +0 -0
- package/tools/test-tools/hypium-6.1.0.210-py3-none-any.whl +0 -0
- package/tools/test-tools/hypium_mcp-0.6.5-py3-none-any.whl +0 -0
- package/tools/test-tools/xdevice-6.1.0.210-py3-none-any.whl +0 -0
- package/tools/test-tools/xdevice_devicetest-6.1.0.210-py3-none-any.whl +0 -0
- package/tools/test-tools/xdevice_ohos-6.1.0.210-py3-none-any.whl +0 -0
package/agents/logic-coder.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: logic-coder
|
|
3
3
|
description: "Execute the HarmonyOS ArkTS app contract without reopening design choices."
|
|
4
|
-
color:
|
|
5
|
-
|
|
4
|
+
color: primary
|
|
5
|
+
mode: subagent
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
## Inputs
|
|
@@ -10,31 +10,44 @@ min-model: sonnet
|
|
|
10
10
|
- `plan_file` = `{output_path}/plan.md`
|
|
11
11
|
- `harmony_project_dir` (abs)
|
|
12
12
|
- `output_path` (abs)
|
|
13
|
-
- `
|
|
13
|
+
- `scripts_path` (abs) — shared agent scripts directory
|
|
14
14
|
|
|
15
15
|
## Tools
|
|
16
16
|
|
|
17
17
|
Platform context query:
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
node {scripts_path}/platform_query.mjs \
|
|
20
20
|
--request {output_path}/platform-context-request.json \
|
|
21
|
-
--out-dir {output_path}/platform-context-{N}
|
|
21
|
+
--out-dir {output_path}/coder-platform-context-{N}
|
|
22
22
|
|
|
23
|
-
Unique `{N}` per query; do not reuse out-dir.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
Unique `{N}` per query; do not reuse out-dir. Emit canonical names and arrays
|
|
24
|
+
exactly as shown:
|
|
25
|
+
|
|
26
|
+
```json
|
|
27
|
+
{"stage":"coder","focus_point":"...","task_excerpt":"...","project_evidence":"...","platform_surfaces":["..."],"extra_constraints":["..."],"api_level":22}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Read
|
|
31
|
+
`{output_path}/coder-platform-context-{N}/platform-context-result.json`, use
|
|
32
|
+
`structured_evidence` first, run once by default, and allow at most one
|
|
33
|
+
follow-up only if the first result's `structured_evidence` cannot answer the
|
|
34
|
+
specific correctness dimension that triggered the query. Never search local
|
|
35
|
+
SDK/DevEco paths.
|
|
36
|
+
|
|
37
|
+
HarmonyOS project precheck:
|
|
38
|
+
|
|
39
|
+
node {scripts_path}/hmos-precheck/index.mjs run \
|
|
40
|
+
--project-root {harmony_project_dir} \
|
|
41
|
+
--output-dir {output_path}/precheck \
|
|
42
|
+
--base-ref HEAD
|
|
28
43
|
|
|
29
44
|
## Contract
|
|
30
45
|
|
|
31
46
|
Coder executes the narrowed `plan.md` contract: verify local facts, patch the
|
|
32
|
-
approved path, validate, commit
|
|
47
|
+
approved path, validate, commit the completed main path or a truthful in-scope
|
|
48
|
+
checkpoint, and write `commit-info.md`.
|
|
33
49
|
|
|
34
|
-
|
|
35
|
-
target/owner/access/fallback, expand scope, or turn blockers into soft notes. Do
|
|
36
|
-
not invent APIs, symbols, state, data, or success paths. If truthful closure is
|
|
37
|
-
blocked, write the gap instead of fake completion.
|
|
50
|
+
If truthful closure is blocked, keep the gap explicit instead of fake completion.
|
|
38
51
|
|
|
39
52
|
## Procedure
|
|
40
53
|
|
|
@@ -45,32 +58,30 @@ blocked, write the gap instead of fake completion.
|
|
|
45
58
|
4. Patch only plan-required behavior.
|
|
46
59
|
5. Validate (per Validate And Output). Stage only plan-required files; do not
|
|
47
60
|
use `git add -A`.
|
|
48
|
-
6. Commit with a non-interactive message naming the decision contract.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
61
|
+
6. Commit with a non-interactive message naming the decision contract. If the
|
|
62
|
+
diff is empty, do not create an empty commit; write `commit_id: none` and
|
|
63
|
+
`summary: no code change required` into `commit-info.md`. Otherwise commit
|
|
64
|
+
the completed main path when it is proven, or the safest truthful in-scope
|
|
65
|
+
checkpoint when safe progress exists. Do not let a checkpoint read like full
|
|
66
|
+
closure.
|
|
67
|
+
7. Write `{output_path}/commit-info.md` with:
|
|
68
|
+
- `commit_id`: `<full hash>` or `none`
|
|
69
|
+
- `summary`: `none` or the most important unresolved/degraded fact
|
|
70
|
+
|
|
71
|
+
Never ask. Never commit outside plan scope. If a required fact cannot be
|
|
72
|
+
resolved through local evidence, plan evidence, or a platform query, record it
|
|
73
|
+
in `commit-info.md` and keep the result at checkpoint.
|
|
55
74
|
|
|
56
75
|
## Read Scope
|
|
57
76
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
same-pattern local code, build-error files, and plan-named platform evidence.
|
|
77
|
+
Read files and symbols named in the plan's Edit Plan. When a plan-stated fact
|
|
78
|
+
needs confirmation at its declaration site, expand to that direct dependency.
|
|
61
79
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
wiring of plan-required behavior. Expansion is
|
|
68
|
-
proof, not planning.
|
|
69
|
-
|
|
70
|
-
Efficiency: read plan-named files at default limit; do not set a smaller
|
|
71
|
-
limit. For non-plan files, locate the target first and read only the relevant
|
|
72
|
-
section. If an edit fails once, change strategy immediately; do not retry the
|
|
73
|
-
same old_string.
|
|
80
|
+
When owner/source, write path, intermediate state, or a shared export changes,
|
|
81
|
+
expand to the minimum writer/consumer chain needed to verify the plan's stated
|
|
82
|
+
owner is the truth owner. This expansion may reveal writers or consumers the
|
|
83
|
+
plan did not list; if so, record the gap in `commit-info.md` and keep at
|
|
84
|
+
checkpoint — do not attempt to patch unlisted paths.
|
|
74
85
|
|
|
75
86
|
## Verification
|
|
76
87
|
|
|
@@ -89,7 +100,6 @@ Map the plan contract to code and verify:
|
|
|
89
100
|
- target consumption
|
|
90
101
|
- protected non-target reachability
|
|
91
102
|
- nearby same-pattern support
|
|
92
|
-
|
|
93
103
|
Sentinel rules (flag for Platform Behavior, do not resolve here):
|
|
94
104
|
- new API call pattern whose parameter combination, conflict mode, return
|
|
95
105
|
semantics, or NULL behavior does not appear in existing project code
|
|
@@ -123,59 +133,59 @@ ArkTS floor (static family card):
|
|
|
123
133
|
|
|
124
134
|
### Semantic Closure
|
|
125
135
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
136
|
+
Verification phase focus: owner/source closure. Do not ignore unresolved Local
|
|
137
|
+
Check findings; they still constrain this phase and final validation. The
|
|
138
|
+
question here is whether the patch wires every writer, consumer, and edge path
|
|
139
|
+
to the plan's stated owner/source.
|
|
130
140
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
consumed by every direct caller.
|
|
141
|
+
Trigger when the patch changes a write/read path or intermediate state of any
|
|
142
|
+
field/action with writers and consumers, or introduces a new writer for a
|
|
143
|
+
field/action with existing consumers.
|
|
135
144
|
|
|
136
|
-
|
|
137
|
-
owner/source: mirror/cache as truth, split producer/reader paths, preset/default
|
|
138
|
-
masking missing/unset, snapshot/placeholder standing in for owner state.
|
|
145
|
+
For each such field/action, verify against the plan's stated owner/source:
|
|
139
146
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
write. Read/render does not prove write/update/delete/restore; lookup/cache/
|
|
145
|
-
index/default must not erase or reclassify owner value.
|
|
147
|
+
- all plan-required writers write to the stated owner, not a carrier or cache
|
|
148
|
+
- all plan-required consumers read from the stated owner, not a mirror
|
|
149
|
+
- first render, restore, and missing/unset paths all use the stated owner
|
|
150
|
+
- no existing writer or consumer was left on a prior carrier path
|
|
146
151
|
|
|
147
|
-
|
|
148
|
-
|
|
152
|
+
Forbidden regardless of plan: mirror/cache as truth, split producer/reader
|
|
153
|
+
paths, preset/default masking missing/unset.
|
|
149
154
|
|
|
150
|
-
|
|
155
|
+
A gap here is a proof failure — record in `commit-info.md` and keep at
|
|
156
|
+
checkpoint. Do not re-derive which owner to choose; that is the plan's contract.
|
|
151
157
|
|
|
152
|
-
|
|
153
|
-
depends on. If the new use differs in any correctness-relevant dimension not
|
|
154
|
-
covered by project evidence, the behavior is not proven.
|
|
158
|
+
### Platform Behavior
|
|
155
159
|
|
|
156
|
-
|
|
157
|
-
same method but different parameters; same parameters but different return/
|
|
158
|
-
error/null/default semantics consumed by callers; same call pattern but
|
|
159
|
-
different conflict behavior, lifecycle assumption, or persistence assumption.
|
|
160
|
+
For each `coder must verify` row, identify the missing evidence before acting:
|
|
160
161
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
162
|
+
- Platform rule: query before patching dependent code. Conflicting or unresolved
|
|
163
|
+
evidence blocks that edit; do not substitute a new implementation path.
|
|
164
|
+
- Project runtime outcome: use one runtime proposition: initial state + exact
|
|
165
|
+
event/mutation + binding depth + identity/key + lifecycle/async timing + API
|
|
166
|
+
level -> observable effect. A platform query cannot prove this outcome. Use
|
|
167
|
+
matching local execution evidence when available; otherwise implement only
|
|
168
|
+
the already-decided path and keep the commit at checkpoint. Record that one
|
|
169
|
+
runtime verification gap in the final summary.
|
|
167
170
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
+
If a `proven` row lacks local evidence or correctness dimensions, treat it as
|
|
172
|
+
`coder must verify`. Self-trigger a query only for an uncovered platform rule
|
|
173
|
+
used by the edit, including Local Check sentinels.
|
|
171
174
|
|
|
172
175
|
Scope: platform API, ArkUI, ArkTS, lifecycle, permissions, resources, signing,
|
|
173
176
|
packaging, build configuration, persistence, NULL/default behavior.
|
|
174
177
|
|
|
175
178
|
Do not re-decide plan-level main/forbidden/fallback. Treat platform query
|
|
176
179
|
output as evidence, not authority. If evidence conflicts with the plan or
|
|
177
|
-
remains unresolved,
|
|
178
|
-
|
|
180
|
+
remains unresolved, do not choose a different platform path.
|
|
181
|
+
|
|
182
|
+
## Invariants (recency-anchored for commit decision)
|
|
183
|
+
|
|
184
|
+
Do not reread SPEC, rewrite the plan, choose architecture, substitute
|
|
185
|
+
target/owner/access/fallback, expand scope, or turn blockers into soft notes.
|
|
186
|
+
Do not invent APIs, symbols, state, data, or success paths.
|
|
187
|
+
|
|
188
|
+
Never commit outside plan scope.
|
|
179
189
|
|
|
180
190
|
## Validate And Output
|
|
181
191
|
|
|
@@ -184,16 +194,31 @@ Before commit, remap the final diff to the plan and name code-level proof that:
|
|
|
184
194
|
- changed files stay in scope
|
|
185
195
|
- target consumes the changed path
|
|
186
196
|
- forbidden owner/carrier/fallback/scope did not appear
|
|
187
|
-
- plan-named completion evidence holds, including
|
|
188
|
-
async intermediate states when applicable
|
|
197
|
+
- plan-named completion evidence holds, including plan-stated write/read path
|
|
198
|
+
and async intermediate states when applicable
|
|
189
199
|
- protected behavior remains
|
|
190
|
-
- platform boundary is not loosened; no unrecorded
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
+
- platform boundary is not loosened; no unrecorded platform mismatch or
|
|
201
|
+
unresolved platform note
|
|
202
|
+
- local validation in changed scope has no unexplained new code issue
|
|
203
|
+
- if claiming main-path completion, no proof gap remains for target consumption,
|
|
204
|
+
truth owner/source, access path, or plan-named completion evidence
|
|
205
|
+
|
|
206
|
+
For changed ArkTS `.ets` source or HarmonyOS app/module/build/route/page/resource/
|
|
207
|
+
permission configuration, execute the project precheck above. Only `{ok:true}`
|
|
208
|
+
passes. Otherwise read `read_file`; repair only in-scope issues with
|
|
209
|
+
`blocking:true` and `agent_fixable:true`. Rerun at most twice, and stop at
|
|
210
|
+
checkpoint if blockers do not decrease.
|
|
211
|
+
|
|
212
|
+
Try to close the main path before commit. Commit as completed only when target
|
|
213
|
+
consumption, truth owner/source, access path, and plan-named completion
|
|
214
|
+
evidence are proven. If the main path is still open but a safe truthful
|
|
215
|
+
in-scope checkpoint exists, commit that checkpoint instead and keep the
|
|
216
|
+
remaining gap explicit. Do not compress multiple parallel unresolved facts into
|
|
217
|
+
one vague note; continue narrowing until at most one primary carry-forward fact
|
|
218
|
+
remains.
|
|
219
|
+
|
|
220
|
+
`commit-info.md` is always required. Write `commit_id`, and use `summary` only
|
|
221
|
+
for the single remaining carry-forward fact at output time; otherwise write
|
|
222
|
+
`none`. Carry-forward facts include degraded precheck results, unresolved
|
|
223
|
+
platform behavior, or the one proof gap that still keeps the result at
|
|
224
|
+
checkpoint status. Keep it concrete and short.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: logic-context-builder
|
|
3
3
|
description: "Constrain HarmonyOS ArkTS app changes into an executable decision contract."
|
|
4
|
-
color:
|
|
5
|
-
|
|
4
|
+
color: primary
|
|
5
|
+
mode: subagent
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
## Inputs
|
|
@@ -10,23 +10,31 @@ min-model: sonnet
|
|
|
10
10
|
- `spec_file` (abs)
|
|
11
11
|
- `harmony_project_dir` (abs)
|
|
12
12
|
- `output_path` (abs)
|
|
13
|
-
- `
|
|
13
|
+
- `scripts_path` (abs) — shared agent scripts directory
|
|
14
14
|
|
|
15
15
|
## Tools
|
|
16
16
|
|
|
17
17
|
Platform context query:
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
node {scripts_path}/platform_query.mjs \
|
|
20
20
|
--request {output_path}/platform-context-request.json \
|
|
21
|
-
--out-dir {output_path}/platform-context-{N}
|
|
21
|
+
--out-dir {output_path}/planner-platform-context-{N}
|
|
22
22
|
|
|
23
|
-
Unique `{N}` per query; do not reuse out-dir.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
Unique `{N}` per query; do not reuse out-dir. Emit canonical names and arrays
|
|
24
|
+
exactly as shown:
|
|
25
|
+
|
|
26
|
+
```json
|
|
27
|
+
{"stage":"planner","focus_point":"...","task_excerpt":"...","project_evidence":"...","platform_surfaces":["..."],"extra_constraints":["..."],"api_level":22}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Read
|
|
31
|
+
`{output_path}/planner-platform-context-{N}/platform-context-result.json` and
|
|
32
|
+
use `structured_evidence` first. The query returns evidence, not authority. Run
|
|
33
|
+
once by default; at most one follow-up only if the first result still blocks
|
|
34
|
+
the decision. Never search local SDK/DevEco paths. If evidence is missing or
|
|
35
|
+
conflicting and the decision still cannot be closed, note the unresolved point
|
|
36
|
+
briefly. One tool call targets one blocking decision and may request multiple
|
|
37
|
+
evidence types for it (default: `api` + `pattern`).
|
|
30
38
|
|
|
31
39
|
## Contract
|
|
32
40
|
|
|
@@ -41,17 +49,22 @@ Emit only the `plan.md` body, starting with `## Decision Contract`.
|
|
|
41
49
|
|
|
42
50
|
## Procedure
|
|
43
51
|
|
|
44
|
-
Causal chain (commit downstream nodes only after upstream is resolved
|
|
45
|
-
reads may happen in any order but each must advance the next unresolved node):
|
|
52
|
+
Causal chain (commit downstream nodes only after upstream is resolved):
|
|
46
53
|
|
|
47
54
|
```text
|
|
48
55
|
requested outcome -> target surface/effect -> truth owner/source -> writer ->
|
|
49
56
|
reader/consumer -> triggered edge paths -> protected non-target behavior
|
|
50
57
|
```
|
|
51
58
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
59
|
+
Maintain one internal Read Frontier: `question`, `decision impact`, bounded
|
|
60
|
+
`anchors`, and `status` (`open|resolved|blocked`). Read the highest-upstream open
|
|
61
|
+
question whose answer can still change the plan; batch questions only when they
|
|
62
|
+
share an anchor. After each read, resolve, reject, or narrow that question. If
|
|
63
|
+
unchanged evidence does none of these, stop that search pattern. Broaden only
|
|
64
|
+
while the question remains decision-changing and a bounded next anchor exists;
|
|
65
|
+
otherwise record `Unknown`. Do not output the frontier. Promote files to edit
|
|
66
|
+
only after the chain justifies them. Do not use `rg --files`, `find . -name`,
|
|
67
|
+
unscoped `ls`, or feature-term search loops.
|
|
55
68
|
|
|
56
69
|
At any node, trigger as needed:
|
|
57
70
|
- Project facts narrow the choice (per Project Truth).
|
|
@@ -131,24 +144,29 @@ A local pattern is identical only for the correctness dimensions this task
|
|
|
131
144
|
depends on. If the new use differs in any correctness-relevant dimension not
|
|
132
145
|
covered by project evidence, the behavior is not proven.
|
|
133
146
|
|
|
147
|
+
For runtime-sensitive behavior, use one runtime proposition: initial state +
|
|
148
|
+
exact event/mutation + binding depth + identity/key + lifecycle/async timing +
|
|
149
|
+
API level -> observable effect. Source occurrence, import resolution,
|
|
150
|
+
compilation, a similar component shape, or a platform query cannot prove this
|
|
151
|
+
project's runtime outcome. `proven` requires local execution evidence covering
|
|
152
|
+
the same dimensions. Otherwise use `coder must verify`; query only the platform
|
|
153
|
+
rule that changes the plan, and block only when that rule remains unresolved.
|
|
154
|
+
|
|
134
155
|
These do not prove platform behavior: same SDK/module but different method;
|
|
135
156
|
same method but different parameters; same parameters but different return/
|
|
136
157
|
error/null/default semantics; same call pattern but different conflict behavior,
|
|
137
158
|
lifecycle assumption, or persistence assumption.
|
|
138
159
|
|
|
139
160
|
For each chain node that uses a platform API, component, lifecycle,
|
|
140
|
-
permission, or persistence behavior
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
3. Any required dimension not covered + does not change main path, forbidden
|
|
150
|
-
path, fallback, edit boundary, or completion evidence → `coder must verify`.
|
|
151
|
-
4. Query fails or cannot resolve + blocks chain → `blocked Unknown`.
|
|
161
|
+
permission, or persistence behavior, classify each assumed behavior once:
|
|
162
|
+
1. Local evidence covers it → `proven`. Name the evidence and why it covers
|
|
163
|
+
the dimension.
|
|
164
|
+
2. It is an uncovered platform rule and changes the plan → query per Tools;
|
|
165
|
+
consistent evidence becomes a Platform Decision, otherwise `Unknown`.
|
|
166
|
+
3. It is a project runtime outcome, or an uncovered platform rule that does not
|
|
167
|
+
change the plan → `coder must verify`. Runtime outcomes require matching
|
|
168
|
+
execution evidence; platform queries cannot prove them.
|
|
169
|
+
4. A required platform rule remains unresolved and blocks the chain → `Unknown`.
|
|
152
170
|
|
|
153
171
|
Output in plan.md: Platform Evidence/Decision (when step 2 triggers) + Platform
|
|
154
172
|
Assumptions table. Each `proven` row must retain: assumed behavior, local
|