Claude session links miss sessions under an agent's own config directory, and a failed read looks like no sessions #740
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#740
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found during IW-678 (Claude session links). Items:
<CLAUDE_CONFIG_DIR>/sessions, so a Remote Control session started under another config directory (on this machine: the agents under ~/.claude while the server uses ~/.claude-iw) gets no Claude link on any page. LiveAgent.configDir makes the fix small: also read the sessions directories of the live agents' config directories.environ), so the second agent's transcript is not read — AgentSessionService.scalaconfigDirsForuses the fallback only when the list is empty; review-phase-01-20261007-045846.md (architecture, error-handling).CLAUDE_CONFIG_DIR(server or agent) becomesNonefor transcripts with no message, and a failed/proclisting looks like "no agents" — ServerDaemon.scalaclaudeConfigDir.toOption, ClaudeConfigDir.ofEnviron, LiveAgentReader.agentsgetOrElse(Nil); review-phase-01-20261007-045846.md (error-handling).Intake: agent-ready
Workflow: diagnostic
Reason: all gates passed
Analysis: project-management/issues/IW-740/analysis.md on branch IW-740
Implement: needs-human
Reason: batch-implement exit 1 — the kanon plugin's batch-implement command does not compile against the iw-cli core on this branch
The branch was merged with
mainat33e14e5fbefore the run. Since #778–#780,mainreturnsTrackerErrorfrom the tracker port's forge calls, and the installed kanon plugin (lib/batch/ForgeCatchUp.scala:143) still expectsString. No phase ran, and nobatch-implement.logwas written. The cause is in the plugin, not in this issue: everybatch-implementrun in iw-cli fails the same way until the plugin follows the port change.Release: the implement loop failed this issue for a reason outside it. The kanon plugin did not compile against iw-cli main, because the tracker port now returns TrackerError (iw-cli #778). The plugin fix is dev-docs #484, and iw-cli 0.22.1 carries the core change. The issue goes back to the implement loop.