diff --git a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/.last-refresh.log b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/.last-refresh.log index 4d1ea674..0cd72170 100644 --- a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/.last-refresh.log +++ b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/.last-refresh.log @@ -1,9 +1,9 @@ -Last refresh: 2026-03-22T18:43:11Z (2026-03-22 11:43:11 PDT) -Cascade conversations: 50 (417M) -Memories: 98 +Last refresh: 2026-03-29T06:00:06Z (2026-03-28 23:00:06 PDT) +Cascade conversations: 50 (424M) +Memories: 104 Implicit context: 20 -Code tracker dirs: 139 -File edit history: 3547 entries +Code tracker dirs: 77 +File edit history: 3881 entries Workspace storage: 34 workspaces Repo docs: 7 files across 2 repos -Repo workflows: 43 files across 10 repos +Repo workflows: 49 files across 11 repos diff --git a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/gitea-ci.md b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/gitea-ci.md index d1859026..9d3b234a 100644 --- a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/gitea-ci.md +++ b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/gitea-ci.md @@ -102,6 +102,7 @@ brew services stop act_runner && brew services stop gitea ## Troubleshooting - **Runner not picking up jobs:** `brew services restart act_runner` +- **Runner still queued after restart:** re-register against `http://127.0.0.1:3300` instead of `http://localhost:3300` - **Stale .next/lock:** `rm -f /Users/sd9235/code/mygh/learning_ai_common_plat/dashboards/*-web/.next/lock` - **Permission denied on tsc:** `chmod +x /Users/sd9235/code/mygh/learning_ai_common_plat/node_modules/.bin/*` - **Check runner log:** `tail -30 /opt/homebrew/var/log/act_runner.err` diff --git a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_backup-and-push.md b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_backup-and-push.md index 1b194198..e53d0839 100644 --- a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_backup-and-push.md +++ b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_backup-and-push.md @@ -11,7 +11,7 @@ Combines `/repo_backup-main-branch` and `/repo_push-repos` into a single sequent Creates timestamped backup branches with smart duplicate detection. // turbo -Run `bash scripts/backup-main.sh` from any repository root +Run `bash /Users/sd9235/code/mygh/learning_ai_common_plat/scripts/backup-main.sh` ## Step 2: Push all repos to origin @@ -30,7 +30,7 @@ echo "✨ All repos pushed!" ## What it does: 1. **Backup** — creates timestamped backup branches, cleans up old ones (7 days), skips duplicates -2. **Push** — pushes `main` to `origin/main` for all 13 repos +2. **Push** — pushes `main` to `origin/main` for all repositories listed in the canonical `repos.txt` ## Repositories: diff --git a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_backup-main-branch.md b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_backup-main-branch.md index 451cbd03..5339ce07 100644 --- a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_backup-main-branch.md +++ b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_backup-main-branch.md @@ -7,7 +7,7 @@ description: Smart backup of main branches with duplicate detection Creates smart backups of main branches across all repositories. // turbo -Run `bash scripts/backup-main.sh` from any repository root +Run `bash /Users/sd9235/code/mygh/learning_ai_common_plat/scripts/backup-main.sh` The script reads `repos.txt` to determine which repositories to back up. diff --git a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_commit-workspace.md b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_commit-workspace.md index 99b05312..297dbc57 100644 --- a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_commit-workspace.md +++ b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_commit-workspace.md @@ -8,7 +8,7 @@ date: 2025-02-12 Scans all repositories for pending changes and commits them in logical order with intelligent commit messages. // turbo -~/commit-workspace.sh +bash /Users/sd9235/code/mygh/learning_ai_common_plat/scripts/commit-workspace.sh ## What it does: @@ -47,7 +47,7 @@ The script analyzes file types to generate appropriate messages: ```bash # Run from anywhere -~/commit-workspace.sh +bash /Users/sd9235/code/mygh/learning_ai_common_plat/scripts/commit-workspace.sh # Or via Windsurf /commit-workspace @@ -106,7 +106,8 @@ Found changes in 2 repo(s) ## Notes: -- Script location: `~/commit-workspace.sh` +- Script location: `learning_ai_common_plat/scripts/commit-workspace.sh` +- Reads repo names from `learning_ai_common_plat/.windsurf/workflows/repos.txt` - Requires git access to all repos - Works with any branch (but assumes main is primary) - Will skip repos with no changes diff --git a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_push-repos.md b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_push-repos.md index 2ebc559b..39e7463f 100644 --- a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_push-repos.md +++ b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_push-repos.md @@ -1,5 +1,5 @@ --- -description: Push local main branch to origin for all 13 workspace repos +description: Push local main branch to origin for all managed workspace repos --- # Push Repos @@ -18,7 +18,7 @@ done < ~/code/mygh/learning_ai_common_plat/.windsurf/workflows/repos.txt ## What it does: -1. Iterates over all 13 workspace repos +1. Iterates over all repositories listed in the canonical `repos.txt` 2. Runs `git push origin main` in each 3. Fails fast if a repo has diverged from remote (resolve with rebase manually) diff --git a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_sync-repos.md b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_sync-repos.md index 13a40c67..03091d5f 100644 --- a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_sync-repos.md +++ b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_sync-repos.md @@ -1,5 +1,5 @@ --- -description: Pull latest from origin main across all 13 workspace repos +description: Pull latest from origin main across all managed workspace repos --- # Sync Repos @@ -18,7 +18,7 @@ done < ~/code/mygh/learning_ai_common_plat/.windsurf/workflows/repos.txt ## What it does: -1. Iterates over all 13 workspace repos +1. Iterates over all repositories listed in the canonical `repos.txt` 2. Runs `git pull --ff-only origin main` in each 3. Fails fast if there are local divergent commits (use `git pull --rebase` manually in that case) diff --git a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_update-agent-docs.md b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_update-agent-docs.md index 51bbe0f5..4d9dde76 100644 --- a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_update-agent-docs.md +++ b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/repo_update-agent-docs.md @@ -8,16 +8,16 @@ Regenerates all 8 AI agent configuration files across all repos in the workspace ## Files Generated Per Repo -| File | Tool | -|------|------| -| `AGENTS.md` | Universal (OpenAI Codex, Claude, Copilot, etc.) | -| `CLAUDE.md` | Claude Code | -| `.cursorrules` | Cursor AI | -| `.github/copilot-instructions.md` | GitHub Copilot | -| `.windsurfrules` | Windsurf / Cascade | -| `.clinerules` | Cline / Roo Code | -| `.aider.conf.yml` | Aider | -| `.editorconfig` | All editors | +| File | Tool | +| --------------------------------- | ----------------------------------------------- | +| `AGENTS.md` | Universal (OpenAI Codex, Claude, Copilot, etc.) | +| `CLAUDE.md` | Claude Code | +| `.cursorrules` | Cursor AI | +| `.github/copilot-instructions.md` | GitHub Copilot | +| `.windsurfrules` | Windsurf / Cascade | +| `.clinerules` | Cline / Roo Code | +| `.aider.conf.yml` | Aider | +| `.editorconfig` | All editors | ## Steps @@ -28,12 +28,15 @@ cd /Users/sd9235/code/mygh/learning_ai_common_plat ./scripts/update-agent-docs.sh ``` +The script reads `learning_ai_common_plat/.windsurf/workflows/repos.txt` as the canonical list of managed workspace repositories. + 2. Review changes per repo: ```bash -cd /Users/sd9235/code/mygh/learning_voice_ai_agent && git diff --stat -cd /Users/sd9235/code/mygh/learning_multimodal_memory_agents && git diff --stat -# ... etc for all repos +while IFS= read -r repo; do + [[ -z "$repo" || "$repo" =~ ^# ]] && continue + cd /Users/sd9235/code/mygh/$repo && git diff --stat +done < /Users/sd9235/code/mygh/learning_ai_common_plat/.windsurf/workflows/repos.txt ``` 3. Commit changes (if any): diff --git a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/verify-all-backends.md b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/verify-all-backends.md index 30c43512..fdbbd45b 100644 --- a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/verify-all-backends.md +++ b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_common_plat/verify-all-backends.md @@ -38,7 +38,8 @@ for entry in \ "learning_ai_jarvis_jr:@jarvisjr/backend" \ "learning_ai_peakpulse:@peakpulse/backend" \ "learning_voice_ai_agent:@lysnrai/backend" \ - "learning_ai_flowmonk:@flowmonk/backend"; do + "learning_ai_flowmonk:@flowmonk/backend" \ + "learning_ai_notes:@notelett/backend"; do repo="${entry%%:*}" filter="${entry##*:}" diff --git a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_local_llms/README.md b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_local_llms/README.md new file mode 100644 index 00000000..1498d4fe --- /dev/null +++ b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_local_llms/README.md @@ -0,0 +1,7 @@ +# Windsurf Workflows — Local LLM Lab + +Workflows for AI coding agents operating in this repo. + +| Workflow | Description | +| ------------------------- | ----------------------------------------- | +| `refresh-chat-history.md` | Refresh the Windsurf chat history archive | diff --git a/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_local_llms/refresh-chat-history.md b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_local_llms/refresh-chat-history.md new file mode 100644 index 00000000..7cfed958 --- /dev/null +++ b/__LOCAL_LLMs/AI_IDE_CHAT_HISTORY/WINDSURF/repo_workflows/learning_ai_local_llms/refresh-chat-history.md @@ -0,0 +1,28 @@ +--- +description: Refresh the Windsurf chat history archive +--- + +## Steps + +1. Navigate to the chat-history directory: + + ```bash + cd chat-history/windsurf + ``` + +2. Run the refresh script: + + ```bash + bash refresh.sh + ``` + +3. Verify symlinks are intact: + + ```bash + find . -type l | head -20 + ``` + +4. Check for new repos that may need adding: + ```bash + ls -la /Users/sd9235/code/mygh/learning_ai_*/ + ``` diff --git a/scripts/commit-workspace.sh b/scripts/commit-workspace.sh index 558936fb..ecb02f40 100644 --- a/scripts/commit-workspace.sh +++ b/scripts/commit-workspace.sh @@ -93,7 +93,10 @@ commit_repo() { echo -e "${BLUE}📋 Scanning workspace for changes...${NC}" echo -mapfile -t REPOS < <(read_repos) +REPOS=() +while IFS= read -r _r; do + REPOS+=("$_r") +done < <(read_repos) REPOS_WITH_CHANGES=() for repo in "${REPOS[@]}"; do