dsh-trajectory-governance: DSH Trajectory Governance and Anomaly Diagnosis Plugin

dsh-trajectory-governance is an observability layer plugin for DeepSeek Harness (DSH), designed to address the challenges of flat logs in long-running tasks, including difficulty in tracking branches, goal drift, and retry issues. The plugin operates with zero kernel modifications, reconstructing flat logs into a structured trajectory tree by subscribing to events, and saves observability layer snapshots containing node IDs and context hashes. Its core functionality includes three temporal anomaly diagnostic strategies: run-loop deadlocks, ineffective retries, and goal drift, with results mounted on tree nodes and displayed in a standalone GUI. The plugin supports desktop notifications, webhook alerts, and one-click interruption, and allows for creating new session branches at stable boundaries. Data is independently stored in a local SQLite database, with CLI tools provided for querying sessions, trajectory trees, and snapshots. Installation requires DSH version 0.1.0-rc.6 or later, available via B[uild?]

Read More