fix: clean up dead code and fix indentation in runtime PR
- Remove unused ensureRefinerySession function from start.go - Remove unused ensureSession and ensureWitness functions from up.go - Remove unused ensureWitnessSession function from witness.go - Remove orphaned imports (runtime, session, constants, config, rig, filepath, time) - Fix indentation error in daemon.go triggerPendingSpawns comment These functions were added as part of the Codex/OpenCode runtime support but were never wired up. The existing managers (refinery.Manager.Start, witness.Manager.Start) already handle session creation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
committed by
Steve Yegge
parent
98e154b18e
commit
9fe9323b9c
@@ -547,7 +547,7 @@ func (d *Daemon) triggerPendingSpawns() {
|
||||
|
||||
d.logger.Printf("Found %d pending spawn(s), attempting to trigger...", len(pending))
|
||||
|
||||
// Trigger pending spawns (uses WaitForRuntimeReady with short timeout)
|
||||
// Trigger pending spawns (uses WaitForRuntimeReady with short timeout)
|
||||
results, err := polecat.TriggerPendingSpawns(d.config.TownRoot, triggerTimeout)
|
||||
if err != nil {
|
||||
d.logger.Printf("Error triggering spawns: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user