Files
headquarter/openspec/changes/tool-config-mount-cleanup/tasks.md
T
Developer 8bde9a213c feat: remove config/state mounts from built-in tool configs
- Remove pi_state and pi_config mounts from the pi-agent manifest.
- Add Alembic data migration to strip those mounts from existing DB rows.
- Remove opencode_home:/tmp volume and HOME=/tmp override from the opencode
  built-in compose template; config/state now belongs in config profiles.
- Workspace and SSH key mounts remain unchanged.

Quality gates: python3 -m py_compile, pytest (311 passed, 34 skipped),
npm run typecheck, npm run lint
2026-06-13 11:35:55 +00:00

608 B

Tasks

  • Identify all built-in tool configs with configuration or state mounts.
  • Remove pi_state and pi_config mounts from the pi-agent manifest in apps/api/alembic/versions/2026_05_28_add_tool_definition_manifests.py.
  • Create an Alembic data migration to remove those mounts from existing tool_definition_manifests rows.
  • Remove the opencode_home:/tmp volume and HOME=/tmp environment variable from the opencode compose template in apps/api/src/seeds/builtin_tool_types.py.
  • Run backend quality gates (py_compile, pytest).
  • Commit, merge to dev, push.