Skip to content

feat(config): move daemon.sock to ~/.clagentic/console/ subdir (lr-88fe)#199

Merged
akuehner merged 2 commits into
mainfrom
feat/lr-88fe-console-subdir
Jun 9, 2026
Merged

feat(config): move daemon.sock to ~/.clagentic/console/ subdir (lr-88fe)#199
akuehner merged 2 commits into
mainfrom
feat/lr-88fe-console-subdir

Conversation

@akuehner

@akuehner akuehner commented Jun 9, 2026

Copy link
Copy Markdown
Member

Move daemon.sock to ~/.clagentic/console/ subdir (lr-88fe)

Establishes the per-tool subdir convention under ~/.clagentic/. Console now writes its socket to ~/.clagentic/console/daemon.sock instead of the flat ~/.clagentic/daemon.sock, preventing collision with other clagentic tools.

Changes:

  • lib/config.js socketPath(): adds console/ segment for Unix socket path
  • lib/config.js ensureConfigDir(): creates ~/.clagentic/console/ (0o700) on startup
  • lib/config.js ensureConfigDir(): one-time warning if old flat socket path detected

Out of scope (docs/** not in .crew/amos.yaml allowed_paths):

  • docs/guides/architecture.md mermaid diagram update
  • CHANGELOG.md breaking-change notice

Follow-ups: clagentic-relay default path update; widen amos.yaml scope to docs/**

akuehner and others added 2 commits June 9, 2026 16:56
Establishes per-tool subdir convention under ~/.clagentic/. Console now
writes its socket to ~/.clagentic/console/daemon.sock instead of the flat
~/.clagentic/daemon.sock, avoiding collision with other clagentic tools.

- socketPath(): adds "console" segment for Unix socket path
- ensureConfigDir(): creates ~/.clagentic/console/ (mode 0o700) on startup
- prints a one-time warning if the old flat socket path is detected

docs/guides/architecture.md and CHANGELOG.md updates are blocked by
.crew/amos.yaml scope (docs/** not in allowed_paths). Follow-up: add
docs/** to scope or update manually.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…88fe)

- architecture.md mermaid diagram: ~/.clagentic/daemon.sock → ~/.clagentic/console/daemon.sock
- CHANGELOG: add Unreleased breaking-change notice for the path move

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@akuehner akuehner merged commit 566e7e6 into main Jun 9, 2026
1 check passed
@akuehner akuehner deleted the feat/lr-88fe-console-subdir branch June 9, 2026 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant