(agentScope string)
| 139 | } |
| 140 | |
| 141 | func (p *SkillPersistence) ClearForScope(agentScope string) { |
| 142 | if p == nil { |
| 143 | return |
| 144 | } |
| 145 | p.mu.Lock() |
| 146 | defer p.mu.Unlock() |
| 147 | delete(p.records, agentScope) |
| 148 | delete(p.order, agentScope) |
| 149 | } |
| 150 | |
| 151 | func (p *SkillPersistence) ClearAll() { |
| 152 | if p == nil { |