diff --git a/.windsurf/workflows/repos.txt b/.windsurf/workflows/repos.txt index 69f15496..828a9bca 100644 --- a/.windsurf/workflows/repos.txt +++ b/.windsurf/workflows/repos.txt @@ -9,3 +9,4 @@ learning_ai_clock learning_ai_fastgap learning_ai_jarvis_jr learning_ai_peakpulse +learning_ai_notes 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 f1efc9eb..bd7eea49 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-06T07:00:05Z (2026-03-05 23:00:05 PST) -Cascade conversations: 50 (310M) -Memories: 66 +Last refresh: 2026-03-10T06:00:06Z (2026-03-09 23:00:06 PDT) +Cascade conversations: 50 (329M) +Memories: 68 Implicit context: 20 -Code tracker dirs: 158 -File edit history: 2540 entries +Code tracker dirs: 168 +File edit history: 2560 entries Workspace storage: 28 workspaces Repo docs: 7 files across 2 repos Repo workflows: 38 files across 8 repos diff --git a/scripts/backup-main.sh b/scripts/backup-main.sh index b3fcf6f1..346b85fc 100755 --- a/scripts/backup-main.sh +++ b/scripts/backup-main.sh @@ -137,14 +137,21 @@ backup_repo() { } # Backup all repositories (resolve from script location) -WORKSPACE_DIR="${WORKSPACE_DIR:-$(cd "$(dirname "$0")/../.." && pwd)}" -REPOS=( - "$WORKSPACE_DIR/learning_ai_common_plat" - "$WORKSPACE_DIR/learning_voice_ai_agent" - "$WORKSPACE_DIR/learning_multimodal_memory_agents" - "$WORKSPACE_DIR/learning_ai_clock" - "$WORKSPACE_DIR/learning_ai_fastgap" -) +SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" +WORKSPACE_DIR="${WORKSPACE_DIR:-$(cd "${SCRIPT_DIR}/../.." && pwd)}" +REPOS_TXT="${SCRIPT_DIR}/../.windsurf/workflows/repos.txt" +REPOS=() + +if [ ! -f "$REPOS_TXT" ]; then + echo -e "${RED}repos.txt not found: $REPOS_TXT${NC}" + exit 1 +fi + +while IFS= read -r line; do + [[ "$line" =~ ^[[:space:]]*# ]] && continue + [[ -z "${line// }" ]] && continue + REPOS+=("$WORKSPACE_DIR/$line") +done < "$REPOS_TXT" for repo in "${REPOS[@]}"; do if [ -d "$repo" ]; then diff --git a/scripts/update-agent-docs.sh b/scripts/update-agent-docs.sh index 60950875..9ccc53d7 100755 --- a/scripts/update-agent-docs.sh +++ b/scripts/update-agent-docs.sh @@ -109,6 +109,17 @@ set_meta() { LINT1="cd ios && xcodebuild -scheme PeakPulse -sdk iphonesimulator build 2>&1 | tail -20" AIDER_READ2="docs/PRD.md" ;; + learning_ai_notes) + NAME="ByteLyst Agentic Notes" + ID="bytelyst-notes" + TAGLINE="Agentic note-taking workspace for notes, tasks, relationships, and workspaces" + STACK="Docs + Fastify 5 backend scaffold with TypeScript ESM and @bytelyst/* shared packages" + BUILD_VFY="cd backend && npm test && npm run typecheck && npm run build" + LINT1="cd backend && npm test 2>&1 | tail -10" + LINT2="cd backend && npm run typecheck 2>&1 | tail -10" + LINT3="cd backend && npm run build 2>&1 | tail -10" + AIDER_READ2="docs/ROADMAP.md" + ;; *) warn "Unknown repo: $1 — skipping" return 1 @@ -181,6 +192,14 @@ repo_rules() { echo "- All colors from PeakPulseTheme — never hardcode" echo "- Every Cosmos doc: productId: \"peakpulse\"" ;; + learning_ai_notes) + echo "- Backend follows the ByteLyst product-backend pattern with Fastify 5 + TypeScript ESM" + echo "- Use @bytelyst/* shared packages instead of reimplementing common infrastructure" + echo "- Fastify modules follow types.ts → repository.ts → routes.ts" + echo "- Use req.log / app.log — never console.log" + echo "- Every Cosmos document MUST include productId: \"bytelyst-notes\"" + echo "- Keep docs aligned with implementation as the repo evolves from scaffold to product" + ;; esac } @@ -240,6 +259,12 @@ repo_paths() { echo "- ios/PeakPulse/Platform/ — ByteLystPlatformSDK thin wrappers" echo "- backend/ — Fastify 5 + TypeScript backend (port 4010)" ;; + learning_ai_notes) + echo "- docs/ — PRD, roadmap, and planning docs" + echo "- backend/ — Fastify 5 + TypeScript ESM backend scaffold (port 4016)" + echo "- backend/src/modules/ — notes, workspaces, note-relationships, note-tasks" + echo "- backend/src/lib/ — shared backend wiring and utilities" + ;; esac }