Commit Graph

557 Commits

Author SHA1 Message Date
705f58c5c5 chore(deploy): remove railway deployment artifacts 2026-04-03 17:05:15 -07:00
5048bd7e65 docs(ecosystem): track phase1 repo execution 2026-04-03 16:40:29 -07:00
dd3d622e24 docs(ecosystem): track phase1 contract baseline 2026-04-03 16:30:32 -07:00
3d59e7bbed docs: add phase 1 ecosystem execution plan 2026-04-03 16:21:04 -07:00
c97e693a7d docs: reconcile ecosystem commit tracking 2026-04-03 16:12:02 -07:00
7a86a767b1 docs: complete core ecosystem planning set 2026-04-03 16:03:48 -07:00
41fa2cd767 docs: add detailed ecosystem implementation docs 2026-04-03 15:54:08 -07:00
577c3fa243 docs: add ecosystem implementation tracking 2026-04-03 15:45:57 -07:00
eae3409db5 docs: add core ecosystem spec stubs 2026-04-03 15:41:59 -07:00
5f4134e734 docs: create canonical ecosystem docs home 2026-04-03 15:25:00 -07:00
3e572b68d1 docs: strengthen ecosystem cross-pollination strategy 2026-04-03 15:01:49 -07:00
341cde75af docs: add execution matrix to ecosystem map 2026-04-03 14:27:24 -07:00
d28e9d079a docs: add ecosystem cross-pollination map 2026-04-03 14:26:17 -07:00
root
0c28231c3b chore(script): add run-registry-tests 2026-03-31 11:37:03 +00:00
root
8b37189829 chore(registry): point packages to gitea.bytelyst.com 2026-03-31 10:53:13 +00:00
root
66ddcaaaa6 docs(devops): record live ollama DNS and HTTPS status 2026-03-31 10:17:39 +00:00
root
b1db0d583d feat(dns): add ollama hostname support 2026-03-31 10:07:38 +00:00
root
d9773b460d docs(gateway): record live bytelyst HTTPS cutover 2026-03-31 09:42:26 +00:00
e573e98cc1 docs(devops): add llmlab dns handoff 2026-03-31 02:32:01 -07:00
356c96e1d9 docs(devops): capture godaddy dns cutover and vm handoff 2026-03-31 02:25:58 -07:00
root
6bb17e1d9c docs(devops): move localmemgpt web to vercel 2026-03-31 09:19:49 +00:00
root
68c8fc0d8d docs(devops): clarify LLM UI hosting roles 2026-03-31 09:12:59 +00:00
root
a597646034 docs(devops): add GoDaddy DNS runbook for bytelyst 2026-03-31 09:00:11 +00:00
root
abfbb70583 docs(devops): document VM-hosted web surfaces 2026-03-31 08:55:52 +00:00
root
3d0183b8c6 docs(devops): note restart and valkey write controls 2026-03-31 08:44:44 +00:00
root
23d5ef44f3 docs(devops): note admin ops inventory and valkey panel 2026-03-31 08:32:50 +00:00
root
2cf557a2c8 docs(devops): document valkey-backed extraction throttling 2026-03-31 08:09:24 +00:00
root
b8661392c6 feat(observability): add phase 2 monitoring and valkey services 2026-03-31 06:57:12 +00:00
root
d4d8c48a4c docs(architecture): extend internal-only policy to shared infra 2026-03-31 06:52:59 +00:00
root
4aba0a83cc docs(devops): add phased VM stack recommendations 2026-03-31 06:52:01 +00:00
root
b7b3869014 docs(architecture): keep monitoring stacks internal on VM 2026-03-31 06:47:39 +00:00
root
5cec039905 docs(architecture): keep internal dashboards on VM Docker 2026-03-31 06:39:19 +00:00
root
bb85bf6176 docs(devops): refresh Track A handoff status 2026-03-30 00:11:45 +00:00
root
5cff282961 docs(architecture): move dashboards to Vercel 2026-03-30 00:05:50 +00:00
root
c0cf80d96b docs(devops): add Track A handoff and prep gateway changes 2026-03-29 23:57:03 +00:00
root
eba6c7a641 chore(platform): align docker and package outputs 2026-03-29 23:41:08 +00:00
root
1b7a68c8a8 feat(devops): add efforise to single-vm ecosystem 2026-03-29 23:34:36 +00:00
saravanakumardb1
80e6268924 docs(vercel): improve Codex prompts with progress trackers, preconditions, verification gates, and per-repo checklists 2026-03-29 16:29:42 -07:00
saravanakumardb1
5fb5a7d468 docs(vercel): split Codex prompts into Track A (Azure VM) and Track B (Vercel code) — replace monolithic file 2026-03-29 16:15:49 -07:00
saravanakumardb1
133d9fe337 docs(vercel): add Codex agent prompts for remaining Vercel deployment work — 8 prompts in dependency order 2026-03-29 16:09:26 -07:00
saravanakumardb1
8dd0036fc4 docs(vercel): cross-reference Azure VM Caddy gateway — concrete gitea.bytelyst.com and api.bytelyst.com URLs across all roadmaps 2026-03-29 16:05:57 -07:00
saravanakumardb1
e6b625f4e2 docs(vercel): review and fix ecosystem web apps audit — update registry strategy to Gitea-on-Azure-VM, fix effort estimates, fix EffoRise path, remove spurious PeakPulse entry, add prerequisite section 2026-03-29 15:46:44 -07:00
saravanakumardb1
64885dbc33 docs: update documentation 2026-03-29 15:46:44 -07:00
root
b261c5d13f fix(devops): harden single-vm gitea bootstrap 2026-03-29 22:44:02 +00:00
root
388d71a06f docs(devops): add azure vm deployment status snapshot 2026-03-29 22:42:33 +00:00
root
626e19f776 docs(devops): add secure single-vm api exposure guidance 2026-03-29 22:29:08 +00:00
saravanakumardb1
f2a94eb82d docs: update LOCAL_AI_CONSOLIDATION_ROADMAP — Phase 1 + 2.1 complete 2026-03-29 12:47:17 -07:00
saravanakumardb1
a8e0b7c3b0 docs(roadmap): split agent prompts into individual docs for one-liner delegation
New files in coding_agent_prompts/:
- TRACK_A_llm_lab_workspace_removal.md (learning_ai_local_llms)
- TRACK_B_ollama_client_package.md (learning_ai_common_plat)
- TRACK_C_fastify_sse_extend.md (learning_ai_common_plat)
- TRACK_D_react_hook_packages.md (learning_ai_common_plat)
- TRACK_E_localmemgpt_migrations.md (learning_ai_local_memory_gpt)
- README.md with dependency diagram + one-liner table

Roadmap delegation section now links to individual docs instead of
inline prompts. Point an agent at one file:
  Read and execute coding_agent_prompts/TRACK_A_*.md
2026-03-29 12:19:03 -07:00
saravanakumardb1
73a70c2f00 docs(roadmap): add agent delegation section with 5 parallel execution tracks
- Track A (Agent 1): Phase 1 + 2.1 — LLM Lab workspace removal (immediate)
- Track B (Agent 2): 4.1 — create @bytelyst/ollama-client package (immediate)
- Track C (Agent 3): 4.2 — extend @bytelyst/fastify-sse (immediate)
- Track D (Agent 4): 4.3 + 4.4 — React hook packages (immediate)
- Track E (Agent 5): 2.2 + migrations — LocalMemGPT (after A+B+C)

Each track has a copy-pastable prompt with exact steps, safety rules,
reference files, and commit messages. Dependency diagram included.
2026-03-29 12:11:13 -07:00
saravanakumardb1
93e6d0b9b7 docs(roadmap): make Local AI consolidation roadmap execution-ready
- Add master Execution Checklist at top with all 4 phases as checkbox items
- Add Safety Matrix (Delete vs Keep) with verified import analysis
- Convert all phase steps to checkbox format with COMMIT markers
- Move Phase 4 from after Success Criteria to between Phase 3 and File Inventory
- Add pre-flight baseline check (step 1.0)
- Add pnpm install step after dep removal (step 1.6b)
- Add grep verification step to catch stale imports (step 1.5)
- Split E2E updates into separate commit (step 1.8)
- Add .env.example updates for Phase 2 env vars
- Clarify types.ts trim: move Attachment+ModelDefaults then delete (not partial keep)
- Phase 3 steps now have individual COMMIT messages
- All 4 phases now grouped together in the Phases section
2026-03-29 12:04:08 -07:00
saravanakumardb1
808f405889 docs(roadmap): add Phase 4 DRY audit + fix 9 review gaps in Local AI consolidation roadmap
Phase 4 — DRY Refactoring & Common Platform Extractions:
- 4.1 @bytelyst/ollama-client (NEW) — deduplicate Ollama API + NDJSON parsing (~350 lines)
- 4.2 Extend @bytelyst/fastify-sse with per-request SSE helpers (~26 lines)
- 4.3 @bytelyst/use-theme (NEW) — deduplicate across 6 web apps (~300 lines)
- 4.4 @bytelyst/use-keyboard-shortcuts (NEW) — deduplicate across 5 web apps (~250 lines)
- 4.5-4.7 Types, format utils, client-side stream parsers (~220 lines)
Total: ~1,150 lines of duplicated code identified for extraction

