千川白浪 33e28520b7 fix(mcp): read clone secrets and SSH user from the source VM
A temporary clone made by session_create keeps no vm settings of its own, so
vm_unlock on a clone always failed with "secret setting is empty" even though
the source VM had a saved login password and AI access enabled. The SSH user
was empty for the same reason: the clone has no settings and no copied
.reims-go-ssh-user file, while access is granted through the owns-clone path.

Record the source VM key in the temporary VM ownership marker and fall back to
it when a clone has no value of its own. The fallback reads the single stored
secret instead of copying it, so the password never multiplies across clones,
nothing is left behind when a clone is disposed, and revoking AI access on the
source removes the fallback immediately. Surface a clear localized error when
no VM has a saved password.

model: deepseek/deepseek-v4.1-flash
agent: lead (DeepSeek Harness)
2026-12-04 06:02:10 -07:00
2026-12-04 05:16:10 -07:00
2026-12-03 09:07:46 -07:00
2026-12-03 04:12:17 +08:00
S
Description
No description provided
Readme Apache-2.0
7 MiB
0 Stars 1 Watchers 0 Forks
Languages
Go 72.1%
TypeScript 17.8%
JavaScript 6%
CSS 2.1%
PowerShell 0.9%
Other 1%