docs(adr): harness and loop run in a VM, review path decided #15

Open
computercrack-dsh-agent-ticket-loop-ci wants to merge 1 commit from feature/review-path into develop

Summary

host (admin)
  keyring: forge token, used on the maintainer's command
  firefox: tests the branch's web app
  llama-server: local models
  allowlist: cloud API, forge, nothing else
  VM (account agent, started by admin through sudo)
    interactive harness (DSH, Pi, other): cloud key, narrow forge token
    loop
    checkout of agent
    containers: worker, self-check, review (no network, no keys)
 docs/
 ├── adr/
 │   ├── 0003-no-network-in-the-worker-container.md   # review stages rewritten
+│   └── 0022-the-harness-and-the-loop-run-in-a-vm.md
 └── reference/
+    └── vm-as-another-account.md                    # measurements 2026-10-19

ADR-0022 decides: the harness and the loop run in a VM; containers stay inside it; network only through an allowlist enforced on the host; branch tests in a further container without network or keys, with the web app reachable from the host browser; forge token only for interactive sessions; a loop without --container is refused. Open points (channel for push and fetch, account in the VM and token separation, one VM or one per project) are decision tickets.

Evidence

  • Before: a KVM guest under agent was a guess.
    After: measured 2026-10-19 as admin and as agent (uid 1001, no session, no kvm group): qemu-system-x86_64 -enable-kvm -cpu host -m 256 -nographic -kernel /boot/vmlinuz-linux boots to the deliberate kernel panic. admin has passwordless sudo to agent.
  • Test suite after the change: 24 files, 286 tests passed. Not measured before: only documents changed.
  • Not measured, recorded on dsh-3vj.39: guest reaching the llama-server socket, port from a container without network to the host, host-name filtering of the allowlist, branch protection against the forge token.

Merge Danger

Door: two-way

Documents only. ADR-0006, ADR-0012, ADR-0013 and ADR-0016 still describe the host arrangement until dsh-3vj.70 amends them.

Blast Radius: documentation

The build tickets dsh-3vj.67, .68, .69 and the loop refusal for a run without --container (dsh-3vj.47) follow this merge.

## Summary ```text host (admin) keyring: forge token, used on the maintainer's command firefox: tests the branch's web app llama-server: local models allowlist: cloud API, forge, nothing else VM (account agent, started by admin through sudo) interactive harness (DSH, Pi, other): cloud key, narrow forge token loop checkout of agent containers: worker, self-check, review (no network, no keys) ``` ```diff docs/ ├── adr/ │ ├── 0003-no-network-in-the-worker-container.md # review stages rewritten +│ └── 0022-the-harness-and-the-loop-run-in-a-vm.md └── reference/ + └── vm-as-another-account.md # measurements 2026-10-19 ``` ADR-0022 decides: the harness and the loop run in a VM; containers stay inside it; network only through an allowlist enforced on the host; branch tests in a further container without network or keys, with the web app reachable from the host browser; forge token only for interactive sessions; a loop without `--container` is refused. Open points (channel for push and fetch, account in the VM and token separation, one VM or one per project) are decision tickets. ## Evidence - **Before:** a KVM guest under `agent` was a guess. **After:** measured 2026-10-19 as `admin` and as `agent` (uid 1001, no session, no `kvm` group): `qemu-system-x86_64 -enable-kvm -cpu host -m 256 -nographic -kernel /boot/vmlinuz-linux` boots to the deliberate kernel panic. `admin` has passwordless `sudo` to `agent`. - Test suite after the change: 24 files, 286 tests passed. Not measured before: only documents changed. - Not measured, recorded on dsh-3vj.39: guest reaching the `llama-server` socket, port from a container without network to the host, host-name filtering of the allowlist, branch protection against the forge token. ## Merge Danger **Door:** two-way Documents only. ADR-0006, ADR-0012, ADR-0013 and ADR-0016 still describe the host arrangement until dsh-3vj.70 amends them. **Blast Radius:** documentation The build tickets dsh-3vj.67, .68, .69 and the loop refusal for a run without `--container` (dsh-3vj.47) follow this merge.
docs(adr): harness and loop run in a VM, review path decided
All checks were successful
Self-check / check (pull_request) Successful in 4m21s
b1b3230576
ADR-0022: the interactive harness and the loop run in a VM under the agent
account, started by the maintainer through sudo; network allowlist enforced on
the host; branch tests in a further container without network or keys; forge
token only for interactive sessions. ADR-0003 amended. Reference document
with the 2026-10-19 measurements of a KVM guest as admin and as agent.

Refs: dsh-3vj.31.3
All checks were successful
Self-check / check (pull_request) Successful in 4m21s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/review-path:feature/review-path
git switch feature/review-path

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch develop
git merge --no-ff feature/review-path
git switch feature/review-path
git rebase develop
git switch develop
git merge --ff-only feature/review-path
git switch feature/review-path
git rebase develop
git switch develop
git merge --no-ff feature/review-path
git switch develop
git merge --squash feature/review-path
git switch develop
git merge --ff-only feature/review-path
git switch develop
git merge feature/review-path
git push origin develop
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ComputerCrack/dsh-agent-ticket-loop!15
No description provided.