Review pass 2 fixes (R1-R9):
- R1: Fix misleading route group item count heading
- R2: Fix file inventory 6 pages+layout → 5 pages+1 layout
- R3: Fix LocalMemGPT test count 102 → 104 (field-encrypt)
- R4: Fix Phase 4.2 title to clarify extending existing package
- R5: Confirm ActionTrail use-theme.ts (was inferred)
- R6: Note post-Phase-1 stream parser copy reduction
- R7: Add addendum note for Phase 4 structure
- R8: Clarify both Attachment+ModelDefaults must be kept
- R9: Fix Mission Control API route count 11 → 13
2026-03-29 11:38:34 -07:00
saravanakumardb1
58f9470733 docs(audit): add Round 3 hardcoded hex elimination findings to DESIGN_SYSTEM_AUDIT.md 2026-03-29 10:40:47 -07:00
saravanakumardb1
c21c180ad2 docs(audit): mark all design system remediation roadmap items complete 2026-03-29 01:47:06 -07:00
saravanakumardb1
cc093802a1 docs: update audit — executive summary reflects Level 3, scorecard shows baseline→final, 15 components 2026-03-29 00:22:18 -07:00
saravanakumardb1
928002ec0b docs: fix audit report — accurate responsive sidebar description (5 wired, 2 already responsive, 1 no sidebar) 2026-03-29 00:10:56 -07:00
saravanakumardb1
9a0e6a2b44 docs: update audit report and roadmap to 100% completion — Level 3 maturity achieved 2026-03-28 23:34:04 -07:00
saravanakumardb1
21ff1058a4 docs(docker): rewrite prompt.md as execution guide for Codex agent on fresh VM
- Reframed from 'review and fix' to 'execute, monitor, fix failures, validate'
- 4 clear tasks: run script, handle failures, validate deployment, report results
- Moved bug history and development context to background reference
- Added copy-pastable validation commands for all 31 services
- Simplified constraints: don't modify unless actual runtime failure
2026-03-28 02:06:52 -07:00
saravanakumardb1
7c4f0bc3d9 feat(docker): add --dry-run mode + test-plan.md, complete all 7 prompt tasks
- Task 4: Add --dry-run flag that validates system, Docker, Node, Ollama, Gitea, repos, GitHub access, compose file, env file, and phase state without building or deploying
- Task 7: Create test-plan.md with phase-by-phase verification, functional smoke tests, idempotency/resume tests, remote connectivity via SSH forwarding, and service count summary
- Update README CLI flags table with --dry-run
- Mark all 7 tasks done in prompt.md
2026-03-28 01:58:15 -07:00
saravanakumardb1
a5d1c5f0b9 docs(audit): update design system audit with full remediation results (41% → 65%) 2026-03-28 00:49:00 -07:00
saravanakumardb1
91a651805c docs(docker): update README, prompt.md, .env.ecosystem.example with audit fixes
- README: NSG port list inline, phase 7 count 31, CORS/NODE_ENV troubleshooting, SSH port-forwarding example
- prompt.md: mark tasks 5+6 done, add 8 new bug fixes to table, update definition of done with llmlab-dashboard
- .env.ecosystem.example: add NODE_ENV=production and CORS_ORIGIN=*
2026-03-28 00:45:38 -07:00
saravanakumardb1
d8908093fa fix(docker): add llmlab-dashboard to setup.sh, fix service count to 31, add CORS_ORIGIN + NODE_ENV
- B1: Add llmlab-dashboard to WEB_SERVICES array (was missing, 30→31)
- B2: Add llmlab-dashboard to check-health.sh (port 3075)
- B3: Fix service count comments throughout (30→31)
- B6: Restore CWD after phase 3 git push loop
- G1: Add CORS_ORIGIN=* to phase6_env for remote browser access
- G2: Add NODE_ENV=production to phase6_env for all services
2026-03-28 00:40:25 -07:00
saravanakumardb1
6b6f147de7 feat(design-tokens): extend generator with per-product Swift + Kotlin native themes
- Add generateProductSwift() and generateProductKotlin() to generate.ts
- Add PRODUCT_NATIVE_MAP for 10 products (ChronoMind, JarvisJr, PeakPulse, LysnrAI, NomGap, ActionTrail, FlowMonk, NoteLett, LocalMemGPT, LocalLLMLab)
- Output 20 native token files in generated/native/
- Fix TS type narrowing for gradient objects (line 382)
- Update DESIGN_SYSTEM_AUDIT.md with Appendix G remediation results
2026-03-28 00:25:03 -07:00
saravanakumardb1
fec4f1c069 docs(audit): append remediation log for 4 agent tasks + gap fixes 2026-03-27 22:35:22 -07:00
saravanakumardb1
9a42a30d99 docs(design-system): rewrite agent prompts with parallel-safety, pre-flight checks, build gates, rollback recipes 2026-03-27 17:43:03 -07:00
saravanakumardb1
0c04f2da46 docs(design-system): add 4 agent prompts for deferred remediation tasks 2026-03-27 17:32:59 -07:00
saravanakumardb1
22d8641da4 docs: agent-executable design system remediation playbook — 5 phases, 20 tasks, code templates, verification commands 2026-03-27 16:08:27 -07:00
saravanakumardb1
6fdb01e281 docs: principal review — master gap table, fix §4.5 count, add Productivity Web, font/CI/a11y gaps 2026-03-27 15:31:04 -07:00
saravanakumardb1
8b51ae5b54 docs: principal review — design system maturity model, best practices, architecture blueprint, remediation plan 2026-03-27 15:14:15 -07:00
saravanakumardb1
8cc4118633 docs: add comprehensive design system & UI/UX audit report 2026-03-27 14:57:59 -07:00
saravanakumardb1
91afa48d29 docs(platform): mark all P2+P3 components as BUILT (25/25 complete) 2026-03-27 11:39:39 -07:00
saravanakumardb1
c1543e24fe docs(audits): mobile app readiness audit + companion targets implementation prompt 2026-03-27 08:19:32 -07:00
saravanakumardb1
fc12a8eaa2 feat(devops): add Local LLM Lab to ecosystem deployment
- docker-compose.ecosystem.yml: add llmlab-dashboard service (port 3075)
- setup.sh: add learning_ai_local_llms as 12th repo
- README.md: update to 31 services, 11 products, add Docker vs K8s recommendation
- docker/README.md: update port map, phase descriptions
- prompt.md: update repo list and service counts
2026-03-27 00:10:40 -07:00
saravanakumardb1
70fdc6b279 feat(devops): add Gitea CI (act_runner) to Azure VM setup
- Phase 2: install act_runner binary, register with Gitea, create systemd service
- Phase 3: push all 11 repos to VM Gitea after cloning from GitHub
- Expanded Gitea API token scopes (write:repository, write:user)
- Runner config: host mode, capacity 2, GITEA_NPM_TOKEN injected
- Enables CI on the VM for NETWORK!=corp usage
2026-03-26 23:19:37 -07:00
saravanakumardb1
aa139d5021 feat(ci): add auto-publish job for @bytelyst/* packages + update migration doc
- Add publish-packages job to CI workflow (runs after build-and-test)
- Publish 13 remaining packages to Gitea (56 total, up from 43)
- Update act_runner token to read+write scope
- Fix package counts throughout migration doc (43 → 56)
- Update CI status: all 10/10 repos now have CI workflows
- Add package inventory section (§15.1)
2026-03-26 23:18:05 -07:00
saravanakumardb1
5ba9518722 docs: update Gitea registry docs for NETWORK-aware GITEA_NPM_HOST
- GITEA_NPM_REGISTRY_MIGRATION.md: update .npmrc examples, add home
  row to network topology table, note switch-network.sh sets the host
- SINGLE_VM_DEPLOYMENT.md: consolidate .npmrc example to show unified
  ${GITEA_NPM_HOST}:3300 pattern (host-side + Docker-side)
- GITEA_LOCAL_CI.md: add NPM registry host note to Key Settings
2026-03-24 15:57:20 -07:00
saravanakumardb1
32522b218a fix(k8s): setup-k8s.sh — fail phase 3 on build errors, fix non-root crash
- Phase 3 now exits with error if any image builds fail, preventing
  mark_phase_done from running. Previously it just warned and continued,
  which could lead to phase 5 deploying with missing images.
- Moved mkdir from top-level scope into mark_phase_done(). The old
  top-level mkdir -p /opt/bytelyst/.setup-state-k8s crashed non-root
  invocations (--status, --help) due to set -e + permission denied.
- Fixed header comment: 'containerd' → 'Docker runtime' (we use --docker).
- Added --resume to header usage block (was supported but undocumented).
2026-03-24 14:52:53 -07:00
saravanakumardb1
a25d6f7847 fix(k8s): remove YAML anchors that break across document separators
YAML anchors (&name/*name) are scoped per document. In multi-document
files (separated by ---), anchors defined in one document cannot be
referenced from another. This caused all backends/webs after the first
to fail kubectl apply with unknown alias errors.

Fixed by inlining envFrom, resources, and labels in every Deployment.
2026-03-24 14:51:48 -07:00
saravanakumardb1
8a568932b4 feat(infra): add production-grade k3s Kubernetes setup for single VM
Complete K8s deployment alternative to Docker Compose, targeting
~50 beta users on a Standard_D8s_v5 Azure VM (8 vCPU, 32 GB RAM).

setup-k8s.sh (6 phases):
  1. Pre-flight: verify docker phases 1-5 ran, disk/RAM checks
  2. Install k3s: Docker runtime, NodePort range 1024-32767
  3. Build images: docker compose build + tag as bytelyst/<svc>
  4. Config: namespaces, ConfigMap (3 copies), Secrets (JWT + blob keys), Ollama
  5. Deploy: infra -> platform -> dashboards -> products (ordered)
  6. Health check: 32 endpoints + kubectl pod status

K8s manifests (18 files):
  - 4 namespaces (infra, platform, dashboards, products)
  - 6 infra (cosmos StatefulSet+PVC, azurite StatefulSet+PVC,
    mailpit, loki StatefulSet+PVC, grafana+PVC, ollama external)
  - 3 platform (Deployment+Service+NodePort each)
  - 2 dashboards (Deployment+Service+NodePort each)
  - 10 backends + 9 webs (all with readiness+liveness probes,
    resource limits, product-specific NEXT_PUBLIC_* env vars)

Design decisions:
  - k3s --docker: reuses existing Docker images, no containerd import
  - Same ports as Docker Compose (NodePort with extended range)
  - ConfigMap replaces .env.ecosystem, copied to 3 app namespaces
  - Blob storage keys injected at deploy time via Secret (not in YAML)
  - Cross-namespace DNS: <svc>.<ns>.svc for service discovery
  - Ollama as Endpoints+Service pointing to host node IP
  - Resource limits: ~19 Gi total, fits in 32 GB with 13 GB headroom
  - Teardown: --teardown flag deletes namespaces, keeps k3s
2026-03-24 14:47:17 -07:00
saravanakumardb1
7d0c469858 refactor(infra): reorganize single_azure_vm into docker/ and k8s/ subfolders
- Move setup.sh, README.md, prompt.md into docker/ subfolder
- Create top-level README.md comparing both approaches
- Create k8s/README.md with full design doc: k3s architecture,
  namespace strategy, manifest structure, ConfigMap/Secret design,
  Cosmos emulator StatefulSet, Ollama host service, resource limits,
  5-phase implementation plan, and kubectl cheat sheet
2026-03-24 14:11:50 -07:00
saravanakumardb1
40731e06f4 docs(infra): update prompt.md with 15 new bug fixes and stale corrections
- Added 15 recent fixes to the Bugs Already Fixed table
- Fixed line count (~940 → ~990)
- Fixed stale lysnrai-web → lysnrai-dashboard in architecture diagram
- Fixed test plan service count (27+ → 30+)
- Updated constraint: compose/Dockerfile changes allowed with verification
2026-03-24 13:49:17 -07:00
saravanakumardb1
d64ea4fba7 fix(infra): add cd path to banner compose logs command
The banner showed bare COMPOSE_FILE filename without the directory,
making the command unusable via copy-paste. Now shows the cd first.
2026-03-24 13:48:05 -07:00
saravanakumardb1
e928ec6025 fix(infra): audit round 2 — token guard, frozen-lockfile, build cache, docs
- Add require_gitea_token() guard — fail early with actionable message
  if GITEA_NPM_TOKEN is empty after restore (prevents silent failures
  in Phase 4/5/7)
- Wire require_gitea_token() into phase4_build and setup_compose_env
- Remove --frozen-lockfile from admin-web + tracker-web Dockerfiles
  (Docker context is missing services/ and scripts/ workspace members;
  Phase 4 reconciles lockfile so --frozen-lockfile is unnecessary)
- Add docker builder prune after Phase 7 builds (reclaim 20-40 GB)
- Update README: pre-flight thresholds, Ollama stop/restart behavior,
  Loki + Azurite in port map, updated memory pressure note
2026-03-24 13:37:21 -07:00
saravanakumardb1
1a8697d8ed fix(infra): fix last stale service count comment (27→30) in setup.sh 2026-03-24 13:18:12 -07:00
saravanakumardb1
f78d382d62 fix(infra): add Azurite + Loki to health check script
- Azurite blob storage (:10000) was missing from check-health.sh
- Loki log aggregation (:3100/ready) was missing from check-health.sh
- Now covers all 30 compose services + Gitea + Ollama = 32 endpoints
2026-03-24 13:08:12 -07:00
saravanakumardb1
1a1f7dd55c fix(infra): harden setup.sh — pre-flight checks, pipefail safety, RAM management
- Add pre-flight disk space + memory checks after root validation
- Add --batch --yes to gpg dearmor calls (idempotent on re-run)
- Fix jq abort on malformed Gitea token response (|| echo guard)
- Wrap pnpm install/build in if-blocks with explicit fail() messages
- Stop Ollama during Phase 7 Docker builds to free ~3 GB RAM
- Restart Ollama after Phase 7 builds complete (before Phase 8 health check)
2026-03-24 13:06:05 -07:00
saravanakumardb1
c2ca7f53b4 fix(infra): harden setup.sh from independent audit findings
- Replace deprecated NodeSource curl|bash with modern GPG key + apt source
- Add build-essential + python3 to apt deps (native addons: better-sqlite3)
- Add --if-present to pnpm -r build (defensive: skip workspace members without build script)
- Fix README: remove stale proxy stripping reference from Phase 3
- Add Known Limitations section: remote browser access, ARM VM, memory pressure
- Remove AUDIT_PROMPT.md (served its purpose)
2026-03-24 12:56:43 -07:00
saravanakumardb1
35021b67b9 docs(infra): fix stale service count (27→30), update prompt.md + README.md for Codex agent readiness
- prompt.md: mark tasks 1-3 as DONE, add 'Current State' section listing
  all implemented features, update bugs-fixed table (16 items), fix service
  count in architecture diagram, add CLI reference, remove stale --frozen-lockfile
- README.md: add Resume & Retry section with examples, add CLI Flags table,
  fix service count in title/phases, update build failure troubleshooting
  with build log paths and retry command
- setup.sh: fix '27 services' → '30 services' in header comment and banner
2026-03-24 12:35:59 -07:00
saravanakumardb1
acbab75aaa docs(infra): add complete CLI reference, examples, and phase docs to setup.sh + ECOSYSTEM_DEPLOYMENT.md
setup.sh header now includes:
- All 6 CLI flags (--resume, --resume-from, --phase, --reset, --status, --help)
- Phase descriptions (1-8)
- 6 usage examples (fresh install, retry, resume, jump, status, reset)
- Resume/retry explanation with state dir and build log paths

ECOSYSTEM_DEPLOYMENT.md now includes:
- Single-VM Bootstrap section with quick start
- Resume & Retry examples
- Phase table
- Per-service build & fallback explanation
- Health check script reference
2026-03-24 12:24:16 -07:00
saravanakumardb1
b634708da8 fix(infra): make ollama model pull non-fatal in setup.sh
ollama pull piped through tail with set -euo pipefail would abort the
entire 8-phase setup on a slow network or wrong model name. Only
LocalMemGPT needs the model — the other 9 products are unaffected.
2026-03-24 12:20:13 -07:00
saravanakumardb1
a3f4c6facf fix(infra): fix sequential phase gap + add phase 7 guards
1. last_completed_phase now stops at first gap — prevents --resume from
   skipping phases when --phase=N created non-sequential markers
2. Phase 7 fails early if .env.ecosystem is missing (points to --phase=6)
3. Warns if compose config JSON cache fails — graceful degradation
2026-03-24 12:17:45 -07:00
saravanakumardb1
a9414218ba fix(infra): fix 5 bugs in setup.sh per-service build + resume logic
1. set -e + pipefail: docker compose up piped through tail would abort
   script on partial startup failure before printing summary — add || true
2. Phase 7 marked done even with build failures, so --resume would skip
   it — now only marks done when all builds succeed
3. --phase=7 printed 'Phase 7 complete' even with failures — now exits
   with code 1 and points to build logs
4. docker compose config --format json called 30 times in build loop —
   now cached once (saves ~3s)
5. Build logs now saved per-service to STATE_DIR/builds/<svc>.log for
   post-failure debugging
2026-03-24 12:13:14 -07:00
saravanakumardb1
8ff9e42817 feat(infra): add resume/retry, per-service build, and fallback to setup.sh
- --resume: auto-detect last completed phase and continue from there
- --resume-from=N: resume from a specific phase
- --phase=N: run only one phase (e.g. --phase=7 to retry deploy)
- --reset: clear phase markers and start fresh
- --status: show completed phases
- Phase 7 now builds each of 27 services individually with progress
- Failed builds are skipped; remaining services still start
- Phase completion markers stored in /opt/bytelyst/.setup-state/
- GITEA_NPM_TOKEN auto-restored from saved state on resume
2026-03-24 12:03:55 -07:00
saravanakumardb1
c0bc13e10a fix(infra): improve setup.sh publish error handling — distinguish real failures from 409 conflicts 2026-03-24 11:56:26 -07:00
saravanakumardb1
52b424937a refactor(infra): remove proxy-stripping sed from setup.sh — Dockerfiles are clean at source 2026-03-24 11:17:02 -07:00
saravanakumardb1
c8a196de58 docs(infra): add bugs-already-fixed section to Codex handoff prompt 2026-03-24 11:04:11 -07:00
saravanakumardb1
ddd2db848e fix(infra): 6 bugs in setup.sh — jfrog sed, apt source, token fallback, log file 2026-03-24 11:02:16 -07:00
saravanakumardb1
6abf13d983 docs(infra): add Codex agent handoff prompt for VM setup 2026-03-24 10:53:20 -07:00
saravanakumardb1
7c34cee0ab feat(infra): install Ollama + full raw-VM bootstrap in setup.sh 2026-03-24 10:47:20 -07:00
saravanakumardb1
2b9fd71740 fix(docker): make proxy optional in dashboard Dockerfiles, strip proxy in VM setup 2026-03-24 10:35:00 -07:00
saravanakumardb1
3b31709b47 fix(infra): add extra_hosts for Linux, improve env example docs, harden setup.sh 2026-03-24 10:26:47 -07:00
saravanakumardb1
2458a9d3b0 feat(infra): add single Azure VM bootstrap script + README 2026-03-24 10:14:16 -07:00
saravanakumardb1
25a1bd5187 fix(infra): add BuildKit secrets + GITEA_NPM_HOST to ecosystem compose 2026-03-24 10:02:40 -07:00
saravanakumardb1
3a840572bf chore(infra): add .env.ecosystem.example for ecosystem compose 2026-03-24 09:08:30 -07:00
saravanakumardb1
d466b8a7c4 docs: clean stale sections in GITEA_NPM_REGISTRY_MIGRATION.md 2026-03-24 08:44:29 -07:00
saravanakumardb1
19a1fd8aa2 docs(pnpm): add MindLyst to migration tracker, update Gitea registry status
- Add learning_multimodal_memory_agents to Wave 3 (commit e0461c7)
- Replace stale Follow-up Validation section with completed Gitea registry status
- Update Summary: all 10 product repos + common-plat on pnpm with Gitea registry
2026-03-24 08:28:11 -07:00
saravanakumardb1
fee5e87052 docs: remove versioning refs and stale transition language from deployment docs
- Remove 'Supersedes' and 'What Changed' section from enhanced plan
- Rewrite Package-Manager Strategy (transition complete, all repos on pnpm)
- Remove docker-prep.sh prerequisites, .tarballs/ references, npm variants
- Replace Dockerfile templates with current Gitea registry-backed pattern
- Remove §11.1 Package-Manager Migration Roadmap (migration complete)
- Clean up §11.2 Gitea section (remove 'Current pain', comparison table)
- Clean up §12 audit findings (remove tarball references)
- Simplify §10 Dockerization table (remove transition columns)
- Update §5.1/5.2 to reflect validated state, not open gaps
- Fix v2 tag in K3s exercise to use semver 1.1.0
- Update Summary table with current state
2026-03-24 08:10:17 -07:00
saravanakumardb1
baf47ac56b docs: add enhanced single-VM deployment plan with Coolify, Valkey, Uptime Kuma, SOPS
New SINGLE_VM_ENHANCED_PLAN.md covers:
- Coolify as self-hosted PaaS (15-min setup vs 6-7hr manual)
- Valkey (Redis fork) for sessions, cache, pub/sub, rate limits
- Uptime Kuma for status page + alerting
- Dozzle for live container logs
- SOPS + age for git-safe encrypted secrets
- Restic for volume backups
- BuildKit cache mounts for faster Docker builds
- Docker Compose profiles for selective startup
- Revised 4.5-hour implementation timeline

Also updates SINGLE_VM_DEPLOYMENT.md §3 prerequisite to reference
resolved Gitea registry migration and new enhanced plan.
2026-03-24 07:49:50 -07:00
saravanakumardb1
b0a4b2d9c3 docs: add Docker build verification section (§17) — all 4 images pass, 1591 tests green 2026-03-24 07:28:44 -07:00
saravanakumardb1
d64acd79e3 docs: add post-migration audit section (§16) — 5 bugs/gaps found and fixed 2026-03-24 06:53:15 -07:00
saravanakumardb1
266f45a851 docs: finalize Gitea registry migration — all 10 repos migrated, rollback + Azure documented, Definition of Done 10/10 2026-03-24 06:23:33 -07:00
saravanakumardb1
4929cb9202 docs(devops): update registry migration status — 8 repos migrated, 38 packages published
- Update validation results: 8 repos migrated, all Docker builds verified
- Update rollout order with completion status
- Update definition of done: 7/10 items checked
- Update next actions: remaining 2 non-standard repos (MindLyst, LysnrAI)
- Mark gaps section: mobile stays on file: refs, CI queue sequential
2026-03-23 21:08:27 -07:00
saravanakumardb1
0dd57b9d00 fix(docs): distinguish NETWORK=corp local-dev topology from VM deployment 2026-03-23 19:48:55 -07:00
saravanakumardb1
f0945a2d86 fix(ci): prefer ipv4 for local runner registration 2026-03-23 19:39:11 -07:00
saravanakumardb1
64db209bab fix(docs): refresh local Gitea rehearsal status 2026-03-23 19:26:31 -07:00
saravanakumardb1
39f33c4342 fix(docs): export local Docker token example 2026-03-23 19:24:32 -07:00
saravanakumardb1
688aad624a fix(docs): document hardened FlowMonk Docker workaround 2026-03-23 19:19:46 -07:00
saravanakumardb1
03b92eb2df fix(docs): update local Gitea migration status 2026-03-23 19:17:07 -07:00
saravanakumardb1
6f748b11d4 fix(docs): record local FlowMonk Docker workaround 2026-03-23 19:09:04 -07:00
saravanakumardb1
2296d98bf6 fix(docs): capture localhost tarball blocker in Docker 2026-03-23 19:02:49 -07:00
saravanakumardb1
fdf640e5bd fix(docs): capture local Docker auth blocker 2026-03-23 18:57:34 -07:00
saravanakumardb1
90e3f8d056 fix(docs): narrow docker-prep assumptions in vm guide 2026-03-23 18:54:18 -07:00
saravanakumardb1
a0469c2a57 fix(docs): clarify local Gitea consumer auth behavior 2026-03-23 18:52:26 -07:00
saravanakumardb1
fdf80d6470 fix(docs): correct FlowMonk compose build examples 2026-03-23 18:50:38 -07:00
saravanakumardb1
7361cba125 fix(docs): restore valid helm template examples 2026-03-23 18:16:01 -07:00
saravanakumardb1
4687351de0 ci: update CI/CD configuration 2026-03-23 18:04:18 -07:00
saravanakumardb1
fa1adf829c docs(devops): capture azure vm and scaling readiness gaps 2026-03-23 16:10:02 -07:00
saravanakumardb1
661bc9953a docs(pnpm): record audited gitea registry checkpoints 2026-03-23 16:06:59 -07:00
saravanakumardb1
178f043518 docs(pnpm): finalize gitea rehearsal commit ledger 2026-03-23 15:49:53 -07:00
saravanakumardb1
accf834b3e docs(pnpm): record gitea registry rehearsal checkpoint 2026-03-23 15:49:05 -07:00
saravanakumardb1
7116749bbd docs(devops): record local gitea registry rehearsal 2026-03-23 15:48:18 -07:00
saravanakumardb1
e427282234 docs(ci): update Gitea CI docs + add /gitea-ci workflow
- Add key settings, runner log path, detailed repo/job matrix to GITEA_LOCAL_CI.md
- Add /gitea-ci Windsurf workflow: start, push all, check status, view logs
- Add learning_ai_local_memory_gpt to repos.txt
2026-03-22 20:56:03 -07:00
saravanakumardb1
acb866774c feat(repo): add packageManager field + finalize pnpm migration tracker
- Add packageManager: pnpm@10.6.5 to root package.json
- Mark all 9 repos complete in PNPM_MIGRATION.md
- Record lysnrai commit c3a88af + common-plat completion notes
2026-03-22 20:36:41 -07:00
saravanakumardb1
6d4579da37 chore(ci): migrate to Gitea local CI, disable GitHub Actions
- Add .gitea/workflows/ci.yml for Gitea Actions
- Disable GitHub Actions: ci-extraction-service, ci-mcp-server, reusable-pnpm-workspace
- Add docs/devops/GITEA_LOCAL_CI.md setup guide
2026-03-22 20:13:02 -07:00
saravanakumardb1
8070009fde docs(pnpm): update jarvisjr + peakpulse migration tracker 2026-03-22 19:43:24 -07:00
saravanakumardb1
d9434bbb3e docs(pnpm): update chronomind migration tracker 2026-03-22 19:12:22 -07:00
saravanakumardb1
6a92f43db5 docs(pnpm): update nomgap migration tracker 2026-03-22 18:42:50 -07:00
saravanakumardb1
1e725e977d docs(pnpm): update actiontrail migration tracker 2026-03-22 17:35:01 -07:00
saravanakumardb1
d7651a73cf docs(pnpm): update localmemgpt migration tracker 2026-03-22 17:18:27 -07:00
saravanakumardb1
e2a0960a6d docs(pnpm): record notelett push status 2026-03-22 15:53:06 -07:00
saravanakumardb1
14e7e490e2 docs(pnpm): update notelett migration tracker 2026-03-22 15:52:22 -07:00
saravanakumardb1
5998af45e3 docs(pnpm): fix tracker audit gaps 2026-03-22 14:19:05 -07:00
saravanakumardb1
afcbf852b2 docs(pnpm): strengthen migration tracker gates 2026-03-22 14:15:48 -07:00
saravanakumardb1
828d31b63d docs: update documentation 2026-03-22 14:06:44 -07:00
saravanakumardb1
d934bb3286 docs(pnpm): add canonical ecosystem migration roadmap 2026-03-22 14:03:17 -07:00
saravanakumardb1
dda38aa009 fix(exports): strip data payload from list endpoint + update audit doc
- exports/routes: exclude inline data from GET /exports list response
  to prevent returning megabytes of serialized export data (perf+security)
- Update WORKSPACE_TODO_AUDIT.md: add post-audit review section with
  9 bugs found and fixed across 2 commits (73b07c2, 841cdf3), mark
  all action plan sprints complete
- Typecheck clean, 1483/1483 tests pass
2026-03-22 01:23:08 -07:00
saravanakumardb1
1576b699b0 feat(platform-service): resolve all P3 TODOs — diagnostics notifications + test cleanup
- diagnostics/subscribers: notify admin via email when debug session is
  cancelled (looks up session creator via getSession + getUserById)
- diagnostics/subscribers: email session summary (logs/traces/screenshots)
  to admin when debug session completes
- diagnostics/subscribers: send Slack alert via dispatchSlack for FATAL
  logs ingested during debug sessions (on-call engineer notification)
- feedback-client/integration.test.ts: replace TODO-4 with clear NOTE,
  fix unused var lint errors
- feedback-client/gdpr.test.ts: mark lifecycle policy as accepted,
  remove console.log + unused blobPath variable
- Update WORKSPACE_TODO_AUDIT.md — P3 section: all 5 resolved
- Typecheck clean, 1483/1483 tests pass
2026-03-22 01:03:51 -07:00
saravanakumardb1
a92373adec docs(devops): fix 15 bugs/gaps in single-VM deployment guide — add 4 missing web services, update stale references 2026-03-22 00:49:14 -07:00
saravanakumardb1
0502dead68 docs(devops): add Docker Desktop K8s as primary local option alongside K3s 2026-03-22 00:44:23 -07:00
saravanakumardb1
6f03a74a76 feat(platform-service): resolve P2 TODOs — exports, broadcasts, telemetry, waitlist
- telemetry/repository: group upsertEventsBatch by pk — same-partition
  writes sequential, different partitions parallel (reduces contention)
- exports/routes: wire async export processing via process.nextTick —
  queries users/audit/telemetry/usage/subscriptions/licenses, serializes
  to CSV or JSON, updates job status with rowCount and fileSizeBytes
- broadcasts/repository: replace mock estimateTargetReach with real user
  count query from auth module, respects percentageRollout
- broadcasts/routes: wire async broadcast delivery — fetches target users,
  dispatches email per recipient, updates metrics on completion
- waitlist/routes: auto-generate invitation codes via invitations module
  when batch-inviting waitlist entries (WL-XXXXXXXX format, 14-day trial)
- CAPTCHA (item 12) deferred — requires external API keys
- Update WORKSPACE_TODO_AUDIT.md — P2 section: 5/6 resolved
- Typecheck clean, 1483/1483 tests pass
2026-03-22 00:41:11 -07:00
saravanakumardb1
5646cefcbd docs(devops): add K8s best practices from production comparisons, update gap table to reflect all Dockerfiles created 2026-03-22 00:36:59 -07:00
saravanakumardb1
ae2af43d71 docs(devops): add single-VM deployment guide with audit findings 2026-03-22 00:18:17 -07:00
saravanakumardb1
2f06aacc27 fix(platform-service): resolve P1 TODOs — delivery email subscribers + survey incentives
- delivery/subscribers: add resolveUserEmail() helper using auth getById()
- payment.failed: look up user email, dispatch payment-failed template
- trial_expiring: look up user, compute daysLeft from expiresAt, dispatch
- trial_expired: look up user, dispatch trial-expired template with upgradeUrl
- surveys/routes: wire incentive fulfillment to subscriptions module
  - pro_days: extend currentPeriodEnd by incentive amount
  - credits: add bonus tokensIncluded via subscriptions repo
- Update WORKSPACE_TODO_AUDIT.md — P0+P1 all resolved (7/18)
- Typecheck clean, 1483/1483 tests pass
2026-03-22 00:14:41 -07:00
saravanakumardb1
9f00c120da docs: update TODO audit — P0 items resolved, clean table formatting 2026-03-21 23:51:23 -07:00
saravanakumardb1
07e4d838ed docs: comprehensive workspace TODO audit — 18 findings across 15 repos
Scanned all 15 workspace repos for TODOs, disabled features, stubs.
- 12 actionable TODOs in platform-service (delivery, exports, broadcasts, surveys, waitlist, diagnostics, telemetry)
- 3 identical error.tsx telemetry TODOs across dashboards
- 3 package-level TODOs (feedback-client tests, create-app template)
- All 9 product backends + webs are TODO-free
- Prioritized into P0-P3 with impact/benefit analysis and sprint plan
2026-03-21 23:46:14 -07:00
saravanakumardb1
f92504ceb4 docs(admin-web): update gap analysis — all Q1-Q4 TODOs resolved, 0 partially exposed pages
- Batch 5: 3 backend endpoints added + 4 frontend features re-enabled
- Batch 6: debug-session JSON download implemented, console.log removed
- Statistics: 21 broken calls fixed (6 commits), 0 partially exposed pages
- No actionable TODOs remain
2026-03-21 23:15:24 -07:00
saravanakumardb1
1935b39525 docs(admin-web): update gap analysis — all page proxy routes verified complete
- Add batch 4 fixes: experiments/ab-testing proxy routes, webhooks B20 fix
- Add verification section: all 30 API call paths have matching proxy routes
- Update statistics: 46 proxy route dirs, 20 broken calls fixed, 0 missing for pages
- Add TODO Q4: webhooks per-subscription delivery loading
- Update 'Still Missing' table with better notes (none are blocking)
2026-03-21 23:00:35 -07:00
saravanakumardb1
6d9b687b49 docs(admin-web): update gap analysis with batch 2+3 fixes + new proxy routes
- Add batch 2 bug fixes table (587d22e): orgs members→memberships, marketplace admin paths
- Add batch 3 bug fixes table (c54a3fe): agent-evals run plural, delete disabled
- Add missing proxy routes section (880338b): ai-diagnostics, feedback
- Update statistics: 43 proxy route dirs, 19 total API call fixes, ~10 remaining
- Add TODO Q3: agent-evals suite delete endpoint needed
2026-03-21 21:19:27 -07:00
saravanakumardb1
a1fd1d2e37 docs(admin-web): update gap analysis with implementation status + bug fix log
- Add Implementation Status section with checkboxes for all completed work
- Sprint 0-4 items all checked off (sidebar, pages, proxy routes)
- Document 12 API call bugs found and fixed in a3e94f3
- Track 11 remaining missing proxy routes
- Track 2 open TODOs (Q1: delivery retry, Q2: reviews flag)
- Update Part 6 statistics with before/after columns
- Admin gap reduced from 28 missing to ~11
2026-03-21 21:08:47 -07:00
saravanakumardb1
edf8926d6d fix(docs): self-audit Portal PRD + roadmap — 15 findings corrected
Review Errata (15 findings):
- F1-F2: Product count 11→10 (ByteLyst Auth has no backend)
- F3: product.json count 4→3 missing (FlowMonk, ActionTrail, LocalMemGPT)
- F4: Architecture diagram spacing fixes
- F5: Remove portalLayout from GlobalPreferences (contradicted separate Cosmos container)
- F6-F7: Widget endpoint unified to /widgets/:widgetId/data + added layout CRUD endpoints
- F8: Verified all 10 feed source endpoints against actual backend route files
- F9: Added @bytelyst/datastore to BFF tech stack
- F10: Added Cosmos containers section (portal_widget_layouts)
- F11: Global prefs dependency Phase 2→Phase 5 blocker
- F12: Removed emojis from search example
- F13: Added quick-actions task to roadmap Phase 1
- F14: Added 4 missing scaffold tasks (errors, datastore, cosmos-init, vitest)
- F15: Corrected run-local-all-services.sh location
- Updated task totals: 124→129
2026-03-21 20:57:28 -07:00
saravanakumardb1
7a4cca034c docs: add Unified ByteLyst Portal PRD + phased roadmap with 124 tasks
- PRD: product identity, architecture (BFF + web), data model, 10 pages,
  21 widgets, cross-product feed/search, security, resilience, telemetry
- Roadmap: 8 phases (scaffold, auth, feed, widgets, search, billing,
  security, polish), dependency graph, ~21 days estimated
- Builds on CROSS_PRODUCT_USER_DASHBOARD.md design + DASHBOARD_UI_GAP_ANALYSIS.md findings
2026-03-21 20:49:55 -07:00
saravanakumardb1
f9fa583cae docs: add ecosystem consistency audit — 20 findings across 13 repos 2026-03-21 20:21:06 -07:00
saravanakumardb1
6f9ff2a5a4 docs: fix 10 bugs in dashboard UI coverage roadmap — self-audit corrections
Systematic review found and corrected:
- R1: Gap 1.2.3 (predictive campaigns) missing — added as Phase 4.12
- R2: Gap 1.2.4 (kill switch for all products) missing — added as Phase 0.3
- R3: Phase 1 labeled '1 week' but effort is 10 days — fixed to '2 weeks'
- R4: Admin sidebar target 59 wrong — corrected to 52
- R5: Phase 4 sidebar count 9 wrong — fixed to 7 new + 5 expanded
- R6: Dependency graph incorrect — Phase 4 can start after Phase 1
- R7: Success metrics denominator misleading — clarified
- R8: No grand total effort — added ~60 dev-days
- R9: No completion tracking — noted
- R10: Phase 2 API route count unexplained — added note

All 55 gap analysis items now verified covered across phases 0-6.
2026-03-21 17:35:30 -07:00
saravanakumardb1
d1a4db29a4 docs: add dashboard UI coverage roadmap — 6-phase execution plan to close 55 gaps
Converts gap analysis findings into concrete phased roadmap:
- Phase 0: Fix ai-diagnostics backend bug + wire 7 hidden sidebar items (1 day)
- Phase 1: 4 critical admin pages — orgs, support, AI budgets, waitlist (1 week)
- Phase 2: 7 high-value admin pages — webhooks, knowledge, evals, reviews, marketplace, delivery, jobs (2 weeks)
- Phase 3: User dashboard security hub + 5 missing pages (1.5 weeks)
- Phase 4: 11 operational admin features — event bus, SCIM, IP rules, backups, etc. (2 weeks)
- Phase 5: User polish — feedback, org membership, marketplace, GDPR export (1 week)
- Phase 6: 14 backlog items triggered by product needs

Includes dependency graph, per-page template, effort estimates,
acceptance criteria, success metrics, and risk register.
2026-03-21 17:31:19 -07:00
saravanakumardb1
827934124d docs: add comprehensive dashboard UI gap analysis — 55 hidden/underexposed features identified
Systematic scan of platform-service (43+ modules, 511+ endpoints) vs admin-web
(27 sidebar items, 38 pages) and user-dashboard-web (11 pages, 39 API routes).

Key findings:
- 28 backend modules completely missing from admin UI
- 7 admin pages built but missing from sidebar (undiscoverable)
- 12 user-dashboard features completely missing
- 1 critical backend bug: ai-diagnostics routes.ts not registered in server.ts
- 26 missing admin API proxy routes
- 10 errata items self-audited and corrected in-place

Includes 79-row module-to-UI matrix, auth sub-module gap detail,
prioritized 6-sprint action plan, and cross-cutting gap tables.
2026-03-21 17:18:06 -07:00
saravanakumardb1
b1af8e550a docs(e2ee): detailed SQLCipher + AKV implementation plan for LocalMemGPT Sprint 5.4
- Decision: SQLCipher full-DB encryption (preserves FTS5 search)
- Key hierarchy: AKV secret > env var > auto-generated file > unencrypted dev
- Existing DB migration via sqlcipher_export
- 6 implementation steps documented
2026-03-21 13:39:01 -07:00
saravanakumardb1
c252cfd198 feat(devops): encryption migration CLI with embedded product configs
- scripts/encrypt-migrate.ts — batch-encrypt existing plaintext Cosmos docs
- scripts/ added as pnpm workspace member for clean @bytelyst/* imports
- 10 product configs, 20 containers, 40+ fields
- --dry-run, --product, --container, --batch-size, --verbose flags
- Idempotent via __encrypted sentinel (migrateDocuments helper)
- Updated E2EE roadmap Sprint 6.2 as complete
2026-03-21 13:19:55 -07:00
saravanakumardb1
32afe8dde7 docs(e2ee): update roadmap — ChronoMind + PeakPulse backends encrypted (9 total)
- ChronoMind: timers.description, routines.description, routines.steps[].notes (182 tests)
- PeakPulse: peak-sessions.notes (65 tests)
- Only MindLyst (KMP) and LocalMemGPT (SQLite) deferred
2026-03-21 12:04:10 -07:00
saravanakumardb1
d11f84da5f docs(e2ee): update roadmap — Sprint 4 complete
- 4.1.2: Swift Keychain key derivation ✓
- 4.2.2: Kotlin SecureStore key derivation ✓
- 4.3: @bytelyst/client-encrypt (22 tests) ✓
- 4.4.1: @bytelyst/secure-storage-web (16 tests) ✓
- 4.5: FlowMonk tasks.description encrypted (211 tests) ✓
- Only 4.4.2 (auth-client migration) deferred to Sprint 5
2026-03-21 11:23:26 -07:00
saravanakumardb1
e59dcdb9ac docs(e2ee): update roadmap — Sprint 4.1/4.2 native SDKs complete
- Swift BLFieldEncrypt: 22 XCTest tests, CryptoKit AES-256-GCM
- Kotlin BLFieldEncrypt: 21/21 JUnit5 tests, javax.crypto AES-256-GCM
- Both wire-compatible with @bytelyst/field-encrypt EncryptedField JSON
2026-03-21 10:58:47 -07:00
saravanakumardb1
5fe891f472 docs: update workspace + common-plat inventory with accurate scan data
- Package count: 53 → 58 (added backend-config, backend-flags,
  backend-telemetry, fastify-auth, field-encrypt)
- New §2.6 Security section for @bytelyst/field-encrypt
- Product table: added Encrypted column (5 backends using field-encrypt)
- Test summary: replaced vague estimates with actual file counts (538 total)
- LocalMemGPT: fixed stack from 'React, Express' → 'Fastify 5, Next.js 16,
  SQLite, Ollama' and added to product table (port 4019)
- Architecture diagram: 9→10 products, 53→58 packages, added LocalMemGPT
- Updated notes about SmartAuth (docs-only), temp_uxlab (empty)
- Bumped last-updated dates to 2026-03-21
2026-03-21 10:52:31 -07:00
saravanakumardb1
d6de30ee57 docs(devops): refresh backend audit baseline 2026-03-21 10:45:55 -07:00
saravanakumardb1
7c99f5a5fa docs(e2ee): update roadmap — Phase 1 + Sprint 3 complete, 6 backends encrypted
- Sprint 1: @bytelyst/field-encrypt package — all items complete
- Sprint 2: LysnrAI + JarvisJr encrypted, MFA refactor deferred (data format risk)
- Sprint 3: NoteLett + NomGap + ActionTrail encrypted
- MindLyst deferred (KMP/Gradle repo, not Fastify backend pattern)
- Total: 6 product backends with field-level encryption, all tests green
2026-03-21 09:36:39 -07:00
saravanakumardb1
8af997ba0f docs(devops): update stale mywisprai/MyWisprAI branding across 5 AKV docs
- BytelystAI → ByteLyst in titles
- MyWisprAI → LysnrAI (legacy) for wispr-* secret references
- Added 'legacy resource name' annotations to Azure resource names
  (kv-mywisprai, cosmos-mywisprai, etc. cannot be renamed)
- Updated dashboard paths (admin-web moved to dashboards/)
- Fixed telemetry role name: mywisprai-admin → lysnrai-admin
- Updated last-updated dates to 2026-03-21

Files: AZURE_KEY_VAULT_AND_SECRETS_ROTATION.md,
AZURE_PORTAL_SETUP.md, AZURE_RESOURCE_INVENTORY.md,
ENVIRONMENT_VARIABLES_AND_KEYVAULT_AUDIT.md,
END_TO_END_ENCRYPTION_ROADMAP.md
2026-03-21 09:15:30 -07:00
saravanakumardb1
2e35334e13 docs(devops): add coding agent automation playbook
- 11 cross-repo automation tasks for AI coding agents
- Workspace hygiene, test suites, coverage gaps, typecheck, deps, secrets
- Baseline test counts: 1,457 backend + 864 web = 2,321 total
- Priority matrix, quick-start commands, existing workflow references
2026-03-21 09:04:35 -07:00
saravanakumardb1
af5684587d docs(devops): fix 14 bugs/gaps in E2EE design + roadmap after codebase review 2026-03-21 09:01:35 -07:00
saravanakumardb1
b6a1d637fb docs(devops): add E2EE design document and implementation roadmap 2026-03-21 08:51:43 -07:00
saravanakumardb1
2eadf480dc docs: Add post-implementation review fixes section to roadmap
Systematic review found 7 bugs across 7 repos:
1. LysnrAI Android: SettingsStore.kt incorrectly deleted (ada3d43)
2. Android kill switch: result.killed → result.disabled (3 repos)
3. Auth App iOS: BLKillSwitchClient.check() returns Void (215e7c9)
4. ChronoMind iOS: nonexistent BLKillSwitchResult (d3c3aff)
5. MindLyst iOS: KillSwitch + CrashReporter wrong API (cd78597)
6. JarvisJr iOS: KillSwitchResponse decoded 'killed' not 'disabled' (2a3cc7e)
7. NoteLett Mobile: createDiagnosticsClient doesn't exist (0b5c224)
2026-03-20 23:16:19 -07:00
saravanakumardb1
76e05f836a docs: Update MOBILE_DRY_REFACTORING_ROADMAP with all 9 phases completed
Phases 1-9 complete with commit links and checked boxes:
- Phase 1: ChronoMind Android (2060a83)
- Phase 2: JarvisJr Android (336535a)
- Phase 3: FlowMonk Mobile RN (ce70d8c)
- Phase 4: LysnrAI Android (24a09a2) — 11 dead services deleted
- Phase 5: NomGap RN (63bd34b) — billingFetch replaced
- Phase 6: LysnrAI iOS (862e981) — 5 dead services deleted
- Phase 7: Auth App Android (5b65215) — telemetry/flags/killswitch added
- Phase 8: Auth App iOS (4a84050) — telemetry/flags/killswitch added
- Phase 9A: ChronoMind iOS (c328216) — Config + KillSwitch wrappers
- Phase 9B: NoteLett Mobile (c2d6414) — diagnostics-client added
- Phase 9C: MindLyst iOS (dce9e22) — Config + KillSwitch + CrashReporter
- Phase 9D: JarvisJr iOS — no changes needed (sync manager active)

Total: ~2,700 lines of dead code removed across 6 repos.
13 TODOs logged for build verification and deferred migrations.
2026-03-20 22:53:26 -07:00
saravanakumardb1
ac63116528 docs: mark Cross-Repo DRY Migration roadmap as COMPLETE (all 5 phases)
- Phase 4 (Web Client DRY) completed: createWebTelemetry + createWebDiagnostics
- 6 web apps migrated, all typechecks + tests pass
- product-config.ts standardization deferred (risk > ROI)
2026-03-20 18:58:31 -07:00
saravanakumardb1
b9e37bb8b4 feat(telemetry-client,diagnostics-client): add createWebTelemetry + createWebDiagnostics convenience factories
- telemetry-client: createWebTelemetry() wraps createTelemetryClient() with web defaults
- diagnostics-client: createWebDiagnostics() wraps DiagnosticsClient with install ID + web defaults
- Eliminates ~70 lines of boilerplate per web app
- 11/11 telemetry tests pass, 21/21 diagnostics tests pass
2026-03-20 18:47:18 -07:00
saravanakumardb1
470661e274 docs: mark Phase 3 complete, Phase 4 deferred in DRY migration roadmap 2026-03-20 08:06:37 -07:00
saravanakumardb1
f5d64d58ce docs: mark Phase 0+1 complete in DRY migration roadmap with commit hashes 2026-03-20 07:48:24 -07:00
saravanakumardb1
d10322095a docs: fix 10 inaccuracies in DRY audit + roadmap after thorough review
Verified claims against actual codebase. Key corrections:

Audit (CROSS_REPO_DRY_AUDIT.md):
- Fix #5: all 9 repos already use @bytelyst/datastore — issue is only
  DB_PROVIDER missing from config.ts in 3 older repos (not a full migration)
- Fix #6: only 3 repos have product-config.ts (not 4) — NomGap was wrong
- Fix #11: web telemetry.ts is in NomGap+NoteLett+ChronoMind+LysnrAI (not JarvisJr)
- Fix #12: web diagnostics.ts includes LysnrAI user-dashboard-web (5 repos total)
- Fix auth.ts LOC: exactly 79 lines × 9 repos = 711 (was '60-90')
- Fix request-context.ts LOC: 30-49 lines range (was '~30-50')
- Fix package count: 50 packages (not 53)
- Add items 15-16: web auth.ts + billing-client.ts (noted as keep-as-is)
- Fix LOC math: ~2,700 total (was inflated ~4,200)
- Add cosmos-init.ts note (5 repos, product-specific, not consolidation candidates)

Roadmap (CROSS_REPO_DRY_MIGRATION_ROADMAP.md):
- Phase 0.2: 6 repos need product-config.ts (add NomGap)
- Phase 2.3: rewritten from 'migrate to datastore' to 'add DB_PROVIDER to config'
- Phase 4: add LysnrAI user-dashboard-web to affected repos, remove JarvisJr from telemetry
- Fix product-config.ts template path (was ../../../../, now ../../../ with depth note)
- Fix success metrics: packages 50→55, product-config 3→9, LOC ~1,760
- Fix overview table: Phase 2 name, Phase 4 repo count
2026-03-20 07:15:07 -07:00
saravanakumardb1
a769f671e2 docs: cross-repo DRY audit + end-to-end migration roadmap
- CROSS_REPO_DRY_AUDIT.md: identified 14 duplication patterns across
  9 product backends + web clients (~4,200 LOC duplicated)
- CROSS_REPO_DRY_MIGRATION_ROADMAP.md: 5-phase execution plan with
  concrete file lists, migration steps, verification checkpoints,
  rollback strategy, and success metrics
- Phase 0: quick wins (delete errors.ts re-exports, standardize product-config)
- Phase 1: @bytelyst/fastify-auth (auth + request-context for 9 repos)
- Phase 2: @bytelyst/backend-config + datastore migration for 3 older repos
- Phase 3: backend-flags, backend-telemetry, domain-events (FlowMonk + ActionTrail)
- Phase 4: web client DRY (telemetry, diagnostics, product-config conveniences)
- Estimated: 11 days, 5 new packages, ~3,260 LOC eliminated
2026-03-20 07:04:46 -07:00
saravanakumardb1
63322a2d07 docs(roadmap): mark P3 Platform Deepening as complete with commit links
All 6 phases implemented, 58 new tests (1,278 → 1,336):
- Phase 1: 15e24e5 — Event Bus + Worker Runtime (15 tests)
- Phase 2: 84dc348 — Agent Runtime Orchestration (14 tests)
- Phase 3: 05acacd — AI Budget & Cost Governance (9 tests)
- Phase 4: 9758192 — AI Governance & Evals (8 tests)
- Phase 5: a060ee4 — Human Review Queue (7 tests)
- Phase 6: 0bbae1f — Support Case Management (5 tests)
2026-03-20 03:39:48 -07:00
saravanakumardb1
17f5671595 docs(roadmap): P3 platform deepening roadmap — reviewed and audited
- 6 phases: Event Bus, Agent Runtime, AI Budget, AI Evals, Reviews, Support Cases
- 7-sprint mapping (14 weeks) with parallelization opportunities
- Cross-referenced all claims against actual codebase — 15 bugs/gaps found and fixed:
  - DurableEventBus already exists in @bytelyst/events (not just in-memory)
  - jobs/ has 25 tests (not 6), support-cases/ has 4 (not 3)
  - ai-budgets already has verdict engine (252 LOC), alert generation, model allowlists
  - BudgetScopeType only supports product+agent (not org/workspace yet)
  - reviews/notifications.ts already has notifyReviewAssigned()
  - Phase 2 effort overflowed (17d in 15d sprint) — rebalanced
  - Test baseline corrected to 1,278 (not 1,308)
  - Identified Cosmos QueueStore gap as critical path for Phase 1
  - ai-diagnostics has 5,235 LOC but 0 tests — flagged as risk
- Estimated ~138 new tests bringing total to ~1,416
2026-03-20 01:20:49 -07:00
saravanakumardb1
5f294b30b0 docs: update workspace review — all P0/P1/P2 items completed with commit links
- P0: typecheck sweep (0 errors), integration verified, roadmap hygiene (8c3d540)
- P1: analytics deepened (1efbb93), cloud SDK + declarative loader already done
- P2: orgs RBAC (0195cde), agents (ae87371), knowledge (20663d7), SCIM (d073122)
- 4 items deferred to product-level: iOS keyboard, create-app publish, ChronoMind, auth-ui
- Full test sweep: 1,262 tests pass across 114 files
2026-03-20 00:46:42 -07:00
saravanakumardb1
8c3d54048a docs: reorganize roadmaps — broadcast/survey to completed, 10 scaffolded roadmaps to new dir
- Move platform_BROADCAST_SURVEY_ROADMAP.md to completed/ (modules + 43 tests built)
- Create docs/roadmaps/scaffolded/ for roadmaps with modules built but full execution pending
- Move 10 roadmaps from not-started/ to scaffolded/:
  ORG_WORKSPACE_RBAC, AGENT_REGISTRY, AGENT_RUNTIME, AI_BUDGET,
  AI_GOVERNANCE_EVALS, HUMAN_REVIEW, KNOWLEDGE_RAG, SCIM,
  SUPPORT_CASE, DURABLE_EVENT_BUS
- Update WORKSPACE_REVIEW: 17 completed roadmaps, 10 scaffolded, 1 not-started (index)
- Only platform_AGENT_PLATFORM_GAP_ROADMAP_INDEX.md remains in not-started/
2026-03-20 00:25:36 -07:00
saravanakumardb1
a8bef2ea08 docs: sync workspace review with actual code state — post-audit update
- platform-service: 37 → 62 modules, 1020 → 1239 tests, 23 → 53 packages
- Mark completed: Platform Acceleration (4 phases), CDN, Search, Dunning,
  Tenants, Retention, Backups, API Versioning, A/B Testing, Impersonation,
  Predictive Analytics, AI Diagnostics, Broadcasts, Surveys
- Add scaffolded roadmaps section (11 modules with types/repo/routes/tests)
- Update maturity score: 91 → 97/100
- Update priority list: 13 items moved from TODO to DONE
- Accurate counts: 75 routes, 131 Cosmos containers, ~3,492 total tests
2026-03-20 00:02:08 -07:00
saravanakumardb1
c2c5dd518a docs: complete Platform Acceleration Roadmap (all 4 phases) — move to completed/
Phase 4 delivered:
- 4.1 Auto-Registration on First Request (8 tests, 1fe1e75)
- 4.2 Multi-Product Telemetry Dashboard (6 tests, d900df3)
- 4.3 Shared Onboarding Analytics (8 tests, 0e880fd)
- 4.4 Pre-Built Stripe Checkout Flow (6 tests, 0352ea5)
- 4.5 Cross-Product User Dashboard design doc (deferred to post-SmartAuth)

Total across all 4 phases: 327 tests
Roadmap moved from in-progress/ to completed/
2026-03-19 22:13:21 -07:00
saravanakumardb1
af88c4a0b3 docs: update Platform Acceleration Roadmap — Phases 1-3 complete, move to in-progress
Verified all task status against actual code:
- Phase 1: product-manifest (51 tests), dashboard-components (32 tests),
  sync engine (31 tests), module generator — all built
- Phase 2: create-app CLI (26 tests), auth-ui (54 tests),
  API route generator, AGENTS.md auto-gen — all built
- Phase 3: Swift SDK (30 tests/7 files), Kotlin SDK (64 tests/9 files),
  dashboard-shell (41 tests), declarative YAML loader (34 tests) — all built
- Phase 4: not started (5 tasks remaining)

Total: 299 tests across acceleration packages

Remaining integration work (unchecked):
- Migrate dashboards to consume @bytelyst/dashboard-components
- Migrate ChronoMind to @bytelyst/sync
- Migrate product auth pages to @bytelyst/auth-ui
- Migrate user-dashboard to @bytelyst/dashboard-shell
- Migrate ChronoMind iOS/Android to platform SDKs
- Migrate changelog to declarative YAML
- Publish create-app to npm
2026-03-19 21:43:54 -07:00
saravanakumardb1
cf20f0f591 docs: consolidate workspace review → WORKSPACE_REVIEW_2026_03_19.md
- Renamed from 2026_03_03 to 2026_03_19 (single source of truth)
- Updated all test counts, added FlowMonk/NoteLett/ActionTrail sections
- Moved SHARED_CLIENT_PACKAGES to completed roadmaps
- Platform maturity 87→91, Client SDKs 95→100%
- Removed duplicate review file generated by Cascade
2026-03-19 19:04:13 -07:00
saravanakumardb1
6115ae5c0f fix(docs): correct 10 issues in workspace review 2026-03-19
- platform-service tests: ~1,027 -> 1,020 (verified)
- Product backend total: ~1,256 -> 1,217 (verified)
- ChronoMind backend: ~179 -> 176
- FlowMonk backend: ~194 -> 181
- ActionTrail backend: ~187 -> 185
- Grand total: ~4,298 -> ~4,220
- kotlin-platform-sdk: 38/39 -> 56/57 (13 deferred files restored)
- Scope: 15 repos -> 14 repos + 1 temp workspace
- SHARED_CLIENT_PACKAGES_ROADMAP moved from Active to Completed (15 total)
- P2 maturity: 40% -> 60%, Client SDKs: 98% -> 100%
- Added web dev server port table (3000/3050/3060)
- Removed ~ approximation from all verified backend test counts
2026-03-19 18:51:26 -07:00
saravanakumardb1
e90b2f67e7 docs: refresh workspace review with 2026-03-19 test sweep results
- Update all test counts from verified backend sweep (2,237 service tests)
- Add 3 missing repos: FlowMonk, NoteLett, ActionTrail
- Add completed initiatives: shared client packages, Android builds, code review
- Update maturity score 87->91, P2 progress 40->60%
- Refresh repo script to include all 10 repos
- Next review: 2026-04-02
2026-03-19 18:16:42 -07:00
saravanakumardb1
b173fdd4d4 docs: mark all product migrations complete in shared packages roadmap
9/9 products audited and migrated:
- NomGap: 9 mobile + 6 web files (+ 6 bug fixes)
- ChronoMind: billing-client + feature-flags
- MindLyst: billing-client + feature-flags
- LysnrAI: feature-flags
- JarvisJr: audited, no candidates (custom marketplace routes)
- FlowMonk, NoteLett, ActionTrail: already fully migrated
- PeakPulse: iOS-only, no web migration needed
2026-03-19 17:02:30 -07:00
saravanakumardb1
3c6e452999 docs: update roadmap — NomGap mobile migration complete 2026-03-19 16:26:19 -07:00
saravanakumardb1
c5e292fe05 docs(roadmap): update shared client packages status to reflect completion + NomGap web migration 2026-03-19 13:30:33 -07:00
saravanakumardb1
c87a8e9ef1 docs: fix 17 bugs/gaps in shared client packages roadmap + add workflow
Review findings and fixes:
- Fix subscription routes use :userId not :id
- Fix GET /plans returns { plans: [...] } wrapper
- Fix org routes require admin-only JWT role
- Flag missing POST /referrals/apply endpoint
- Flag missing POST /subscriptions/restore endpoint
- Expand org-client and marketplace-client with full API signatures
- Add x-product-id header requirement
- Add NomGap Migration Plan
- Add Known Backend Gaps appendix
- Add /implement-shared-packages workflow
2026-03-19 11:02:42 -07:00
root
3cc35e2b51 docs(roadmaps): clarify reuse across agent platform gaps 2026-03-14 14:40:43 +00:00
root
f02ff801cb docs(roadmaps): refine agent platform roadmap decisions 2026-03-14 14:37:50 +00:00