Commit Graph

101 Commits

Author SHA1 Message Date
root
dea1546d9f feat: add Hermes mission control dashboard 2026-05-26 08:27:59 +00:00
root
62cf0c8c29 docs: correct Hermes dashboard roadmap repo path 2026-05-26 04:59:47 +00:00
root
1ee9c54a54 docs: clarify Hermes dashboard roadmap 2026-05-26 02:52:27 +00:00
sarvana7
62089a11cc
Create hermes_dashboard_roadmap.md 2026-05-25 03:32:35 -07:00
root
47c96d5db4 docs(devops): add repo context note 2026-05-18 09:01:09 +00:00
root
1deb832b1a chore(devops): tighten deployment scripts 2026-05-18 09:01:03 +00:00
root
85f21ae9f6 feat(devops): restore dashboard build and log polling 2026-05-18 09:00:56 +00:00
root
4ae55fd3c8 chore(deploy): remove debug logging from deployment script
Removed debug logging that was added to troubleshoot the commit hash issue.
The issue has been fixed by changing docker-compose.yml to use pre-built images.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-13 02:48:54 +00:00
root
d70accecb8 debug(deploy): add debug output to track git metadata collection
Added debug logging to see what commit SHA is being collected and passed to Docker build.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-13 02:35:02 +00:00
root
bb39088f81 fix(deploy): ensure correct git metadata and source code in builds
- Change to repo directory before collecting git commit metadata
- Run docker build from repo directory to use correct source code
- Run docker compose commands from repo directory
- This ensures deployed commit hash matches actual code deployed

This was causing deployments to report wrong commit hashes and use old code.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-13 02:21:14 +00:00
root
388c564ccf fix(deploy): correct log function usage in commit verification 2026-05-13 02:20:48 +00:00
root
b4efba965c feat(deploy): add automatic commit hash verification after deployment
- Query /api/devops/version endpoint to get deployed commit
- Compare deployed commit with latest commit in repository
- Warn if deployment didn't use the latest code
- Suggest --force --no-cache if commits don't match

This prevents silent deployment failures where old code is deployed.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-13 02:07:39 +00:00
root
c6351b9bf7 fix(deployment): ensure containers are recreated with new images
- Stop and remove existing containers before starting new ones
- Use force-recreate flag to ensure new images are used
- Fixes issue where containers weren't being updated with latest code

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-13 01:35:27 +00:00
root
a86062f793 docs(devops): document deployment-status.sh in AGENTS.md and README.md
Add deployment-status.sh to high-signal areas in AGENTS.md and create new
"Deployment Operations" section in README.md with usage documentation.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-12 20:50:14 +00:00
root
b5a86b40e0 feat(devops): add deployment status report script
Add comprehensive deployment status script that provides:
- Docker container status (backend/web)
- Deployed commit information from devops endpoint
- Git repository status (branch, commits, uncommitted changes)
- Health endpoint status (local and production)
- Recent deployment history (container creation times)
- Suggested actions based on current state

