6e33e8e4e9
The pi-agent manifest still declared an explicit repo mount with
{{WORKSPACE_NAME}}, making the mount target dependent on tool config. The
instance service now synthesizes the repo mount, so the manifest no longer
needs the explicit mount.
- Add Alembic migration 2026_06_15_090500 to remove the source_type: repo
mount from the built-in pi-agent manifest
- Add _get_repository_mount_name() helper to derive the workspace directory
name from the repository remote URL (matching git clone behavior) and
fall back to the user-provided repository name
- Use the helper for WORKSPACE_NAME/REPO_NAME in manifest, legacy dockerfile,
and legacy compose template paths
- Update unit tests for the new migration and helper
Quality gates:
- pytest tests/unit: 218 passed
- ruff: clean on changed files
- mypy: clean on changed files
- alembic heads: single head
1.9 KiB
1.9 KiB
openspec/changes (index)
dir: openspec/changes
role
Manages change tracking and versioning for OpenAPI specification modifications
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-container-status-false-positive index: openspec/changes/fix-container-status-false-positive/.pi-map.index.md map: openspec/changes/fix-container-status-false-positive/.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