dfycaly98931680/dsh-trajectory-governance

dfycaly98931680★ 3TypeScriptLast synced: 2026-08-14

Open on GitHub

Agent trajectory governance & anomaly diagnosis plugin for DeepSeek Harness (dsh): multi-branch trajectory trees, loop-deadlock / invalid-retry / goal-drift detection, cost attribution, alerts, one-click interrupt & breakpoint fork, independent GUI tab. Zero kernel modification.

README excerpt

dsh-trajectory-governance Agent trajectory governance & anomaly diagnosis for DeepSeek Harness (dsh). Rebuilds the flat session/event log into a structured, multi-branch trajectory tree , keeps observation-layer snapshots , and runs three temporal anomaly strategies (loop deadlock / invalid retry / goal drift) with results mounted on tree nodes and surfaced in an independent GUI tab . Zero kernel modification · consume-only event subscription · observation-layer snapshots (no control-plane rollback) · independent SQLite storage · never overwrites the official Trajectory view. Why The official Trajectory page is a flat raw-event log . For long-running agent tasks (dozens of turns, subagents, forks) you cannot see: - which tool call belongs to which sub-task / subagent / fork branch, - where the agent started drifting from the original goal, - whether it is looping in place burning tokens (deadlock / invalid retry). This plugin is an upper observation & reasoning layer : it consumes committed events and derives structure, snapshots, and diagnoses — it never steers, intercepts, or rolls back the agent. Both views coexist. Aspect Official Trajectory dsh-trajectory-governance View flat …

View full README on GitHub →
Terminal / TUIdeepseek-harnessdshdsh-plugintrajectoryagent

Category