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
42 lines
1.7 KiB
Markdown
42 lines
1.7 KiB
Markdown
# openspec/changes (index)
|
|
dir: openspec/changes
|
|
|
|
## role
|
|
Manages and tracks specification changes, diffs, and versioning history for OpenAPI documents.
|
|
## parent
|
|
index: openspec/.pi-map.index.md
|
|
map: openspec/.pi-map.md
|
|
## children
|
|
- openspec/changes/archive
|
|
index: openspec/changes/archive/.pi-map.index.md
|
|
map: openspec/changes/archive/.pi-map.md
|
|
- openspec/changes/fix-pi-container-mount-permissions
|
|
index: openspec/changes/fix-pi-container-mount-permissions/.pi-map.index.md
|
|
map: openspec/changes/fix-pi-container-mount-permissions/.pi-map.md
|
|
- openspec/changes/fix-terminal-container-overflow
|
|
index: openspec/changes/fix-terminal-container-overflow/.pi-map.index.md
|
|
map: openspec/changes/fix-terminal-container-overflow/.pi-map.md
|
|
- openspec/changes/fix-tmux-mouse-config
|
|
index: openspec/changes/fix-tmux-mouse-config/.pi-map.index.md
|
|
map: openspec/changes/fix-tmux-mouse-config/.pi-map.md
|
|
- openspec/changes/mobile-config-profiles-ui
|
|
index: openspec/changes/mobile-config-profiles-ui/.pi-map.index.md
|
|
map: openspec/changes/mobile-config-profiles-ui/.pi-map.md
|
|
- openspec/changes/mobile-edit-default-bottom-actions
|
|
index: openspec/changes/mobile-edit-default-bottom-actions/.pi-map.index.md
|
|
map: openspec/changes/mobile-edit-default-bottom-actions/.pi-map.md
|
|
- openspec/changes/mobile-list-delete-button
|
|
index: openspec/changes/mobile-list-delete-button/.pi-map.index.md
|
|
map: openspec/changes/mobile-list-delete-button/.pi-map.md
|
|
- openspec/changes/mobile-tool-profile-ui
|
|
index: openspec/changes/mobile-tool-profile-ui/.pi-map.index.md
|
|
map: openspec/changes/mobile-tool-profile-ui/.pi-map.md
|
|
## files
|
|
## links
|
|
index: openspec/changes/.pi-map.index.md
|
|
map: openspec/changes/.pi-map.md
|
|
## workflows
|
|
-
|
|
## dirty
|
|
-
|