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
1.1 KiB
1.1 KiB
openspec (index)
dir: openspec
role
Defines the OpenSpec methodology and configuration for managing software requirements, specifications, and task tracking as living documentation within a project repository.
parent
index: ./.pi-map.index.md map: ./.pi-map.md
children
- openspec/changes index: openspec/changes/.pi-map.index.md map: openspec/changes/.pi-map.md
- openspec/designs index: openspec/designs/.pi-map.index.md map: openspec/designs/.pi-map.md
- openspec/docs index: openspec/docs/.pi-map.index.md map: openspec/docs/.pi-map.md
- openspec/explorations index: openspec/explorations/.pi-map.index.md map: openspec/explorations/.pi-map.md
- openspec/proposals index: openspec/proposals/.pi-map.index.md map: openspec/proposals/.pi-map.md
- openspec/specs index: openspec/specs/.pi-map.index.md map: openspec/specs/.pi-map.md
- openspec/tasks index: openspec/tasks/.pi-map.index.md map: openspec/tasks/.pi-map.md
files
- README.md
- config.yaml
links
index: openspec/.pi-map.index.md map: openspec/.pi-map.md