Expand description
State Trust Score — machine-readable rollup of ASD semantic state quality.
Answers: “Can the agent rely on ASD’s output for the current task?”
§Signals
| Signal | Source | Max deduction |
|---|---|---|
| Index freshness | FTS last_indexed_at | −0.30 |
| Symbol count | FTS symbol_count | blocking |
| Sidecar state | sidecar_lifecycle_state | −0.10 |
| Dirty files | git status --short | −0.05 |
| Ledger density | Engine ledger tree | −0.15 |
| Concept gaps | Ownership without Concept | −0.05 |
§Levels
high— score ≥ 0.85medium— score ≥ 0.65low— score ≥ 0.40blocked— score < 0.40 or any blocking signal fires
Structs§
- Data
Quality - Distinguishes intentional clean-room state from unexpected data loss.
- Trust
Score - Rolled-up state trust score for the current ASD workspace.
- Trust
Signals - Raw signal values gathered before scoring. Exposed for debugging and for truth-drift history snapshots.
Functions§
- compute_
trust_ score - Compute a
TrustScorefor the ASD workspace atdb_path.