Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
integration. Hosted launch and payment qualification are tracked separately.
- Add managed Claude Code/Codex installation, user login services, native session
attachment, non-consuming inbox monitoring and MCP tool metadata.
- Re-running install after an upgrade now restarts an out-of-date managed
daemon and verifies the replacement process before reporting success.
A pending-activation record makes retries reactivate after a failed or
interrupted attempt (including same-version rebuilds) instead of falsely
reporting "already current", and an unhealthy managed daemon is restarted
and verified rather than silently reused. Unchanged reinstalls still skip
the restart, and manually started daemons keep the existing reuse behavior.
- Preserve existing protocol 0.1 health/archive identifiers, local data paths,
`OCTOBER_BUS_*` configuration, applied migrations and hosted deployment paths.

Expand Down
15 changes: 14 additions & 1 deletion cmd/agentintercom/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,20 @@ func installCommand(args []string, out io.Writer) error {
if err != nil {
return err
}
if _, err = bus.ReadRunFile(p.RunFile); err != nil && !*noService {
needsService := false
if _, err = bus.ReadRunFile(p.RunFile); err != nil {
needsService = !*noService
} else if !*noService {
// A managed daemon that is not provably on this build must be
// upgraded instead of silently reused; an unevaluated managed
// installation fails loudly rather than reporting success.
stale, serr := managedDaemonNeedsUpgrade(p)
if serr != nil {
return fmt.Errorf("could not inspect the managed login service; refusing to reuse an unevaluated daemon: %w", serr)
}
needsService = stale
}
if needsService {
if err = manageService("install", out); err != nil {
return err
}
Expand Down
Loading
Loading