Usage: ./deployment-status.sh

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-12 20:40:53 +00:00
root
e59bd34ab5 fix(deployment): fix command-line argument parsing
- Add INTERACTIVE flag to properly detect when command-line args are used
- Fix deployment script to skip menu when flags are provided
- Allow non-interactive deployment with --force, --skip-health-check, --no-cache

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-12 17:43:25 +00:00
root
067925e5a8 docs(deployment): clarify single production environment model
- Update deployment script header to document this VM as single production environment
- Clarify there are no separate staging/development environments
- All deployments go directly to production on this VM

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-12 17:43:02 +00:00
root
53db0c7847 Unset GITEA_NPM_TOKEN environment variable before reading files
Ensure script always uses token from files instead of inherited
environment variable which may contain stale values.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-12 05:17:58 +00:00
root
08a617a94e Use --build-arg instead of --secret for Gitea token
Update to match Dockerfile changes and bypass Docker BuildKit
secret caching issues.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-12 05:16:35 +00:00
root
b275653d3a Update secret ID to match Dockerfile changes
Update from gitea_npm_token to gitea_npm_token_v2 to match
Dockerfile changes and bypass BuildKit secret cache.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-12 05:14:46 +00:00
root
5d55bd1720 Add interactive menu and package checks to deployment script
- Add interactive numbered menu for manual deployments (7 options)
- Add --no-cache flag support for forcing Docker rebuilds
- Add package publication verification before Docker build
- Display configuration summary before deployment
- Maintain backward compatibility with CLI arguments

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-12 03:39:39 +00:00
root
788794b740 feat(devops): add /devops page with platform common devops package
- Add @bytelyst/devops backend endpoints to devops backend
- Add /api/devops/version (public) and /api/devops/info (admin) endpoints
- Add /devops page using @bytelyst/devops/ui DevopsPanel component
- Add devops link to sidebar navigation
- Add build metadata and runtime information display
- Follow trading web devops pattern

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-11 03:37:44 +00:00
root
fbaaa71a66 feat(devops): adopt trading web deployment model with docker-compose
- Add docker-compose.yml following trading web pattern
- Update web Dockerfile to use multi-stage build with metadata
- Add build metadata (commit SHA, branch, timestamp, author, message)
- Rewrite deploy.sh to use docker compose with build metadata
- Add hotcopy deployment script for quick updates
- Add comprehensive backend API with deployment orchestration
- Add health checks, service management, and monitoring endpoints
- Add CI/CD workflow configuration
- Add deployment documentation and guides

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-11 03:24:11 +00:00
root
b35de88b08 feat(devops-web): fix responsive layout and add comprehensive dashboard pages
- Fix sidebar layout: use flexbox instead of margin-left approach
- Update sidebar to use responsive display (hidden on mobile, static on desktop)
- Fix mobile overlay z-index and positioning issues
- Add proper flex container structure to all pages
- Add new dashboard pages: health, metrics, system, env, code-quality, settings/cosmos
- Add comprehensive API client and type definitions
- Add error boundary and log viewer components
- Add test infrastructure with Vitest and Playwright
- Add Docker configuration and deployment scripts

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-11 03:10:31 +00:00
root
dcf7ecbb32 fix(devops-web): resolve rendering issues and improve error handling
- Add timeout to auth check to prevent hanging on API failures
- Add timeout to API requests to prevent infinite loading
- Add proper error state and error messages to dashboard
- Show empty states when no services/deployments are available
- Update E2E tests to handle authentication properly
- Improve user feedback when API is unavailable

This fixes the "Loading..." hang issue when backend APIs are unavailable
and provides better user experience with clear error messages and retry options.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-11 03:04:36 +00:00
root
21b20a091a fix(devops-web): add design tokens with Docker-compatible approach
- Copy design tokens CSS directly into repo for Docker compatibility
- Simplify Primitives.tsx to use local design tokens instead of @bytelyst/ui
- Remove @bytelyst/ui dependency to avoid Docker build issues
- Update globals.css to import local tokens.css

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-11 02:34:53 +00:00
root
b07ffcd919 refactor(devops-web): improve accessibility in sidebar navigation
- Added aria-label to logout button for better screen reader support
- Improves accessibility compliance while maintaining existing functionality
- Part of systematic UX improvements across ByteLyst applications

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-11 02:06:16 +00:00
root
7d5a248df2 feat(devops-web): add UX foundation - local package resolution and design tokens
Phase 1 of UX compliance implementation:
- Add .pnpmfile.cjs for local package resolution from common platform
- Install @bytelyst/ui for shared UI components
- Create Primitives.tsx product adapter for type-safe component extensions
- Integrate @bytelyst/design-tokens CSS variables
- Add lib/utils.ts with cn utility function
- Enable design token usage via CSS custom properties

This establishes the foundation for component normalization and
consistent styling across ByteLyst products, following the UX
implementation guide patterns.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-11 02:01:29 +00:00
root
72b678b9c7 feat(deploy): bake build metadata (commit/branch/timestamp) into images
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
deploy-invttrdg.sh passes git-derived build args to backend and web Dockerfiles
via a build_image() helper. These surface in the new /api/devops/info endpoint
and the DevOps tab in Settings.

