Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix(slashdo): override update/help commands for submodule-based setup

Adam Eivy6731a2486819
diff --git a/.claude/commands/do/help.md b/.claude/commands/do/help.md
deleted file mode 120000
index 0061762d3e..0000000000
--- a/.claude/commands/do/help.md
+++ /dev/null
@@ -1 +0,0 @@
-../../../lib/slashdo/commands/do/help.md
\ No newline at end of file
diff --git a/.claude/commands/do/help.md b/.claude/commands/do/help.md
new file mode 100644
index 0000000000..a893be428f
--- /dev/null
+++ b/.claude/commands/do/help.md
@@ -0,0 +1,36 @@
+---
+description: List all available slashdo commands
+---
+
+# slashdo Commands
+
+List all available `/do:*` commands with their descriptions.
+
+## Steps
+
+1. **List commands**: Print a table of all available slashdo commands:
+
+| Command | Description |
+|---|---|
+| `/do:better` | Unified DevSecOps audit, remediation, per-category PRs, CI verification, and Copilot review loop |
+| `/do:better-swift` | SwiftUI-optimized DevSecOps audit with multi-platform coverage (iOS, macOS, watchOS, tvOS, visionOS) |
+| `/do:fpr` | Commit, push to fork, and open a PR against the upstream repo |
+| `/do:goals` | Scan codebase to infer project goals, clarify with user, and generate GOALS.md |
+| `/do:help` | List all available slashdo commands |
+| `/do:omd` | Audit and optimize markdown files (CLAUDE.md, README.md, etc.) against best practices |
+| `/do:pr` | Commit, push, and open a PR against the repo's default branch |
+| `/do:push` | Commit and push all work with changelog |
+| `/do:release` | Create a release PR using the project's documented release workflow |
+| `/do:replan` | Review and clean up PLAN.md, extract docs from completed work |
+| `/do:review` | Deep code review of changed files against best practices |
+| `/do:rpr` | Resolve PR review feedback with parallel agents |
+| `/do:update` | Update slashdo submodule to the latest version |
+
+2. **Check for updates**: Run `git -C lib/slashdo log --oneline -1` to show the current slashdo commit, and check if the submodule is behind remote with `git submodule status lib/slashdo`.
+
+## Notes
+
+- PortOS bundles slashdo as a git submodule at `lib/slashdo`
+- Commands are symlinked from `lib/slashdo/commands/do/` into `.claude/commands/do/`
+- To update: `git submodule update --remote lib/slashdo`
+- For more info, see https://github.com/atomantic/slashdo
diff --git a/.claude/commands/do/update.md b/.claude/commands/do/update.md
deleted file mode 120000
index 31097f7776..0000000000
--- a/.claude/commands/do/update.md
+++ /dev/null
@@ -1 +0,0 @@
-../../../lib/slashdo/commands/do/update.md
\ No newline at end of file
diff --git a/.claude/commands/do/update.md b/.claude/commands/do/update.md
new file mode 100644
index 0000000000..4befdfcb53
--- /dev/null
+++ b/.claude/commands/do/update.md
@@ -0,0 +1,28 @@
+---
+description: Update slashdo commands to the latest version
+---
+
+# Update slashdo
+
+Update the bundled slashdo submodule to the latest version.
+
+## Steps
+
+1. **Update the submodule**:
+ ```bash
+ git submodule update --remote lib/slashdo
+ ```
+
+2. **Show what changed**:
+ - Run `git diff lib/slashdo` to see if the submodule pointer changed
+ - If it changed, run `git log --oneline HEAD...$(git -C lib/slashdo rev-parse HEAD) -- .` inside the submodule to show new commits
+
+3. **Commit if updated**:
+ - If the submodule changed, stage and commit: `chore: update slashdo submodule`
+ - If no changes, report that slashdo is already up to date
+
+## Notes
+
+- PortOS bundles slashdo as a git submodule at `lib/slashdo`
+- Symlinks in `.claude/commands/do/` point into the submodule
+- No npm install needed — the submodule provides commands directly