bd94cc9bbf
The previous commit moved the pi-agent repo mount from /workspace to
/home/user/{repo_name}. This exposed a permission bug: the Dockerfile
creates /workspace as a root-owned symlink in the image, and the
non-root entrypoint could not replace it because / is owned by root.
- Update compile_entrypoint to recreate /workspace via sudo when running
as the container user, or directly when running as root
- Add unit test covering sudo/root symlink creation
- Update OpenSpec change docs with the additional root cause
Quality gates:
- pytest tests/unit: 208 passed
- ruff: clean on changed files
- mypy: clean on changed files
- alembic heads: single head
19 lines
367 B
Markdown
19 lines
367 B
Markdown
# apps
|
|
dir: apps
|
|
|
|
index: apps/.pi-map.index.md
|
|
|
|
## role
|
|
Contains the main application entry points and executable modules for the project.
|
|
## files
|
|
## arch
|
|
Modular application architecture with separate deployable units, likely following microservices or layered architecture patterns with domain-driven organization.
|
|
## tags
|
|
-
|
|
## symbols
|
|
-
|
|
## workflows
|
|
-
|
|
## dirty
|
|
-
|