Rohan03 commited on
Commit
6d0b9d4
·
verified ·
1 Parent(s): 87eb9bf

refactor: modularity fixes + plugin registry + compiled research

Browse files
Files changed (1) hide show
  1. purpose_agent/hitl.py +2 -2
purpose_agent/hitl.py CHANGED
@@ -390,7 +390,7 @@ class HITLOrchestrator:
390
 
391
  # Post-task
392
  result = TaskResult(trajectory=trajectory, final_state=current_state)
393
- self.orch._post_task(trajectory, [])
394
  return result
395
 
396
  def inject_heuristic(self, pattern: str, strategy: str, tier: str = "strategic") -> None:
@@ -403,7 +403,7 @@ class HITLOrchestrator:
403
  q_value=1.0, # Human-taught = maximum confidence
404
  )
405
  self.orch.optimizer.heuristic_library.append(h)
406
- self.orch._sync_memory()
407
  logger.info(f"Injected heuristic: '{pattern}' → '{strategy}'")
408
 
409
  def _save_checkpoint(
 
390
 
391
  # Post-task
392
  result = TaskResult(trajectory=trajectory, final_state=current_state)
393
+ self.orch.post_task(trajectory, [])
394
  return result
395
 
396
  def inject_heuristic(self, pattern: str, strategy: str, tier: str = "strategic") -> None:
 
403
  q_value=1.0, # Human-taught = maximum confidence
404
  )
405
  self.orch.optimizer.heuristic_library.append(h)
406
+ self.orch.sync_memory()
407
  logger.info(f"Injected heuristic: '{pattern}' → '{strategy}'")
408
 
409
  def _save_checkpoint(