configs-all 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +3 -0
- package/CLAUDE.md +94 -0
- package/README.md +424 -0
- package/TERMINAL_SHORTCUTS.md +96 -0
- package/WINDOWS_COMPATIBILITY.md +85 -0
- package/WINDOWS_MCP_SETUP.md +133 -0
- package/apps/RectangleConfig.plist +0 -0
- package/apps/Synergy +84 -0
- package/apps/iStat Menus Settings.ismp7 +0 -0
- package/claude/CLAUDE.md +228 -0
- package/claude/commands/changelog.md +36 -0
- package/claude/commands/commit.md +29 -0
- package/claude/commands/context.md +112 -0
- package/claude/commands/dash.md +37 -0
- package/claude/commands/deploy-check.md +37 -0
- package/claude/commands/deps.md +26 -0
- package/claude/commands/duplo.md +56 -0
- package/claude/commands/explain.md +43 -0
- package/claude/commands/fix-and-test.md +46 -0
- package/claude/commands/game-debug.md +66 -0
- package/claude/commands/games.md +53 -0
- package/claude/commands/go.md +147 -0
- package/claude/commands/guard.md +102 -0
- package/claude/commands/handoff.md +66 -0
- package/claude/commands/incident.md +144 -0
- package/claude/commands/init.md +78 -0
- package/claude/commands/k8s-debug.md +31 -0
- package/claude/commands/lint.md +27 -0
- package/claude/commands/merge-all.md +115 -0
- package/claude/commands/merge.md +129 -0
- package/claude/commands/mikpc.md +54 -0
- package/claude/commands/morning.md +72 -0
- package/claude/commands/partymode.md +105 -0
- package/claude/commands/plans.md +88 -0
- package/claude/commands/pr.md +41 -0
- package/claude/commands/prep.md +132 -0
- package/claude/commands/push-sync.md +82 -0
- package/claude/commands/push.md +34 -0
- package/claude/commands/research.md +73 -0
- package/claude/commands/retro.md +95 -0
- package/claude/commands/review-pr.md +96 -0
- package/claude/commands/review.md +41 -0
- package/claude/commands/scaffold-agent.md +45 -0
- package/claude/commands/setup.md +92 -0
- package/claude/commands/ship-prod.md +97 -0
- package/claude/commands/ship.md +82 -0
- package/claude/commands/simplify.md +42 -0
- package/claude/commands/spike.md +110 -0
- package/claude/commands/status.md +37 -0
- package/claude/commands/sync.md +72 -0
- package/claude/commands/test.md +29 -0
- package/claude/commands/triage.md +72 -0
- package/claude/desktop/claude_desktop_config.json +9 -0
- package/claude/hooks.json +15 -0
- package/claude/mcp-servers.duplo.json +8 -0
- package/claude/mcp-servers.json +62 -0
- package/claude/scripts/psdebug.ps1 +7 -0
- package/claude/settings.json +38 -0
- package/claude/settings.local.json +4 -0
- package/claude/statusline-command.sh +94 -0
- package/claude/templates/CLAUDE-k8s-devops.md +58 -0
- package/claude/templates/CLAUDE-python-agent.md +47 -0
- package/claude/templates/CLAUDE-typescript-frontend.md +50 -0
- package/docker/ai-stack/docker-compose.yml +76 -0
- package/docker/ai-stack/searxng/limiter.toml +3 -0
- package/docker/ai-stack/searxng/settings.yml +39 -0
- package/docker/cli/config.json.template +15 -0
- package/docker/cli/daemon.json +9 -0
- package/docker/cli/features.json +3 -0
- package/docker/mcp/catalog.json +9 -0
- package/docker/mcp/catalogs/docker-mcp.yaml +15107 -0
- package/docker/mcp/config.yaml +0 -0
- package/docker/mcp/registry.yaml +37 -0
- package/docker/mcp/tools.yaml +0 -0
- package/docs/context/.gitkeep +0 -0
- package/docs/context/2026-03-02-configs.md +142 -0
- package/docs/handoff/.gitkeep +0 -0
- package/docs/incidents/.gitkeep +0 -0
- package/docs/plans/2026-02-28-autonomous-command-suite-design.md +250 -0
- package/docs/plans/2026-02-28-autonomous-command-suite.md +682 -0
- package/docs/plans/2026-03-01-ai-stack-split-architecture.md +72 -0
- package/docs/plans/2026-03-02-ai-stack-expansion.md +33 -0
- package/docs/plans/2026-03-02-merge-commands-design.md +58 -0
- package/docs/plans/2026-03-02-merge-commands.md +354 -0
- package/docs/research/.gitkeep +0 -0
- package/docs/research/2026-03-02-configs-repo-architecture.md +152 -0
- package/docs/retros/.gitkeep +0 -0
- package/docs/retros/2026-03-01-ai-stack-split-architecture.md +38 -0
- package/docs/spikes/.gitkeep +0 -0
- package/gh/config.yml +16 -0
- package/gh/hosts.yml +5 -0
- package/gh/main.json +103 -0
- package/ghostty/config +90 -0
- package/git/config/base.gitconfig +46 -0
- package/git/config/chiefmikey.gitconfig +11 -0
- package/git/config/personal.gitconfig +10 -0
- package/git/config/work.gitconfig +14 -0
- package/ide/cursor/extensions.txt +111 -0
- package/ide/cursor/keybindings.json +307 -0
- package/ide/cursor/mcp.json +92 -0
- package/ide/cursor/settings.json +544 -0
- package/ide/vscode/extensions.txt +120 -0
- package/ide/vscode/insiders/extensions.txt +119 -0
- package/ide/vscode/insiders/keybindings.json +294 -0
- package/ide/vscode/insiders/settings.json +518 -0
- package/ide/vscode/keybindings.json +294 -0
- package/ide/vscode/settings.json +526 -0
- package/ide/vscode/vscode/extensions.txt +43 -0
- package/iterm/Mikey Pro.json +951 -0
- package/iterm/com.googlecode.iterm2.plist +5549 -0
- package/iterm/font/MesloLGS NF Bold Italic.ttf +0 -0
- package/iterm/font/MesloLGS NF Bold.ttf +0 -0
- package/iterm/font/MesloLGS NF Italic.ttf +0 -0
- package/iterm/font/MesloLGS NF Regular.ttf +0 -0
- package/package.json +15 -0
- package/scripts/ai/deploy-ai-stack.sh +119 -0
- package/scripts/ai/fix-ai-proxy.service +12 -0
- package/scripts/ai/fix-ai-proxy.sh +25 -0
- package/scripts/brew/search/brew-search-results.sh +19 -0
- package/scripts/brew/search/brew-search.sh +34 -0
- package/scripts/brew/upgrade/brew-upgrade-autoupdate.sh +5 -0
- package/scripts/brew/upgrade/brew-upgrade-full-auto.sh +89 -0
- package/scripts/brew/upgrade/brew-upgrade-full.sh +159 -0
- package/scripts/docker/cleanup/docker-cleanup-manage.sh +163 -0
- package/scripts/docker/cleanup/docker-cleanup.cron +12 -0
- package/scripts/docker/cleanup/docker-cleanup.sh +280 -0
- package/scripts/docker/install/README.md +23 -0
- package/scripts/docker/install/docker-al2.sh +7 -0
- package/scripts/docker/install/docker-compose-al2.sh +15 -0
- package/scripts/gh/auth/auth.sh +12 -0
- package/scripts/gh/config/gh-config.sh +3 -0
- package/scripts/gh/gist/gh-gist-create.sh +29 -0
- package/scripts/gh/gist/gh-gist-delete.sh +1 -0
- package/scripts/gh/gist/gh-gist-edit.sh +8 -0
- package/scripts/gh/gpg-key/gh-gpg-key-add.sh +3 -0
- package/scripts/gh/install/install.sh +7 -0
- package/scripts/gh/label/gh-label-clone.sh +0 -0
- package/scripts/gh/label/gh-label-create.sh +0 -0
- package/scripts/gh/label/gh-label-delete.sh +0 -0
- package/scripts/gh/label/gh-label-edit.sh +0 -0
- package/scripts/gh/label/gh-label-list.sh +0 -0
- package/scripts/gh/secret/gh-secret-delete.sh +24 -0
- package/scripts/gh/secret/gh-secret-set.sh +70 -0
- package/scripts/gh/ssh-key/gh-ssh-key-add.sh +8 -0
- package/scripts/git/add/git-add.sh +3 -0
- package/scripts/git/auth/README.md +11 -0
- package/scripts/git/auth/https.sh +20 -0
- package/scripts/git/auth/ssh-mac.sh +41 -0
- package/scripts/git/branch-delete/git-branch-delete.sh +16 -0
- package/scripts/git/checkout/git-checkout-stash.sh +32 -0
- package/scripts/git/temp/git-temp-pull.sh +6 -0
- package/scripts/git/temp/git-temp-push.sh +5 -0
- package/scripts/install/fresh.zsh +34 -0
- package/scripts/install/full-install.zsh +193 -0
- package/scripts/linux/codedeploy/README.md +19 -0
- package/scripts/linux/codedeploy/linux-codedeploy-al2.sh +13 -0
- package/scripts/linux/codedeploy/linux-codedeploy-index.sh +16 -0
- package/scripts/linux/codedeploy/linux-codedeploy-ubuntu.sh +14 -0
- package/scripts/linux/coredns/README.md +17 -0
- package/scripts/linux/coredns/linux-coredns-al2.sh +29 -0
- package/scripts/linux/wifi/01-netconf.yaml +21 -0
- package/scripts/linux/wifi/wifi-ubuntu.sh +17 -0
- package/scripts/mac/dock-sort/mac-dock-sort.sh +87 -0
- package/scripts/mac/dropbox-ignore/mac-dropbox-ignore.sh +12 -0
- package/scripts/mac/sudo-askpass/mac-sudo-askpass.sh +50 -0
- package/scripts/mac/sudo-askpass/setup-sudo-password.sh +49 -0
- package/scripts/mac/upgrade/mac-upgrade.sh +21 -0
- package/scripts/mac/vpn/mac-vpn.sh +4 -0
- package/scripts/mcp/aws-mcp-wrapper.ps1 +97 -0
- package/scripts/mcp/aws-mcp-wrapper.sh +53 -0
- package/scripts/mcp/duplo-mcp-wrapper.sh +31 -0
- package/scripts/mcp/filesystem-mcp-wrapper.ps1 +43 -0
- package/scripts/mcp/filesystem-mcp-wrapper.sh +34 -0
- package/scripts/mcp/git-mcp-wrapper.ps1 +42 -0
- package/scripts/mcp/git-mcp-wrapper.sh +33 -0
- package/scripts/mcp/github-mcp-wrapper.ps1 +43 -0
- package/scripts/mcp/github-mcp-wrapper.sh +19 -0
- package/scripts/mcp/kubernetes-mcp-wrapper.ps1 +22 -0
- package/scripts/mcp/kubernetes-mcp-wrapper.sh +16 -0
- package/scripts/mcp/mcp-launcher.ps1 +56 -0
- package/scripts/mcp/mcp-launcher.sh +71 -0
- package/scripts/mcp/mongodb-mcp-wrapper.ps1 +26 -0
- package/scripts/mcp/mongodb-mcp-wrapper.sh +17 -0
- package/scripts/mcp/notion-mcp-wrapper.ps1 +23 -0
- package/scripts/mcp/notion-mcp-wrapper.sh +14 -0
- package/scripts/mcp/postgres-mcp-wrapper.ps1 +23 -0
- package/scripts/mcp/postgres-mcp-wrapper.sh +16 -0
- package/scripts/npm/ncu/npm-ncu.sh +24 -0
- package/scripts/npm/upgrade/npm-upgrade.sh +51 -0
- package/scripts/qmk/build_reviung41.sh +28 -0
- package/scripts/qmk/sync_unicorne.sh +44 -0
- package/scripts/sync/README.md +64 -0
- package/scripts/sync/config-common.zsh +882 -0
- package/scripts/sync/pull-configs.ps1 +33 -0
- package/scripts/sync/pull-configs.zsh +278 -0
- package/scripts/sync/push-configs.ps1 +91 -0
- package/scripts/sync/push-configs.zsh +384 -0
- package/shell/alias/alias-d.zsh +333 -0
- package/shell/alias/alias.zsh +36 -0
- package/shell/alias/categories/development.zsh +157 -0
- package/shell/alias/categories/environment.zsh +13 -0
- package/shell/alias/categories/git.zsh +40 -0
- package/shell/alias/categories/github-functions.zsh +459 -0
- package/shell/alias/categories/network.zsh +46 -0
- package/shell/alias/categories/path.zsh +46 -0
- package/shell/alias/categories/system.zsh +78 -0
- package/shell/alias/categories/wolfe-server.zsh +11 -0
- package/shell/powershell/Microsoft.PowerShell_profile.ps1 +208 -0
- package/shell/zsh/.p10k.zsh +1832 -0
- package/shell/zsh/.zshrc +87 -0
- package/shell/zsh/config/completion.zsh +31 -0
- package/shell/zsh/config/functions.zsh +31 -0
- package/shell/zsh/config/keybindings.zsh +13 -0
- package/shell/zsh/config/options.zsh +56 -0
- package/shell/zsh/config/plugins.zsh +83 -0
- package/shell/zsh/config/variables.zsh +191 -0
- package/shell/zsh/powerlevel10k.zsh-theme +83 -0
- package/shell/zsh/zsh-autosuggestions.zsh +871 -0
- package/ssh/config +46 -0
- package/ssh/config.duplo +21 -0
- package/ssh/config.mikpc +35 -0
- package/ssh/personal_signing.pub +1 -0
- package/templates/.envrc.example +34 -0
- package/templates/.envrc.quickstart +17 -0
- package/wezterm/wezterm.lua +249 -0
- package/wsl/.wslconfig +3 -0
- package/wsl/wsl.conf +18 -0
|
File without changes
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
registry:
|
|
2
|
+
aws-cdk-mcp-server:
|
|
3
|
+
ref: ""
|
|
4
|
+
aws-documentation:
|
|
5
|
+
ref: ""
|
|
6
|
+
awslabs-ccapi:
|
|
7
|
+
ref: ""
|
|
8
|
+
awslabs-cloudtrail:
|
|
9
|
+
ref: ""
|
|
10
|
+
awslabs-cost-explorer:
|
|
11
|
+
ref: ""
|
|
12
|
+
awslabs-iam:
|
|
13
|
+
ref: ""
|
|
14
|
+
context7:
|
|
15
|
+
ref: ""
|
|
16
|
+
desktop-commander:
|
|
17
|
+
ref: ""
|
|
18
|
+
docker:
|
|
19
|
+
ref: ""
|
|
20
|
+
dockerhub:
|
|
21
|
+
ref: ""
|
|
22
|
+
github-chat:
|
|
23
|
+
ref: ""
|
|
24
|
+
grafana:
|
|
25
|
+
ref: ""
|
|
26
|
+
neo4j-memory:
|
|
27
|
+
ref: ""
|
|
28
|
+
node-code-sandbox:
|
|
29
|
+
ref: ""
|
|
30
|
+
perplexity-ask:
|
|
31
|
+
ref: ""
|
|
32
|
+
puppeteer:
|
|
33
|
+
ref: ""
|
|
34
|
+
wikipedia-mcp:
|
|
35
|
+
ref: ""
|
|
36
|
+
youtube_transcript:
|
|
37
|
+
ref: ""
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
# Context Snapshot: configs
|
|
2
|
+
|
|
3
|
+
_Date: 2026-03-02_
|
|
4
|
+
_Verified against: commit 8203206_
|
|
5
|
+
|
|
6
|
+
## Overview
|
|
7
|
+
|
|
8
|
+
Centralized config repo managing shell, git, IDE, SSH, Claude Code, Docker, and app configs across 4 machines (mikmac, mikbook, duplo, mikpc). Git-based sync — each machine has its own Dropbox clone. Mac is source of truth.
|
|
9
|
+
|
|
10
|
+
## Tech Stack
|
|
11
|
+
|
|
12
|
+
- **Shell**: Zsh scripts (.zsh/.sh) — entire codebase
|
|
13
|
+
- **Linting**: mikey-pro (Prettier + ESLint + Stylelint) via package.json
|
|
14
|
+
- **JSON processing**: jq (config transforms Mac↔Windows)
|
|
15
|
+
- **Validation**: plutil (plist), yq (YAML), jq (JSON), zsh -n (shell syntax)
|
|
16
|
+
- **Terminals**: Ghostty, WezTerm, iTerm2
|
|
17
|
+
- **IDE**: VS Code (stable + insiders), Cursor
|
|
18
|
+
- **AI**: Ollama on mikpc (RTX 5090), Docker GPU services (ComfyUI, Speaches, ACE-Step)
|
|
19
|
+
|
|
20
|
+
## Project Structure
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
configs/
|
|
24
|
+
├── shell/ # .zshrc, aliases (8 categories), p10k, powershell
|
|
25
|
+
├── git/config/ # base + personal/work/chiefmikey gitconfigs
|
|
26
|
+
├── ide/ # VS Code, Cursor settings/keybindings/mcp
|
|
27
|
+
├── ssh/ # Host-specific SSH configs
|
|
28
|
+
├── gh/ # GitHub CLI config
|
|
29
|
+
├── claude/ # Settings, hooks, commands (38), templates, scripts, desktop
|
|
30
|
+
├── docker/ # ai-stack compose, MCP registry/catalog, CLI config
|
|
31
|
+
├── ghostty/ # Ghostty terminal config
|
|
32
|
+
├── wezterm/ # WezTerm config (Lua)
|
|
33
|
+
├── iterm/ # iTerm2 plist + font
|
|
34
|
+
├── wsl/ # .wslconfig, wsl.conf
|
|
35
|
+
├── apps/ # Rectangle, iStat Menus, Synergy
|
|
36
|
+
├── scripts/
|
|
37
|
+
│ ├── sync/ # push/pull-configs.zsh, config-common.zsh (THE core engine)
|
|
38
|
+
│ ├── ai/ # deploy-ai-stack.sh, fix-ai-proxy.sh
|
|
39
|
+
│ ├── mcp/ # MCP wrapper scripts (.sh + .ps1)
|
|
40
|
+
│ ├── install/ # fresh.zsh machine setup
|
|
41
|
+
│ ├── docker/ # Cleanup + cron management
|
|
42
|
+
│ ├── git/ # Git helper scripts
|
|
43
|
+
│ ├── gh/ # GitHub CLI management
|
|
44
|
+
│ ├── mac/ # VPN, dock, sudo-askpass
|
|
45
|
+
│ ├── brew/ # Homebrew management
|
|
46
|
+
│ ├── linux/ # codedeploy, coredns, wifi
|
|
47
|
+
│ ├── npm/ # Upgrade helpers
|
|
48
|
+
│ ├── qmk/ # Keyboard firmware build/sync
|
|
49
|
+
│ └── input/ # Reusable shell input helpers
|
|
50
|
+
├── docs/ # Persistent artifacts (research, context, plans, spikes, incidents, handoff, retros)
|
|
51
|
+
└── templates/ # .envrc examples
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Development Workflow
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# Deploy configs from repo → system
|
|
58
|
+
./scripts/sync/push-configs.zsh
|
|
59
|
+
|
|
60
|
+
# Backup system → repo
|
|
61
|
+
./scripts/sync/pull-configs.zsh
|
|
62
|
+
|
|
63
|
+
# Validate shell syntax
|
|
64
|
+
zsh -n <file>
|
|
65
|
+
|
|
66
|
+
# Validate JSON
|
|
67
|
+
jq empty <file>
|
|
68
|
+
|
|
69
|
+
# Docker cleanup
|
|
70
|
+
./scripts/docker/cleanup/docker-cleanup.sh --dry-run
|
|
71
|
+
|
|
72
|
+
# Deploy AI stack to mikpc
|
|
73
|
+
./scripts/ai/deploy-ai-stack.sh
|
|
74
|
+
|
|
75
|
+
# Fix WSL port proxy after restart
|
|
76
|
+
./scripts/ai/fix-ai-proxy.sh
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Machine Registry
|
|
80
|
+
|
|
81
|
+
| Machine | SSH Host | CONFIG_DIR | Git Config | SSH Config |
|
|
82
|
+
|---------|---------|-----------|-----------|-----------|
|
|
83
|
+
| mikmac | — | `~/Dropbox/dev/configs` | personal | config |
|
|
84
|
+
| mikbook | mikbook | `~/Dropbox/mikbook/dev/configs` | personal | config |
|
|
85
|
+
| duplo | duplo | `~/Dropbox/duplo/dev/chiefmikey/configs` | work | config.duplo |
|
|
86
|
+
| mikpc | mikpc | `~/Dropbox/mikpc/dev/configs` | personal | config.mikpc |
|
|
87
|
+
|
|
88
|
+
## Architecture
|
|
89
|
+
|
|
90
|
+
### Sync Engine (config-common.zsh)
|
|
91
|
+
|
|
92
|
+
Core abstractions:
|
|
93
|
+
- `get_config_dest(file)` → destination path (platform/host-aware, 50+ mappings)
|
|
94
|
+
- `get_validation_func(file)` → validator function
|
|
95
|
+
- `safe_copy(src, dest, validator)` → validate → backup → copy (returns 0 on error)
|
|
96
|
+
- `transform_mcp_mac_to_windows()` → Path/command transforms for Cursor MCP
|
|
97
|
+
- `transform_cursor_settings_mac_to_windows()` → Strip Mac-only keys
|
|
98
|
+
|
|
99
|
+
Claude Code special handling:
|
|
100
|
+
- `push_claude_dirs()` → Sync commands/templates/scripts with stale cleanup
|
|
101
|
+
- `push_mcp_servers()` → Merge into .claude.json (preserves OAuth/state), host-specific overlay
|
|
102
|
+
- `enforce_claude_preferences()` → Force remoteControl + autoCompact settings
|
|
103
|
+
|
|
104
|
+
### Shell Init Chain
|
|
105
|
+
|
|
106
|
+
.zshrc → variables → options → completion → keybindings → plugins → functions → alias dispatcher → 8 category files (+ conditional duplo aliases)
|
|
107
|
+
|
|
108
|
+
### AI Stack Split
|
|
109
|
+
|
|
110
|
+
- **wolfe-server**: Web UIs (Open WebUI :3003, Perplexica :3002, n8n :5678, SearXNG :4000, Qdrant :6333)
|
|
111
|
+
- **mikpc**: GPU compute (Ollama :11434, ComfyUI :8188, ACE-Step :7860, Speaches :8000)
|
|
112
|
+
- Cross-machine: LAN IP 192.168.0.5 (Tailscale ACL blocks tag:wolfe)
|
|
113
|
+
|
|
114
|
+
## Testing
|
|
115
|
+
|
|
116
|
+
No automated test suite. Verify by:
|
|
117
|
+
1. `./scripts/sync/push-configs.zsh` — check output for errors
|
|
118
|
+
2. `zsh -n <file>` — syntax check shell scripts
|
|
119
|
+
3. `jq empty <file>` — validate JSON configs
|
|
120
|
+
|
|
121
|
+
## Recent Trajectory (last 30 commits)
|
|
122
|
+
|
|
123
|
+
Major themes in reverse chronological order:
|
|
124
|
+
1. **Shell aliases** — Claude shorthand aliases (c, cr, cs, claude-resume, claude-skip)
|
|
125
|
+
2. **AI stack split** — Separated GPU compute (mikpc) from web UIs (wolfe-server), ACE-Step checkpoint persistence
|
|
126
|
+
3. **Command suite buildout** — 38 slash commands for autonomous Claude Code operation (/partymode, /prep, /go, /research, /plans, /spike, /incident, /ship, /guard, etc.)
|
|
127
|
+
4. **Plan/doc system** — Status tracking, resumability, execution journals, staleness verification
|
|
128
|
+
5. **Local AI** — Ollama aliases with native API + glow, AI stack deployment scripts, WSL port proxy
|
|
129
|
+
6. **MCP improvements** — GitHub MCP switched from Docker to npx, statusline metrics (cache %, cost, tokens)
|
|
130
|
+
|
|
131
|
+
## Gotchas
|
|
132
|
+
|
|
133
|
+
1. **duplo path** is `chiefmikey/configs` not `configs`
|
|
134
|
+
2. **No `set -e`** in sync scripts — intentionally removed for graceful failures
|
|
135
|
+
3. **Mac is source of truth** for Cursor/MCP — never pull from Windows
|
|
136
|
+
4. **Windows backups** go to `~/.config/config-backups` (NTFS issues)
|
|
137
|
+
5. **WINDOWS_USER** hardcoded to "wolfe" in config-common.zsh
|
|
138
|
+
6. **WSL IP changes** on restart — run fix-ai-proxy.sh
|
|
139
|
+
7. **Port 3000** taken by AdGuard on wolfe-server — Open WebUI uses 3003
|
|
140
|
+
8. **Perplexica config** resets on restart — run configure.sh
|
|
141
|
+
9. **SCP broken** on mikpc — use rsync
|
|
142
|
+
10. **MCP merge** preserves .claude.json state — only overwrites mcpServers key
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
# Design: Autonomous Command Suite (`/context`, `/plans`, `/prep`, `/go`, `/partyon`)
|
|
2
|
+
|
|
3
|
+
_Date: 2026-02-28_
|
|
4
|
+
|
|
5
|
+
## Goal
|
|
6
|
+
|
|
7
|
+
Replace built-in Claude Code plan mode with a suite of commands that leverage bypass permissions for deeper research, autonomous decision-making, and full end-to-end execution. The system produces persistent documentation artifacts that reduce token costs across sessions and set Claude up for maximum autonomous work with minimum human input.
|
|
8
|
+
|
|
9
|
+
## Architecture
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
Standalone (each works independently):
|
|
13
|
+
/research → docs/research/ (pure understanding — already exists)
|
|
14
|
+
/context → docs/context/ (repo/machine knowledge snapshot)
|
|
15
|
+
/plans → docs/plans/ (implementation steps)
|
|
16
|
+
|
|
17
|
+
Orchestration:
|
|
18
|
+
/prep → updates research → validates context → creates plan
|
|
19
|
+
/go → executes latest plan to 100% completion with full verification
|
|
20
|
+
/partyon → /prep + /go — full autopilot, walk away and come back to done
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Artifact Flow
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
docs/
|
|
27
|
+
├── research/ # /research output — pure understanding, no intent
|
|
28
|
+
├── context/ # /context output — implementation-scoped knowledge snapshot
|
|
29
|
+
└── plans/ # /plans output — actionable implementation steps
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Each artifact type serves a different purpose:
|
|
33
|
+
|
|
34
|
+
- **Research** answers: "How does this work?"
|
|
35
|
+
- **Context** answers: "What do I need to know to change this?"
|
|
36
|
+
- **Plans** answers: "What exactly will I do?"
|
|
37
|
+
|
|
38
|
+
Future sessions read existing artifacts first, verify against current code, and skip redundant exploration — saving significant tokens on already-understood areas.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Command Designs
|
|
43
|
+
|
|
44
|
+
### `/context` — Repo & Machine Knowledge Snapshot
|
|
45
|
+
|
|
46
|
+
**Purpose:** Build a comprehensive context document for the current repo so Claude always has deep understanding without burning tokens on re-exploration every session.
|
|
47
|
+
|
|
48
|
+
**Input:** None required (repo-scoped). Optional `$ARGUMENTS` to focus on a specific area.
|
|
49
|
+
|
|
50
|
+
**What it gathers:**
|
|
51
|
+
|
|
52
|
+
- Project CLAUDE.md (conventions, commands, architecture)
|
|
53
|
+
- All `docs/research/*.md` artifacts
|
|
54
|
+
- All `docs/context/*.md` (previous context snapshots — updates, doesn't duplicate)
|
|
55
|
+
- Key file structure (not just listing — roles of key dirs/files)
|
|
56
|
+
- Tech stack detection (package.json, requirements.txt, Makefile, etc.)
|
|
57
|
+
- Recent git history (last 20-30 commits for trajectory)
|
|
58
|
+
- Current machine/environment context (hostname, platform, available tools)
|
|
59
|
+
- Test infrastructure (what test framework, how to run, what coverage looks like)
|
|
60
|
+
- Build/deploy pipeline (CI config, deploy scripts, infra)
|
|
61
|
+
- Known gotchas from MEMORY.md if relevant
|
|
62
|
+
|
|
63
|
+
**Output:** `docs/context/YYYY-MM-DD-<repo-name>.md`
|
|
64
|
+
|
|
65
|
+
**Key behavior:** If a context doc already exists, reads it first, verifies against current state, and updates it rather than creating a new one. The file becomes a living document that gets cheaper to maintain over time.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
### `/plans` — Implementation Plan Generator
|
|
70
|
+
|
|
71
|
+
**Purpose:** Generate a detailed, step-by-step implementation plan based on existing research, context, and its own code understanding. Usable standalone when you already have good context and just need the plan.
|
|
72
|
+
|
|
73
|
+
**Input:** `$ARGUMENTS` — task description
|
|
74
|
+
|
|
75
|
+
**What it does:**
|
|
76
|
+
|
|
77
|
+
1. Reads existing `docs/context/` and `docs/research/` for the repo (doesn't re-explore — trusts these as starting context)
|
|
78
|
+
2. Does targeted code reading for the specific area the task touches (file bodies, not just signatures)
|
|
79
|
+
3. Makes all architectural and implementation decisions autonomously with documented rationale
|
|
80
|
+
4. Writes the plan to `docs/plans/YYYY-MM-DD-<task-slug>.md`
|
|
81
|
+
|
|
82
|
+
**Plan format:**
|
|
83
|
+
|
|
84
|
+
```markdown
|
|
85
|
+
# Plan: <Task>
|
|
86
|
+
_Date: YYYY-MM-DD_
|
|
87
|
+
_Context: docs/context/<file>.md_
|
|
88
|
+
_Research: docs/research/<file>.md (if applicable)_
|
|
89
|
+
|
|
90
|
+
## Goal
|
|
91
|
+
What this plan accomplishes in 1-2 sentences.
|
|
92
|
+
|
|
93
|
+
## Decisions & Rationale
|
|
94
|
+
Every non-obvious choice made, with reasoning.
|
|
95
|
+
|
|
96
|
+
## Steps
|
|
97
|
+
1. [Step title]
|
|
98
|
+
- File: exact/path/to/file.ts
|
|
99
|
+
- What: specific change description
|
|
100
|
+
- Why: reasoning if non-obvious
|
|
101
|
+
- Verify: how to confirm this step worked
|
|
102
|
+
|
|
103
|
+
## Verification Plan
|
|
104
|
+
- [ ] Tests to run (unit, e2e, integration)
|
|
105
|
+
- [ ] Lint/build commands
|
|
106
|
+
- [ ] Manual checks (browser, API, CLI)
|
|
107
|
+
- [ ] Edge cases to validate
|
|
108
|
+
|
|
109
|
+
## Risks
|
|
110
|
+
Known risks and mitigation for each.
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
**Key behavior:** Each step is 2-5 minutes of work, concrete enough for a subagent with zero prior context. Does NOT execute anything.
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
### `/prep` — The Orchestrator
|
|
118
|
+
|
|
119
|
+
**Purpose:** Full preparation pipeline — updates research, validates context, creates plan. Composes the three standalone commands with added intelligence.
|
|
120
|
+
|
|
121
|
+
**Input:** `$ARGUMENTS` — task description
|
|
122
|
+
|
|
123
|
+
**Phases:**
|
|
124
|
+
|
|
125
|
+
1. **Research phase** — deep exploration scoped to the task
|
|
126
|
+
- Reads ALL existing `docs/research/*.md` and `docs/context/*.md` first
|
|
127
|
+
- Verifies findings against actual current code (never trusts docs blindly)
|
|
128
|
+
- Updates existing research docs if stale, creates new ones if area isn't covered
|
|
129
|
+
- Writes/updates `docs/research/YYYY-MM-DD-<topic>.md`
|
|
130
|
+
|
|
131
|
+
2. **Context phase** — repo snapshot
|
|
132
|
+
- If `docs/context/` exists, reads and validates against current repo state
|
|
133
|
+
- Updates the context doc with any new understanding from research phase
|
|
134
|
+
- Adds task-specific context that future agents will need
|
|
135
|
+
- Writes/updates `docs/context/YYYY-MM-DD-<repo-name>.md`
|
|
136
|
+
|
|
137
|
+
3. **Plan phase** — implementation planning
|
|
138
|
+
- Has full benefit of freshly verified research + context
|
|
139
|
+
- Makes all decisions autonomously with documented rationale
|
|
140
|
+
- Writes `docs/plans/YYYY-MM-DD-<task-slug>.md`
|
|
141
|
+
- References the research and context docs in the plan header
|
|
142
|
+
|
|
143
|
+
4. **Report** — outputs the three file paths and a brief summary
|
|
144
|
+
|
|
145
|
+
**Key advantage over running commands separately:** `/prep` carries verified context across phases in a single session. Running them separately means each starts somewhat fresh.
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
### `/go` — Execute Plan to Completion
|
|
150
|
+
|
|
151
|
+
**Purpose:** Read the latest plan and execute it autonomously to 100% completion, including all verification.
|
|
152
|
+
|
|
153
|
+
**Input:** Optional `$ARGUMENTS` — a specific plan file path. If omitted, finds the most recent `docs/plans/*.md`.
|
|
154
|
+
|
|
155
|
+
**Execution flow:**
|
|
156
|
+
|
|
157
|
+
1. **Load & validate plan** — reads the plan file, checks it's well-formed
|
|
158
|
+
2. **Read context** — loads linked `docs/context/` and `docs/research/` files from plan header
|
|
159
|
+
3. **Execute via subagent-driven development:**
|
|
160
|
+
- Dispatch implementer subagent with the step + full context
|
|
161
|
+
- Implementer implements, tests, commits
|
|
162
|
+
- Dispatch spec compliance reviewer
|
|
163
|
+
- Dispatch code quality reviewer
|
|
164
|
+
- Fix any issues before moving to next step
|
|
165
|
+
4. **Verify after every step** — run the step's verification command
|
|
166
|
+
5. **Full verification at the end:**
|
|
167
|
+
- Complete test suite (unit, integration, e2e)
|
|
168
|
+
- Linter/formatter
|
|
169
|
+
- Build
|
|
170
|
+
- Browser testing if frontend (playwright/chrome MCP)
|
|
171
|
+
- API testing if backend
|
|
172
|
+
- Dry-run if infrastructure (kubectl, terraform)
|
|
173
|
+
- Whatever else the verification plan specifies
|
|
174
|
+
6. **Update artifacts:**
|
|
175
|
+
- Mark plan as completed with summary
|
|
176
|
+
- Update `docs/context/` if architecture changed
|
|
177
|
+
- Commit all changes with conventional commit messages
|
|
178
|
+
|
|
179
|
+
**Key behaviors:**
|
|
180
|
+
|
|
181
|
+
- Never claims done without fresh verification output as evidence
|
|
182
|
+
- If blocked, tries alternative approaches before asking for help
|
|
183
|
+
- If a test fails, debugs and fixes — doesn't skip
|
|
184
|
+
- Runs `superpowers:verification-before-completion` before any success claim
|
|
185
|
+
- Runs `superpowers:finishing-a-development-branch` at the end
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
### `/partyon` — Full Autopilot
|
|
190
|
+
|
|
191
|
+
**Purpose:** `/prep` + `/go` chained. Give it a task, walk away, come back to done.
|
|
192
|
+
|
|
193
|
+
**Input:** `$ARGUMENTS` — task description
|
|
194
|
+
|
|
195
|
+
**Flow:**
|
|
196
|
+
|
|
197
|
+
1. Runs the full `/prep` pipeline (research → context → plan)
|
|
198
|
+
2. Presents the plan for review (**single checkpoint** — the only time it stops)
|
|
199
|
+
3. On approval, immediately chains into `/go`
|
|
200
|
+
|
|
201
|
+
**The one checkpoint:** After the plan is written, presents a summary and waits for approval. This is the single moment of human input. Everything before and after is autonomous.
|
|
202
|
+
|
|
203
|
+
**Skip checkpoint:** Add "don't wait for approval" or similar to the task description to skip the checkpoint entirely.
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
## Global CLAUDE.md Changes
|
|
208
|
+
|
|
209
|
+
### New Section: Leveraging Existing Documentation
|
|
210
|
+
|
|
211
|
+
```markdown
|
|
212
|
+
## Leveraging Existing Documentation
|
|
213
|
+
|
|
214
|
+
Before exploring any codebase:
|
|
215
|
+
1. Check for `docs/context/` — read the most recent context snapshot
|
|
216
|
+
2. Check for `docs/research/` — read all research artifacts
|
|
217
|
+
3. Check for `docs/plans/` — check for in-progress or recent plans
|
|
218
|
+
4. Read the project CLAUDE.md
|
|
219
|
+
|
|
220
|
+
These are trusted starting points. Verify against actual code for the specific area
|
|
221
|
+
you're changing, but don't re-explore what's already documented. When you produce
|
|
222
|
+
new understanding, update the relevant doc so future sessions benefit.
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
### Strengthen: Autonomous Execution
|
|
226
|
+
|
|
227
|
+
```markdown
|
|
228
|
+
## Autonomous Execution
|
|
229
|
+
|
|
230
|
+
When given a task, the goal is maximum autonomous progress with minimum human input:
|
|
231
|
+
- Make best-practice decisions and document your rationale
|
|
232
|
+
- Don't ask about implementation details you can reasonably decide
|
|
233
|
+
- Use docs/context/ and docs/research/ to stay informed without re-exploring
|
|
234
|
+
- Verify your own work with actual command output, not assumptions
|
|
235
|
+
- When blocked, try alternative approaches before asking for help
|
|
236
|
+
- When a task is done, prove it's done with evidence
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
## Implementation Notes
|
|
242
|
+
|
|
243
|
+
- All five new commands are `.md` files in `claude/commands/`
|
|
244
|
+
- `/research` already exists — no changes needed
|
|
245
|
+
- `/context` runs at Opus level (deep understanding needed)
|
|
246
|
+
- `/plans` runs at Opus level (architectural decisions)
|
|
247
|
+
- `/prep` runs at Opus level (orchestrates the full pipeline)
|
|
248
|
+
- `/go` runs at Opus level (manages subagent execution)
|
|
249
|
+
- `/partyon` runs at Opus level (orchestrates everything)
|
|
250
|
+
- Global CLAUDE.md updates go in `claude/CLAUDE.md` (deployed to `~/CLAUDE.md`)
|