Auto-resolves GITEA_NPM_TOKEN from /opt/bytelyst/.gitea_token if unset, and
switches to direct docker build (--secret) instead of docker compose build
(which doesn't support --secret).

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-10 04:58:22 +00:00
root
f432043a19 fix(deploy): streamline individual deploy scripts for shared docker-prep
Some checks failed
pre-commit / pre-commit (push) Failing after 38s
Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-10 01:50:55 +00:00
root
fdc5015765 fix(deploy): add docker-prep.sh step to deployment scripts
Some checks are pending
pre-commit / pre-commit (push) Waiting to run
The deployment scripts need to run docker-prep.sh before building Docker images
to package the @bytelyst/* dependencies as tarballs. This step was missing
after reverting the base image approach.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-10 00:27:24 +00:00
root
d4f1d1e97d revert(deploy): revert base image changes due to workspace complexity
Reverting deployment script changes that were part of the base image approach.
The base image strategy is too complex for the current pnpm workspace structure.
Reverting to the proven docker-prep.sh tarball approach.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-10 00:27:24 +00:00
root
cf166e83ff refactor(deploy): pull base images before building in deploy-all.sh
Update deploy-all.sh to pull shared base images before building, ensuring
all repos use the latest common package versions.

Changes:
- Add base image pull step (backend and web)
- Use local cache if pull fails
- Apply to all repos in deployment list

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-10 00:27:24 +00:00
root
b545fe0d1c refactor(deploy): use shared base images instead of docker-prep
Update deployment scripts to pull shared base images instead of running
docker-prep.sh to pack @bytelyst/* tarballs.

Changes:
- Remove docker-prep.sh execution
- Add base image pull step (backend and web)
- Use local cache if pull fails

Benefits:
- Faster deployment (no tarball packing)
- Simpler deployment process
- Consistent package versions via base images

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-10 00:27:24 +00:00
root
79cd90c327 fix(deploy): add docker-prep step before Docker build
The deployment scripts were missing the docker-prep.sh step which is required
to pack @bytelyst/* packages into .docker-deps directory and modify package.json
files to use local tarballs. Without this, Docker build fails trying to install
packages from npm registry instead of local tarballs.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-10 00:27:24 +00:00
59aa981914 chore: move login sh into scripts folder 2026-05-09 15:58:08 -07:00
root
0f61684397 feat(deploy): add deployment scripts for clock and notes repos
- Add deploy-clock.sh for ChronoMind deployment (backend:4011, web:3030)
- Add deploy-notes.sh for NoteLett deployment (backend:4016, web:3000)
- Both scripts follow same pattern as deploy-invttrdg.sh
- Include dirty checks, pull/rebase, smoke tests, Docker deployment, health checks

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-09 22:16:41 +00:00
root
bdf0fba468 fix(deployment): correct repo paths for deployment scripts when run from devops-tools directory 2026-05-09 21:49:49 +00:00
root
ca085ce63e Add production deployment scripts for ByteLyst services
- deploy-invttrdg.sh: Single-repo deployment for trading platform
  * Dirty checks (uncommitted changes, unpushed commits)
  * Pre-deployment smoke tests (backend contracts, web DOM tests)
  * Docker build and deployment (backend + web)
  * Post-deployment validation (health checks, endpoint verification)
  * Comprehensive smoke testing for production-grade deployment

- deploy-all.sh: Multi-repo deployment orchestration
  * Deploy all 4 production repos or specific ones
  * Same safety checks and deployment process for each repo
  * Health checks for all services

- DEPLOYMENT_GUIDE.md: Complete deployment documentation
  * Usage instructions for both scripts
  * Service endpoint mappings
  * Troubleshooting guide
  * Docker management commands

These scripts enable safe, tested production deployments with
comprehensive validation at every stage.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-09 21:42:58 +00:00
0345901df1 Clarify alias installer activation 2026-05-05 10:51:04 -07:00
7ec8741ba8 Add alias installer 2026-05-05 10:48:53 -07:00
7b90188a37 Make aliases portable 2026-05-05 10:44:25 -07:00
c894621e64 Add tmux session aliases 2026-05-05 10:29:32 -07:00
b9fac82c76 Add tmux aliases 2026-05-05 10:25:25 -07:00
c3839a4436 Add shell alias files 2026-05-05 10:22:41 -07:00
312a0ebb38 Add VM login helpers 2026-05-04 23:01:22 -07:00
root
e2810b99f8 setup: handle managed python pre-commit installs 2026-05-05 03:26:55 +00:00
root
ff08f1f387 docs: align repo navigation and operations notes 2026-05-05 03:11:46 +00:00
root
38118bb445 Harden Ubuntu VM update script readiness checks 2026-05-05 03:09:57 +00:00
root
ada6029865 Untrack secrets and generated artifacts 2026-05-05 01:19:00 +00:00