@thinkingai/ae-cli 6.1.19 → 6.1.21
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 +96 -38
- package/README.zh.md +96 -38
- package/dist/{auth-QPEVVBKT.js → auth-XZNXFRJS.js} +236 -127
- package/dist/{capability-ASI62I4A.js → capability-FYTU3X6L.js} +80 -37
- package/dist/{chunk-QL6R6TSK.js → chunk-4NRCTUZJ.js} +27045 -477
- package/dist/{chunk-JYMGHGCE.js → chunk-57RRFUEZ.js} +42 -15
- package/dist/chunk-6ZIQV5GW.js +26 -0
- package/dist/{chunk-KZ6ZHF5J.js → chunk-7FTTULED.js} +14 -14
- package/dist/chunk-7XGFSUOM.js +623 -0
- package/dist/chunk-CCS66K4K.js +155 -0
- package/dist/{chunk-B5HMQAOM.js → chunk-DVMLWQD4.js} +8 -186
- package/dist/{chunk-KEWVSO64.js → chunk-DX5CDO34.js} +28 -18
- package/dist/chunk-EQ255HKO.js +38248 -0
- package/dist/{chunk-6QK7SYYY.js → chunk-HBGADCKA.js} +29 -37
- package/dist/{chunk-GJXRF7Y6.js → chunk-HFGZGYCG.js} +54 -81
- package/dist/chunk-JOCDD4ON.js +15 -0
- package/dist/{chunk-TKHSULJT.js → chunk-KPQY44JQ.js} +6 -0
- package/dist/{chunk-FR2EDAQM.js → chunk-MAPZ7VB6.js} +90 -2
- package/dist/chunk-V2NUHPXF.js +196 -0
- package/dist/{chunk-S5PONFBM.js → chunk-VYXXOKYS.js} +9 -9
- package/dist/{community-report-client-6OL6GBQW.js → community-report-client-CU22W53K.js} +2 -4
- package/dist/{config-XNMACCKX.js → config-XO3LI3SA.js} +8 -9
- package/dist/context-IFJI3LIT.js +46 -0
- package/dist/{data-integration-4NZGZ45E.js → data-integration-HNGUKFIC.js} +55 -44
- package/dist/index.js +122 -112
- package/dist/{local-data-upload-client-EFHDLXFG.js → local-data-upload-client-GTRIT64F.js} +4 -5
- package/dist/{memory-HBJQ2GC5.js → memory-QGPSNCQS.js} +4 -6
- package/dist/{metadata-62EWBEIG.js → metadata-DI5BMYFU.js} +8 -10
- package/dist/{model-BHLJ2QMT.js → model-RNPQXIBI.js} +4 -6
- package/dist/{personal-semantic-preference-JBVMAI7L.js → personal-semantic-preference-5C3WUXFI.js} +11 -10
- package/dist/{project-semantic-BQ4MPUS5.js → project-semantic-3LF6Q6JZ.js} +29 -25
- package/dist/{sync-MUWPRM5I.js → sync-O45NXEQY.js} +7 -8
- package/dist/{te-agent-WQZTMEK4.js → te-agent-K5MSPNHJ.js} +393 -90
- package/dist/{te-analysis-MNCG65LU.js → te-analysis-AISWCOOZ.js} +1175 -377
- package/dist/{te-community-BNE6KREL.js → te-community-4OYU3BDA.js} +10 -33
- package/dist/{te-dataops-TXLKM2W6.js → te-dataops-NFIPB6FX.js} +19 -20
- package/dist/{te-engage-TPKLRVTL.js → te-engage-BAM3GBFX.js} +13 -15
- package/dist/{te-experiment-6BYKTCY7.js → te-experiment-GUTZXZ5Z.js} +132 -16
- package/dist/te-kb-3TS73NO6.js +1992 -0
- package/dist/{te-system-44LZJDTQ.js → te-system-STMHLS5J.js} +12 -9
- package/dist/{te-team-XMP47YXE.js → te-team-3I5AOX3N.js} +6 -8
- package/dist/{update-UODFOZ4P.js → update-RZXLPCRH.js} +7 -8
- package/package.json +29 -19
- package/skills/ae-agent/SKILL.md +30 -13
- package/skills/ae-agent/references/agent-distribution.md +94 -0
- package/skills/ae-agent/references/approval-request.md +4 -0
- package/skills/ae-agent/references/command_index.md +9 -2
- package/skills/ae-agent/references/create-automation.md +20 -2
- package/skills/ae-agent/references/get-agent-context.md +70 -0
- package/skills/ae-agent/references/list-automations.md +18 -3
- package/skills/ae-agent/references/list-mcp-credentials.md +1 -1
- package/skills/ae-agent/references/mcp-token.md +3 -3
- package/skills/ae-agent/references/set-mcp-credential.md +0 -1
- package/skills/ae-agent/references/update-automation.md +18 -0
- package/skills/ae-analysis/SKILL.md +101 -79
- package/skills/ae-analysis/references/adhoc_export.md +11 -18
- package/skills/ae-analysis/references/adhoc_run.md +17 -7
- package/skills/ae-analysis/references/agent_review_detail.md +11 -0
- package/skills/ae-analysis/references/agent_review_evidence.md +46 -0
- package/skills/ae-analysis/references/agent_review_list.md +9 -0
- package/skills/ae-analysis/references/agent_review_preflight.md +96 -0
- package/skills/ae-analysis/references/agent_review_priorities_comparisons.md +76 -0
- package/skills/ae-analysis/references/agent_review_records.md +9 -0
- package/skills/ae-analysis/references/agent_review_retry.md +12 -0
- package/skills/ae-analysis/references/agent_review_review.md +16 -0
- package/skills/ae-analysis/references/agent_review_submit_to_page.md +184 -0
- package/skills/ae-analysis/references/ai_models/attribution.md +29 -0
- package/skills/ae-analysis/references/ai_models/distribution.md +40 -0
- package/skills/ae-analysis/references/ai_models/event.md +108 -0
- package/skills/ae-analysis/references/ai_models/funnel.md +46 -0
- package/skills/ae-analysis/references/ai_models/heat_map.md +26 -0
- package/skills/ae-analysis/references/ai_models/interval.md +20 -0
- package/skills/ae-analysis/references/ai_models/path.md +38 -0
- package/skills/ae-analysis/references/ai_models/prop_analysis.md +39 -0
- package/skills/ae-analysis/references/ai_models/rank_list.md +25 -0
- package/skills/ae-analysis/references/ai_models/retention.md +70 -0
- package/skills/ae-analysis/references/ai_models/revenue.md +28 -0
- package/skills/ae-analysis/references/ai_models/sql.md +74 -0
- package/skills/ae-analysis/references/ai_models/tag.md +19 -0
- package/skills/ae-analysis/references/ai_models.md +32 -453
- package/skills/ae-analysis/references/alert_create.md +7 -7
- package/skills/ae-analysis/references/alert_delete.md +4 -6
- package/skills/ae-analysis/references/alert_detail_list.md +7 -9
- package/skills/ae-analysis/references/alert_get.md +5 -7
- package/skills/ae-analysis/references/alert_job_list.md +4 -6
- package/skills/ae-analysis/references/alert_list.md +6 -8
- package/skills/ae-analysis/references/alert_notice_config_list.md +4 -6
- package/skills/ae-analysis/references/alert_start.md +5 -7
- package/skills/ae-analysis/references/alert_stop.md +5 -7
- package/skills/ae-analysis/references/alert_update.md +8 -8
- package/skills/ae-analysis/references/analysis_data_export.md +72 -0
- package/skills/ae-analysis/references/analysis_data_retrieval.md +32 -196
- package/skills/ae-analysis/references/analysis_gateway_assets.md +23 -180
- package/skills/ae-analysis/references/analysis_interpretation.md +37 -17
- package/skills/ae-analysis/references/asset_abnormal_get.md +0 -1
- package/skills/ae-analysis/references/asset_abnormal_list.md +0 -1
- package/skills/ae-analysis/references/asset_authentication_export.md +4 -0
- package/skills/ae-analysis/references/asset_authentication_list.md +7 -1
- package/skills/ae-analysis/references/asset_authentication_update.md +5 -1
- package/skills/ae-analysis/references/asset_batch_dashboard_schedule_freeze.md +8 -6
- package/skills/ae-analysis/references/asset_batch_delete.md +6 -6
- package/skills/ae-analysis/references/asset_batch_disable_auto_backup.md +4 -5
- package/skills/ae-analysis/references/asset_batch_disable_auto_update.md +5 -6
- package/skills/ae-analysis/references/asset_batch_handover.md +4 -5
- package/skills/ae-analysis/references/asset_batch_info_export.md +4 -5
- package/skills/ae-analysis/references/asset_batch_sql_export.md +5 -6
- package/skills/ae-analysis/references/asset_dependency_list.md +4 -5
- package/skills/ae-analysis/references/asset_export.md +4 -5
- package/skills/ae-analysis/references/asset_impact_list.md +5 -9
- package/skills/ae-analysis/references/asset_lineage_get.md +5 -6
- package/skills/ae-analysis/references/asset_list.md +4 -5
- package/skills/ae-analysis/references/asset_query_history_list.md +4 -8
- package/skills/ae-analysis/references/asset_recent_list.md +0 -1
- package/skills/ae-analysis/references/asset_search.md +12 -9
- package/skills/ae-analysis/references/asset_url_get.md +3 -4
- package/skills/ae-analysis/references/bi_panel_copy.md +2 -2
- package/skills/ae-analysis/references/bi_panel_page_data_export.md +4 -12
- package/skills/ae-analysis/references/bi_panel_page_data_run.md +2 -0
- package/skills/ae-analysis/references/catalog_export.md +4 -17
- package/skills/ae-analysis/references/catalog_list.md +4 -4
- package/skills/ae-analysis/references/check_delete.md +5 -7
- package/skills/ae-analysis/references/check_export.md +11 -11
- package/skills/ae-analysis/references/check_get.md +8 -10
- package/skills/ae-analysis/references/check_list.md +4 -6
- package/skills/ae-analysis/references/check_retry.md +8 -10
- package/skills/ae-analysis/references/check_run.md +2 -4
- package/skills/ae-analysis/references/command_index.md +46 -28
- package/skills/ae-analysis/references/cross_source_config.md +84 -0
- package/skills/ae-analysis/references/dashboard_report_data_export.md +5 -13
- package/skills/ae-analysis/references/dashboard_report_data_run.md +1 -1
- package/skills/ae-analysis/references/dashboard_update.md +15 -4
- package/skills/ae-analysis/references/datatable_columns_get.md +0 -1
- package/skills/ae-analysis/references/datatable_influence_list.md +0 -1
- package/skills/ae-analysis/references/datatable_version_get.md +0 -1
- package/skills/ae-analysis/references/datatable_version_list.md +0 -1
- package/skills/ae-analysis/references/debug_device_add.md +1 -2
- package/skills/ae-analysis/references/drilldown_entities_export.md +3 -3
- package/skills/ae-analysis/references/drilldown_events_export.md +3 -2
- package/skills/ae-analysis/references/drilldown_user_events_export.md +2 -2
- package/skills/ae-analysis/references/entity_detail_export.md +3 -2
- package/skills/ae-analysis/references/entity_detail_run.md +1 -0
- package/skills/ae-analysis/references/event_blacklist_add.md +5 -7
- package/skills/ae-analysis/references/event_blacklist_list.md +4 -6
- package/skills/ae-analysis/references/event_blacklist_update.md +6 -8
- package/skills/ae-analysis/references/event_changelog_list.md +0 -1
- package/skills/ae-analysis/references/event_create.md +0 -1
- package/skills/ae-analysis/references/event_detail_export.md +3 -2
- package/skills/ae-analysis/references/event_detail_run.md +1 -0
- package/skills/ae-analysis/references/event_export.md +0 -1
- package/skills/ae-analysis/references/event_get.md +0 -1
- package/skills/ae-analysis/references/event_hide_update.md +0 -1
- package/skills/ae-analysis/references/event_influence_list.md +0 -1
- package/skills/ae-analysis/references/event_list.md +0 -1
- package/skills/ae-analysis/references/event_property_bundle_export.md +5 -14
- package/skills/ae-analysis/references/event_property_bundle_import.md +2 -6
- package/skills/ae-analysis/references/event_relation_update.md +0 -1
- package/skills/ae-analysis/references/event_update.md +0 -1
- package/skills/ae-analysis/references/exchange_config_update.md +0 -1
- package/skills/ae-analysis/references/exchange_rate_refresh.md +0 -1
- package/skills/ae-analysis/references/exchange_rule_list.md +0 -1
- package/skills/ae-analysis/references/exchange_rule_update.md +0 -1
- package/skills/ae-analysis/references/exchange_rule_validate.md +0 -1
- package/skills/ae-analysis/references/governance_recommendation_decisions.md +23 -0
- package/skills/ae-analysis/references/governance_recommendation_export.md +108 -0
- package/skills/ae-analysis/references/governance_recommendation_submit.md +41 -0
- package/skills/ae-analysis/references/history_tag_data_drilldown_export.md +4 -4
- package/skills/ae-analysis/references/history_tag_data_export.md +3 -3
- package/skills/ae-analysis/references/ingest_error_list.md +7 -9
- package/skills/ae-analysis/references/ingest_summary.md +6 -8
- package/skills/ae-analysis/references/live_data_export.md +10 -10
- package/skills/ae-analysis/references/live_data_list.md +7 -9
- package/skills/ae-analysis/references/metadata_resolution.md +78 -0
- package/skills/ae-analysis/references/metric_export.md +0 -1
- package/skills/ae-analysis/references/metric_get.md +0 -1
- package/skills/ae-analysis/references/metric_list.md +4 -5
- package/skills/ae-analysis/references/metric_update.md +0 -1
- package/skills/ae-analysis/references/operation_record_export.md +4 -5
- package/skills/ae-analysis/references/operation_record_list.md +4 -5
- package/skills/ae-analysis/references/personal_semantic_preference_list.md +18 -1
- package/skills/ae-analysis/references/plan_change_log_export.md +10 -10
- package/skills/ae-analysis/references/plan_change_log_list.md +4 -6
- package/skills/ae-analysis/references/plan_delete_items.md +2 -4
- package/skills/ae-analysis/references/plan_export.md +9 -9
- package/skills/ae-analysis/references/plan_generate.md +2 -4
- package/skills/ae-analysis/references/plan_get.md +4 -6
- package/skills/ae-analysis/references/plan_import_excel.md +6 -8
- package/skills/ae-analysis/references/plan_save_items.md +2 -4
- package/skills/ae-analysis/references/plan_sync_from_meta.md +4 -6
- package/skills/ae-analysis/references/project_access_detail_get.md +0 -1
- package/skills/ae-analysis/references/project_data_power_get.md +0 -1
- package/skills/ae-analysis/references/project_data_power_list.md +0 -1
- package/skills/ae-analysis/references/project_data_power_upsert.md +0 -1
- package/skills/ae-analysis/references/project_entity_create.md +0 -1
- package/skills/ae-analysis/references/project_entity_event_list.md +0 -1
- package/skills/ae-analysis/references/project_entity_get.md +0 -1
- package/skills/ae-analysis/references/project_entity_list.md +0 -1
- package/skills/ae-analysis/references/project_entity_update.md +0 -1
- package/skills/ae-analysis/references/project_function_list.md +0 -1
- package/skills/ae-analysis/references/project_info_get.md +0 -1
- package/skills/ae-analysis/references/project_info_list.md +0 -1
- package/skills/ae-analysis/references/project_info_update.md +0 -1
- package/skills/ae-analysis/references/project_mark_time_create.md +0 -1
- package/skills/ae-analysis/references/project_mark_time_list.md +0 -1
- package/skills/ae-analysis/references/project_mark_time_update.md +0 -1
- package/skills/ae-analysis/references/project_member_add.md +6 -5
- package/skills/ae-analysis/references/project_member_batch_update.md +0 -1
- package/skills/ae-analysis/references/project_member_candidate_list.md +4 -3
- package/skills/ae-analysis/references/project_member_handover_run.md +2 -3
- package/skills/ae-analysis/references/project_member_list.md +0 -1
- package/skills/ae-analysis/references/project_member_receiver_list.md +0 -1
- package/skills/ae-analysis/references/project_member_update.md +0 -1
- package/skills/ae-analysis/references/project_owner_update.md +0 -1
- package/skills/ae-analysis/references/project_permission_binding_list.md +0 -1
- package/skills/ae-analysis/references/project_role_function_list.md +0 -1
- package/skills/ae-analysis/references/project_role_get.md +0 -1
- package/skills/ae-analysis/references/project_role_list.md +0 -1
- package/skills/ae-analysis/references/project_role_upsert.md +32 -2
- package/skills/ae-analysis/references/project_role_user_list.md +0 -1
- package/skills/ae-analysis/references/project_semantic_knowledge_wiki.md +214 -0
- package/skills/ae-analysis/references/project_semantic_knowledge_wiki_plan_schema.md +93 -0
- package/skills/ae-analysis/references/project_timezone_get.md +0 -1
- package/skills/ae-analysis/references/project_timezone_overview.md +0 -1
- package/skills/ae-analysis/references/project_timezone_update.md +0 -1
- package/skills/ae-analysis/references/project_user_id_items_update.md +0 -1
- package/skills/ae-analysis/references/property_changelog_list.md +0 -1
- package/skills/ae-analysis/references/property_create.md +0 -1
- package/skills/ae-analysis/references/property_export.md +0 -1
- package/skills/ae-analysis/references/property_get.md +0 -1
- package/skills/ae-analysis/references/property_hide_update.md +0 -1
- package/skills/ae-analysis/references/property_influence_list.md +0 -1
- package/skills/ae-analysis/references/property_list.md +3 -4
- package/skills/ae-analysis/references/property_related_events.md +0 -1
- package/skills/ae-analysis/references/property_relation_update.md +0 -1
- package/skills/ae-analysis/references/property_update.md +0 -1
- package/skills/ae-analysis/references/report_create.md +4 -2
- package/skills/ae-analysis/references/report_data_export.md +11 -9
- package/skills/ae-analysis/references/report_data_run.md +14 -7
- package/skills/ae-analysis/references/report_get.md +5 -3
- package/skills/ae-analysis/references/report_list.md +2 -0
- package/skills/ae-analysis/references/report_update.md +5 -3
- package/skills/ae-analysis/references/rule_create.md +5 -6
- package/skills/ae-analysis/references/rule_delete.md +5 -5
- package/skills/ae-analysis/references/rule_list.md +3 -4
- package/skills/ae-analysis/references/rule_schema.md +3 -4
- package/skills/ae-analysis/references/rule_update.md +5 -6
- package/skills/ae-analysis/references/sdk_sample_generate.md +2 -4
- package/skills/ae-analysis/references/sql_table_columns.md +1 -1
- package/skills/ae-analysis/references/super_metadata_batch_create.md +1 -1
- package/skills/ae-analysis/references/super_metadata_batch_edit.md +1 -1
- package/skills/ae-analysis/references/system_member_add.md +1 -2
- package/skills/ae-analysis/references/system_member_status_update.md +1 -1
- package/skills/ae-analysis/references/system_ops_alert_contact_list.md +1 -1
- package/skills/ae-analysis/references/system_ops_alert_contact_test.md +0 -1
- package/skills/ae-analysis/references/system_query_monitor_overview.md +3 -3
- package/skills/ae-analysis/references/system_query_task_export.md +4 -14
- package/skills/ae-analysis/references/system_query_task_get.md +1 -1
- package/skills/ae-analysis/references/system_query_task_list.md +5 -6
- package/skills/ae-analysis/references/system_receiver_address_upsert.md +3 -3
- package/skills/ae-analysis/references/system_receiver_detection_get.md +1 -1
- package/skills/ae-analysis/references/system_third_party_login_disable.md +1 -1
- package/skills/ae-analysis/references/system_usage_trend_export.md +3 -12
- package/skills/ae-analysis/references/user_cluster_list.md +1 -1
- package/skills/ae-analysis/references/user_cluster_member_export.md +4 -4
- package/skills/ae-analysis/references/user_tag_create.md +23 -1
- package/skills/ae-analysis/references/user_tag_list.md +1 -1
- package/skills/ae-analysis/references/user_tag_member_export.md +4 -4
- package/skills/ae-analysis/references/user_tag_models.md +9 -1
- package/skills/ae-analysis/references/user_tag_update.md +14 -2
- package/skills/ae-analysis/references/virtual_event_create.md +10 -5
- package/skills/ae-analysis/references/virtual_event_get.md +0 -1
- package/skills/ae-analysis/references/virtual_property_create.md +0 -1
- package/skills/ae-analysis/references/virtual_property_sql_rule_update.md +0 -1
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/build-project-semantic-wiki.mjs +1054 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/company-kb.mjs +112 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/default-compile-rules.md +30 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/generate-build-ir.mjs +2735 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/package-wiki-source-zip.mjs +376 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/plan-kb-source-sync.mjs +264 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/precompiled-source.mjs +49 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/upload-kb-sources-concurrently.mjs +200 -0
- package/skills/ae-analysis/scripts/read_results.py +197 -0
- package/skills/ae-analysis-global/SKILL.md +1 -1
- package/skills/ae-capability/SKILL.md +1 -1
- package/skills/ae-community/SKILL.md +1 -1
- package/skills/ae-current-context/SKILL.md +53 -0
- package/skills/ae-data-integration/SKILL.md +6 -4
- package/skills/ae-data-integration/references/dimension-routing.md +36 -0
- package/skills/ae-data-integration/references/lark-bitable-source.md +288 -0
- package/skills/ae-data-integration/references/lark-sheet-source.md +130 -0
- package/skills/ae-data-integration/references/local-analysis.md +2 -0
- package/skills/ae-data-integration/references/manual-export-source.md +83 -0
- package/skills/ae-data-integration/references/reuse.md +2 -0
- package/skills/ae-data-integration/references/sink-upload.md +32 -0
- package/skills/ae-data-integration/references/source-inspect.md +1 -1
- package/skills/ae-data-integration/references/tracking-plan.md +5 -2
- package/skills/ae-data-integration/references/transform.md +1 -1
- package/skills/ae-data-integration/references/ue-mapping.md +7 -4
- package/skills/ae-data-integration/references/ue-routing.md +17 -1
- package/skills/ae-data-integration-helper/SKILL.md +5 -5
- package/skills/ae-data-integration-helper/references/android_sdk_faq.md +3 -3
- package/skills/ae-data-integration-helper/references/c_sdk_faq.md +3 -3
- package/skills/ae-data-integration-helper/references/cocoscreator_sdk_faq.md +1 -1
- package/skills/ae-data-integration-helper/references/cpp_server_sdk_faq.md +3 -3
- package/skills/ae-data-integration-helper/references/ios_sdk_faq.md +1 -1
- package/skills/ae-data-integration-helper/references/java_sdk_faq.md +3 -3
- package/skills/ae-data-integration-helper/references/javascript_sdk_faq.md +1 -1
- package/skills/ae-data-integration-helper/references/logbus2_guide.md +1 -1
- package/skills/ae-data-integration-helper/references/logbus2_parser_plugin.md +2 -2
- package/skills/ae-data-integration-helper/references/minigame_sdk_faq.md +2 -2
- package/skills/ae-data-integration-helper/references/miniprogram_sdk_faq.md +1 -1
- package/skills/ae-data-integration-helper/references/python_sdk_faq.md +2 -2
- package/skills/ae-data-integration-helper/references/restful_api_notes.md +2 -2
- package/skills/ae-data-integration-helper/references/sdk_log_guide.md +3 -3
- package/skills/ae-data-integration-helper/references/sdk_usage_notes.md +11 -11
- package/skills/ae-data-integration-helper/references/unity_sdk_faq.md +1 -1
- package/skills/ae-dataops/SKILL.md +1 -1
- package/skills/ae-engage/SKILL.md +4 -3
- package/skills/ae-engage/references/build-task-save-guide.md +3 -0
- package/skills/ae-engage/references/flow-metric-update.md +115 -1
- package/skills/ae-engage/references/save-flow.md +3 -0
- package/skills/ae-engage/references/save-task.md +21 -0
- package/skills/ae-engage/references/task-metric-update.md +151 -0
- package/skills/ae-experiment/SKILL.md +14 -7
- package/skills/ae-experiment/references/save_submit_external_experiment.md +52 -0
- package/skills/ae-experiment-design/SKILL.md +3 -3
- package/skills/ae-experiment-design/references/platform-operations.md +1 -1
- package/skills/ae-experiment-insight/SKILL.md +2 -2
- package/skills/ae-experiment-insight/references/platform-operations.md +1 -1
- package/skills/ae-generate-tracking-code/SKILL.md +2 -1
- package/skills/ae-generate-tracking-code/references/client-sdk-insert.md +1 -1
- package/skills/ae-generate-tracking-code/references/datax-config.md +1 -1
- package/skills/ae-generate-tracking-code/references/logbus-config.md +1 -1
- package/skills/ae-generate-tracking-code/references/modes.md +1 -1
- package/skills/ae-generate-tracking-code/references/server-sdk-insert.md +5 -5
- package/skills/ae-generate-tracking-code/references/snippet-delivery.md +3 -3
- package/skills/ae-generate-tracking-plan/SKILL.md +27 -15
- package/skills/ae-generate-tracking-plan/references/business-dimension-mapping.md +1 -1
- package/skills/ae-generate-tracking-plan/references/te-api.md +1 -0
- package/skills/ae-generate-tracking-plan/references/xlsx-schema.md +3 -2
- package/skills/ae-kb/SKILL.md +147 -37
- package/skills/ae-kb/references/analysis-workflow.md +292 -0
- package/skills/ae-kb/references/query-workflow.md +59 -29
- package/skills/ae-kb/references/source-mutations.md +95 -0
- package/skills/ae-kb/references/versions.md +46 -0
- package/skills/ae-kb-discovery/SKILL.md +5 -1
- package/skills/ae-metadata/SKILL.md +1 -1
- package/skills/ae-migrate-tracking-code/SKILL.md +195 -0
- package/skills/ae-migrate-tracking-code/references/ae-preset-properties.md +76 -0
- package/skills/ae-migrate-tracking-code/references/ir.md +167 -0
- package/skills/ae-migrate-tracking-code/references/mapping-framework.md +112 -0
- package/skills/ae-migrate-tracking-code/references/providers/README.md +58 -0
- package/skills/ae-migrate-tracking-code/references/providers/amplitude.md +208 -0
- package/skills/ae-migrate-tracking-code/references/providers/firebase.md +160 -0
- package/skills/ae-migrate-tracking-code/references/providers/ga4.md +92 -0
- package/skills/ae-migrate-tracking-code/references/providers/mixpanel.md +150 -0
- package/skills/ae-migrate-tracking-code/references/providers/sensors-data.md +146 -0
- package/skills/ae-project-semantic/SKILL.md +1 -1
- package/skills/ae-system/SKILL.md +5 -5
- package/skills/ae-team/SKILL.md +2 -2
- package/skills/ae-use-agent/SKILL.md +42 -0
- package/skills/ae-use-agent/references/local-agent.md +114 -0
- package/dist/auth-UMJAA72O.js +0 -15
- package/dist/chunk-533JK3YX.js +0 -72
- package/dist/chunk-DKEXH6Q5.js +0 -72
- package/dist/chunk-O6K2ODUE.js +0 -318
- package/dist/chunk-RWXIXOZG.js +0 -326
- package/dist/client-N7NGZUNI.js +0 -204
- package/dist/te-kb-BUD6N3NI.js +0 -1222
- package/skills/ae-agent/references/auto-provision-mcp-credentials.md +0 -57
- package/skills/ae-analysis/metadata_resolution.md +0 -184
|
@@ -8,7 +8,6 @@ Command:
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
ae-cli analysis-meta exchange rule-update --project-id <project_id> --payload '{"target_currency":"USD","exchange_rules":[{"source_currency":"EUR","source_currency_column":"currency","target_column_desc":"amount_usd"}]}'
|
|
11
|
-
ae-cli analysis-meta exchange rule-update --dry-run
|
|
12
11
|
```
|
|
13
12
|
|
|
14
13
|
Capability id: `metadata.exchange_rule.update`.
|
|
@@ -8,7 +8,6 @@ Command:
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
ae-cli analysis-meta exchange rule-validate --project-id <project_id> --payload '{"target_currency":"USD","exchange_rules":[{"source_currency":"EUR","source_currency_column":"currency","target_column_desc":"amount_usd"}]}'
|
|
11
|
-
ae-cli analysis-meta exchange rule-validate --dry-run
|
|
12
11
|
```
|
|
13
12
|
|
|
14
13
|
Capability id: `metadata.exchange_rule.validate`.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# analysis-meta governance-recommendation decisions
|
|
2
|
+
|
|
3
|
+
List recent CLI Agent recommendation approval decisions.
|
|
4
|
+
|
|
5
|
+
Use this to review prior approvals, rejections, skips, and landing status. Do not use it as a substitute for current recommendation evidence; run `governance-recommendation export` when presenting current recommendations.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis-meta governance-recommendation decisions --project-id <project_id> --limit 100
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Capability id: `metadata.governance_recommendation.decisions`.
|
|
14
|
+
|
|
15
|
+
Input sends `project_id`, optional `run_id`, and optional `limit`.
|
|
16
|
+
|
|
17
|
+
Output includes `decisions` and `total`.
|
|
18
|
+
|
|
19
|
+
## Decision Rules
|
|
20
|
+
|
|
21
|
+
- Use `--run-id` to audit one recommendation packet after submit.
|
|
22
|
+
- Without `--run-id`, treat the result as recent history only.
|
|
23
|
+
- Historical decisions inform presentation and risk explanation; they do not prove current asset state or current metric availability.
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# analysis-meta governance-recommendation export
|
|
2
|
+
|
|
3
|
+
Requires `project_semantic_enable=on` for the target project. If export returns `PROJECT_SEMANTIC_DISABLED`, report that this project must enable `project_semantic_enable` and stop this workflow. Do not bypass the disabled entry point with other export, metadata, or capability commands.
|
|
4
|
+
|
|
5
|
+
Use this as the required entry point for CLI Agent asset-authentication and metric-recommendation review.
|
|
6
|
+
|
|
7
|
+
This command returns one evidence packet seeded from hot shared dashboards and their reports. For normal page-review submission, `--limit 20` is the initial candidate pool; use the bounded expansion procedure below when filtering leaves insufficient candidates. After the command returns, the Agent must transform the returned `work_units` into business-domain review groups before answering. `work_units` are evidence containers, not final answer sections and not an excuse to drop eligible hot dashboards.
|
|
8
|
+
|
|
9
|
+
Do not use certification-state management commands as a substitute for this recommendation evidence packet.
|
|
10
|
+
Do not load project semantics, project KB, or personal semantic preferences before this command. The recommendation packet is the prerequisite evidence for this review workflow.
|
|
11
|
+
|
|
12
|
+
Hard output gate: a final answer is invalid if it is grouped by asset type, backend array order, raw `work_units`, source dashboard, source report, or separate top-level asset and metric sections. The final answer must follow the fixed business-domain review display below.
|
|
13
|
+
|
|
14
|
+
Command:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
ae-cli analysis-meta governance-recommendation export --project-id <project_id> --limit 20
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Capability id: `metadata.governance_recommendation.export`.
|
|
21
|
+
|
|
22
|
+
Input sends `project_id`, optional `window_days`, optional `limit`, and optional `include_completed`.
|
|
23
|
+
|
|
24
|
+
Output includes `schema_version`, `run_id`, `project_id`, `snapshot_hash`, `work_units`, `coverage`, `stat_scopes`, and `agent_presentation_contract`.
|
|
25
|
+
|
|
26
|
+
## Customer/Agent Material Package Contract
|
|
27
|
+
|
|
28
|
+
For page-review material preparation or inspection, continue with [independent Agent preflight](agent_review_preflight.md), including when the user requests no submission. Preserve full snapshots, not just the fields shown in a transport example; the preflight checks evidence integrity and interpretation separately.
|
|
29
|
+
Generate [review priorities and classified definition comparisons](agent_review_priorities_comparisons.md) from that evidence. Export ranking and `conflict_risks` are inputs, not replacements for Agent interpretation of individual urgency and both sides of a comparison. A related asset is not automatically a conflicting definition.
|
|
30
|
+
|
|
31
|
+
- This command requires a numeric `--project-id`. If the user provides only a project name, resolve the project on the same host with `ae-cli project info list` before export.
|
|
32
|
+
- `run_id`, `snapshot_hash`, and `review_material_package` are the handoff package for Agent review drafting.
|
|
33
|
+
- `review_material_package` should contain candidate assets, heat evidence, source links, evidence links, dashboard/report/metadata relations, report definitions, AI-model definitions, `target_revision`, and hashes needed to draft a page review.
|
|
34
|
+
- The Agent must generate the downstream `agent-review submit-to-page` draft from this package: batch `ai_summary`, `presentation_snapshot`, per-item `ai_summary` / recommendation reasons, copied `evidence_snapshot`, copied source links, and relations.
|
|
35
|
+
- `work_units` are deterministic Common evidence containers. They are not the final page grouping. The Agent clusters selected assets into one or more business-domain topics and second-level groups for review.
|
|
36
|
+
- For report and SQL-report items, use `review_material_package.candidate_assets[].evidence_snapshot.analysis` first. Call `analysis-meta agent-review evidence` only when the package marks a definition/analysis gap or when validating a generated draft.
|
|
37
|
+
|
|
38
|
+
## Rejection Filtering and Bounded Expansion
|
|
39
|
+
|
|
40
|
+
Common selects hot dashboards before attaching decision state; it does not automatically replace rejected dashboards with lower-ranked ones. The Agent must apply this procedure before drafting a review:
|
|
41
|
+
|
|
42
|
+
1. Start with `--limit 20`, unless the user explicitly specifies a different scope or a diagnostic sample. Keep the same host, project, time window, and completed-context setting throughout expansion.
|
|
43
|
+
2. Match each source dashboard to its asset candidate by resource identity. If its current `action_state` is `PREVIOUSLY_REJECTED`, omit the dashboard and its entire display branch: its groups, report/metadata/metric placements, and relations. Do not display that rejected dashboard as completed context or submit it again. A historical `REJECT` alone is not enough to exclude a changed definition; use Common's current same-evidence decision state. Do not treat every `actionable=false` asset as rejected: authenticated context remains useful.
|
|
44
|
+
3. Rebuild the presentation from retained dashboard branches. Keep a shared report, metadata asset, or metric candidate when independently referenced by another retained dashboard, and show it only under retained branches. Deduplicate by scoped asset identity, not name. Remove orphan items, empty groups/topics, and relations to omitted items from `presentation_snapshot`; omit items supported only by removed branches from the submission. This is presentation filtering, not a cascading rejection or a certification-state change. Preserve copied source evidence unchanged.
|
|
45
|
+
4. Separate pending review work from context before judging the batch. Pending review work is a returned item that still needs a reviewer decision, for example `action_state:"PENDING"` or unauthenticated `authentication_status:0`, after excluding same-evidence rejects, active deferrals, and items already in an unfinished review batch when that state is available. `AUTHENTICATED` / completed assets are context only unless the evidence shows a material definition change that requires a new decision.
|
|
46
|
+
5. Assess whether the remaining pending review assets and visible business domains meet the user's requested breadth and have sufficient evidence for a useful review. If no count was requested, treat the pool as insufficient when there are fewer than about 10 pending review assets, fewer than 3 pending business domains, or the retained material is mostly authenticated context with little work for the reviewer. If insufficient and coverage indicates more dashboards exist, re-export with `--limit 50`; repeat filtering and assessment, then use `--limit 100` if still insufficient. These limits are cumulative top-N pools, not disjoint pages. Replace the previous drafting packet with the latest successful export; do not concatenate runs or mix their `run_id`, `snapshot_hash`, revisions, or evidence hashes.
|
|
47
|
+
6. Apply the daily review capacity after expansion. Expansion increases business-domain coverage; it does not authorize submitting every pending asset found. Unless the user requests a different batch size, target about 20-50 pending review assets, use a hard cap around 80, and keep roughly 3-6 visible business domains. When the expanded pool is larger than the cap, rank pending assets by impact_degree, heat_count90d, user_count90d, dependency/relation breadth, and whether their business domain is under-covered. Use per-domain quotas before taking many assets from one domain.
|
|
48
|
+
7. Stop when the pending review assets and business-domain breadth are sufficient, the available dashboard pool is exhausted, or the top 100 have been inspected. Do not automatically expand beyond 100. At the cap, submit only the ranked slice of genuinely eligible, evidence-supported candidates within the user's submission authorization; never revive rejected, deferred, already in-flight, or weak candidates to fill a quota. Record overflow counts and domains for later batches. If none remain, explain the result without submitting an empty batch. A failed export is an execution failure, not evidence of candidate scarcity; do not expand in response to an error or silently fall back to stale material.
|
|
49
|
+
8. Build page topics only for business domains that contain at least one selected pending review asset. Retain authenticated/completed assets only as direct context needed by those selected pending items, for example source dashboards, source reports, and referenced metadata along the relation path. Do not display or submit a zero-pending business domain as standalone work, even if it has many hot authenticated assets.
|
|
50
|
+
|
|
51
|
+
Report the final requested limit, actual dashboards returned, same-definition rejected dashboards excluded, active deferrals or in-flight items excluded when known, retained dashboard count, visible pending-domain count, selected pending review asset count, context asset count, overflow pending count/domain summary, and stopping reason. Explain why expansion was needed or why candidates remain insufficient. Do not describe an expanded or filtered batch as covering all of the top 20/50/100 dashboards. Keep this scope summary separate from the hidden rejected branches, zero-pending context domains, and overflow left for later batches.
|
|
52
|
+
|
|
53
|
+
## Decision Rules
|
|
54
|
+
|
|
55
|
+
- Use this command before presenting recommendations for certification or metrics.
|
|
56
|
+
- After export, always build the business-domain review display before answering. The command output is evidence, not the response format.
|
|
57
|
+
- For real review-page submission, apply Rejection Filtering and Bounded Expansion before grouping. Include eligible assets across the retained dashboard branches; do not compress them into a few representative themes or submit only the first hot dashboard or first `work_unit`. A smaller batch is valid when the evidence supports fewer eligible candidates or the user explicitly requests a sample or diagnostic batch. Explain the actual scope and omissions.
|
|
58
|
+
- For recurring recommendation jobs, the default reviewer workspace is pending-first: only business domains with pending review assets are visible. Authenticated/completed assets remain available as relation/context rows under those domains, but they must not create a visible topic by themselves.
|
|
59
|
+
- Treat `业务主题域` as a semantic cluster over the selected dashboards, not a copy of the dashboard list. Do not create one topic per hot dashboard just because `--limit 20` returned 20 work units. Merge dashboards into the same topic when their child reports, referenced metadata, metrics, folder context, or authored notes describe the same business process. Split only when the business meaning or review decision is materially different. A result where `topic_count == selected_dashboard_count` requires explicit evidence that every selected dashboard has a distinct business domain.
|
|
60
|
+
- Do not call project-semantic, project-KB, or personal-semantic-preference commands as prerequisite context for this workflow.
|
|
61
|
+
- Treat `work_units` as deterministic Common evidence. The CLI Agent owns business-domain grouping, Chinese explanations, and approval interaction.
|
|
62
|
+
- Agent display is mandatory whenever the user asks to see or review recommended certification assets or recommended metrics. Do not hand back raw JSON as the final answer.
|
|
63
|
+
- Show recommendations by business theme/domain, not by flat asset type, backend array order, raw dashboard title, or workflow/test label.
|
|
64
|
+
- Preserve `run_id`, `snapshot_hash`, `evidence_hash`, `candidate_key`, and `definition_signature` for later submit.
|
|
65
|
+
- Preserve optional dashboard `space_id` / `space_name` when Common returns them. They are review-page location facts, not eligibility requirements; absence is valid because not every dashboard has an owning space.
|
|
66
|
+
- Keep completed/authenticated context included by default so certified and uncertified assets from the returned evidence appear together under the same business domain. Pass `--include-completed false` only when the user explicitly asks for a pending-only review.
|
|
67
|
+
- If this capability is missing on the target host, report the deployment/catalog gap. Do not synthesize a recommendation from ordinary asset-authentication or metric list commands.
|
|
68
|
+
|
|
69
|
+
## Agent Approval Display
|
|
70
|
+
|
|
71
|
+
This is an Agent presentation contract, not a CLI flag and not a Common renderer. Use the basic fields returned by Common to produce exactly one review shape:
|
|
72
|
+
|
|
73
|
+
- The top-level grouping must be `业务主题域`. Do not split the final answer into separate top-level sections such as `资产认证建议` and `推荐指标`.
|
|
74
|
+
- Aggregate by `业务主题域` with each source dashboard as the core evidence package for coverage, not as the business-domain name. Infer each domain from the dashboard semantics plus the business meaning of `topic_seed`, `source_reports`, asset names, metric names, and semantic definitions. The final group name should describe the business area or process, such as payment/revenue, login/channel, retention, item economy, or lifecycle, not the backend work-unit label. This grouping is for review comprehension only; it must not reduce the retained dashboard set after rejection filtering and bounded expansion.
|
|
75
|
+
- The expected page hierarchy is `业务域 -> 看板 -> 报表 -> 元数据`. Put multiple source dashboards under one topic when they belong to the same business domain. The topic is not the dashboard node; the dashboard remains a root asset row inside the topic.
|
|
76
|
+
- Treat `work_units` as evidence containers, not presentation groups. One dashboard/work unit can split into multiple business domains when its child reports cover different business processes; one business domain can merge rows from multiple dashboards/work units when the evidence describes the same business process.
|
|
77
|
+
- Keep each report-centered evidence chain together: the report row, metadata rows, and metric candidates introduced by that report follow the same `业务主题域`. Do not detach report metadata into a separate generic metadata group, and do not merge unrelated child-report domains only because they share one source dashboard.
|
|
78
|
+
- When one source dashboard contains child reports for different business questions, create one `业务主题域` per child-report business question. Do not combine distinct report domains into a broad `A 与 B 运营`, `综合运营`, or `核心语义` group only because they share the same dashboard. The dashboard can appear as shared linked source evidence in each relevant domain.
|
|
79
|
+
- Treat source dashboards and reports as evidence containers and possible asset rows, not independent top-level business domains. Never create a generic business-domain group only to place source dashboards, such as `看板上下文`, `综合验收看板上下文`, `推荐上下文`, or `待审批资产`. Attach each source dashboard to the business domains implied by its child reports, events, properties, metrics, and definitions. If the same dashboard supports multiple domains, reuse it as linked source evidence in each relevant domain without using the dashboard title as the domain or double-counting it in the overview.
|
|
80
|
+
- Do not expose source-only labels as group names. Strip or ignore prefixes such as acceptance versions, priority markers, asset-type markers, report IDs, dashboard IDs, route names, and test/workflow labels when they do not carry business meaning. If the evidence is too generic to infer a real domain, use `待确认业务主题` and explain the uncertainty from the source evidence.
|
|
81
|
+
- Inside each `业务主题域`, show both asset-authentication candidates and metric candidates together so a reviewer can approve the whole business topic instead of isolated rows. For asset rows, keep returned `[已认证]` and `[未认证]` rows in the same domain table when both states are present.
|
|
82
|
+
- Use plain-text review labels only: `[已认证]`, `[未认证]`, `[已有指标资产]`, `[推荐指标候选]`, `[认证资产候选]`, `[风险/冲突]`. Agent text cannot rely on color rendering, HTML, font tags, or color names.
|
|
83
|
+
- In the domain detail table, the `类型` column is the object class (`资产` or `指标`). Put review labels in `状态` or `审批关注点`, not as the `类型` value.
|
|
84
|
+
- The conclusion must explain the recommendation scope: by default this is a full business-topic context for the selected hot-dashboard evidence and includes completed/authenticated context. If the visible asset rows contain only one certification state, say this is what the current returned evidence contains; do not imply an Agent-side pending-only filter or proof that the whole project has no other certified assets.
|
|
85
|
+
- Show asset names, not raw IDs, as the main object text. When an asset row has `markdown_link`, use that Markdown link as the object text. When only `raw_url` is present, link `display_name` or `resource_key` to that URL. If no link is available, show the best human name and omit the raw ID unless the name is missing.
|
|
86
|
+
- In the `来源证据` column, first use each asset row's `source_evidence[].markdown_link`/`raw_url`; for metric rows, use `source_report.markdown_link`/`raw_url`. Fall back to the work unit's `source_dashboard` or `source_reports` links only when the row has no direct `source_evidence`. Do not strip links from source evidence when the JSON provides them, and do not replace linked sources with unlinked generic text such as `相关报表`, `热门看板`, `来源看板`, `同名看板`, `同名报表`, `<业务>相关报表`, or bare report names. If the asset row itself is the source dashboard or source report, reuse that row's own link as the source evidence. If multiple linked sources support one row, show the most direct source link or a compact comma-separated list of source links.
|
|
87
|
+
- Do not expose raw `resource_key`, dashboard/report ID, `candidate_key`, `definition_signature`, or `evidence_hash` in the main review table. Preserve them from the JSON for later submit, and show them only in a compact technical payload if the user asks to approve or debug.
|
|
88
|
+
- Show available decision signals from the returned data, especially `heat_count90d`, `user_count90d`, and `impact_degree`. Do not invent values; if a signal is absent, mark it as `-` or omit that part of the signal.
|
|
89
|
+
- Convert `recommendation_reason` and `conflict_risks` into concise Chinese explanations. Do not expose internal enum codes as the main display text; keep codes only as supporting identifiers when needed for debugging.
|
|
90
|
+
- Risk/conflict text is required for semantic conflicts, identity conflicts, previous rejection of the same evidence, non-actionable items, or mismatch between an existing metric asset and a recommended metric candidate.
|
|
91
|
+
- Keep enough identifiers for action in the working context: `run_id`, `snapshot_hash`, item identity, `evidence_hash` for asset candidates, and `candidate_key` plus `definition_signature` for metric candidates.
|
|
92
|
+
- For metric candidates, state that approval still needs a metric name and business definition/口径 before creation when those fields are missing.
|
|
93
|
+
- If there are no visible work units, say there are no pending recommendation-review items under the current filters; do not fall back to management lists.
|
|
94
|
+
- Do not spend Agent narrative budget on hidden topics or pure authenticated context. Generate batch/domain/item summaries for the final visible domains and pending review assets; for context-only rows, preserve source links, heat/user/impact signals, evidence snapshots, and relations without long new summaries unless that context is directly needed to explain a pending item.
|
|
95
|
+
|
|
96
|
+
Use this fixed review skeleton:
|
|
97
|
+
|
|
98
|
+
1. One conclusion sentence with project, window, run_id, visible business-domain count, candidate counts, whether completed/authenticated context is included, and whether any risk/conflict exists.
|
|
99
|
+
2. A `业务主题域总览` table with columns `业务主题域`, `审批建议`, `认证资产`, `推荐指标`, `风险/冲突`.
|
|
100
|
+
3. One section per `业务主题域`, with a single table whose columns are `类型`, `状态`, `对象/指标`, `热度/影响`, `来源证据`, `审批关注点`. Asset rows and metric rows must appear in the same table for that domain.
|
|
101
|
+
4. A final `提交信息` line with `run_id` and `snapshot_hash`. Do not show raw JSON.
|
|
102
|
+
|
|
103
|
+
## Related Commands
|
|
104
|
+
|
|
105
|
+
- `analysis-meta agent-review submit-to-page` submits existing-asset proposals for review after user choice or preauthorized submission-only task intent; it does not approve or certify. Read `agent_review_submit_to_page.md` for deduplication and unattended-task rules.
|
|
106
|
+
- `analysis-meta governance-recommendation submit`
|
|
107
|
+
- `analysis-meta governance-recommendation decisions`
|
|
108
|
+
- `analysis-meta asset-authentication list` only inspects certification state and is not the recommendation workflow.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# analysis-meta governance-recommendation submit
|
|
2
|
+
|
|
3
|
+
This existing command executes explicit approval decisions. It does not submit proposals to the review page. Use `analysis-meta agent-review submit-to-page` for submission-only authorization. Never invoke this executing command automatically from an unattended review-submission task.
|
|
4
|
+
|
|
5
|
+
Submit CLI Agent approval decisions for one business-topic recommendation group.
|
|
6
|
+
|
|
7
|
+
Use this after `analysis-meta governance-recommendation export` and after the user explicitly chooses approve, reject, or skip for items in a topic.
|
|
8
|
+
|
|
9
|
+
Do not use this command to generate or refresh recommendations; it only records decisions for evidence already returned by export.
|
|
10
|
+
|
|
11
|
+
Command:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
ae-cli analysis-meta governance-recommendation submit \
|
|
15
|
+
--project-id <project_id> \
|
|
16
|
+
--run-id <run_id> \
|
|
17
|
+
--snapshot-hash <snapshot_hash> \
|
|
18
|
+
--topic-name '支付分析' \
|
|
19
|
+
--decisions '[{"item_type":"asset","decision":"APPROVE","resource_type":"dashboard","resource_key":"903","evidence_hash":"..."},{"item_type":"metric_candidate","decision":"SKIP","candidate_key":"recommended_metric:abc123","definition_signature":"...","evidence_hash":"...","reason":"Need metric name"}]'
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Capability id: `metadata.governance_recommendation.submit`.
|
|
23
|
+
|
|
24
|
+
Input sends `project_id`, `run_id`, optional `snapshot_hash`, optional `topic_id`, required `topic_name`, optional `window_days`, optional `limit`, and required `decisions`.
|
|
25
|
+
|
|
26
|
+
Decision items use:
|
|
27
|
+
|
|
28
|
+
- `item_type`: `asset` or `metric_candidate`.
|
|
29
|
+
- `decision`: `APPROVE`, `REJECT`, or `SKIP`.
|
|
30
|
+
- Asset decisions require `resource_type` and `resource_key`.
|
|
31
|
+
- Metric-candidate approvals require `candidate_key`, `definition_signature`, `metric_name`, and `metric_desc`.
|
|
32
|
+
- Include `evidence_hash` when it was returned by export.
|
|
33
|
+
|
|
34
|
+
Output includes `run_id`, optional `topic_id`, `total`, `applied`, `recorded`, `failed`, and per-decision `items`.
|
|
35
|
+
|
|
36
|
+
## Decision Rules
|
|
37
|
+
|
|
38
|
+
- Do not submit decisions without explicit user approval.
|
|
39
|
+
- Submit one topic at a time so user intent and audit evidence stay aligned.
|
|
40
|
+
- Use `REJECT` for a decision that should suppress or de-prioritize the same item in future recommendation views; use `SKIP` when the user is deferring judgment.
|
|
41
|
+
- If the server reports a stale candidate or snapshot mismatch, run `governance-recommendation export` again and ask the user to review the refreshed evidence.
|
|
@@ -6,12 +6,12 @@ Do not use it for an inline sample or for a group value that did not come from t
|
|
|
6
6
|
|
|
7
7
|
Flags: `--project-id`, `--tag-name`, `--snapshot-date`, `--group-col`, `--view` required. Optional: `--property-names`, `--request-id`, `--artifact-format jsonl|csv`, `--timeout-seconds`. The default format is `jsonl`.
|
|
8
8
|
|
|
9
|
-
Use the same `--view` that produced the statistic row. `--group-col` must be the exact statistic value or bucket label.
|
|
9
|
+
Use the same `--view` that produced the statistic row. `--group-col` must be the exact statistic value or bucket label.
|
|
10
10
|
|
|
11
11
|
Common executes the native history-tag full-download SQL once and streams rows as `jsonl.gz` or `csv.gz`; it does not concatenate preview pages.
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
ae-cli analysis history-tag-data-drilldown export --project-id <project_id> --tag-name user_level --snapshot-date 2026-07-01 --group-col VIP --view '{"recent_day":"0-31","time_particle_size":"T1","first_day_of_week":1,"interval_type":"default","array_group_type":"array_item_group"}' --artifact-format jsonl
|
|
15
|
-
ae-cli analysis run inspect --run-id <run_id>
|
|
16
|
-
ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output history-tag-drilldown.jsonl.gz
|
|
14
|
+
ae-cli analysis history-tag-data-drilldown export --project-id <project_id> --tag-name user_level --snapshot-date 2026-07-01 --group-col VIP --view '{"recent_day":"0-31","time_particle_size":"T1","first_day_of_week":1,"interval_type":"default","array_group_type":"array_item_group"}' --artifact-format jsonl --output history-tag-drilldown.jsonl.gz
|
|
17
15
|
```
|
|
16
|
+
|
|
17
|
+
Use `--output` to wait and download the completed artifact. If interrupted, resume with `ae-cli analysis run wait --run-id <run_id> --output <file>` using the same export response. See [`run_wait.md`](run_wait.md).
|
|
@@ -9,7 +9,7 @@ If you provide `--request-id`, use `cli_<32 lowercase hex>`. Omit it unless you
|
|
|
9
9
|
`--view` is AI-facing history tag view JSON. It must include a history date range (`recent_day` or `start_time`/`end_time`) and `time_particle_size:"T1"`. Optional fields include `interval_type`, `property_range`, `time_particle`, `array_group_type`, and `column_splited_str`. Do not pass raw frontend wrapper DTOs.
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
ae-cli analysis history-tag-data export --project-id <project_id> --tag-name user_level --view '{"recent_day":"0-31","time_particle_size":"T1","first_day_of_week":1,"interval_type":"default","array_group_type":"array_item_group"}' --artifact-format jsonl
|
|
13
|
-
ae-cli analysis run inspect --run-id <run_id>
|
|
14
|
-
ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output history-tag-data.jsonl.gz
|
|
12
|
+
ae-cli analysis history-tag-data export --project-id <project_id> --tag-name user_level --view '{"recent_day":"0-31","time_particle_size":"T1","first_day_of_week":1,"interval_type":"default","array_group_type":"array_item_group"}' --artifact-format jsonl --output <file>
|
|
15
13
|
```
|
|
14
|
+
|
|
15
|
+
Use `--output` to wait and download the completed artifact. If interrupted, resume with `ae-cli analysis run wait --run-id <run_id> --output <file>` using the same export response. See [`run_wait.md`](run_wait.md).
|
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
# tracking ingest-error list
|
|
2
2
|
|
|
3
|
-
Use when list tracking ingest errors for one data name.
|
|
4
|
-
|
|
5
|
-
Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
|
|
3
|
+
Use only when the user asks to list tracking ingest errors for one data name.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ae-cli tracking ingest-error list
|
|
8
|
+
ae-cli tracking ingest-error list --project-id <project_id> --data-name <data_name> --start-time <start_time> --end-time <end_time>
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
Capability id: `tracking.ingest_error.list`
|
|
14
12
|
|
|
15
13
|
Input sends `project_id`, `data_name`, `start_time`, and `end_time`. Do not send camelCase aliases.
|
|
16
14
|
|
|
17
|
-
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
15
|
+
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
18
16
|
|
|
19
17
|
Parameters:
|
|
20
18
|
|
|
21
19
|
| Parameter | Description | Required |
|
|
22
20
|
| --- | --- | --- |
|
|
23
|
-
| `--project-id` |
|
|
24
|
-
| `--data-name` |
|
|
25
|
-
| `--start-time` |
|
|
26
|
-
| `--end-time` |
|
|
21
|
+
| `--project-id` | Numeric project ID. | Yes |
|
|
22
|
+
| `--data-name` | Event or property name used to list ingest errors. | Yes |
|
|
23
|
+
| `--start-time` | Query start time. | No |
|
|
24
|
+
| `--end-time` | Query end time. | No |
|
|
27
25
|
|
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
# tracking ingest summary
|
|
2
2
|
|
|
3
|
-
Use when get tracking ingest summary.
|
|
4
|
-
|
|
5
|
-
Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
|
|
3
|
+
Use only when the user asks to get tracking ingest summary.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ae-cli tracking ingest summary
|
|
8
|
+
ae-cli tracking ingest summary --project-id <project_id> --start-time <start_time> --end-time <end_time>
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
Capability id: `tracking.ingest.summary`
|
|
14
12
|
|
|
15
13
|
Input sends `project_id`, `start_time`, and `end_time`. Do not send camelCase aliases.
|
|
16
14
|
|
|
17
|
-
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
15
|
+
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
18
16
|
|
|
19
17
|
Parameters:
|
|
20
18
|
|
|
21
19
|
| Parameter | Description | Required |
|
|
22
20
|
| --- | --- | --- |
|
|
23
|
-
| `--project-id` |
|
|
24
|
-
| `--start-time` |
|
|
25
|
-
| `--end-time` |
|
|
21
|
+
| `--project-id` | Numeric project ID. | Yes |
|
|
22
|
+
| `--start-time` | Query start time. | No |
|
|
23
|
+
| `--end-time` | Query end time. | No |
|
|
26
24
|
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
# tracking live-data export
|
|
2
2
|
|
|
3
|
-
Use when export recent tracking live data.
|
|
4
|
-
|
|
5
|
-
Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
|
|
3
|
+
Use only when the user asks to export recent tracking live data.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ae-cli tracking live-data export
|
|
8
|
+
ae-cli tracking live-data export --project-id <project_id> --output <file>
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
Capability id: `tracking.live_data.export`
|
|
14
12
|
|
|
15
13
|
Input sends `project_id`, optional `data_type`, optional `request_id`, and optional `timeout_seconds`. Do not send camelCase aliases.
|
|
16
14
|
|
|
17
|
-
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
15
|
+
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
16
|
+
|
|
17
|
+
Use `--output` to wait and download the completed artifact. To resume an interrupted export, use [`analysis run wait`](run_wait.md) with its returned `run_id`.
|
|
18
18
|
|
|
19
19
|
Parameters:
|
|
20
20
|
|
|
21
21
|
| Parameter | Description | Required |
|
|
22
22
|
| --- | --- | --- |
|
|
23
|
-
| `--project-id` |
|
|
24
|
-
| `--data-type` |
|
|
25
|
-
| `--request-id` |
|
|
26
|
-
| `--
|
|
27
|
-
|
|
23
|
+
| `--project-id` | Numeric project ID. | Yes |
|
|
24
|
+
| `--data-type` | Live data type: normal (default) or error. | No |
|
|
25
|
+
| `--request-id` | Optional caller-supplied cli_<32 lowercase hex> lifecycle ID. ae-cli generates and prints one before dispatch when omitted. | No |
|
|
26
|
+
| `--timeout-seconds` | Async runtime in seconds. Default and max: 21600 (6 hours); cancel earlier with analysis query cancel --run-id <run_id>. | No |
|
|
27
|
+
| `--output` | Wait and download to this local file. | No |
|
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
# tracking live-data list
|
|
2
2
|
|
|
3
|
-
Use when list recent tracking live data.
|
|
4
|
-
|
|
5
|
-
Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
|
|
3
|
+
Use only when the user asks to list recent tracking live data.
|
|
6
4
|
|
|
7
5
|
Command:
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ae-cli tracking live-data list
|
|
8
|
+
ae-cli tracking live-data list --project-id <project_id>
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
Capability id: `tracking.live_data.list`
|
|
14
12
|
|
|
15
13
|
Input sends `project_id`, optional `data_type`, optional `request_id`, and optional `timeout_seconds`. Do not send camelCase aliases.
|
|
16
14
|
|
|
17
|
-
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
15
|
+
Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`.
|
|
18
16
|
|
|
19
17
|
Parameters:
|
|
20
18
|
|
|
21
19
|
| Parameter | Description | Required |
|
|
22
20
|
| --- | --- | --- |
|
|
23
|
-
| `--project-id` |
|
|
24
|
-
| `--data-type` |
|
|
25
|
-
| `--request-id` |
|
|
26
|
-
| `--timeout-seconds` |
|
|
21
|
+
| `--project-id` | Numeric project ID. | Yes |
|
|
22
|
+
| `--data-type` | Live data type: normal (default) or error. | No |
|
|
23
|
+
| `--request-id` | Optional caller-supplied cli_<32 lowercase hex> lifecycle ID. ae-cli generates and prints one before dispatch when omitted. | No |
|
|
24
|
+
| `--timeout-seconds` | Optional capability execution timeout in seconds. | No |
|
|
27
25
|
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Analysis metadata resolution
|
|
2
|
+
|
|
3
|
+
Reuse verified assets, canonical names and business meanings in the current project. Use this workflow for missing definitions or metadata; discovery is complete when the requested measure can be constructed or a specific business choice needs the user's reply.
|
|
4
|
+
|
|
5
|
+
## Find a reusable definition
|
|
6
|
+
|
|
7
|
+
For an unknown business measure, search relevant saved metrics and reports. A named asset needs only its own family; already known definitions go directly to execution. Read the selected [metric](metric_list.md) and [report](report_list.md) command references together, then issue independent searches in the same model turn:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis-meta metric list \
|
|
11
|
+
--project-id <project_id> \
|
|
12
|
+
--queries '["<user phrase>","<related English term>"]'
|
|
13
|
+
|
|
14
|
+
ae-cli analysis report list \
|
|
15
|
+
--project-id <project_id> \
|
|
16
|
+
--queries '["<user phrase>","<related English term>"]'
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Use the user's business terms and a few relevant English terms in the same `--queries` array. These are literal, case-insensitive keyword searches, not automatic translation. Deduplicate related words; the array accepts 1–20 non-empty strings. Split only when the actual required terms exceed that limit.
|
|
20
|
+
|
|
21
|
+
Read metrics from `data.metrics`. With `--queries` and no `--fields`, the response includes `metric_events` and `metric_params` as JSON strings. Inspect those returned definitions directly; use `metric get` only for missing details. Field projection cannot select these two definition fields. A verified saved metric is referenced by `metric_name` in `metrics[].event` and supplies its own aggregation and property.
|
|
22
|
+
|
|
23
|
+
Read report summaries from `data.items`. Report search matches names and descriptions. For a suitable candidate, use `analysis report get --project-id <project_id> --report-id <report_id>` to read `data.model_type` and `data.definition`; reuse a definition already read.
|
|
24
|
+
|
|
25
|
+
Compare the candidate's events, aggregation, filters, groups and time semantics with the request. An applicable report goes directly to [report-data run](report_data_run.md) with the supported requested overrides. A custom combination reuses suitable definitions in an AI-facing model. Saved metric JSON describes its measure; it is not itself a complete ad-hoc definition. Discover only the pieces still missing below.
|
|
26
|
+
|
|
27
|
+
## Fill missing metadata
|
|
28
|
+
|
|
29
|
+
For an unknown event, use [event list](event_list.md) with the related terms. For a property missing from a selected event's measure or filter, use [property list](property_list.md) scoped to that event:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
ae-cli analysis-meta event list \
|
|
33
|
+
--project-id <project_id> \
|
|
34
|
+
--queries '["<event phrase>","<related English term>"]' \
|
|
35
|
+
--fields '["event_name","event_desc","remark"]'
|
|
36
|
+
|
|
37
|
+
ae-cli analysis-meta property list \
|
|
38
|
+
--project-id <project_id> \
|
|
39
|
+
--scope event \
|
|
40
|
+
--event-name <verified_event_name> \
|
|
41
|
+
--fields '["prop_name","prop_desc","prop_remark","select_type"]'
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Event rows are `data.items`; property rows are `data.properties`. List pages default to 50, with `--limit` up to 200. Continue with the returned `next_offset` while `has_more` is true only when another page is needed for the unresolved choice. Stop discovery once the required definitions are available.
|
|
45
|
+
|
|
46
|
+
For a lookup spanning several metadata types, choose [catalog list](catalog_list.md) for those missing types. Reuse an already exported catalog locally. A bounded no-match can mean the chosen words did not match; refine a useful term or inspect the relevant directory when needed. Export via [catalog export](catalog_export.md) only for a task that requires the complete directory, including an explicit complete no-match check. A failed request is an error, not an empty catalog.
|
|
47
|
+
|
|
48
|
+
If the compiler reports a metadata error, reuse its candidates and all reported `path`, `raw_value`, `slot_kind`, `allowed_resource_types`, `search_targets` and `next_action` together. Apply `search_targets[].constraints` to the remaining lookups; suitable verified choices stay resolved.
|
|
49
|
+
|
|
50
|
+
## One file in the current conversation
|
|
51
|
+
|
|
52
|
+
Use the Agent host's current working directory, configured CLI environment and current project ID. The catalog export command produces one JSONL and returns `complete: true` with an absolute `output_path`. Keep that successful command's project and path in conversation context and reuse the file.
|
|
53
|
+
|
|
54
|
+
A new project uses its own filename. An explicit environment/account change or a requested refresh requires a new export; use `--force` when intentionally replacing the existing file. The CLI publishes the completed download and reports failures. No model-managed hash, sidecar or directory validation is needed.
|
|
55
|
+
|
|
56
|
+
## Confirm and bind
|
|
57
|
+
|
|
58
|
+
Confirm a selected business mapping once, even if only one candidate is suitable. Present its meaning and any unresolved semantics. Reuse mappings already confirmed in this task. User confirmation selects the business definition; it does not verify an unknown asset formula. If the confirmation tool cannot obtain a reply, present the same choices in text and wait. A failed tool call is not confirmation. Rejected candidates are discarded; seek a different candidate for that choice using the relevant search above.
|
|
59
|
+
|
|
60
|
+
After the reply, fill the confirmed canonical name, aggregation, property and other required model parameters, then execute the complete definition. Use `--resolutions` only when binding unresolved wording retained at a compiler-reported path. Bindings select metadata; they do not fill model parameters. Their `raw_value` must match the wording at that path.
|
|
61
|
+
|
|
62
|
+
For example, a compiler may have received `{"event":"<requested amount metric>"}`. After the user confirms it means the sum of a verified event's numeric property, submit the complete definition and event binding together:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
ae-cli analysis adhoc run \
|
|
66
|
+
--project-id <project_id> \
|
|
67
|
+
--model-type event \
|
|
68
|
+
--definition '{"time_range":{"mode":"previous","unit":"day","value":7},"metrics":[{"event":"<requested amount metric>","aggregation":"sum","property":"<confirmed amount property>"}]}' \
|
|
69
|
+
--resolutions '{"request.metrics[0].event":{"raw_value":"<requested amount metric>","resource_type":"event","resource_key":"<confirmed event key>"}}'
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Use the requested time range. The event key and amount property in this example must come from the current project's verified metadata and confirmed meaning. Adding `aggregation` and `property` leaves the bound `event` wording intact. A confirmed saved metric supplies its own measure definition instead.
|
|
73
|
+
|
|
74
|
+
The flag value is the path-keyed object; the CLI adds the outer `resolutions` field. The server checks the bound path, `raw_value`, allowed resource type and accessible key.
|
|
75
|
+
|
|
76
|
+
Reuse confirmed names and meanings according to the target model's resource types. Retention initial and return events use the underlying verified event names from those definitions. A resolution path belongs to its current definition, so copy the confirmed meaning rather than a different query's path mapping.
|
|
77
|
+
|
|
78
|
+
Execute the confirmed command. `RESOLUTION_STALE`, `RESOLUTION_TYPE_NOT_ALLOWED` and `RESOLUTION_PATH_INVALID` identify fields to correct; do not resend them unchanged. If the user changes the business definition itself, update that definition and its dependent queries instead of binding the old wording to a different meaning.
|
|
@@ -9,7 +9,6 @@ Command:
|
|
|
9
9
|
```bash
|
|
10
10
|
ae-cli analysis-meta metric export --project-id <project_id> --output <temporary_path>/metrics.json
|
|
11
11
|
ae-cli analysis-meta metric export --project-id <project_id> --queries '["pay","revenue"]' --fields '["metric_name","metric_desc"]' --output <temporary_path>/metrics.json
|
|
12
|
-
ae-cli analysis-meta metric export --dry-run
|
|
13
12
|
```
|
|
14
13
|
|
|
15
14
|
Capability id: `metadata.metric.export`.
|
|
@@ -11,14 +11,13 @@ ae-cli analysis-meta metric list --project-id <project_id>
|
|
|
11
11
|
ae-cli analysis-meta metric list --project-id <project_id> --ignore-authentication true
|
|
12
12
|
ae-cli analysis-meta metric list --project-id <project_id> --queries '["pay","revenue"]'
|
|
13
13
|
ae-cli analysis-meta metric list --project-id <project_id> --queries '["pay","revenue"]' --fields '["metric_name","authentication_status"]' --limit 50 --offset 0 --authenticated-only true
|
|
14
|
-
ae-cli analysis-meta metric list --dry-run
|
|
15
14
|
```
|
|
16
15
|
|
|
17
16
|
Capability id: `metadata.metric.list`.
|
|
18
17
|
|
|
19
18
|
Input sends `project_id`, `ignore_authentication`, `queries`, `fields`, `limit`, `offset`, and `authenticated_only`.
|
|
20
19
|
|
|
21
|
-
Output always uses the directory envelope: `data.
|
|
20
|
+
Output always uses the directory envelope: `data.metrics[]`, `total`, `limit`, `offset`, `has_more`, and `next_offset`.
|
|
22
21
|
|
|
23
22
|
## Parameters
|
|
24
23
|
| Parameter | Required | Description |
|
|
@@ -32,7 +31,7 @@ Output always uses the directory envelope: `data.items[]`, `total`, `limit`, `of
|
|
|
32
31
|
| `--authenticated-only` | No | When true, return only authenticated metrics. |
|
|
33
32
|
|
|
34
33
|
## Decision Rules
|
|
35
|
-
-
|
|
36
|
-
- Use `--fields` to keep
|
|
37
|
-
- Use `analysis-meta metric get`
|
|
34
|
+
- For an unknown business measure, use this with relevant `report list` search as the saved-definition discovery path in [`metadata_resolution.md`](metadata_resolution.md). Reuse a verified saved metric name directly.
|
|
35
|
+
- Use `--fields` when its projected fields are sufficient. When searching with `--queries`, omit `--fields` to keep `metric_events` and `metric_params` as JSON strings. Read their content in this response; these two fields are not in the projection whitelist.
|
|
36
|
+
- Use `analysis-meta metric get` only when a required definition detail is absent from the returned row.
|
|
38
37
|
- For a complete result, use `analysis-meta metric export`; do not page repeatedly to synthesize an export.
|
|
@@ -12,7 +12,6 @@ Command:
|
|
|
12
12
|
ae-cli analysis-meta metric update --project-id <project_id> --metric-id <metric_id> --metric-desc 'New display name' --metric-remark 'New remark'
|
|
13
13
|
ae-cli analysis-meta metric update --project-id <project_id> --metric-id <metric_id> --metric-name demo --metric-desc demo --model-type event --metric-events '[]'
|
|
14
14
|
ae-cli analysis-meta metric update --project-id <project_id> --metric-id <metric_id> --metric-name demo --metric-desc demo --metric-remark demo --model-type retention --metric-events '[]' --metric-params '{}'
|
|
15
|
-
ae-cli analysis-meta metric update --project-id <project_id> --metric-id <metric_id> --metric-desc 'New display name' --dry-run
|
|
16
15
|
```
|
|
17
16
|
|
|
18
17
|
Capability id: `metadata.metric.update`.
|
|
@@ -7,13 +7,12 @@ Do not use it to list records or export asset rows; resolve one real `record_id`
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
ae-cli analysis-governance operation-record export --project-id <project_id> --
|
|
11
|
-
ae-cli analysis-governance operation-record export --dry-run --project-id <project_id>
|
|
10
|
+
ae-cli analysis-governance operation-record export --project-id <project_id> --record-id <record_id>
|
|
12
11
|
```
|
|
13
12
|
|
|
14
|
-
Capability id:
|
|
13
|
+
Capability id: governance.operation_record.export.
|
|
15
14
|
|
|
16
|
-
Input sends project_id,
|
|
15
|
+
Input sends project_id, record_id. The CLI merges the snake_case object from `--payload` into these top-level Gateway fields; explicit flags override matching payload fields. `--project-id` owns the project identity and cannot be supplied or overridden by payload. Required business fields must exist in the final merged input.
|
|
17
16
|
|
|
18
17
|
Output `data` is an async XLSX descriptor with `run_id`, `artifact_id`, status, and expiry fields. Inspect and download that exact export.
|
|
19
18
|
|
|
@@ -22,4 +21,4 @@ Output `data` is an async XLSX descriptor with `run_id`, `artifact_id`, status,
|
|
|
22
21
|
|---|---|---|
|
|
23
22
|
| --project-id | Yes | Numeric project ID. |
|
|
24
23
|
| --record-id | No | Operation record ID; required unless provided inside payload. |
|
|
25
|
-
| --payload | No | Optional
|
|
24
|
+
| --payload | No | Optional JSON object merged into top-level input. Use schema-declared snake_case fields; explicit flags take precedence. `node_ids`, `searchs`, and `status` are arrays; `rule` is an object when supplied. |
|
|
@@ -7,13 +7,12 @@ Do not use it to submit a new batch operation; use it to find and inspect record
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
ae-cli analysis-governance operation-record list --project-id <project_id>
|
|
11
|
-
ae-cli analysis-governance operation-record list --dry-run --project-id <project_id>
|
|
10
|
+
ae-cli analysis-governance operation-record list --project-id <project_id>
|
|
12
11
|
```
|
|
13
12
|
|
|
14
|
-
Capability id:
|
|
13
|
+
Capability id: governance.operation_record.list.
|
|
15
14
|
|
|
16
|
-
Input sends project_id,
|
|
15
|
+
Input sends project_id, type, status, query, sort_field, sort_order, limit, offset. The CLI merges the snake_case object from `--payload` into these top-level Gateway fields; explicit flags override matching payload fields. `--project-id` owns the project identity and cannot be supplied or overridden by payload. Required business fields must exist in the final merged input.
|
|
17
16
|
|
|
18
17
|
Output `data` is the paged batch-operation record result. Use record status to distinguish submitted, running, successful, and failed work before taking another action.
|
|
19
18
|
|
|
@@ -28,4 +27,4 @@ Output `data` is the paged batch-operation record result. Use record status to d
|
|
|
28
27
|
| --sort-order | No | Sort order: asc or desc. |
|
|
29
28
|
| --limit | No | Inline page size. |
|
|
30
29
|
| --offset | No | Zero-based page offset. |
|
|
31
|
-
| --payload | No | Optional
|
|
30
|
+
| --payload | No | Optional JSON object merged into top-level input. Use schema-declared snake_case fields; explicit flags take precedence. `node_ids`, `searchs`, and `status` are arrays; `rule` is an object when supplied. |
|