Repository navigation
What changed for an operator
New, and nothing to migrate: a guest-agent exec now waits for its exit. A proximo_call POST to /nodes/{node}/qemu/{vmid}/agent/exec used to answer only the pid the QEMU guest agent started, and you built the polling loop yourself. Now the answer carries an exec block: the exit code, any signal and the output, once the agent says the process exited. wait sets how long (the same knob and bounds as a task wait; wait=0 only submits).
When the wait runs out, or a status read fails, the answer says the exit is not confirmed, carries no exit code, and gives the pid and the exec-status read to ask again. Nothing is stopped and nothing is run again. The guest's output is labelled untrusted and never reaches the ledger.
The guest-agent lane still opens only with PROXIMO_ENABLE_AGENT=1 and its allowlist of VMs. With taint tracking on, a waited exec marks the session before the command is sent.
Asked for in #98 by RavenLiao. Thank you.
The release
A guest-agent exec waits for its exit. Asked for in #98 by RavenLiao. A POST to /nodes/{node}/qemu/{vmid}/agent/exec answered only the pid the agent started, so a caller had to build the polling loop itself. Proximo now reads the agent's exec-status for that pid every two seconds until wait has run out (the last read can land one interval past it) (the task wait's knob and bounds; wait=0 only submits), and hands back the exit code, any signal and the output from that read. Only the agent's own exited is a finish. The agent's out-truncated and err-truncated are carried and say a stream is a prefix. When the wait runs out or a status read fails, the answer says the exit is not confirmed, carries no exit code, and names the pid and the read to ask again: the process is not stopped and the command is not run again. The output is labelled untrusted and never reaches the ledger; one core.exec receipt records exited, running or error with the exit code. Only the agent exec row's answer is polled, and only for a positive integer pid.
Where to read more
- CHANGELOG.md: every change, in full.
- docs/SETUP.md: the shell lanes and the guest-agent wait.
- SECURITY.md: what each control honestly holds.