Commit Graph

15 Commits

Author SHA1 Message Date
Ashish Huddar f3ce113c4c
Add multi-project storage, resolution, and project settings support (#1343)
* feat: add content-addressed project storage keys

* Add per-project resolution and hardened project routing

* Fix storage-key test isolation

* feat(web): redesign Add Project modal with Finder-native layout

* feat: multi-project support with project sidebar, settings, and improved routing

Add per-project configuration in global-config, project-aware CLI commands
(start/spawn/open/session), workspace-worktree project resolution, redesigned
ProjectSidebar with settings modal, repair flow for degraded projects, project
detail page with loading state, reload API endpoint, and comprehensive tests.

* Fix legacy config storage keys and duplicate project flow

* Fix multi-project storage migration and collision handling

* Fix merge regressions in startup and config handling

* Externalize yaml and zod from the web server bundle

* Fix session prefix matching for hashed tmux names

* Fix multi-project migration regressions

* Ignore generated worktree files in ESLint

* Fallback reload config for local-only projects

* Speed up session refresh and redirect after kill

* Use fresh session lists for dashboard polling

* fix(web): remove unused direct terminal child state

* test(web): mock router in merge conflict actions coverage

* docs: call out filesystem browse rollout requirement

* Add portfolio tests and remove unused decomposer export
2026-04-21 17:45:55 +05:30
Harsh Batheja 64badbd388
fix: run deploy as aoagent instead of root (#1378)
The VPS deploy workflow SSHes in as root but operates on files owned by
aoagent via the /root/agent-orchestrator → /home/aoagent/agent-orchestrator
symlink. Each deploy leaves new pnpm/bun/cache entries owned by root inside
an otherwise aoagent-owned tree. Switching the SSH user to aoagent
eliminates this ownership drift.
2026-04-21 01:45:10 +05:30
Dhruv Sharma 1d8ed3ef8e ci: harden VPS deploy workflow 2026-04-02 12:44:50 +05:30
Dhruv Sharma d0983913fc ci: print runner-visible VPS host fingerprints 2026-04-02 12:41:56 +05:30
Dhruv Sharma 65e971349a ci: add temporary deploy fingerprint recovery mode 2026-04-02 12:39:56 +05:30
Dhruv Sharma 2a77fcd0dd ci: force full checkout on VPS deploy 2026-04-02 12:21:00 +05:30
Dhruv Sharma 42866c6a0e ci: add manual VPS deploy trigger for branch testing 2026-04-02 12:13:39 +05:30
Dhruv Sharma 377d312a84 ci: fix VPS deploy guard and fingerprint config 2026-04-02 11:21:43 +05:30
Dhruv Sharma 7534afe61f ci: fix SSH fingerprint to use RSA host key
ED25519 fingerprint was pinned but action negotiates RSA,
causing host key mismatch. Swap to correct RSA fingerprint.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 04:18:51 +05:30
Dhruv Sharma 088c1e5f09 ci: remove SSH host fingerprint check
Throwaway box, fingerprint check was causing mismatch failures.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 04:17:23 +05:30
Dhruv Sharma 2ef3141856 ci: guard against stale reruns and pin SSH host fingerprint
- Skip deploy if CI SHA is not the current tip of main (prevents stale
  rerun from rolling back production)
- Add SSH host fingerprint to prevent MITM during deployment

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 02:14:14 +05:30
Dhruv Sharma 3d9d317cc2 ci: deploy exact CI-passed SHA, ignore PR runs
- Checkout the specific commit that passed CI instead of origin/main tip
- Only deploy on push events to main, skip PR CI runs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 01:34:19 +05:30
Dhruv Sharma c10d620adf ci: wait for CI to pass before deploying to VPS
Uses workflow_run trigger so deploy only runs after CI succeeds on main.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 01:26:48 +05:30
Dhruv Sharma 50589b17de ci: add auto-deploy workflow for VPS
Deploys to Hetzner VPS on every push to main via SSH.
Pulls latest, installs deps, builds, and restarts pm2 services.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 00:05:31 +05:30
Dhruv Sharma bb8ac3a68d add GitHub Actions workflow for deploying to VPS 2026-03-31 23:44:16 +05:30