MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / isStableTask

Function isStableTask

agent/task_runtime.go:717–727  ·  view source on GitHub ↗
(record *AgentTaskRecord)

Source from the content-addressed store, hash-verified

715}
716
717func isStableTask(record *AgentTaskRecord) bool {
718 if record == nil {
719 return true
720 }
721 statuses := nonReusableStableStatuses
722 if record.Reusable {
723 statuses = reusableStableStatuses
724 }
725 _, ok := statuses[record.Status]
726 return ok
727}
728
729func (rt *AgentTaskRuntime) enqueueLocked(record *AgentTaskRecord, summary, result string) {
730 notification := TaskNotification{

Callers 1

snapshotMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected