harness-telemetry
Guide Observal harness registry, adapters, hooks, session delivery, reconcile, parsers, and telemetry ingest changes.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- harness-telemetry
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Guide Observal harness registry, adapters, hooks, session delivery, reconcile, parsers, and telemetry ingest changes.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/harness-support.md14.1 KB
- 参考文档references/session-parsers.md9.2 KB
- 参考文档references/telemetry-pipeline.md11.0 KB
- 参考文档references/troubleshooting.md14.8 KB
- 脚本scripts/check_harness_registry.py8.5 KB
03 SKILL.md 正文
Observal Harness Telemetry
Use this sub-skill when the task touches Observal harness support, local harness scanning, config generation for observal agent pull, observal scan, observal doctor, managed hook specs, session push/reconcile, session parser dispatch, telemetry ingest acknowledgements, or layer/managed-file attribution.
Route by task
- Adding or promoting a harness: read
references/harness-support.md, thenreferences/session-parsers.mdandreferences/telemetry-pipeline.mdbefore editing code. - Debugging missing sessions after hook installation: read
references/telemetry-pipeline.md, then use the decision tree inreferences/troubleshooting.md. - Changing trace display, raw-line classification, token/model extraction, or parser registration: read
references/session-parsers.md. - Changing scan/doctor/layer behavior: read
references/harness-support.mdand verify with the helper script inscripts/check_harness_registry.py. - Investigating CLI/API/auth/config failures owned by harness telemetry: read
references/troubleshooting.md.
Boundaries
This sub-skill owns harness registry entries, CLI harness adapters, server harness adapters, hook specs, doctor patch/cleanup for telemetry hooks, session-source discovery, session push/reconcile behavior, local durable outbox behavior, server session parser registration, ingest/checkpoint/finalization semantics, and layer managed-file attribution.
Do not use this sub-skill for general Typer command hierarchy, registry component CRUD, FastAPI business routes outside ingest/config harness metadata, database migrations, web UI implementation, release/compliance workflow, or root-skill provenance/routing work unless the change directly affects harness telemetry.
Operating rules
- Keep harness-specific logic in one CLI adapter and one server adapter; do not add broad if/elif chains to orchestrators.
- Treat
packages/observal-shared/observal_shared/harness_registry.pyas the shared source of truth for harness ids, capabilities, paths, event maps, parser ids, and model catalog files. - Use the shared session push engine (
observal_cli.hooks.session_push --harness <id>) unless a host requires a thin response bridge or native extension. - Keep MCP commands and remote URLs direct. Do not add telemetry wrappers or OTLP environment variables for harness support.
- Make scan and doctor fail soft for absent harness installs, but fail loudly for malformed files only where the existing adapter contract already does so.
- Preserve user-owned hook/config entries when doctor patching or cleanup runs; remove or rewrite only Observal-managed entries.
Fast verification entrypoint
From an Observal checkout, run:
python skills/disco/observal/sub-skills/harness-telemetry/scripts/check_harness_registry.py --repo-root . --pretty
Expected high-level signal: every registered harness has CLI/server adapter files and parser coverage; hook-spec files are expected for most harnesses, while Cursor and Pi are handled by direct doctor/extension code rather than dedicated harness_specs/*_hooks_spec.py modules.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).