Files
headquarter/apps/api/.pi-map.index.md
T
Developer ddd92e3dd4 feat: implement configurable tool container home directory
- Add ToolType.home_directory column with default /home/user
- Add Alembic migration to add column, set existing rows, and rewrite
  /workspace to /home/user/{{WORKSPACE_NAME}} in legacy templates
- Add merge migration fc8f1a20cbf6 to resolve Alembic multiple heads
- Update manifest compiler to honor manifest.home_directory for HOME,
  WORKDIR, /workspace symlink, and default repo mount target
- Update legacy dockerfile/compose instance generation to use
  tool_type.home_directory
- Thread resolved home_dir through config profile and git mount expansion
- Generate entrypoint permission fixer to chown home/mounts at startup
- Update base.dockerfile with sudo/passwordless sudo for permission fixer
- Add unit tests for manifest compiler, instance service, and migrations
- Add placeholder integration test for container lifecycle
- Update openspec/tasks/home-path-expansion.md task checkboxes
- Update project maps for modified files

Quality gates: py_compile, ruff, mypy, pytest tests/unit (205 passed),
pytest tests/integration (110 passed, 35 skipped). Alembic round-trip
and container lifecycle integration tests require Docker/PostgreSQL.
2026-06-14 13:09:41 +00:00

1.3 KiB

apps/api (index)

dir: apps/api

role

FastAPI backend API that manages projects, git repositories, and development tools through Docker containers with PostgreSQL persistence.

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/.venv-test index: apps/api/.venv-test/.pi-map.index.md map: apps/api/.venv-test/.pi-map.md
  • apps/api/alembic index: apps/api/alembic/.pi-map.index.md map: apps/api/alembic/.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

index: apps/api/.pi-map.index.md map: apps/api/.pi-map.md

workflows

dirty