ci: update CI/CD configuration

This commit is contained in:
saravanakumardb1 2026-03-29 10:50:53 -07:00
parent 58f9470733
commit c5458c4c0e
12 changed files with 75 additions and 31 deletions

View File

@ -1,9 +1,9 @@
Last refresh: 2026-03-22T18:43:11Z (2026-03-22 11:43:11 PDT) Last refresh: 2026-03-29T06:00:06Z (2026-03-28 23:00:06 PDT)
Cascade conversations: 50 (417M) Cascade conversations: 50 (424M)
Memories: 98 Memories: 104
Implicit context: 20 Implicit context: 20
Code tracker dirs: 139 Code tracker dirs: 77
File edit history: 3547 entries File edit history: 3881 entries
Workspace storage: 34 workspaces Workspace storage: 34 workspaces
Repo docs: 7 files across 2 repos Repo docs: 7 files across 2 repos
Repo workflows: 43 files across 10 repos Repo workflows: 49 files across 11 repos

View File

@ -102,6 +102,7 @@ brew services stop act_runner && brew services stop gitea
## Troubleshooting ## Troubleshooting
- **Runner not picking up jobs:** `brew services restart act_runner` - **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` - **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/*` - **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` - **Check runner log:** `tail -30 /opt/homebrew/var/log/act_runner.err`

View File

@ -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. Creates timestamped backup branches with smart duplicate detection.
// turbo // 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 ## Step 2: Push all repos to origin
@ -30,7 +30,7 @@ echo "✨ All repos pushed!"
## What it does: ## What it does:
1. **Backup** — creates timestamped backup branches, cleans up old ones (7 days), skips duplicates 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: ## Repositories:

View File

@ -7,7 +7,7 @@ description: Smart backup of main branches with duplicate detection
Creates smart backups of main branches across all repositories. Creates smart backups of main branches across all repositories.
// turbo // 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. The script reads `repos.txt` to determine which repositories to back up.

View File

@ -8,7 +8,7 @@ date: 2025-02-12
Scans all repositories for pending changes and commits them in logical order with intelligent commit messages. Scans all repositories for pending changes and commits them in logical order with intelligent commit messages.
// turbo // turbo
~/commit-workspace.sh bash /Users/sd9235/code/mygh/learning_ai_common_plat/scripts/commit-workspace.sh
## What it does: ## What it does:
@ -47,7 +47,7 @@ The script analyzes file types to generate appropriate messages:
```bash ```bash
# Run from anywhere # Run from anywhere
~/commit-workspace.sh bash /Users/sd9235/code/mygh/learning_ai_common_plat/scripts/commit-workspace.sh
# Or via Windsurf # Or via Windsurf
/commit-workspace /commit-workspace
@ -106,7 +106,8 @@ Found changes in 2 repo(s)
## Notes: ## 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 - Requires git access to all repos
- Works with any branch (but assumes main is primary) - Works with any branch (but assumes main is primary)
- Will skip repos with no changes - Will skip repos with no changes

View File

@ -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 # Push Repos
@ -18,7 +18,7 @@ done < ~/code/mygh/learning_ai_common_plat/.windsurf/workflows/repos.txt
## What it does: ## 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 2. Runs `git push origin main` in each
3. Fails fast if a repo has diverged from remote (resolve with rebase manually) 3. Fails fast if a repo has diverged from remote (resolve with rebase manually)

View File

@ -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 # Sync Repos
@ -18,7 +18,7 @@ done < ~/code/mygh/learning_ai_common_plat/.windsurf/workflows/repos.txt
## What it does: ## 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 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) 3. Fails fast if there are local divergent commits (use `git pull --rebase` manually in that case)

View File

@ -9,7 +9,7 @@ Regenerates all 8 AI agent configuration files across all repos in the workspace
## Files Generated Per Repo ## Files Generated Per Repo
| File | Tool | | File | Tool |
|------|------| | --------------------------------- | ----------------------------------------------- |
| `AGENTS.md` | Universal (OpenAI Codex, Claude, Copilot, etc.) | | `AGENTS.md` | Universal (OpenAI Codex, Claude, Copilot, etc.) |
| `CLAUDE.md` | Claude Code | | `CLAUDE.md` | Claude Code |
| `.cursorrules` | Cursor AI | | `.cursorrules` | Cursor AI |
@ -28,12 +28,15 @@ cd /Users/sd9235/code/mygh/learning_ai_common_plat
./scripts/update-agent-docs.sh ./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: 2. Review changes per repo:
```bash ```bash
cd /Users/sd9235/code/mygh/learning_voice_ai_agent && git diff --stat while IFS= read -r repo; do
cd /Users/sd9235/code/mygh/learning_multimodal_memory_agents && git diff --stat [[ -z "$repo" || "$repo" =~ ^# ]] && continue
# ... etc for all repos 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): 3. Commit changes (if any):

View File

@ -38,7 +38,8 @@ for entry in \
"learning_ai_jarvis_jr:@jarvisjr/backend" \ "learning_ai_jarvis_jr:@jarvisjr/backend" \
"learning_ai_peakpulse:@peakpulse/backend" \ "learning_ai_peakpulse:@peakpulse/backend" \
"learning_voice_ai_agent:@lysnrai/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%%:*}" repo="${entry%%:*}"
filter="${entry##*:}" filter="${entry##*:}"

View File

@ -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 |

View File

@ -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_*/
```

View File

@ -93,7 +93,10 @@ commit_repo() {
echo -e "${BLUE}📋 Scanning workspace for changes...${NC}" echo -e "${BLUE}📋 Scanning workspace for changes...${NC}"
echo echo
mapfile -t REPOS < <(read_repos) REPOS=()
while IFS= read -r _r; do
REPOS+=("$_r")
done < <(read_repos)
REPOS_WITH_CHANGES=() REPOS_WITH_CHANGES=()
for repo in "${REPOS[@]}"; do for repo in "${REPOS[@]}"; do