(ctx context.Context, state *AgentState)
| 428 | |
| 429 | func (e *CoreExecutionEngine) MarkSkillHistoryCompacted(agentScope string) { |
| 430 | if agentScope == "" { |
| 431 | agentScope = "main" |
| 432 | } |
| 433 | e.mu.Lock() |
| 434 | defer e.mu.Unlock() |
| 435 | if e.skillRecoveryReady == nil { |
| 436 | e.skillRecoveryReady = map[string]bool{} |
| 437 | } |
| 438 | e.skillRecoveryReady[agentScope] = true |
| 439 | } |
| 440 |