feat: deploy workspace context files + fix duplicate process (#139, #141) #142

Merged
Zeus merged 2 commits from feat/deploy-workspace-context into main 2026-02-27 11:35:51 +00:00
Collaborator

Changes

Workspace context deployment (#141)

  • New workspace/ directory containing Alpha's context files (SOUL.md, TOOLS.md)
  • deploy.sh copies workspace/*.md to ~/.cobot/workspace/ on each deploy
  • Context files are now versioned, reviewable, and auto-deployed
  • workspace/README.md documents the pattern

Fix duplicate process on deploy (#139)

  • deploy.sh now explicitly kills existing cobot processes before restarting
  • Graceful shutdown with 10s timeout, then SIGKILL
  • pkill -f "cobot run" catches any stray processes (e.g. root-owned duplicates)
  • PID file cleaned up before restart

Design Decisions

  • Overwrite (not merge) — simpler, predictable
  • Skip README.md from copy — it's repo docs, not agent context
  • memory/ files excluded — runtime state, not config

Note: This PR also creates deploy.sh (overlaps with #137 in PR #138). Whichever merges first wins; the other will need a rebase.

Closes #139 #141

## Changes ### Workspace context deployment (#141) - New `workspace/` directory containing Alpha's context files (SOUL.md, TOOLS.md) - `deploy.sh` copies `workspace/*.md` to `~/.cobot/workspace/` on each deploy - Context files are now versioned, reviewable, and auto-deployed - `workspace/README.md` documents the pattern ### Fix duplicate process on deploy (#139) - `deploy.sh` now explicitly kills existing cobot processes before restarting - Graceful shutdown with 10s timeout, then SIGKILL - `pkill -f "cobot run"` catches any stray processes (e.g. root-owned duplicates) - PID file cleaned up before restart ### Design Decisions - Overwrite (not merge) — simpler, predictable - Skip `README.md` from copy — it's repo docs, not agent context - `memory/` files excluded — runtime state, not config **Note:** This PR also creates `deploy.sh` (overlaps with #137 in PR #138). Whichever merges first wins; the other will need a rebase. Closes #139 #141
- Add workspace/ directory with Alpha context files (SOUL.md, TOOLS.md)
- deploy.sh copies workspace/*.md to ~/.cobot/workspace/ on deploy
- deploy.sh now kills existing processes before restart (fixes #139)
- Add workspace/README.md documenting the pattern

Closes #139 #141
Zeus merged commit 390fb64715 into main 2026-02-27 11:35:51 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ultanio/cobot!142
No description provided.