fe82a248ec
- Add Alembic migration to update built-in pi-agent manifest:
* repo mount target from /workspace to ~/{{WORKSPACE_NAME}}
* keep /workspace as compatibility symlink via working_dir
* update startup chown target to $HOME/$WORKSPACE_NAME
- Pass REPO_NAME and WORKSPACE_NAME to compile_compose from instance_service
- Substitute {{WORKSPACE_NAME}} in manifest mount targets and expose it as
a container env var so the entrypoint can create the /workspace symlink
- Generate entrypoint workspace symlink from runtime WORKSPACE_NAME env var
- Install npm_global packages into {home_dir}/.npm-global with PATH so the
non-root container user can update global packages
- Update manifest compiler unit tests for the new behavior
Quality gates:
- pytest tests/unit: 207 passed
- ruff: clean on changed files
- mypy: clean on changed files
- alembic heads: single head
84 lines
2.2 KiB
Markdown
84 lines
2.2 KiB
Markdown
# . (index)
|
|
dir: .
|
|
|
|
## Project Map Protocol
|
|
|
|
1. Read this protocol and the root `.pi-map.index.md` first.
|
|
2. Use `index:` / `map:` references to open relevant directory indexes and maps.
|
|
3. Load indexes before rich maps during task-start navigation.
|
|
4. Read the local rich map and actual source before editing.
|
|
5. Treat non-empty `## dirty` sections in either artifact as stale.
|
|
6. If source and generated artifacts disagree, trust source.
|
|
7. If map and index disagree, trust neither blindly; verify from source and regenerate the pair.
|
|
8. After editing source, run `project_map_patch` for each changed file.
|
|
9. Before broad architectural claims or final handoff, run `project_map_validate` when freshness matters.
|
|
|
|
Trust boundary: index routes, map orients, source decides.
|
|
|
|
## role
|
|
A self-hosted web-based project management and Git repository platform with OAuth2 authentication, designed for deployment via Docker Compose with optional Traefik reverse proxy.
|
|
## parent
|
|
-
|
|
## children
|
|
- .atl
|
|
index: .atl/.pi-map.index.md
|
|
map: .atl/.pi-map.md
|
|
- .claude
|
|
index: .claude/.pi-map.index.md
|
|
map: .claude/.pi-map.md
|
|
- .opencode
|
|
index: .opencode/.pi-map.index.md
|
|
map: .opencode/.pi-map.md
|
|
- .pi
|
|
index: .pi/.pi-map.index.md
|
|
map: .pi/.pi-map.md
|
|
- .sisyphus
|
|
index: .sisyphus/.pi-map.index.md
|
|
map: .sisyphus/.pi-map.md
|
|
- .stoneforge
|
|
index: .stoneforge/.pi-map.index.md
|
|
map: .stoneforge/.pi-map.md
|
|
- apps
|
|
index: apps/.pi-map.index.md
|
|
map: apps/.pi-map.md
|
|
- docs
|
|
index: docs/.pi-map.index.md
|
|
map: docs/.pi-map.md
|
|
- e2e
|
|
index: e2e/.pi-map.index.md
|
|
map: e2e/.pi-map.md
|
|
- minerv3
|
|
index: minerv3/.pi-map.index.md
|
|
map: minerv3/.pi-map.md
|
|
- openspec
|
|
index: openspec/.pi-map.index.md
|
|
map: openspec/.pi-map.md
|
|
- scripts
|
|
index: scripts/.pi-map.index.md
|
|
map: scripts/.pi-map.md
|
|
- tool-images
|
|
index: tool-images/.pi-map.index.md
|
|
map: tool-images/.pi-map.md
|
|
- uploads
|
|
index: uploads/.pi-map.index.md
|
|
map: uploads/.pi-map.md
|
|
## files
|
|
- .env.example
|
|
- .gitignore
|
|
- AGENTS.md
|
|
- CHANGELOG.md
|
|
- Makefile
|
|
- README.md
|
|
- context.md
|
|
- docker-compose.traefik.yml
|
|
- docker-compose.yml
|
|
- progress.md
|
|
- swap-pane
|
|
## links
|
|
index: ./.pi-map.index.md
|
|
map: ./.pi-map.md
|
|
## workflows
|
|
-
|
|
## dirty
|
|
-
|