residents: private /tmp per identity; harness hardening from the deploy review #13
Loading…
Reference in a new issue
No description provided.
Delete branch "harness-hardening"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Incident 2026-09-06 (attribution). Every resident process is a child of the supervisor unit and shares its
PrivateTmp. During the first-work wave the manager and billing threads both wrote/tmp/mcp-call.sh; the manager's later calls ran billing's version (billing's hub session, Redmine key and Zulip account), so Redmine #12 + children, the resident DMs and the#officestatus carry billing's attribution while the manager reported the work as its own. Codex and Claude processes now start throughunshare --mount --propagation privatewith<identity home>/tmpbound over/tmp(validated inside the supervisor's mount namespace on the forge); the harness binds a per-identity tmp and home.Harness hardening (the deploy review's must-fix list, dispatch PR #11 follow-up):
TestRunTurnAnswersSteerThatArrivesDuringFinalCompletion,TestRunTurnInjectsLeftoverSteersAtStart);TestLoadSessionRepairsDanglingToolCalls);finish_reason: one continuation nudge onlength,error/content_filterfail the turn (TestRunTurnHandlesFinishReasons);TestCompactionFallsBackToMechanicalSummary);require_parameterswith tools, first-party pin forz-ai/*/moonshotai/*, xhigh/max pass through,max_tokensfrom the org; openrouter tiers must setreasoning_effort,context_window,max_tokens;TestFileScopeResistsSymlinkEscape);.sshre-exposed (git commit/push),/runread-only after the exposed files, per-identityHome/Tmprequired, 402 requeues.Still open (documented follow-ups): SSE streaming for multi-minute thinking completions; an on-forge integration run of a router identity (commit + push) once the OpenRouter key exists.
go test ./...green.