Files
headquarter/openspec/.pi-map.index.md
T
Developer 6e33e8e4e9 fix: remove explicit repo mount from pi-agent manifest and derive workspace name from remote URL
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
2026-06-15 09:10:05 +00:00

41 lines
1.1 KiB
Markdown

# openspec (index)
dir: openspec
## role
Defines a living documentation methodology and configuration framework for managing software requirements, specifications, and task tracking within a Docker-based coding agent platform.
## 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
## workflows
-
## dirty
-