← back
statewright/statewright
for project: oss-digest · https://github.com/statewright/statewright
# statewright/statewright
**URL:** https://github.com/statewright/statewright
**One-liner:** State machine guardrails for AI coding agents, constraining tool access per workflow phase.
**Relevance to oss-digest:** medium (65/100)
**Integration:** cleanroom-rebuild
## Summary
State machine guardrails that control which tools your AI agent can use in each phase.
## Why it's useful here
oss-digest uses a two-stage DeepSeek pipeline to generate digests; statewright could constrain the LLM's tool usage (read-only during planning, write-only during generation) to reduce flailing and improve output quality.
## Suggested use
Study statewright's state definitions and transition guards, then cleanroom-rebuild a similar concept in Python/Next for oss-digest's agent loop.
## Novelty / why now
Repackages classic state machines as a deterministic Rust engine + MCP plugin to enforce per-phase tool restrictions on AI agents.
## Risks
Single-maintainer, no license, unproven at scale; rebuilding in Python avoids Rust compilation dependency.
## Safety scan
- Risk level: **medium**
- Stars: 188 (age 9d, 20.89 stars/day)
- Last push: 0 days ago
- Contributors: 1
- License: unknown
- Postinstall hooks: none
- Suspicious patterns: none
- Notes: single-contributor repo with notable stars
### Reviewer safety notes
Single-maintainer repo (<9 days old, 188 stars) with no license; rapid star growth may be inorganic; risk of abandonment.