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

Method getTaskLocked

agent/task_runtime.go:759–768  ·  view source on GitHub ↗
(taskID, scopeID string, forceScopeCheck bool)

Source from the content-addressed store, hash-verified

757}
758
759func (rt *AgentTaskRuntime) getTaskLocked(taskID, scopeID string, forceScopeCheck bool) *AgentTaskRecord {
760 record := rt.records[taskID]
761 if record == nil {
762 return nil
763 }
764 if forceScopeCheck && record.ParentScopeID != scopeID {
765 return nil
766 }
767 return record
768}
769
770func (rt *AgentTaskRuntime) registerRecordLocked(record *AgentTaskRecord, createTaskScope bool) {
771 rt.records[record.TaskID] = record

Callers 2

StopTaskMethod · 0.95
snapshotMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected