@thinkingai/ae-cli 6.1.30 → 6.1.33
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 +16 -7
- package/README.zh.md +18 -7
- package/bin/ai-monitor.js +2 -0
- package/bin/runtime-capabilities.json +1 -1
- package/dist/ai-monitor-OHTSU6SV.js +33 -0
- package/dist/ai-monitor.js +136 -0
- package/dist/{auth-ADZHUIJR.js → auth-2MOK4OI6.js} +24 -14
- package/dist/{automation-FD2QZUP6.js → automation-6L6IAYRK.js} +6 -7
- package/dist/{capability-QXFRJYZD.js → capability-EMIHQJA3.js} +31 -34
- package/dist/{chunk-OAWPT7VP.js → chunk-2I5SZ5DS.js} +2 -2
- package/dist/{chunk-HRUOV6EQ.js → chunk-4IQYPWCX.js} +22 -21
- package/dist/{chunk-EUFP4M2A.js → chunk-7DHSB3FL.js} +85 -33
- package/dist/{chunk-4PSTYEG5.js → chunk-AMURHMS3.js} +11 -7
- package/dist/{chunk-KPQY44JQ.js → chunk-AWW2T2WL.js} +3 -0
- package/dist/chunk-BQFLABJQ.js +186 -0
- package/dist/{chunk-E25OSZLJ.js → chunk-COOMXFUG.js} +3 -3
- package/dist/{chunk-AVXDJAFC.js → chunk-DWAG2QJM.js} +52 -15
- package/dist/{chunk-CG773QXN.js → chunk-E3ONSFUN.js} +528 -299
- package/dist/chunk-EFGUBGA6.js +64 -0
- package/dist/chunk-EWVEAERM.js +563 -0
- package/dist/{chunk-VDICGXCY.js → chunk-HIMOBNEY.js} +2 -2
- package/dist/{chunk-JEUXDY3B.js → chunk-HQED4YB4.js} +1 -1
- package/dist/{chunk-2F64AZYH.js → chunk-KA5WKR5P.js} +2 -2
- package/dist/{chunk-TFORY6WY.js → chunk-KD5UC33N.js} +23 -9
- package/dist/{chunk-YVG6QD3V.js → chunk-LFJ7N36I.js} +103 -8
- package/dist/chunk-NNK3JBH4.js +60 -0
- package/dist/{chunk-YULUBP3R.js → chunk-O45NOIWR.js} +2 -2
- package/dist/{chunk-SOSFRU3O.js → chunk-PLNS5J33.js} +58 -26
- package/dist/chunk-PUSFEC6B.js +29 -0
- package/dist/{chunk-Z3Q2AEIN.js → chunk-R2SVAO4G.js} +14 -2
- package/dist/{chunk-Y3AM6LIO.js → chunk-RC3PPCYD.js} +16 -11
- package/dist/{chunk-AWVZTN2B.js → chunk-THTROEGD.js} +1 -1
- package/dist/{chunk-QVRIDN42.js → chunk-UCMO4LKL.js} +2 -2
- package/dist/{chunk-JSBLCLFE.js → chunk-VLOGOM7N.js} +13 -7
- package/dist/{chunk-72NJKS7O.js → chunk-XZDKAR4N.js} +4 -4
- package/dist/chunk-YE6MJB5V.js +1285 -0
- package/dist/{community-report-client-TJVCLZ3K.js → community-report-client-ULRNXLQV.js} +1 -1
- package/dist/{compat-check-HERBTQZN.js → compat-check-CADG7GND.js} +5 -4
- package/dist/{config-E3KANXMK.js → config-PFD3KWQG.js} +28 -14
- package/dist/{context-CDB5H5PD.js → context-SOQDFZIB.js} +8 -6
- package/dist/{data-integration-QE37EQ3A.js → data-integration-UNJ7EPW2.js} +6 -6
- package/dist/{evaluation-LR4YDYWL.js → evaluation-Q3AIGFOG.js} +14 -159
- package/dist/index.js +95 -593
- package/dist/{local-data-upload-client-KCMG6J62.js → local-data-upload-client-YTWMAAGE.js} +1 -1
- package/dist/{memory-SNFR5M23.js → memory-HKNGUIPK.js} +6 -7
- package/dist/{metadata-EXQYDZTH.js → metadata-GFWR5ZHC.js} +11 -10
- package/dist/{model-KEVCEXWD.js → model-NAKQWK4W.js} +4 -5
- package/dist/{personal-semantic-preference-ETY3KU2O.js → personal-semantic-preference-JCTKXLC3.js} +46 -15
- package/dist/{project-semantic-UHRMVOJF.js → project-semantic-B2NWQOKK.js} +19 -16
- package/dist/{sync-XKEBXESC.js → sync-UQH4J4BD.js} +9 -9
- package/dist/{te-agent-S6UQR4IE.js → te-agent-L6EYFQCC.js} +303 -17
- package/dist/{te-analysis-WOFFCIBC.js → te-analysis-U7NNOY66.js} +397 -203
- package/dist/{te-community-R7B6QYOO.js → te-community-3UQEW3KD.js} +14 -12
- package/dist/{te-dataops-KPILYVHA.js → te-dataops-SUNYXF5G.js} +13 -11
- package/dist/{te-engage-IAUM6ONX.js → te-engage-KMXZJ2KN.js} +10 -9
- package/dist/{te-experiment-TMLRA7B3.js → te-experiment-IEYKP6VC.js} +477 -45
- package/dist/{te-kb-GKWPSLSY.js → te-kb-MT3V5ZMH.js} +78 -18
- package/dist/{te-system-CYWSK3UN.js → te-system-F4ZU2HRQ.js} +6 -7
- package/dist/{te-team-ISN52YNG.js → te-team-M6E6XQ5H.js} +9 -8
- package/dist/{things-DDQ52Z3Q.js → things-FRLBZV2Z.js} +9 -8
- package/dist/{update-CTLNTX35.js → update-NULYHVE6.js} +8 -6
- package/dist/{workspace-2CKQX2XL.js → workspace-Z7L33OBQ.js} +6 -7
- package/package.json +13 -8
- package/skills/ae-agent/SKILL.md +19 -5
- package/skills/ae-agent/references/a2a.md +103 -0
- package/skills/ae-agent/references/command_index.md +11 -0
- package/skills/ae-ai-monitor/SKILL.md +179 -0
- package/skills/ae-ai-monitor/references/read-commands.md +866 -0
- package/skills/ae-analysis/SKILL.md +43 -25
- package/skills/ae-analysis/references/adhoc_export.md +3 -1
- package/skills/ae-analysis/references/ai_models/path.md +5 -6
- package/skills/ae-analysis/references/ai_models.md +1 -0
- package/skills/ae-analysis/references/analysis_data_retrieval.md +1 -1
- package/skills/ae-analysis/references/analysis_gateway_assets.md +2 -0
- package/skills/ae-analysis/references/asset_authentication_export.md +1 -1
- package/skills/ae-analysis/references/asset_authentication_update.md +6 -2
- package/skills/ae-analysis/references/asset_search.md +1 -1
- package/skills/ae-analysis/references/bad_case_begin.md +12 -0
- package/skills/ae-analysis/references/bad_case_get.md +12 -0
- package/skills/ae-analysis/references/bad_case_history.md +12 -0
- package/skills/ae-analysis/references/bad_case_list.md +12 -0
- package/skills/ae-analysis/references/bad_case_review.md +51 -0
- package/skills/ae-analysis/references/bad_case_run.md +12 -0
- package/skills/ae-analysis/references/bad_case_submit.md +12 -0
- package/skills/ae-analysis/references/bad_case_submit_to_page.md +12 -0
- package/skills/ae-analysis/references/bad_case_sync_evaluation.md +11 -0
- package/skills/ae-analysis/references/bi_panel_list.md +1 -1
- package/skills/ae-analysis/references/bi_panel_share.md +3 -1
- package/skills/ae-analysis/references/catalog_list.md +2 -0
- package/skills/ae-analysis/references/command_index.md +44 -35
- package/skills/ae-analysis/references/dashboard_daily_report_update.md +2 -0
- package/skills/ae-analysis/references/dashboard_handover.md +3 -1
- package/skills/ae-analysis/references/dashboard_list.md +3 -3
- package/skills/ae-analysis/references/dashboard_report_data_export.md +1 -1
- package/skills/ae-analysis/references/dashboard_share.md +3 -1
- package/skills/ae-analysis/references/dashboard_update.md +3 -2
- package/skills/ae-analysis/references/filter_value_list.md +2 -0
- package/skills/ae-analysis/references/folder_share.md +8 -2
- package/skills/ae-analysis/references/governance_recommendation_export.md +2 -2
- package/skills/ae-analysis/references/governance_recommendation_run_update.md +3 -1
- package/skills/ae-analysis/references/personal_semantic_preference_add.md +9 -1
- package/skills/ae-analysis/references/personal_semantic_preference_delete.md +2 -0
- package/skills/ae-analysis/references/personal_semantic_preference_get.md +2 -0
- package/skills/ae-analysis/references/personal_semantic_preference_list.md +10 -2
- package/skills/ae-analysis/references/personal_semantic_preference_update.md +8 -0
- package/skills/ae-analysis/references/project_data_power_upsert.md +3 -1
- package/skills/ae-analysis/references/project_mark_time_create.md +2 -0
- package/skills/ae-analysis/references/project_mark_time_update.md +2 -0
- package/skills/ae-analysis/references/project_member_add.md +3 -1
- package/skills/ae-analysis/references/project_member_batch_update.md +3 -1
- package/skills/ae-analysis/references/project_member_handover_run.md +3 -1
- package/skills/ae-analysis/references/project_member_update.md +3 -1
- package/skills/ae-analysis/references/project_owner_update.md +8 -2
- package/skills/ae-analysis/references/project_role_upsert.md +5 -3
- package/skills/ae-analysis/references/project_semantic_knowledge_wiki.md +16 -1
- package/skills/ae-analysis/references/project_semantic_knowledge_wiki_plan_schema.md +14 -1
- package/skills/ae-analysis/references/project_space_share.md +8 -2
- package/skills/ae-analysis/references/property_get.md +2 -0
- package/skills/ae-analysis/references/public_link_list.md +3 -1
- package/skills/ae-analysis/references/query_cancel.md +4 -1
- package/skills/ae-analysis/references/report_data_run.md +1 -1
- package/skills/ae-analysis/references/report_list.md +3 -3
- package/skills/ae-analysis/references/scenario_append.md +2 -2
- package/skills/ae-analysis/references/scenario_collect.md +15 -4
- package/skills/ae-analysis/references/scenario_evaluation.md +17 -1
- package/skills/ae-analysis/references/scenario_list.md +7 -7
- package/skills/ae-analysis/references/system_oauth2_update.md +3 -1
- package/skills/ae-analysis/references/system_third_party_login_upsert.md +4 -2
- package/skills/ae-analysis/references/user_tag_create.md +4 -1
- package/skills/ae-analysis/references/user_tag_get.md +2 -0
- package/skills/ae-analysis/references/user_tag_models.md +8 -2
- package/skills/ae-analysis/references/user_tag_update.md +5 -2
- package/skills/ae-analysis/references/virtual_property_create.md +12 -1
- package/skills/ae-analysis/references/virtual_property_sql_rule_update.md +10 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/build-project-semantic-wiki.mjs +55 -13
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/company-kb.mjs +2 -2
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/default-compile-rules.md +2 -2
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/default-compile-schema.md +7 -1
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/wait-compile-run.mjs +79 -0
- package/skills/ae-automation/SKILL.md +4 -2
- package/skills/ae-capability/SKILL.md +16 -8
- package/skills/ae-community/SKILL.md +1 -0
- package/skills/ae-dataops/SKILL.md +1 -0
- package/skills/ae-engage/SKILL.md +1 -0
- package/skills/ae-evaluation/SKILL.md +17 -2
- package/skills/ae-experiment/SKILL.md +69 -13
- package/skills/ae-experiment/references/experiment_approval.md +229 -0
- package/skills/ae-experiment/references/manage_experiment.md +15 -2
- package/skills/ae-experiment/references/manage_traffic_domains.md +131 -0
- package/skills/ae-experiment/references/query_experiment_detail.md +8 -0
- package/skills/ae-experiment/references/query_experiment_list.md +6 -0
- package/skills/ae-experiment/references/save_experiment.md +56 -10
- package/skills/ae-experiment/references/save_metric.md +29 -2
- package/skills/ae-experiment/references/save_submit_experiment.md +22 -3
- package/skills/ae-experiment/references/save_submit_external_experiment.md +59 -3
- package/skills/ae-experiment/references/save_traffic_layer.md +17 -1
- package/skills/ae-generate-tracking-plan/SKILL.md +5 -0
- package/skills/ae-kb/SKILL.md +8 -4
- package/skills/ae-kb/references/analysis-workflow.md +11 -2
- package/skills/ae-kb/references/publication.md +45 -0
- package/skills/ae-kb/references/query-workflow.md +3 -1
- package/skills/ae-kb/references/versions.md +1 -1
- package/skills/ae-metadata/SKILL.md +1 -0
- package/skills/ae-migrate-tracking-code/SKILL.md +2 -1
- package/skills/ae-team/SKILL.md +1 -1
- package/skills/ae-tracking-matrix/SKILL.md +170 -0
- package/skills/ae-tracking-matrix/assets//345/237/213/347/202/271/346/250/241/347/211/210.xlsx +0 -0
- package/skills/ae-tracking-matrix/i18n.yaml +12 -0
- package/skills/ae-tracking-matrix/references/ae-capabilities.md +93 -0
- package/skills/ae-tracking-matrix/references/business-semantic-checks.md +30 -0
- package/skills/ae-tracking-matrix/references/categories/acquaintance_social_tracking_plan_template.md +256 -0
- package/skills/ae-tracking-matrix/references/categories/blockchain_game_tracking_plan_template.md +213 -0
- package/skills/ae-tracking-matrix/references/categories/card_game_tracking_plan_template.md +407 -0
- package/skills/ae-tracking-matrix/references/categories/casual_game_tracking_plan_template.md +218 -0
- package/skills/ae-tracking-matrix/references/categories/casual_music.md +112 -0
- package/skills/ae-tracking-matrix/references/categories/chess_cards_tracking_plan_template.md +301 -0
- package/skills/ae-tracking-matrix/references/categories/ecommerce_tracking_plan_template.md +356 -0
- package/skills/ae-tracking-matrix/references/categories/fishing.md +775 -0
- package/skills/ae-tracking-matrix/references/categories/game_basic_module_tracking_plan.md +89 -0
- package/skills/ae-tracking-matrix/references/categories/idle_card.md +27 -0
- package/skills/ae-tracking-matrix/references/categories/idle_game_tracking_plan_template.md +415 -0
- package/skills/ae-tracking-matrix/references/categories/interactive_video.md +133 -0
- package/skills/ae-tracking-matrix/references/categories/merge.md +639 -0
- package/skills/ae-tracking-matrix/references/categories/mmo_mobile_tracking_plan_template.md +406 -0
- package/skills/ae-tracking-matrix/references/categories/mmo_web.md +230 -0
- package/skills/ae-tracking-matrix/references/categories/music.md +137 -0
- package/skills/ae-tracking-matrix/references/categories/online_education_tracking_plan_template.md +414 -0
- package/skills/ae-tracking-matrix/references/categories/qipai_mj.md +199 -0
- package/skills/ae-tracking-matrix/references/categories/reading_tracking_plan_template.md +158 -0
- package/skills/ae-tracking-matrix/references/categories/roguelike_tracking_plan_template.md +546 -0
- package/skills/ae-tracking-matrix/references/categories/rpg.md +195 -0
- package/skills/ae-tracking-matrix/references/categories/short_drama_tracking_plan_template.md +115 -0
- package/skills/ae-tracking-matrix/references/categories/simulation_business_tracking_plan_template.md +151 -0
- package/skills/ae-tracking-matrix/references/categories/slg_tracking_plan_template.md +260 -0
- package/skills/ae-tracking-matrix/references/categories/slots_tracking_plan_template.md +232 -0
- package/skills/ae-tracking-matrix/references/categories/stranger_social_tracking_plan_template.md +359 -0
- package/skills/ae-tracking-matrix/references/categories/tower_defense.md +365 -0
- package/skills/ae-tracking-matrix/references/categories/video_editor_tracking_plan_template.md +211 -0
- package/skills/ae-tracking-matrix/references/categories/wechat_minigame.md +132 -0
- package/skills/ae-tracking-matrix/references/category-registry.md +77 -0
- package/skills/ae-tracking-matrix/references/data-verification/diagnosis_kb.md +230 -0
- package/skills/ae-tracking-matrix/references/data-verification/sql_checks.md +406 -0
- package/skills/ae-tracking-matrix/references/data-verification/tracking_plan_comparison.md +128 -0
- package/skills/ae-tracking-matrix/references/eval-cases.md +74 -0
- package/skills/ae-tracking-matrix/references/naming-dict.md +238 -0
- package/skills/ae-tracking-matrix/references/optimization-checklist.md +85 -0
- package/skills/ae-tracking-matrix/references/plan-generation/export-schema.md +142 -0
- package/skills/ae-tracking-matrix/references/plan-generation/module-baseline.md +47 -0
- package/skills/ae-tracking-matrix/references/plan-generation/reference.md +794 -0
- package/skills/ae-tracking-matrix/references/plan-generation/template-catalog.md +94 -0
- package/skills/ae-tracking-matrix/references/scene-routing.md +80 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/android.md +3787 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/c.md +827 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/cocos2d-lua.md +655 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/cocos2d-x.md +953 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/cocoscreator.md +1128 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/corona.md +714 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/egret.md +1268 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/flutter.md +776 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/h5-and-app-sdk-integration.md +182 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/ios.md +2755 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/javascript.md +1182 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/layaair.md +1300 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/macos.md +1369 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/mini-program-mini-game.md +1692 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/openharmony.md +902 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/react-native.md +763 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/uni-app.md +1107 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/unity.md +1532 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/unreal.md +845 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/android_sdk_faq.md +228 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/ios_sdk_faq.md +149 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/java_sdk_faq.md +407 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/javascript_sdk_faq.md +163 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/minigame_sdk_faq.md +149 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/miniprogram_sdk_faq.md +153 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/python_sdk_faq.md +232 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/sdk_log_guide.md +314 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/sdk_usage_notes.md +117 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/unity_sdk_faq.md +148 -0
- package/skills/ae-tracking-matrix/references/sdk/integration-tools/filebeat-logstash-guide.md +645 -0
- package/skills/ae-tracking-matrix/references/sdk/integration-tools/logbus2_guide.md +307 -0
- package/skills/ae-tracking-matrix/references/sdk/integration-tools/logbus2_parser_plugin.md +347 -0
- package/skills/ae-tracking-matrix/references/sdk/integration-tools/restful_api_notes.md +72 -0
- package/skills/ae-tracking-matrix/references/sdk/integration-tools/ta-datax-writer-guide.md +264 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/c.md +566 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/erlang.md +409 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/golang.md +446 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/java.md +557 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/lua.md +457 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/nodejs.md +490 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/php.md +523 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/python.md +484 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/ruby.md +442 -0
- package/skills/ae-tracking-matrix/references/sdk/te-data-rules/data-rules.md +391 -0
- package/skills/ae-tracking-matrix/references/sdk/te-data-rules/first-event-validation.md +91 -0
- package/skills/ae-tracking-matrix/references/sdk/te-data-rules/preset-properties-system-fields.md +635 -0
- package/skills/ae-tracking-matrix/references/sdk/te-data-rules/updatable-events.md +113 -0
- package/skills/ae-tracking-matrix/references/sdk/te-data-rules/user-identification-rules.md +466 -0
- package/skills/ae-tracking-matrix/references/standard-base/README.md +22 -0
- package/skills/ae-tracking-matrix/references/standard-base/basic_event_data.md +174 -0
- package/skills/ae-tracking-matrix/references/standard-base/common_event_properties.md +20 -0
- package/skills/ae-tracking-matrix/references/standard-base/common_event_properties_setup.md +7 -0
- package/skills/ae-tracking-matrix/references/standard-base/data_type_design_principles.md +14 -0
- package/skills/ae-tracking-matrix/references/standard-base/gameplay_event_data.md +370 -0
- package/skills/ae-tracking-matrix/references/standard-base/id_system_faq.md +47 -0
- package/skills/ae-tracking-matrix/references/standard-base/integration_must_know.md +37 -0
- package/skills/ae-tracking-matrix/references/standard-base/multi_platform_integration_notes.md +27 -0
- package/skills/ae-tracking-matrix/references/standard-base/multi_user_id_system_recommendations.md +23 -0
- package/skills/ae-tracking-matrix/references/standard-base/tracking_notes.md +14 -0
- package/skills/ae-tracking-matrix/references/standard-base/user_data.md +46 -0
- package/skills/ae-tracking-matrix/references/standard-base/user_id_system.md +13 -0
- package/skills/ae-tracking-matrix/references/system-fields.md +297 -0
- package/skills/ae-tracking-matrix/references/te-field-translations.md +1791 -0
- package/skills/ae-tracking-matrix/references/workflows/data-verification.md +232 -0
- package/skills/ae-tracking-matrix/references/workflows/feasibility-analysis.md +829 -0
- package/skills/ae-tracking-matrix/references/workflows/integration-qna.md +355 -0
- package/skills/ae-tracking-matrix/references/workflows/plan-generation.md +283 -0
- package/skills/ae-tracking-matrix/references/workflows/plan-lint.md +168 -0
- package/skills/ae-tracking-matrix/references/workflows/plan-review-optimize.md +205 -0
- package/skills/ae-tracking-matrix/references/workflows/prd-to-suggestions.md +75 -0
- package/skills/ae-tracking-matrix/references/workflows/troubleshooting.md +36 -0
- package/skills/ae-tracking-matrix/references/workflows/validated-upload.md +107 -0
- package/skills/ae-tracking-matrix/scripts/build_template_catalog.py +114 -0
- package/skills/ae-tracking-matrix/scripts/export_tracking_plan.py +53 -0
- package/skills/ae-tracking-matrix/scripts/finalize_plan.py +166 -0
- package/skills/ae-tracking-matrix/scripts/lint_tracking_plan.py +674 -0
- package/skills/ae-tracking-matrix/scripts/plan_contract.py +200 -0
- package/skills/ae-tracking-matrix/scripts/plan_types.py +60 -0
- package/skills/ae-tracking-matrix/scripts/prepare_delivery.py +169 -0
- package/skills/ae-tracking-matrix/scripts/sync_plan.py +296 -0
- package/skills/ae-tracking-matrix/scripts/upload_plan.py +340 -0
- package/dist/chunk-AMBFK2K3.js +0 -28
- package/dist/chunk-Y74WTIKJ.js +0 -10
|
@@ -79,3 +79,48 @@ The first successful source-managed KB compilation now publishes automatically,
|
|
|
79
79
|
Text and Markdown members return changed hunks. Small, unambiguous CSV/TSV changes may additionally include `table` containing only changed rows. ZIP and URL/Feishu sources expose changed frozen members; PDF, Office, images, invalid UTF-8 and oversized content explicitly return metadata/limit status rather than a fabricated textual diff. No source URL is fetched during preview.
|
|
80
80
|
|
|
81
81
|
Compatibility: deploy the matching server before using new paging flags. Old CLI requests continue to work on the new server. New flags against older servers fail explicitly with `KB_CANDIDATE_PAGING_UNSUPPORTED` when `page` or `filePage` is missing; the CLI never treats an unfiltered old response as a filtered result.
|
|
82
|
+
|
|
83
|
+
## Evaluate a pending company KB candidate
|
|
84
|
+
|
|
85
|
+
Use the same explicit `--sources '[{"scope":"company","name":"<verified name>"}]'` in two
|
|
86
|
+
`kb read-context create` calls. Add `--candidate <candidateId>` to the candidate call only.
|
|
87
|
+
Get the ID from publication status. Require the formal view to be snapshot-pinned and its
|
|
88
|
+
non-null `versionId` to equal the candidate view's `baseVersion`; otherwise stop.
|
|
89
|
+
Older Hosts may reject the candidate request; never fall back to a formal view.
|
|
90
|
+
|
|
91
|
+
Use two fresh local Agent sessions with identical questions, model, prompt and retrieval budget.
|
|
92
|
+
Give each session only its own context and keep the other session's history, answers, references
|
|
93
|
+
and temporary files out of it. Use `+index`, `+grep` and `+read` with that session's
|
|
94
|
+
`--read-context`. Save each creation response, associate each request with its context ID,
|
|
95
|
+
and verify any returned `readView` against the creation identity. Empty grep results are
|
|
96
|
+
valid no-hit evidence for that context; a failed request is not. Keep version identities,
|
|
97
|
+
session IDs, initial settings, answers and cited paths. Compare and score after both sessions
|
|
98
|
+
finish. Stop on a failed or expired context and restart both rounds if trying again. Release
|
|
99
|
+
both contexts after success or failure using `kb read-context release --id`.
|
|
100
|
+
|
|
101
|
+
The candidate reader accepts one active query per Host process and up to four file reads at a time.
|
|
102
|
+
Its bounds are 1 MiB per file, 8 MiB of selected files and 20,000 lines per request.
|
|
103
|
+
A busy or over-budget query fails explicitly; it does not return a partial comparison.
|
|
104
|
+
Candidate queries count as preview events, outside formal consumption and core activity.
|
|
105
|
+
Formal baseline queries still count as ordinary formal consumption.
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
## Server-side Ask evaluation
|
|
109
|
+
|
|
110
|
+
After creating the formal and candidate contexts above, use the same question and actual model with each:
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
ae-cli kb +ask --question '<question>' --model-id '<model-id>' --read-context '<formal-context>'
|
|
114
|
+
ae-cli kb +ask --question '<question>' --model-id '<model-id>' --read-context '<candidate-context>' --no-wait
|
|
115
|
+
ae-cli kb +ask-status --execution-id '<execution-id>'
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
Only submission carries the context Header. Polling uses your normal user credentials and the returned execution ID. Candidate sources may be omitted (only the bound company KB is selected); if supplied, pass exactly that one company KB. A formal context may select a non-empty subset of its bound immutable snapshots. Execution-owned Agent/Ask/automation contexts cannot start another Ask. An older Host or Sandbox that cannot preserve explicit identities fails; do not retry against current published content.
|
|
119
|
+
|
|
120
|
+
Each Ask creates an independent sandbox session, private working directory and task credential. Run questions serially, keep model/prompt/budget equal, and never pass another round's answer, history or temporary files as input. Compare the formal versionId with candidate baseVersion before starting. Save the creation response and each submission's readViews; match every poll/result to that identity, including sources: [] on a successful no-hit answer. Missing or changed identities invalidate the comparison. Default waiting validates submission/poll identity consistency; asynchronous callers must perform that comparison themselves.
|
|
121
|
+
|
|
122
|
+
The task does not replace or release your source context. Finish all tasks before releasing it; source release/expiry invalidates unfinished work. Contexts expire after 15 minutes and are not extended; Ask retains its existing 5-minute execution timeout and platform turn limit. If a context expires or any question fails, stop the comparison, clean up your contexts and start both rounds afresh if needed. Candidate tools run serially and retain the per-request budgets above; 429/413 is an execution failure, not no-hit or a partial answer.
|
|
123
|
+
|
|
124
|
+
Results preserve answer, sources, readViews, modelUsage and modelId. Candidate sources include candidateId, baseVersion and readIdentity, with versionId/versionNumber null. They do not provide a historical reference; +ask-status --source-index fails explicitly for them. Saved results remain available to the execution owner with current company KB consume/edit permission after approval ends or contexts are released, but do not reopen candidate source files. Normal formal historical citations keep their existing behavior.
|
|
125
|
+
|
|
126
|
+
Candidate Ask and its internal retrieval are non-core preview activity; model usage is still recorded. The formal comparison round still counts as ordinary formal consumption and core Ask activity. This does not add candidate consumption to ordinary platform conversations or automations, or provide automatic grading/approval.
|
|
@@ -134,7 +134,9 @@ A revision or access-context change requires revalidation, not silent reuse.
|
|
|
134
134
|
until every answered subquestion is backed by sections actually read — not
|
|
135
135
|
until a page "looks like the answer". For business data analysis, read the
|
|
136
136
|
relevant definitions and boundaries, then hand off verified coverage and
|
|
137
|
-
remaining gaps in step 5
|
|
137
|
+
remaining gaps in step 5. Carry the matched branch outcome, source and answer
|
|
138
|
+
grains, required operation, checks and reason to stop together with its evidence.
|
|
139
|
+
When a legacy card omits these, read the linked definition before claiming coverage; live values do not need KB text as their source.
|
|
138
140
|
Do not pick a single page by surface similarity between the question wording
|
|
139
141
|
and the page/module name or hit line.
|
|
140
142
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Versions are immutable successful publications. No historical version is created until the first successful compile. Failed or cancelled compiles do not consume a version number. Existing `+compile`, `+status` and `+list-sources` responses pass through server version labels and draft state; `+index`, `+grep`, `+read` and `+ask` always address current content.
|
|
4
4
|
|
|
5
|
-
When `+status` returns `wiki_review_required`, inspect `publicationReview.code`, report that administrator review is required, and stop ordinary compile polling. The active Run and write lock remain in place; do not cancel or force another compile. This also covers an interrupted publication after server restart.
|
|
5
|
+
When `+status` returns `wiki_review_required`, inspect `publicationReview.code`, report that administrator review is required, and stop ordinary compile polling. The active Run and write lock remain in place; do not cancel or force another compile. This also covers an interrupted publication after server restart. Exact-run `+status --run-id` returns the same `publicationReview` marker; stop even when `compileRun.status` remains `running`.
|
|
6
6
|
|
|
7
7
|
Discover exact names/scopes via `kb +list`, then inspect history:
|
|
8
8
|
|
|
@@ -33,6 +33,7 @@ When remaining work is outside this skill's scope, or a necessary prerequisite n
|
|
|
33
33
|
| `--dry-run` | Optional: confirm ready to run (`/dry-run`). Alone for risk/output preview. Do not stack with `--validate`. |
|
|
34
34
|
|
|
35
35
|
Output and errors:
|
|
36
|
+
- Built-in `--jq` receives the business payload before the outer `{ok,data,meta}` envelope. Use payload fields directly inside the CLI; use `.data...` only with external jq over saved final JSON.
|
|
36
37
|
- Success: JSON envelope (default). May include optional `_notice.host_compat`.
|
|
37
38
|
- Failure: `{ "ok": false, "error": { "type", "message", "hint" } }`, non-zero exit.
|
|
38
39
|
- **CRITICAL — Host compat (do this first):** After each `ae-cli` run, check stderr and `_notice.host_compat`. If either is present, open the user reply with a short ⚠️ version warning and **quote the `npm i -g` / `npx skills add` (or update-cluster) lines verbatim**, then present the business result. Soft tip; `ok: true` can still carry the notice.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ae-migrate-tracking-code
|
|
3
|
+
version: 1.0.1
|
|
3
4
|
description: "Migrate existing third-party SDK tracking code (Firebase, Amplitude, Sensors Data, Mixpanel, GA4) to the AE SDK (数数 / ThinkingAI / Agentic Engine / AE SDK) — switch (replace) or add alongside existing tracking (dual-write). Trigger words: 埋点迁移、埋点切换、第三方埋点迁移、第三方埋点切换、迁移埋点到数数、把 xx SDK 切换到数数、把已有埋点用数数实现一遍、用数数替换 xx SDK、集成数数并参考已有 xx SDK 埋点、Firebase 迁移、Amplitude 迁移、Mixpanel 迁移、神策迁移、Sensors Data 迁移、GA4 迁移、gtag 迁移、双写、tracking migration、migrate Firebase/Amplitude/Mixpanel/Sensors Data/GA4 to AE、switch xx SDK to ThinkingAI、replace xx SDK with AE、replace logEvent with track、re-implement existing tracking with ThinkingAI、add AE tracking alongside existing analytics、dual-write. Provider-agnostic core with per-provider adapters; reuses ae-generate-tracking-plan and ae-generate-tracking-code."
|
|
4
5
|
---
|
|
5
6
|
|
|
@@ -108,7 +109,7 @@ Hand off to `ae-generate-tracking-plan` using the codebase/draft already produce
|
|
|
108
109
|
|
|
109
110
|
1. `ae-cli tracking plan draft --in .ae-cli/draft.json --out .ae-cli/draft.xlsx`
|
|
110
111
|
2. `ae-cli tracking plan validate --in .ae-cli/draft.json --fix`
|
|
111
|
-
3. Resolve AE host/login/projectId per the plan skill, then `ae-cli tracking plan upload ...` (
|
|
112
|
+
3. Resolve AE host/login/projectId per the plan skill, then `ae-cli tracking plan upload ...` (choose append or replace after conflict detection and ask before uploading. For replacement or a preview-only request, follow the CLI help check and confirmation steps in Phase 4.3 of the plan skill).
|
|
112
113
|
|
|
113
114
|
## Phase 4 — Insert AE SDK code (switch or add)
|
|
114
115
|
|
package/skills/ae-team/SKILL.md
CHANGED
|
@@ -25,7 +25,7 @@ Global parameters:
|
|
|
25
25
|
| `--dry-run` | Show request details without executing. |
|
|
26
26
|
|
|
27
27
|
Output and errors:
|
|
28
|
-
|
|
28
|
+
- Built-in `--jq` receives the business payload before the outer `{ok,data,meta}` envelope. Use payload fields directly inside the CLI; use `.data...` only with external jq over saved final JSON.
|
|
29
29
|
- Successful commands return machine-readable JSON by default. Envelope may include optional `_notice.host_compat`.
|
|
30
30
|
- Failed commands return `{ "ok": false, "error": { "type": "...", "message": "...", "hint": "..." } }` and exit non-zero.
|
|
31
31
|
- **CRITICAL — Host compat (do this first):** If stderr or `_notice.host_compat` has a version warning, open the user reply with ⚠️ and **quote `npm i -g` / `npx skills add` (or update-cluster) lines verbatim**, then list projects/results. Never omit when summarizing. Soft tip; `ok: true` may still include the notice.
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "ae-tracking-matrix"
|
|
3
|
+
description: "MANDATORY ENTRY POINT for any tracking-related work — invoke this skill FIRST, before reading any tracking plan file, querying any tracking data, or producing any tracking analysis. Applies to generate, audit, review, optimize, increment/supplement, adjust, Q&A, data verification, troubleshooting (an event has no data / stopped reporting / data looks wrong), and TRACKING CODE GENERATION — requests like 'give me Android/iOS/Unity tracking code' or 'how do I write tracking code' MUST enter here first; this skill runs the four-step identification and then routes to the code-generation execution skill, so naming pre-checks and plan-consistency rules apply. Do NOT invoke execution skills (code generation, plan generation, verification) directly from the user request, and do NOT open tracking xlsx files with openpyxl/pandas or start ad-hoc log/file spelunking, before loading this skill. It holds the canonical naming dictionary, object-group validation rules, 29 category Markdown assets (including partial/shared caches), the no-data diagnosis flow, and the lint script that catches TE platform-import failures — none available outside this package, so ad-hoc work misses import-blocking issues and blind alleys. Costs 1-2 extra turns but prevents invalid plans and misdiagnosis. Trigger words: tracking, tracking plan, event design, tracking audit, tracking review, tracking optimization, supplement, increment, SDK tracking, tracking code, code generation, integration code, data verification, PRD, troubleshoot, diagnose, no data, missing data, event not reported."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Tracking Matrix · Identification + Routing Foundation
|
|
7
|
+
|
|
8
|
+
> Position: The Tracking Assistant Agent covers **generate + audit + optimize + upload**. Present a reviewable plan overview from the same canonical JSON in the conversation first, then ask the user to choose **direct structured sync to Tracking Management** or **a local 11-sheet Excel**. The sync branch creates no Excel; the Excel branch starts only after selection. After target/baseline/semantic validation, one explicit confirmation authorizes only the displayed remote scope via `references/workflows/validated-upload.md`. No automatic upload, hidden Excel intermediate, implicit deletion/overwrite, or invented UI button.
|
|
9
|
+
> **Language**: this skill's main text is English; all user-facing replies (including routing, questions, review and acceptance) and newly authored business descriptions follow the user's language. Template-owned Chinese sheet names, headers and type labels remain unchanged. Do not call this an all-English template.
|
|
10
|
+
> This SKILL.md keeps only the "identify + route" logic (≤200 lines); execution flows are offloaded into in-package workflow references (`references/workflows/*.md`), loaded by route after identification. (v2.0: the nine former execution skills were merged into this package as workflow references — routing no longer depends on separate skill descriptions; only the two system skills `ae-generate-tracking-code` and `te-user-id-debug` remain external.)
|
|
11
|
+
|
|
12
|
+
The `te-user-id-debug` handoff requires the system Skill supplied by the Agent environment; ae-cli does not install it. If it is unavailable, report the missing Skill before starting the deep investigation.
|
|
13
|
+
|
|
14
|
+
## 0. Trigger Boundary
|
|
15
|
+
|
|
16
|
+
Enter this flow when the user's request involves any of the following:
|
|
17
|
+
|
|
18
|
+
- Tracking plan: generate / optimize / audit / increment / adjust / upload
|
|
19
|
+
- Requirements document (PRD) → tracking suggestions
|
|
20
|
+
- SDK tracking code, integration, reporting Q&A and troubleshooting
|
|
21
|
+
- Tracking data verification (quality validation, plan acceptance — against the customer's real reported data)
|
|
22
|
+
|
|
23
|
+
- Audit/review of an existing plan counts in ALL cases — even "just take a look". Never read a tracking xlsx with openpyxl/pandas before completing the four-step identification.
|
|
24
|
+
- **Tracking code generation counts too** — "give me Android/iOS/Unity tracking code", "写埋点代码", "接入代码" all enter here first. After the four-step identification, this skill routes to the code-delivery execution skill (code_delivery). Never hang the code-generation skill directly from the user request: the identification step carries the naming dictionary and plan-consistency constraints that keep generated code aligned with the plan.
|
|
25
|
+
|
|
26
|
+
For unrelated requests, exit without forcing a route.
|
|
27
|
+
|
|
28
|
+
### Audit & Lint Hard Rules
|
|
29
|
+
|
|
30
|
+
- Any audit / review / optimize deliverable for an xlsx plan MUST include the machine-check section produced by `scripts/lint_tracking_plan.py` in read-only check mode. An audit reply without the lint results section is invalid and must be redone.
|
|
31
|
+
- Lint flow is read-only first: run the check, present findings and suggested fixes, wait for user confirmation, then write to a NEW file — never overwrite the user's original file.
|
|
32
|
+
- The plan_optimization dispatch table in references/scene-routing.md assigns a single owner per sub-intent; follow it, do not improvise.
|
|
33
|
+
|
|
34
|
+
## 1. Four-Step Identification Mechanism
|
|
35
|
+
|
|
36
|
+
After receiving a tracking request, execute these four steps in order, then compose them for execution.
|
|
37
|
+
|
|
38
|
+
### Step 1 · Intent Recognition (what they want to do)
|
|
39
|
+
|
|
40
|
+
Don't rely on trigger keywords alone; judge the user's action from semantics:
|
|
41
|
+
|
|
42
|
+
| Intent | Typical Phrasing | Execution Mode |
|
|
43
|
+
|-|-|-|
|
|
44
|
+
| Audit | "Take a look / check / review this plan", "Don't modify the file" | Read-only check (audit_only), outputs issue list |
|
|
45
|
+
| Optimize | "Help me optimize / improve this plan" | Modifies file and outputs diff list (optimize_xlsx), no upload |
|
|
46
|
+
| From-scratch design | "Create a tracking plan", "Design from 0" | Full generation flow (generate) |
|
|
47
|
+
| Incremental design | "Add 3 events to the payment module", "Add tracking for XX feature" | Design only the specified module, append to existing plan |
|
|
48
|
+
| Adjustment | "Change the property type of event X", "Modify event XX" | Modify + conflict check |
|
|
49
|
+
| Q&A | "What to do when reporting has no data", "How to integrate the SDK" | FAQ-style answer, no plan changes |
|
|
50
|
+
| Data verification | "Verify if data is reported correctly", "Is event X tracked properly" | Quality validation / plan acceptance against real reported data. **Data seeding and presales demo-data generation are OUT OF SCOPE for this customer-facing assistant** — customers generate their own real data via test devices / debug mode; if asked to fabricate data, decline and redirect to the verification flow |
|
|
51
|
+
|
|
52
|
+
Different intents within the same container scenario have different execution modes (e.g. in "plan optimization" scenario: audit = read-only, optimize = modify file, incremental = design only the specified module), so lock the intent before routing.
|
|
53
|
+
|
|
54
|
+
### Step 2 · Category Recognition (for whom)
|
|
55
|
+
|
|
56
|
+
Match against the 24 categories + 1 supplemented category (`interactive_video`) in `references/category-registry.md`. The 29 local Markdown assets are not 29 complete category routes; `idle_card` has a documented cache gap and uses confirmed Idle + Card composition:
|
|
57
|
+
|
|
58
|
+
- **Hit** → inject that category template's business semantics (what to track)
|
|
59
|
+
- **Fuzzy** → list the 2–3 closest candidates and let the user confirm; do not pick on your own
|
|
60
|
+
- **Missing** → design using the general spec + standard-base, and at the end of the output remind the user "this category can be deposited as a new category template"
|
|
61
|
+
|
|
62
|
+
### Step 3 · Scenario Recognition (which stage)
|
|
63
|
+
|
|
64
|
+
Match against the 6 scenario workflows in `references/scene-routing.md`:
|
|
65
|
+
|
|
66
|
+
| Scenario ID | Scenario Name | User Intent |
|
|
67
|
+
|-|-|-|
|
|
68
|
+
| demand_understanding | Requirements Understanding | PRD / requirements doc → tracking suggestion sheet |
|
|
69
|
+
| plan_generation | Plan Generation | 0→1 conversation overview → direct sync or optional 11-sheet Excel; confirmed remote write |
|
|
70
|
+
| plan_optimization | Plan Optimization | Incremental / audit / optimize, output diff list |
|
|
71
|
+
| code_delivery | Code Delivery | SDK samples / tracking code |
|
|
72
|
+
| integration_qna | Integration Q&A | SDK integration / reporting / pipeline Q&A and troubleshooting |
|
|
73
|
+
| data_verification | Data Verification | Quality validation / plan acceptance (customer's real data; no seeding) |
|
|
74
|
+
|
|
75
|
+
Scenario is jointly determined by "intent × input form": for the same word "plan", with an existing plan file → plan_optimization; with an empty project and a one-liner → plan_generation.
|
|
76
|
+
|
|
77
|
+
### Step 4 · Interactive Confirmation (avoid off-topic answers)
|
|
78
|
+
|
|
79
|
+
Once positioning is done and before execution, generate **differentiated key-detail questions** keyed on "intent × category × scenario" to confirm with the user.
|
|
80
|
+
|
|
81
|
+
- Principle: ask only high-impact details (questions that affect whether metrics can be computed and whether the event chain closes). Do not run a fixed 5-step confirmation.
|
|
82
|
+
- Example: Interactive Film Game × Plan Optimization → What's the hierarchy of the storyline chain nodes? What's the object-group structure of mail rewards? What's the attribution data source?
|
|
83
|
+
- When info is unclear → record as "To-be-confirmed", **do not fabricate**.
|
|
84
|
+
|
|
85
|
+
## 2. Composition and Execution
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
Cell = Category Template (what to track) × Scenario Workflow (how to track)
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Load the corresponding workflow reference by `references/scene-routing.md` — all execution workflows live in-package under `references/workflows/`; **read the workflow file before executing, its hard rules apply**. For how to read category templates see `category-registry.md` (**prefer the local cache at `references/categories/`; for cached categories, do not go to Feishu/Lark**). When a category template is missing, use the standard-base foundation (`references/standard-base/` local cache, 12 sheets; prefer local reads).
|
|
92
|
+
|
|
93
|
+
### Naming Precheck Before Generation (mandatory before writing the plan JSON, prevents post-lint rework)
|
|
94
|
+
|
|
95
|
+
Before generating plan content, read the "Standard Event Verb Suffix Table", "Property Name — Display Name — Type Validation Matrix", and "Forbidden Synonym Table" in `references/naming-dict.md`, and cross-check each event/property as you generate:
|
|
96
|
+
|
|
97
|
+
- Within each validation domain, same property name → unique display name + type; different property names → different display names. Event + common properties share a domain, while user properties are independent. Review cross-domain meaning separately; do not claim lint enforces global cross-sheet uniqueness.
|
|
98
|
+
- Event names use standard verb suffixes (`_get`/`_consume`/`_click`, etc.); do not use forbidden forms
|
|
99
|
+
- **Names starting with `#` are system preset properties** (`#country`/`#duration`/`#ip`/`#os`/`#account_id`/`#distinct_id`, etc.), auto-collected by the SDK, **forbidden in the custom property tables** (`#事件数据`/`#公共事件属性`/`#用户数据`). When copying properties from a category template or the naming dictionary, auto-skip anything starting with `#` (this is the main source of lint error E01)
|
|
100
|
+
- **Object group modeling (C6)**: same parent property name with the same child-property structure → reuse one parent property; same parent property name with different structure (e.g. "Mail Reward" vs "Leaderboard Reward") → **split into two different parent properties**; do not shoehorn fields together to force isomorphism
|
|
101
|
+
- **Common-property judgment (E1)**: do not mechanically "promote to common property once it appears in 3+ events"; a common property must "apply to nearly all events + have a stable value at trigger time + be a globally high-frequency filter dimension", otherwise keep it as an event property (to avoid null pollution)
|
|
102
|
+
- **Paired events (E1)**: start/end, request/result and other paired events only need to share a **correlation key** (e.g. `stage_attempt_id`, `order_id`) + common context; the object-group structure does **not** need to be fully isomorphic
|
|
103
|
+
- **Dual-side deduplication (D4)**: a single business fact **keeps only one authoritative report point** (either client or server, pick one); do not split into two records just because both ends emit. When dual-side reporting is truly required, dedupe with `#uuid` or a business request ID; retries on failure reuse the same `#uuid`
|
|
104
|
+
|
|
105
|
+
This precheck reduces avoidable conflicts; only actual checks and semantic review establish whether a specific plan passes.
|
|
106
|
+
|
|
107
|
+
### Plan Output Spec (generation/optimization scenarios)
|
|
108
|
+
|
|
109
|
+
- **Conversation first, then delivery choice**: run `scripts/prepare_delivery.py --conversation-only` from canonical JSON and show the complete review, including actual counts, metric mapping, Notes/Timezone and TBC. This mode writes no `plan.xlsx` or `lint.txt`. After overview Q&A, ask the user to choose direct sync or local Excel; never default to both.
|
|
110
|
+
- **Direct sync, no Excel**: retain the conversation-only directory and follow `references/workflows/validated-upload.md` with `scripts/sync_plan.py`. It maps the same JSON to inspected `tracking.plan.save_items`, performs read-only baseline/dry-run checks and requires a separate explicit target/scope confirmation before writing. No hidden workbook or Excel lint is involved.
|
|
111
|
+
- **Excel only after selection**: generate from that same JSON with `python3 scripts/finalize_plan.py --plan <plan.json> --template assets/埋点模版.xlsx --output <NEW.xlsx>`, then run `lint_tracking_plan.py --strict-delivery` read-only. The v2.0.1 template retains 11 sheets, official Chinese nine-column event headers with `采集端` at E, and seven unchanged instruction sheets. Do not add custom sheets or overwrite inputs/outputs.
|
|
112
|
+
- On repair, show a diff and obtain confirmation; save to a new file and recheck. Synchronize approved changes to canonical JSON, conversation and only the selected branch artifacts. First-run failure remains visible even if repaired-final passes.
|
|
113
|
+
- **Discovery**: use known package paths; for unknown CLI/capability contracts use targeted `--help` or discovery + `inspect` before composing inputs. Never guess fields or loop on probes. Local lint/dry-run alone is not remote acceptance.
|
|
114
|
+
|
|
115
|
+
## 3. Cross-Cutting Concerns (across scenarios, do not occupy cells)
|
|
116
|
+
|
|
117
|
+
1. **Multi-attachment parsing**: when the user uploads multiple attachments at once, each one must be identified and listed. (Known bug A1: multi-attachment only recognizes one. Before it is fixed, manually confirm every attachment was read.)
|
|
118
|
+
2. **Mounting custom skills**: handled by route — Route A (cloud preset Agent) does not open this capability (A5); redirect to the cli + local agent route. Route B (cli + local agent, on-machine) **supports mounting**: drop the custom skill into `.claude/skills/` (project level or user level), then wire it up in one of three places — `category-registry.md` / `scene-routing.md` / project `CLAUDE.md` (category route / scenario route / global constraint) — declaring when the skill must be loaded.
|
|
119
|
+
3. **Deliverable output**: plan output includes a "Notes" + "Timezone" section by default, aligned with the standard-base foundation (A7).
|
|
120
|
+
|
|
121
|
+
## 4. Global Constraints
|
|
122
|
+
|
|
123
|
+
- **No upload by default**: only enter the upload flow when the user explicitly asks for "upload to AE".
|
|
124
|
+
- **The original plan is a baseline, not the truth**: in optimization scenarios, the user-confirmed business design can override the original plan, but a diff list must be emitted (light-orange mark / change log / to-be-confirmed items).
|
|
125
|
+
- **Non-standard input is not an error**: a regular Excel / Feishu sheet / screenshot / PRD is read as a business draft; identify event blocks / property blocks / requirement notes and convert to a standard Draft; do not flag severe errors directly.
|
|
126
|
+
- **Task mode separation**: audit_only (check only) / optimize_xlsx (produce a new Excel) / update_existing (continuous iteration) / upload (only after explicit request).
|
|
127
|
+
- Business-design-layer mandates: metric→event mapping, a scoped property registry (`references/naming-dict.md`), and all 15 checks in `references/business-semantic-checks.md`. These are **manual/model-assisted semantic review**, not implemented automatic scoring. Verify E1 `ad_fail` + callback/TBC, E2 `first_media_source` / `first_campaign`, actual event counts, and language following in generation, review and acceptance.
|
|
128
|
+
|
|
129
|
+
## 5. References
|
|
130
|
+
|
|
131
|
+
**Workflows (execution flows, load after routing):**
|
|
132
|
+
|
|
133
|
+
- `references/workflows/plan-generation.md` — From-scratch / full-refactor plan generation (absorbed from `tracking-plan-generator-en`)
|
|
134
|
+
- `references/workflows/plan-lint.md` — Upload-rule validation & auto-fix, E01–E10 (absorbed from `tracking-plan-linter-en`)
|
|
135
|
+
- `references/workflows/plan-review-optimize.md` — Semantic audit / optimize / increment of existing plans (absorbed from `ae-tracking-plan-en`)
|
|
136
|
+
- `references/workflows/feasibility-analysis.md` — Analysis-requirement coverage & feasibility assessment (absorbed from `te-feasibility-analyzer-en`)
|
|
137
|
+
- `references/workflows/prd-to-suggestions.md` — PRD / requirements doc → tracking suggestion table (absorbed from `prd-tracking-analyst-en`)
|
|
138
|
+
- `references/workflows/data-verification.md` — Data quality validation / plan acceptance (absorbed from `te-data-verifier-en`; SQL checks in `references/data-verification/`)
|
|
139
|
+
- `references/workflows/integration-qna.md` — SDK integration & reporting Q&A (absorbed from `data-integration-assistant-en`; knowledge base in `references/sdk/`)
|
|
140
|
+
- `references/workflows/troubleshooting.md` — Read-only diagnosis triage (condensed from `diagnose-studio-en`; local Web Studio engine is Route-B only)
|
|
141
|
+
|
|
142
|
+
**Knowledge bases and dictionaries:**
|
|
143
|
+
|
|
144
|
+
- `references/category-registry.md` — 24 base categories + 1 supplemented interactive_video; local-cache first, one Feishu-fallback and a documented Idle Card gap
|
|
145
|
+
- `references/scene-routing.md` — 6 scenarios × workflow route; official CLI/capability discovery before unknown input, no guessed fields or endless probes
|
|
146
|
+
- `references/workflows/validated-upload.md` — conversation overview → direct structured sync or selected Excel → explicit scoped confirmation/read-back; no unrequested workbook, implicit delete or overwrite
|
|
147
|
+
- `references/business-semantic-checks.md` — 15 manual/model-assisted checks, not automated scoring
|
|
148
|
+
- `references/eval-cases.md` — Seven acceptance cases; historical isolated v2.0 results separated from unrun v2.0.1 runtime status, D1 routing and C5 deployment permissions
|
|
149
|
+
- `references/naming-dict.md` — Global property registry (event verb table + property-name/display-name/type matrix + forbidden synonym table; authoritative naming across all scenarios; addresses C3)
|
|
150
|
+
- `references/te-field-translations.md` — Field translation table (full 1791-line version, merged from the former feasibility package in v2.0; the pre-v2.0 copy in this package was a 34-line stub)
|
|
151
|
+
- `references/ae-capabilities.md` — AE capability quick reference (v2.0: canonical copy taken from the former solution-builder package — verified against official docs, more complete)
|
|
152
|
+
- `references/optimization-checklist.md` — Optimization & acceptance checklist (absorbed from `ae-tracking-plan-en`)
|
|
153
|
+
- `references/system-fields.md` — System preset fields reference for analysis models (absorbed from `system-field-reference-en`)
|
|
154
|
+
- `references/categories/` — 29 local Markdown assets, including shared modules and the incomplete Idle Card cache; presence is not proof of complete business coverage
|
|
155
|
+
- `references/standard-base/` — Standard-base foundation 12-sheet local cache (2026-09-20, prefer local; see mapping table in category-registry.md)
|
|
156
|
+
- `references/plan-generation/` — Generation-domain deep references: `reference.md` (SDK auto-collection, object-group rules, revenue-model rules), `naming-dict` usage, `template-catalog.md`, `module-baseline.md`, `export-schema.md`
|
|
157
|
+
- `references/sdk/` — Integration knowledge base (client-sdk / server-sdk / faq / integration-tools / te-data-rules, absorbed from `data-integration-assistant-en`)
|
|
158
|
+
- `references/data-verification/` — Verification SQL library: `sql_checks.md`, `diagnosis_kb.md`, `tracking_plan_comparison.md`
|
|
159
|
+
|
|
160
|
+
**Scripts:**
|
|
161
|
+
|
|
162
|
+
- `scripts/lint_tracking_plan.py` — Plan upload validation (10 rule classes E01-E10; canonical copy, matched to the Chinese deliverable template)
|
|
163
|
+
- `scripts/export_tracking_plan.py` — Compatibility CLI alias (`--input`, `--output`) to the same 11-sheet finalizer; no standalone four-sheet mode or overwrite flag
|
|
164
|
+
- `scripts/finalize_plan.py` — Template-fill path from JSON to the repaired 11-sheet Chinese template; output must be new
|
|
165
|
+
- `scripts/build_template_catalog.py` — Reads actual category Markdown metadata only; `--output NEW.md` required, never overwrites curated business summaries
|
|
166
|
+
- `scripts/plan_types.py` — Shared property-type and update-method alias normalization; no guessed semantics
|
|
167
|
+
- `scripts/plan_contract.py` — Shared local plan/template contracts
|
|
168
|
+
- `scripts/prepare_delivery.py` — with `--conversation-only`, produces JSON, conversation and validation/review artifacts without XLSX; omit it only for the explicitly selected Excel path
|
|
169
|
+
- `scripts/sync_plan.py` — guarded no-Excel structured sync through `tracking.plan.save_items`, with dry-run, target/version/scope confirmation and read-back evidence
|
|
170
|
+
- `scripts/upload_plan.py` — legacy guarded Excel-import adapter; not used by the direct-sync branch
|
package/skills/ae-tracking-matrix/assets//345/237/213/347/202/271/346/250/241/347/211/210.xlsx
ADDED
|
Binary file
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
zh:
|
|
2
|
+
name: "埋点矩阵"
|
|
3
|
+
description: "统一识别埋点需求,支持方案生成、审核、优化与上传,并引导埋点代码生成、数据验证和用户 ID 绑定诊断。"
|
|
4
|
+
en:
|
|
5
|
+
name: "Tracking Matrix"
|
|
6
|
+
description: "Identify tracking needs and guide plan generation, review, optimization and upload, tracking code generation, data verification and user ID binding diagnosis."
|
|
7
|
+
ja:
|
|
8
|
+
name: "トラッキングマトリクス"
|
|
9
|
+
description: "トラッキング要件を整理し、プランの生成・レビュー・最適化・アップロード、コード生成、データ検証、ユーザーID紐付け診断を案内します。"
|
|
10
|
+
ko:
|
|
11
|
+
name: "트래킹 매트릭스"
|
|
12
|
+
description: "트래킹 요구사항을 파악하고 플랜 생성·검토·최적화·업로드, 트래킹 코드 생성, 데이터 검증 및 사용자 ID 연동 진단을 안내합니다."
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# ThinkingData AE (formerly TE) Capability Quick Reference
|
|
2
|
+
|
|
3
|
+
Source: historical local reference derived from official docs at docs-v2.thinkingdata.cn (6.0 / then-current). No live freshness or runtime capability verification is implied by this repair.
|
|
4
|
+
|
|
5
|
+
For an operational interface, load the current official domain skill and prefer curated CLI documentation. If the installed contract is unknown, use targeted `--help` or capability discovery followed by `inspect` before composing input. Never guess capability IDs, fields, auth or risk from this knowledge summary. Use validate OR dry-run as needed, not a redundant stack; stop repeated failing probes and report the prerequisite. Remote operations require user authorization; upload is owned by [Validated Upload](workflows/validated-upload.md).
|
|
6
|
+
|
|
7
|
+
## 1. Preset Properties (start with `#`, auto-collected by the SDK, no self-reporting needed client-side)
|
|
8
|
+
|
|
9
|
+
| Preset property | Meaning | Corresponding common custom field |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| `#ip` | Client IP; the server derives geolocation from it | ip |
|
|
12
|
+
| `#country` / `#country_code` | Country / country code (derived from IP) | country |
|
|
13
|
+
| `#province` / `#city` | Province / city (derived from IP) | — |
|
|
14
|
+
| `#os` | Operating system (Android/iOS) | os_type |
|
|
15
|
+
| `#os_version` | Operating system version | os_version |
|
|
16
|
+
| `#manufacturer` | Manufacturer (Apple/vivo...) | brand |
|
|
17
|
+
| `#device_model` | Device model | device_model |
|
|
18
|
+
| `#device_type` | Device type (iPad/iPhone...) | — |
|
|
19
|
+
| `#device_id` | Device ID (iOS: IDFV/UUID, Android: androidID) | device_id |
|
|
20
|
+
| `#screen_height` / `#screen_width` | Screen height / width | — |
|
|
21
|
+
| `#app_version` | App version | app_version |
|
|
22
|
+
| `#bundle_id` | App package name | app_package_name |
|
|
23
|
+
| `#lib` / `#lib_version` | SDK type / version (**not** the app version code) | — |
|
|
24
|
+
| `#network_type` | Network type (WIFI/4G...) | — |
|
|
25
|
+
| `#carrier` | Carrier | — |
|
|
26
|
+
| `#system_language` | System default language | language |
|
|
27
|
+
| `#zone_offset` | **Device** time-zone offset (not the game server time zone) | — |
|
|
28
|
+
| `#install_time` | App install time | — |
|
|
29
|
+
| `#duration` | Event duration recorded by the timer feature (seconds) | — |
|
|
30
|
+
| `#utm` | Campaign source (**partially** covers attribution fields; the attribution four-piece generally still requires attribution-platform postback or self-reporting) | channel/campaign/ad_group/material |
|
|
31
|
+
| `#start_reason` / `#resume_from_background` / `#background_duration` | Start reason / whether woken from background / background dwell time (ta_app_start) | — |
|
|
32
|
+
| `#app_crashed_reason` | Crash stack (ta_app_crash) | — |
|
|
33
|
+
| `#simulator` `#ram` `#disk` `#fps` `#ua` | Simulator / RAM / disk / FPS / UA | — |
|
|
34
|
+
|
|
35
|
+
Auto-tracking exclusive (ta_app_view / ta_app_click): `#title` `#screen_name` `#url` `#referrer` `#element_id` `#element_type` `#element_selector` `#element_position` `#element_content` `#scene` (mini program) `#mp_platform`.
|
|
36
|
+
|
|
37
|
+
## 2. System Fields (cannot be reported as custom events / user properties)
|
|
38
|
+
|
|
39
|
+
Event table: `#app_id`, `#user_id`, `#account_id` (login ID, set via the SDK login API), `#distinct_id` (visitor ID), `#event_name`, `#event_time` (=`#time`), `#server_time`, `#uuid` (data unique ID), `$part_event` (event partition, taken from the event name), `$part_date` (date partition, taken from `#event_time`), `#kafka_offset`, `#dw_create_time`/`#dw_update_time`.
|
|
40
|
+
|
|
41
|
+
The user table additionally has: `#active_time` (activation time), `#reg_time` (registration time), etc.
|
|
42
|
+
|
|
43
|
+
Common mapping conclusions: game_uuid -> `#uuid`; app_id -> `#app_id`; user_id -> `#account_id`; event_id/event_name -> `#event_name`; start_time -> `#time`; app_name needs no reporting (project config).
|
|
44
|
+
|
|
45
|
+
## 3. Auto-Tracked Events (Android/iOS SDK)
|
|
46
|
+
|
|
47
|
+
| Event name | Trigger | Exclusive preset properties |
|
|
48
|
+
|---|---|---|
|
|
49
|
+
| `ta_app_install` | First launch after install (not triggered by upgrade, re-triggered by reinstall) | — |
|
|
50
|
+
| `ta_app_start` | Open app / wake from background | `#resume_from_background`, `#start_reason`, `#background_duration` |
|
|
51
|
+
| `ta_app_end` | Close app / switch to background | `#duration` (duration of this visit, seconds) |
|
|
52
|
+
| `ta_app_crash` | Uncaught exception | `#app_crashed_reason` |
|
|
53
|
+
| `ta_app_view` | Browse page (Activity) | `#title` `#screen_name` `#url` `#referrer` |
|
|
54
|
+
| `ta_app_click` | Click a control | `#element_*`, `#title`, `#screen_name` |
|
|
55
|
+
|
|
56
|
+
- Enable: `TDAnalytics.enableAutoTrack(type combination)`
|
|
57
|
+
- `ta_app_view`/`ta_app_click` are **full auto-tracking**: they require integrating the auto-tracking plugin (`android-gradle-plugin2`), produce lots of low-value data and consume the event-volume quota — **not recommended by default**; cover key interactions with custom fine-grained events instead
|
|
58
|
+
- Background silent launches (push / service) do not trigger the start event by default
|
|
59
|
+
|
|
60
|
+
## 4. User Properties (`#type` operation type)
|
|
61
|
+
|
|
62
|
+
| Operation | Semantics | Use case |
|
|
63
|
+
|---|---|---|
|
|
64
|
+
| `user_set` | Overwrite with the latest value | Current state (current level, current resources, last login time) |
|
|
65
|
+
| `user_setOnce` | Write only the first time, ignore if a value exists | Lifetime-unchanging info (registration channel, first login / ad time) |
|
|
66
|
+
| `user_add` | Numeric accumulation | Counters (cumulative payment amount / count, cumulative ad count) |
|
|
67
|
+
| `user_unset` | Clear the property value | — |
|
|
68
|
+
| `user_append` / `user_uniq_append` | List append / append with full-list deduplication | Tag collections |
|
|
69
|
+
| `user_del` | Delete the user | — |
|
|
70
|
+
|
|
71
|
+
The table above describes SDK/data operations, not the plan-import update enum. Plan declarations are limited to `user_set`, `user_setOnce`, `user_add`, `user_append` unless a current official contract proves otherwise; do not export `user_unset`/`user_del`/`user_uniq_append` as plan declarations.
|
|
72
|
+
|
|
73
|
+
**Red line for division of duties**: user properties are "user states with node significance" that keep only the latest value and are used for audience selection and segmentation; **not suitable for high-frequency changes** — high-frequency data (values within a single round, per-action context) must go in event properties. User property operations take effect in the order the backend **receives the data**, not by `#time`.
|
|
74
|
+
|
|
75
|
+
## 5. Data Format and Naming Rules
|
|
76
|
+
|
|
77
|
+
- Custom event / property names: start with a letter, only lowercase letters, digits, and underscore `_`, <=50 characters, no spaces; custom properties must **not start with `#`** (a leading `#` makes it an illegal field that cannot be written to the warehouse)
|
|
78
|
+
- Data types: numeric (-9E15~9E15) / text (default upper limit 2KB) / time / boolean / list / object / object group; when the reported type conflicts with the preset property, **the value is discarded (null)**
|
|
79
|
+
- `#time` is mandatory, precise to seconds or milliseconds; report at least one of `#account_id` and `#distinct_id`
|
|
80
|
+
- `#uuid` deduplication only validates data from **the last few hours** (to handle network-jitter resends), not full deduplication
|
|
81
|
+
|
|
82
|
+
## 6. Partitioning and Query Performance
|
|
83
|
+
|
|
84
|
+
- `$part_event` = `#event_name`: **the event name is the partition key**. After splitting a high-frequency filter dimension (e.g., resource production vs consumption) into separate events, a query scans only the relevant partition, significantly improving performance; after splitting, remember to delete the redundant type-distinguishing field
|
|
85
|
+
- `$part_date` = event date partition
|
|
86
|
+
|
|
87
|
+
## 7. Correlation Key Design Pattern (Instance ID)
|
|
88
|
+
|
|
89
|
+
In-round / in-session behavior chains (start -> intermediate behavior -> settlement) must have a client-generated instance ID:
|
|
90
|
+
|
|
91
|
+
- Generate a UUID at the start of each "new instance"; keep it unchanged across continuations (e.g., continuing after revival); regenerate on a fresh restart
|
|
92
|
+
- All events in the chain must carry it; name it intuitively (English name for granularity + display name for purpose, e.g., `stage_attempt_id` / in-round behavior correlation ID)
|
|
93
|
+
- Without it, when the same level is restarted repeatedly, start/settlement cannot be paired correctly, and quit analysis, first-consumption timing, and funnels are all distorted
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Appendix B — 15 Business-Semantic Checks (v2.0.2)
|
|
2
|
+
|
|
3
|
+
This is a **manual/model-assisted review specification**, not implemented automatic scoring or a claim that lint checks business meaning. Use it for generation, review, optimization and acceptance. The local delivery script may prepare a checklist with `pending` status; creation of that checklist is not a pass. A reviewer must record evidence and disposition for each item.
|
|
4
|
+
|
|
5
|
+
Use the exact IDs from `scripts/prepare_delivery.py` `REVIEW_CHECKS` below. Record `id | status (passed/failed/pending/not_applicable) | evidence | reasoning | action/owner` in the review artifact; explain every not_applicable result. Unknown/TBC semantics remain `pending`, not `passed`. Upload is blocked by unresolved required semantics or pending review; do not mark all checks passed from a machine-lint result. Structural tests, semantic review and remote acceptance are separate gates.
|
|
6
|
+
|
|
7
|
+
| ID | Check | Required evidence and acceptance |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| preset_fields | Preset fields and SDK guarantees | Do not duplicate system/preset fields in custom tables or invent SDK auto-collection support. Confirm platform and SDK capabilities; identity system rows are distinct from custom event/user properties. |
|
|
10
|
+
| metric_coverage | Metric-to-event mapping | Each requested metric has subject, numerator/denominator, time window, dedup unit, event/property path and real data source. Do not claim unavailable click/revenue data is analyzable. |
|
|
11
|
+
| identity | Identity applicability | Declare account/no-account, visitor ID, role/account mapping and binding timing. For no-account E1, empty account_id alone is not High when valid distinct_id exists. Both IDs absent is a separate defect. |
|
|
12
|
+
| trigger_semantics | Business fact and granularity | One event represents one implementable fact; batch/entity granularity is explicit. Avoid mechanical show/click/result expansion or duplicate facts for different reporting sides. |
|
|
13
|
+
| correlation | Correlation and lifecycle | Start/process/result share a stable correlation key with generator, keep/reset and retry rules. Cover exit/cancel/timeout where relevant. Paired events need not have identical object groups. |
|
|
14
|
+
| ads_chain | Failure and IAA closure (E1) | Explicitly include ad_fail with failure trigger/reason where the IAA case requires it, and cover impression/completion/reward. Revenue without a confirmed provider is labelled “requires ad-platform callback / TBC” (translate explanation to user language); no invented callback or amount. |
|
|
15
|
+
| attribution | First/current attribution (E2) | first_media_source and first_campaign represent first confirmed attribution via user_setOnce. media_source/campaign are per-event snapshots; current_* may update via user_set. They are not interchangeable, nor global common properties by default. Confirm MMP/platform source. |
|
|
16
|
+
| property_registry | Property registry, units, enums and nulls | Same meaning reuses name/display/type/unit/enum within event+common or user domain; different meanings get different names. Common properties apply to nearly all events with stable trigger-time values. Amount/currency, duration/timezone, ID semantics and missing-data rules are explicit; unknown facts are TBC, not invented enums. Cross-domain consistency is semantic review, not global lint enforcement. |
|
|
17
|
+
| object_structure | Composite modeling | Single object, scalar list and variable entity collection are distinct. Same parent name means genuinely matching child schema; different business structures use different parents. No meaningless filler fields or concatenated pseudo-structures. |
|
|
18
|
+
| privacy | Personal-data need and minimization | Each personal-data field has a stated business need, lawful/authorized collection basis and minimization review. Avoid exposing raw identifiers in diagnostic examples, unnecessary sensitive fields, secrets or credentials. |
|
|
19
|
+
| user_updates | User-property update semantics | Confirm first/current/cumulative/list meaning. Only user_set, user_setOnce, user_add, user_append are assumed plan-import operations. A legacy timing phrase is not an alias for an update method without confirmation. |
|
|
20
|
+
| reporting_authority | Reporting authority and dedup | Confirm actual client/server availability, one authoritative business fact, retry behavior and dedup window/key. Dual-side reporting must not double count; plan design is not evidence of real runtime dedup. |
|
|
21
|
+
| existing_plan_diff | Existing baseline, changes and conflicts | Disclose additions/renames/removals, their compatibility impact and exact existing-target conflicts using a verified baseline. Keep original files unchanged. Resolve conflicts explicitly; generation or one-click upload never authorizes implicit deletion/overwrite. Bind review to the actual target and baseline fingerprint. |
|
|
22
|
+
| language_and_counts | Language, actual counts and source parity | Opening/route/questions/body/acceptance and authored business descriptions follow user language. Fixed Chinese sheet/header/type labels remain Chinese, not an all-English template. Compute actual distinct nonempty event_name counts from canonical JSON and workbook event blocks, not property rows/styled dimensions. Online view, Excel, metric mapping, diff counts and report agree; do not repeat the historical 28-as-22 mistake. |
|
|
23
|
+
| unknowns_and_delivery | Scope, unknowns and reviewable delivery | Confirm category/core loop/modules/revenue model; label template borrowing/inference vs confirmed facts. Idle Card uses confirmed Idle + Card composition, not fabricated cache content. Show the plan in-session first and expose Notes/Timezone, TBC and diffs. Then offer direct structured sync or local Excel; do not create an unrequested workbook. Excel deliveries require complete 11 sheets, seven unchanged instructions, official repaired headers and first/final lint. Sync deliveries require source/payload parity and dry-run evidence, with no Excel intermediate. Required unknowns remain pending. Validated-upload owns the later destination/version/scope confirmation, with no implicit delete/overwrite or fabricated UI button; remote success needs real execution/read-back. |
|
|
24
|
+
|
|
25
|
+
## Evidence Boundaries
|
|
26
|
+
|
|
27
|
+
- A local unit-test pass proves only the exercised local contracts. It does not prove these 15 semantic checks, cloud upload, UI behavior, company deployment, or SDK runtime correctness.
|
|
28
|
+
- D1 first-call routing, seven E1–E7 content cases, C5 non-owner deployment permissions and D4 real dual-side dedup are distinct evidence scopes; see [evaluation cases](eval-cases.md).
|
|
29
|
+
- `Not run`, `TBC`, `blocked by missing input`, and `dry-run only` are not `pass`. Keep the historical isolated v2.0 record separate from v2.0.1 results.
|
|
30
|
+
- [Validated Upload](workflows/validated-upload.md) owns remote prerequisites and confirmation. Lack of CLI/auth or permission to perform remote work must be disclosed, not bypassed by guessed APIs.
|