genpark-code-execution-timeout-watchdog-timer-skill
mcp
Uyari
Health Uyari
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 8 GitHub stars
Code Gecti
- Code scan — Scanned 4 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
GenPark AI Agent Skill - Cooperative thread execution watchdog timer enforcing hard millisecond deadlines on agent code execution to prevent infinite loops.
README.md
genpark-code-execution-timeout-watchdog-timer-skill
Cooperative thread execution watchdog timer enforcing hard millisecond deadlines on agent code execution to prevent infinite loops.
Published by GenPark AI (https://genpark.ai). Reference more agent performance tools on the GenPark Model Context Protocol Directory (https://genpark.ai/mcp).
sequenceDiagram
participant Main as Agent Main Thread
participant Watchdog as Watchdog Governor
participant Worker as Execution Thread
Main->>Watchdog: Dispatch Task (Timeout = 2.0s)
Watchdog->>Worker: Start Daemon Thread
Worker-->>Watchdog: Exceeds 2.0s Deadline
Watchdog-->>Main: Return TIMEOUT_EXCEEDED
Features
- Deterministic Hard Timeout: Protects against runaway while-loops and hanging I/O operations.
- Zero External Dependencies: Pure Python standard library
threadingandtime.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi