ci: update CI/CD configuration

This commit is contained in:
saravanakumardb1 2026-03-10 11:32:25 -07:00
parent aff78c55a4
commit 38653bd9ec
4 changed files with 46 additions and 13 deletions

View File

@ -9,3 +9,4 @@ learning_ai_clock
learning_ai_fastgap learning_ai_fastgap
learning_ai_jarvis_jr learning_ai_jarvis_jr
learning_ai_peakpulse learning_ai_peakpulse
learning_ai_notes

View File

@ -1,9 +1,9 @@
Last refresh: 2026-03-06T07:00:05Z (2026-03-05 23:00:05 PST) Last refresh: 2026-03-10T06:00:06Z (2026-03-09 23:00:06 PDT)
Cascade conversations: 50 (310M) Cascade conversations: 50 (329M)
Memories: 66 Memories: 68
Implicit context: 20 Implicit context: 20
Code tracker dirs: 158 Code tracker dirs: 168
File edit history: 2540 entries File edit history: 2560 entries
Workspace storage: 28 workspaces Workspace storage: 28 workspaces
Repo docs: 7 files across 2 repos Repo docs: 7 files across 2 repos
Repo workflows: 38 files across 8 repos Repo workflows: 38 files across 8 repos

View File

@ -137,14 +137,21 @@ backup_repo() {
} }
# Backup all repositories (resolve from script location) # Backup all repositories (resolve from script location)
WORKSPACE_DIR="${WORKSPACE_DIR:-$(cd "$(dirname "$0")/../.." && pwd)}" SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
REPOS=( WORKSPACE_DIR="${WORKSPACE_DIR:-$(cd "${SCRIPT_DIR}/../.." && pwd)}"
"$WORKSPACE_DIR/learning_ai_common_plat" REPOS_TXT="${SCRIPT_DIR}/../.windsurf/workflows/repos.txt"
"$WORKSPACE_DIR/learning_voice_ai_agent" REPOS=()
"$WORKSPACE_DIR/learning_multimodal_memory_agents"
"$WORKSPACE_DIR/learning_ai_clock" if [ ! -f "$REPOS_TXT" ]; then
"$WORKSPACE_DIR/learning_ai_fastgap" 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 for repo in "${REPOS[@]}"; do
if [ -d "$repo" ]; then if [ -d "$repo" ]; then

View File

@ -109,6 +109,17 @@ set_meta() {
LINT1="cd ios && xcodebuild -scheme PeakPulse -sdk iphonesimulator build 2>&1 | tail -20" LINT1="cd ios && xcodebuild -scheme PeakPulse -sdk iphonesimulator build 2>&1 | tail -20"
AIDER_READ2="docs/PRD.md" 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" warn "Unknown repo: $1 — skipping"
return 1 return 1
@ -181,6 +192,14 @@ repo_rules() {
echo "- All colors from PeakPulseTheme — never hardcode" echo "- All colors from PeakPulseTheme — never hardcode"
echo "- Every Cosmos doc: productId: \"peakpulse\"" 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 esac
} }
@ -240,6 +259,12 @@ repo_paths() {
echo "- ios/PeakPulse/Platform/ — ByteLystPlatformSDK thin wrappers" echo "- ios/PeakPulse/Platform/ — ByteLystPlatformSDK thin wrappers"
echo "- backend/ — Fastify 5 + TypeScript backend (port 4010)" 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 esac
} }