Epic: LLM Agent Runtime Stabilization — reliability, resource enforcement & correctness hardening #77
Labels
No labels
auto/blocked-by-deps
auto/ci-timeout
auto/claimed-implementer
auto/claimed-merge
auto/claimed-reviewer
auto/driver-down
auto/invariant-violation
auto/last-attempt-tier-0
auto/last-attempt-tier-1
auto/last-attempt-tier-2
auto/last-attempt-tier-min
Automation Tracking
auto/needs-conflict-resolution
auto/needs-implementer
auto/postmortem
auto/ready-to-merge
auto/restart-throttled
auto/revert
auto/sentinel
auto/stale-inactivity
auto/unstable
Blocked
Bounty
$100
Bounty
$1000
Bounty
$10000
Bounty
$20
Bounty
$2000
Bounty
$250
Bounty
$50
Bounty
$500
Bounty
$5000
Bounty
$750
MoSCoW
Could have
MoSCoW
Must have
MoSCoW
Should have
Needs Feedback
Points
1
Points
13
Points
2
Points
21
Points
3
Points
34
Points
5
Points
55
Points
8
Points
88
Priority
Backlog
Priority
CI Blocker
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Signed-off: Owner
Signed-off: Scrum Master
Signed-off: Tech Lead
Spike
State
Completed
State
Duplicate
State
In Progress
State
In Review
State
Paused
State
Unverified
State
Verified
State
Wont Do
Type
Automation
Type
Bug
Type
Discussion
Type
Documentation
Type
Epic
Type
Feature
Type
Legendary
Type
Refactor
Type
Support
Type
Task
Type
Testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#2 Clever Actors only accepts GRAPH actors, not LLM actors.
cleveragents/cleveractors-core
#6 compile_actor() drops graph-level system_prompt — not threaded into CompiledActor
cleveragents/cleveractors-core
#39 fix(runtime): add input validation, credential safety, and proper error propagation
cleveragents/cleveractors-core
#57 LLMAgent.cleanup() closes shared cached httpx clients, breaking subsequent LLM requests
cleveragents/cleveractors-core
#61 feat(tool-loop): add token-budget awareness and tool output pruning
cleveragents/cleveractors-core
#63 fix(agents): validate LLMAgent tool dispatch against declared tools list
cleveragents/cleveractors-core
#65 bug(agents): LLM token consumption undercounted — pruning model calls untracked, earlier loop rounds overwritten
cleveragents/cleveractors-core
#69 LLM Agent Communication Retry Mechanisms with Exponential Backoff
cleveragents/cleveractors-core
#71 ConnectionError retry exhaustion silently swallowed, producing empty response instead of propagating ExecutionError
cleveragents/cleveractors-core
#75 Implement real
type: tool graph node execution by wiring NodeConfig.tool to ToolAgent._execute_tool
cleveragents/cleveractors-core
Reference
cleveragents/cleveractors-core#77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Metadata
Commit Message:
chore(epic): track LLM agent runtime stabilizationBackground and context
Beyond the two standards-conformance tracks — the Actor Configuration Standard Legendary (#9) and the Package Registry Client Epic (#22) — a distinct body of work has accumulated whose purpose is not new capability or spec conformance but operational hardening of the LLM agent runtime: making agent execution correct, resilient, and resource-bounded under real-world conditions (transient LLM/network failures, tool-call loops, token accounting, credential handling, cost ceilings).
These tickets were filed independently, are all recent (repo created 2026-05-17; every issue below falls within the last ~2.5 months), and — unlike the registry (#22) and public-API (#17) clusters — had no parent Epic. This Epic groups them so stabilization progress is visible as a single track.
Scope
In scope — features or bugfixes that stabilize the existing runtime (correctness, reliability, resource enforcement) and are not already owned by another Epic.
Explicitly out of scope (and why):
stream_message), #73 (tool_agent_class), #75 (type: toolgraph node) add functionality rather than stabilize existing behavior. (#67 is borderline — parity work; flag if it should move in.)Child issues
Bugfixes (runtime correctness & reliability):
compile_actor()drops graph-levelsystem_promptfix(runtime): input validation, credential safety, proper error propagationLLMAgent.cleanup()closes shared cached httpx clients, breaking subsequent runsfix(agents): validateLLMAgenttool dispatch against declared tools listbug(agents): LLM token consumption undercounted (pruning calls untracked)Stabilization features (resilience & resource enforcement):
feat(tool-loop): token-budget awareness and tool-output pruningAcceptance criteria
This Epic is done when all child issues above are closed and their individual Definition-of-Done criteria are met, and specifically:
system_promptthreaded (#6).noxfull suite passes.Dependency graph
Relationship to other trackers
Complements — but is deliberately kept separate from — Legendary #9 (spec conformance) and Epic #22 (registry). Where a stabilization fix also advances conformance, the child issue notes it.
Definition of Done
noxreturns all-green.type: toolgraph node execution by wiringNodeConfig.tooltoToolAgent._execute_tool