For a long-running daemon program we've worked on, we've compiled a swank server into the program, so that one can attach a slime session. Possibly worth investigating?