See which project docs your AI coding agent actually discovers — local, zero-token documentation telemetry.
Project description
🌳 trigger-tree
See which project docs your AI actually discovers.
- Local and dependency-free: no cloud, analytics, or model tokens.
- Separate heat, lifetime reads, searches, and untouched paths instead of guessing intent.
- Reduce the evidence to an A–F documentation health grade when detail is unnecessary.
Documentation steers an AI coding assistant toward your team’s patterns and guardrails. But a rule that is never read protects nothing. trigger-tree records discovery evidence so you can improve the routes without pretending a read proves understanding.
Quick start
| Claude Code | Codex |
|---|---|
/plugin marketplace add Hedde/trigger_tree/plugin install trigger-tree@trigger-tree/reload-plugins/tt watch demo/tt setup · /tt doctorWork normally, then /tt insights |
codex plugin marketplace add Hedde/trigger_treecodex plugin install trigger-treeRestart Codex Ask it to run python3 "$PLUGIN_ROOT/scripts/tt-watch.py" --demoUse the bundled trigger-tree skill for setup, doctor, and insights |
The Claude /tt skill is explicitly user-triggered. Codex installs the equivalent skill and lifecycle hooks through its plugin marketplace.
Prefer a standalone CLI — for CI, git-hook ingestion, or dashboards without a plugin?
pipx install trigger-tree (or uvx --from trigger-tree tt), then tt doctor, tt watch --demo, tt stats.
Prompt logging defaults to a recognizable, gitignored local preview of at most 200
characters as soon as the plugin is installed, even if setup is never run. /tt setup
asks whether to keep truncate or switch future events to hash or off.
Who gets what?
| You are… | trigger-tree gives you… |
|---|---|
| Senior developer | File/folder heat, search evidence, router gaps, and prompt-level browsing |
| Tech lead | Trends, task clusters, protected-context review, and evidence-backed fixes |
| Product owner | One honest A–F docs-health signal, provisional until measurement matures |
Commands
| Command | Result |
|---|---|
/tt watch demo |
Instant synthetic dashboard; no telemetry required |
/tt setup [truncate|hash|off] |
Wire the repo and choose prompt privacy |
/tt doctor |
Check hooks, liveness, scope, privacy, and statusline wiring |
/tt status |
Current heat, lifetime reads, and untouched paths |
/tt watch |
Live mock-TUI dashboard with prompt browsing and sorting |
/tt insights |
Deterministic analysis plus a local HTML report |
/tt suggestions |
Up to five evidence-backed routing improvements |
/tt badge |
Write a public-safe docs-health endpoint JSON |
/tt note <text> |
Add a local timeline annotation |
/tt uninstall |
Remove wiring without deleting telemetry |
Search telemetry is a conservative lower bound; see measurement boundaries.
How it works
- Hooks log shell-side to the gitignored
.trigger-tree/history.jsonl; failures never interrupt the coding session. - A deterministic aggregator computes every metric with Python’s standard library; the model interprets but never counts.
- Discovery remains model-driven: trigger-tree measures your routers and reads without injecting context or changing routing.
Where it fits
| Category | Question answered |
|---|---|
| Token/trace observability (Langfuse, Arize, W&B) | What did the model call, spend, and produce? |
| Documentation linters | Is documentation structurally or stylistically valid? |
| trigger-tree | Which local project docs did the coding assistant actually discover? |
The categories complement each other. trigger-tree does not evaluate answer quality or claim that a read caused an outcome.
Learn more
Documentation router · Dashboard · Heat model · Configuration · Privacy · Glossary · FAQ · Website · Changelog
MIT © Hedde van der Heide
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trigger_tree-1.15.0.tar.gz.
File metadata
- Download URL: trigger_tree-1.15.0.tar.gz
- Upload date:
- Size: 76.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a178b5147b242e48392385a60127e5598a49bab6a4522c12a5da6b5c83874d28
|
|
| MD5 |
592ac8993d3b99b4697b004d8da76a8a
|
|
| BLAKE2b-256 |
837151678565f8cbe95cc6a75094fe5f64fbe226cdc8cd037e77abfca3a8f480
|
Provenance
The following attestation bundles were made for trigger_tree-1.15.0.tar.gz:
Publisher:
ci.yml on Hedde/trigger_tree
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trigger_tree-1.15.0.tar.gz -
Subject digest:
a178b5147b242e48392385a60127e5598a49bab6a4522c12a5da6b5c83874d28 - Sigstore transparency entry: 2217928573
- Sigstore integration time:
-
Permalink:
Hedde/trigger_tree@5a208a521e40ec0fa6d39af2213425d63e200ff6 -
Branch / Tag:
refs/tags/v1.15.0 - Owner: https://github.com/Hedde
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@5a208a521e40ec0fa6d39af2213425d63e200ff6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file trigger_tree-1.15.0-py3-none-any.whl.
File metadata
- Download URL: trigger_tree-1.15.0-py3-none-any.whl
- Upload date:
- Size: 69.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02959889187addebcb9397248c1883d9a003970508cefa62dbf801cbde37cdfe
|
|
| MD5 |
88c25da171ddddf4fb18cd791a492df4
|
|
| BLAKE2b-256 |
20f67d5cf7737427919ab6f962d0e7d473447cdb69a24ef832573f4cd080a2c3
|
Provenance
The following attestation bundles were made for trigger_tree-1.15.0-py3-none-any.whl:
Publisher:
ci.yml on Hedde/trigger_tree
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trigger_tree-1.15.0-py3-none-any.whl -
Subject digest:
02959889187addebcb9397248c1883d9a003970508cefa62dbf801cbde37cdfe - Sigstore transparency entry: 2217928796
- Sigstore integration time:
-
Permalink:
Hedde/trigger_tree@5a208a521e40ec0fa6d39af2213425d63e200ff6 -
Branch / Tag:
refs/tags/v1.15.0 - Owner: https://github.com/Hedde
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@5a208a521e40ec0fa6d39af2213425d63e200ff6 -
Trigger Event:
push
-
Statement type: