Files
yao-meta-skill/reports/telemetry_hook_recipes.json
T
2026-06-13 22:11:26 +08:00

339 lines
11 KiB
JSON

{
"ok": true,
"schema_version": "1.0",
"skill_dir": ".",
"summary": {
"recipe_count": 5,
"native_auto_capture_count": 0,
"metadata_only_recipe_count": 5
},
"privacy_contract": {
"raw_content_allowed": false,
"blocked_fields": [
"content",
"input",
"inputs",
"message",
"messages",
"note",
"output",
"outputs",
"prompt",
"raw",
"text",
"transcript"
],
"allowed_fields": [
"event",
"skill",
"version",
"source",
"command",
"activation_type",
"outcome",
"failure_type",
"timestamp"
]
},
"recipes": [
{
"id": "browser-extension",
"client": "Browser extension",
"command": "browser-extension",
"event": "skill_activation",
"activation_type": "explicit",
"outcome": "accepted",
"failure_type": "none",
"trigger_points": [
"Skill is explicitly selected by the user.",
"Skill activation is accepted by the host client."
],
"source": "external",
"native_auto_capture": false,
"integration_status": "client-hook-recipe",
"metadata_only": true,
"emit_argv": [
"python3",
"scripts/yao.py",
"telemetry-emit",
".",
"--output-jsonl",
".yao/telemetry_spool/external_events.jsonl",
"--event",
"skill_activation",
"--activation-type",
"explicit",
"--outcome",
"accepted",
"--failure-type",
"none",
"--command",
"browser-extension"
],
"emit_command": "python3 scripts/yao.py telemetry-emit . --output-jsonl .yao/telemetry_spool/external_events.jsonl --event skill_activation --activation-type explicit --outcome accepted --failure-type none --command browser-extension",
"dry_run_argv": [
"python3",
"scripts/yao.py",
"telemetry-emit",
".",
"--output-jsonl",
".yao/telemetry_spool/external_events.jsonl",
"--event",
"skill_activation",
"--activation-type",
"explicit",
"--outcome",
"accepted",
"--failure-type",
"none",
"--command",
"browser-extension",
"--dry-run"
],
"dry_run_command": "python3 scripts/yao.py telemetry-emit . --output-jsonl .yao/telemetry_spool/external_events.jsonl --event skill_activation --activation-type explicit --outcome accepted --failure-type none --command browser-extension --dry-run"
},
{
"id": "chrome-extension",
"client": "Chrome extension",
"command": "chrome-extension",
"event": "skill_output",
"activation_type": "manual",
"outcome": "edited",
"failure_type": "none",
"trigger_points": [
"User keeps or edits a skill-generated artifact.",
"Extension records only the final outcome class, not page content."
],
"source": "external",
"native_auto_capture": false,
"integration_status": "client-hook-recipe",
"metadata_only": true,
"emit_argv": [
"python3",
"scripts/yao.py",
"telemetry-emit",
".",
"--output-jsonl",
".yao/telemetry_spool/external_events.jsonl",
"--event",
"skill_output",
"--activation-type",
"manual",
"--outcome",
"edited",
"--failure-type",
"none",
"--command",
"chrome-extension"
],
"emit_command": "python3 scripts/yao.py telemetry-emit . --output-jsonl .yao/telemetry_spool/external_events.jsonl --event skill_output --activation-type manual --outcome edited --failure-type none --command chrome-extension",
"dry_run_argv": [
"python3",
"scripts/yao.py",
"telemetry-emit",
".",
"--output-jsonl",
".yao/telemetry_spool/external_events.jsonl",
"--event",
"skill_output",
"--activation-type",
"manual",
"--outcome",
"edited",
"--failure-type",
"none",
"--command",
"chrome-extension",
"--dry-run"
],
"dry_run_command": "python3 scripts/yao.py telemetry-emit . --output-jsonl .yao/telemetry_spool/external_events.jsonl --event skill_output --activation-type manual --outcome edited --failure-type none --command chrome-extension --dry-run"
},
{
"id": "vscode-extension",
"client": "VS Code extension",
"command": "vscode-extension",
"event": "skill_activation",
"activation_type": "implicit",
"outcome": "accepted",
"failure_type": "none",
"trigger_points": [
"Workspace skill route chooses this skill.",
"Extension records route outcome without file paths or code snippets."
],
"source": "external",
"native_auto_capture": false,
"integration_status": "client-hook-recipe",
"metadata_only": true,
"emit_argv": [
"python3",
"scripts/yao.py",
"telemetry-emit",
".",
"--output-jsonl",
".yao/telemetry_spool/external_events.jsonl",
"--event",
"skill_activation",
"--activation-type",
"implicit",
"--outcome",
"accepted",
"--failure-type",
"none",
"--command",
"vscode-extension"
],
"emit_command": "python3 scripts/yao.py telemetry-emit . --output-jsonl .yao/telemetry_spool/external_events.jsonl --event skill_activation --activation-type implicit --outcome accepted --failure-type none --command vscode-extension",
"dry_run_argv": [
"python3",
"scripts/yao.py",
"telemetry-emit",
".",
"--output-jsonl",
".yao/telemetry_spool/external_events.jsonl",
"--event",
"skill_activation",
"--activation-type",
"implicit",
"--outcome",
"accepted",
"--failure-type",
"none",
"--command",
"vscode-extension",
"--dry-run"
],
"dry_run_command": "python3 scripts/yao.py telemetry-emit . --output-jsonl .yao/telemetry_spool/external_events.jsonl --event skill_activation --activation-type implicit --outcome accepted --failure-type none --command vscode-extension --dry-run"
},
{
"id": "cli-wrapper",
"client": "CLI wrapper",
"command": "cli-wrapper",
"event": "script_run",
"activation_type": "manual",
"outcome": "unknown",
"failure_type": "none",
"trigger_points": [
"Wrapper starts or finishes a known skill workflow command.",
"Wrapper records command family only, never command arguments."
],
"source": "external",
"native_auto_capture": false,
"integration_status": "client-hook-recipe",
"metadata_only": true,
"emit_argv": [
"python3",
"scripts/yao.py",
"telemetry-emit",
".",
"--output-jsonl",
".yao/telemetry_spool/external_events.jsonl",
"--event",
"script_run",
"--activation-type",
"manual",
"--outcome",
"unknown",
"--failure-type",
"none",
"--command",
"cli-wrapper"
],
"emit_command": "python3 scripts/yao.py telemetry-emit . --output-jsonl .yao/telemetry_spool/external_events.jsonl --event script_run --activation-type manual --outcome unknown --failure-type none --command cli-wrapper",
"dry_run_argv": [
"python3",
"scripts/yao.py",
"telemetry-emit",
".",
"--output-jsonl",
".yao/telemetry_spool/external_events.jsonl",
"--event",
"script_run",
"--activation-type",
"manual",
"--outcome",
"unknown",
"--failure-type",
"none",
"--command",
"cli-wrapper",
"--dry-run"
],
"dry_run_command": "python3 scripts/yao.py telemetry-emit . --output-jsonl .yao/telemetry_spool/external_events.jsonl --event script_run --activation-type manual --outcome unknown --failure-type none --command cli-wrapper --dry-run"
},
{
"id": "provider-adapter",
"client": "Provider adapter",
"command": "provider-adapter",
"event": "skill_output",
"activation_type": "manual",
"outcome": "accepted",
"failure_type": "none",
"trigger_points": [
"Provider adapter receives an accepted or rejected skill output signal.",
"Adapter records only normalized outcome metadata."
],
"source": "external",
"native_auto_capture": false,
"integration_status": "client-hook-recipe",
"metadata_only": true,
"emit_argv": [
"python3",
"scripts/yao.py",
"telemetry-emit",
".",
"--output-jsonl",
".yao/telemetry_spool/external_events.jsonl",
"--event",
"skill_output",
"--activation-type",
"manual",
"--outcome",
"accepted",
"--failure-type",
"none",
"--command",
"provider-adapter"
],
"emit_command": "python3 scripts/yao.py telemetry-emit . --output-jsonl .yao/telemetry_spool/external_events.jsonl --event skill_output --activation-type manual --outcome accepted --failure-type none --command provider-adapter",
"dry_run_argv": [
"python3",
"scripts/yao.py",
"telemetry-emit",
".",
"--output-jsonl",
".yao/telemetry_spool/external_events.jsonl",
"--event",
"skill_output",
"--activation-type",
"manual",
"--outcome",
"accepted",
"--failure-type",
"none",
"--command",
"provider-adapter",
"--dry-run"
],
"dry_run_command": "python3 scripts/yao.py telemetry-emit . --output-jsonl .yao/telemetry_spool/external_events.jsonl --event skill_output --activation-type manual --outcome accepted --failure-type none --command provider-adapter --dry-run"
}
],
"artifacts": {
"json": "reports/telemetry_hook_recipes.json",
"markdown": "reports/telemetry_hook_recipes.md",
"spool_jsonl": ".yao/telemetry_spool/external_events.jsonl",
"import_command": "python3 scripts/yao.py telemetry-import . --input-jsonl .yao/telemetry_spool/external_events.jsonl",
"import_argv": [
"python3",
"scripts/yao.py",
"telemetry-import",
".",
"--input-jsonl",
".yao/telemetry_spool/external_events.jsonl"
]
},
"warnings": [
"These recipes do not prove native host-client integration; they define the local metadata-only hook contract for those integrations."
],
"failures": []
}