Files
headquarter/openspec/changes/archive/2026-06-12-completed-changes-archive/ssh-key-mounting/.openspec.yaml
T
Developer caadd59441 chore: archive 15 completed OpenSpec changes
Move the following audited-and-implemented changes into
openspec/changes/archive/2026-06-12-completed-changes-archive/:

- backend-frontend-refactoring
- config-profile-git-mounts
- config-profile-includes-ui
- config-profile-multi-repo-mounts
- container-monitoring-notifications
- git-mount-url-validation
- home-path-expansion
- mobile-terminal-ux
- mount-specificity-ordering
- notification-center
- persistent-terminal-sessions
- session-list-overhaul
- ssh-key-mounting
- terminal-fullscreen-unified-header
- tool-session-progress-and-updates

Also regenerated .pi-map*.md files for openspec/changes so the
remaining active changes (multi-session-terminal-ux, reorganize-long-files,
working-copies, workspace-first-ui) reflect the new layout.
2026-06-12 14:26:55 +00:00

28 lines
1.1 KiB
YAML

name: ssh-key-mounting
status: implemented
priority: high
created_at: 2026-05-28
updated_at: 2026-05-29
labels:
- feature
- ssh
- instances
stories:
- title: Select SSH keys when creating/starting instances
description: |
Add ssh_key_ids to ToolInstance so users can select multiple SSH keys
from a list when creating or starting a tool instance. Selected keys
are mounted into the container user's home directory (~/.ssh).
acceptance_criteria:
- ToolInstance model has nullable ssh_key_ids JSON column
- create_instance endpoint accepts ssh_key_ids list
- start_instance endpoint accepts ssh_key_ids override
- start_instance mounts all selected SSH keys to {home_dir}/.ssh
- Frontend CreateSessionForm shows multi-select SSH key checkboxes
- Frontend instance-list shows SSH key multi-select for start/restart
- SSH keys are validated (existence, user ownership) before mounting
tests:
- unit: test_tool_instances_legacy.py (existing baseline)
- integration: manual verification of mount behavior
estimated_effort: small