10955dfe8e
The /workspace compatibility symlink was removed from the manifest
compiler/entrypoint in 3e59a25. Tool definitions that still set
runtime.working_dir to /workspace therefore start in an empty directory
instead of /home/user/{repo_name}.
- manifest-editor.tsx: default working_dir to empty instead of /workspace;
update startup-script placeholder to reference /home/alex/.
- Add Alembic migration 2026_06_19_113000 that clears the stale
runtime.working_dir = /workspace from the built-in pi-agent manifest.
- Add migration import test.
Quality gates: pytest tests/api tests/services/test_terminal_manager_multi.py tests/unit (248 passed), ruff check (clean), npx tsc --noEmit (clean), eslint (clean).
55 lines
1.5 KiB
Markdown
55 lines
1.5 KiB
Markdown
# apps/api (index)
|
|
dir: apps/api
|
|
|
|
## role
|
|
Backend API server for the Headquarter platform, providing self-hosted project management, git repository management, and development tool orchestration services.
|
|
## parent
|
|
index: apps/.pi-map.index.md
|
|
map: apps/.pi-map.md
|
|
## children
|
|
- apps/api/.mypy_cache
|
|
index: apps/api/.mypy_cache/.pi-map.index.md
|
|
map: apps/api/.mypy_cache/.pi-map.md
|
|
- apps/api/.pi-lens
|
|
index: apps/api/.pi-lens/.pi-map.index.md
|
|
map: apps/api/.pi-lens/.pi-map.md
|
|
- apps/api/.pytest_cache
|
|
index: apps/api/.pytest_cache/.pi-map.index.md
|
|
map: apps/api/.pytest_cache/.pi-map.md
|
|
- apps/api/.ruff_cache
|
|
index: apps/api/.ruff_cache/.pi-map.index.md
|
|
map: apps/api/.ruff_cache/.pi-map.md
|
|
- apps/api/alembic
|
|
index: apps/api/alembic/.pi-map.index.md
|
|
map: apps/api/alembic/.pi-map.md
|
|
- apps/api/app
|
|
index: apps/api/app/.pi-map.index.md
|
|
map: apps/api/app/.pi-map.md
|
|
- apps/api/headquarter_api.egg-info
|
|
index: apps/api/headquarter_api.egg-info/.pi-map.index.md
|
|
map: apps/api/headquarter_api.egg-info/.pi-map.md
|
|
- apps/api/src
|
|
index: apps/api/src/.pi-map.index.md
|
|
map: apps/api/src/.pi-map.md
|
|
- apps/api/tests
|
|
index: apps/api/tests/.pi-map.index.md
|
|
map: apps/api/tests/.pi-map.md
|
|
- apps/api/uploads
|
|
index: apps/api/uploads/.pi-map.index.md
|
|
map: apps/api/uploads/.pi-map.md
|
|
## files
|
|
- .dockerignore
|
|
- Dockerfile
|
|
- README.md
|
|
- alembic.ini
|
|
- pyproject.toml
|
|
- uv.lock
|
|
- wait-for-db.sh
|
|
## links
|
|
index: apps/api/.pi-map.index.md
|
|
map: apps/api/.pi-map.md
|
|
## workflows
|
|
-
|
|
## dirty
|
|
-
|