By aproto9787
Execution-Grounded Task-State Runtime — obligation tracking, stale quarantine, and resume safety for Claude Code
Diagnose EGTSR runtime health — check DB integrity, artifact existence, hook configuration.
Detailed inspection of EGTSR session state — obligations, stale queue, decision capsule, verify results.
Activate EGTSR runtime in the current project. Marketplace installs auto-apply plugin assets; manual setup remains for legacy/local installs.
Show current EGTSR session status — open obligations, stale tickets, last capsule audit, resume gate state.
Matches all tools
Hooks run on every tool call, not just specific ones
Admin access level
Server config contains admin-level keywords
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Task state control, not memory, for Claude Code
EGTSR (Execution-Grounded Task-State Runtime) is a Claude Code plugin that prevents unsafe edits and stale continuity illusions by replacing transcript-dependent continuity with explicit task state. In long sessions, compacting can drop critical state, stale evidence can survive file changes, and the agent can repeat the same failing path with false confidence. EGTSR solves this with an obligation-first, freshness-gated, SQLite-backed runtime that compiles a decision capsule on every prompt and blocks unsafe continuation until the state is revalidated.
# Primary path: install from Claude Code marketplace
/plugin install egtsr@aproto9787-egtsr
Marketplace install is the primary path. It packages the plugin entry, MCP server, hooks, and skills together for Claude Code.
SessionStart ───────────────┐
│
UserPromptSubmit ──┐ │
├─> evidence + obligations ─> decision capsule ─> freshness gate ─> CONTINUE / BLOCK
PostToolUse ───────┘ ▲ │
│ └─ stale evidence quarantined on file changes
SessionEnd ──────────────────────────┴─ snapshot + resume artifacts
egtsr setup # Register hooks in project (legacy/manual install)
egtsr doctor # Diagnose runtime health
egtsr inspect # Inspect session state
egtsr benchmark # Run benchmark harness
egtsr uninstall # Remove hooks (legacy/manual install)
egtsr_inspect_obligationsegtsr_inspect_staleegtsr_inspect_capsuleegtsr_resume_statusegtsr_doctoregtsr_session_summary/egtsr-setup/egtsr-status/egtsr-inspect/egtsr-doctor| Scenario | Raw | EGTSR | Savings |
|---|---|---|---|
| Forced Split | 838 tok | 217 tok | 74% |
| Stale Injection | 945 tok | 172 tok | 82% |
| Repeated Failure | 472 tok | 175 tok | 63% |
Hook latency: ~70ms avg per call. Go/No-Go verdict: CONTINUE.
egtsr_runtime/
compiler/ Decision capsule compiler + audit
db/ SQLite storage + UoW pattern
hooks/ 4 Claude Code hook handlers
ingest/ Tool result normalization
models/ Domain models (obligation, evidence, assertion, ...)
mcp/ Read-only inspection service
ops/ Logging, metrics, health, recovery
services/ Invalidation, resume gate, verify, attempt families
ui/ Local read-only inspector
cli/ CLI entry points
mcp_server/ MCP JSON-RPC server for Claude Code plugin
Use this path only if you are not installing through the Claude Code marketplace.
pip install .
cd ~/your-project
egtsr setup
This manual flow registers EGTSR hooks in the project and keeps the older local-install workflow available.
MIT
npx claudepluginhub aproto9787/egtsr --plugin egtsrGovernor: always-on compact professional output, telemetry, context slimming, tool-output filtering, prompt guidance, and drift guardrails for Claude Code Max users.
Thoughtbox observability, protocol enforcement, and CLI for Claude Code
Analyze Claude Code agent session transcripts to identify inefficiencies, anti-patterns, repeated mistakes, missing tooling opportunities, and user frustration signals for continuous improvement
Provides an agent, skill, hook, and slash command related to the `aichat` tool-set for searching and resuming CLI-agent sessions
Memory compression system for Claude Code - persist context across sessions
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.