Skip to content

Verification evidence — 2026-09-24

Historical snapshot only. Counts, commands and limitations describe that snapshot and do not establish current acceptance. Use current verification.

Model trust boundary verification (2026-09-24)

The focused contract for the shipped autonomy boundary is:

dotnet test backend-dotnet\RuAgent.Harness.Core.Tests\RuAgent.Harness.Core.Tests.csproj -c Debug --nologo --filter "FullyQualifiedName~Phase1GoldenParityTests"
dotnet test backend-dotnet\RuBackend.Tests\RuBackend.Tests.csproj -c Debug --nologo --filter "FullyQualifiedName~InProcessModelStepRunnerTests|FullyQualifiedName~StepStartCapabilityDigestTests|FullyQualifiedName~WorkerV2ContractTests"
.\.venv\Scripts\python.exe -m pytest -q tests\test_current_documentation.py tests\test_readme_counts.py tests\test_ci_contract.py tests\test_aspnetcore_route_matrix.py

The golden fixture pins prompt composer 2.0.0, schema-v2 effective policy, profile-before-instruction block order, the exact prompt/block digests, and the private-marker exclusion contract. The protocol fixtures retain one-call and text-selection examples and include a narration + three-call native batch whose ordered provider IDs are call-1, call-2, and call-3 and whose finish reason is tool_calls. The actual runner command above runs InProcessModelStepRunnerTests, StepStartCapabilityDigestTests, and WorkerV2ContractTests from RuBackend.Tests.

The current session-scoped matrix is: plan auto workspace read + Web, denies terminal/mutation outright (read-only, no per-change asks), and asks for external structured access; standard auto bounded-local in-workspace mutation and asks external/escape; full_access is the skip-all mode — external structured files, arbitrary terminal, and structured protected paths (harness key/database files and runtime descriptors, plus RU_PROTECTED_PATHS additions) are automatic. Workspace trust is explicit once per canonical identity: the GUI confirms it, while CLI run/chat require --trust-workspace; Full Access additionally requires the GUI gate or CLI --confirm-full-access. Full-access terminal runs as the current Windows user, can access data outside the workspace, and is not a network/path sandbox. Hard timeout, output cap, cancellation, and process-tree cleanup remain enforced.

The completed-archive guard intentionally rejects active files under docs/superpowers. Those temporary plan/spec artifacts move outside the checkout in Task 14; do not weaken the guard to accommodate them.

Job Object: cửa sổ spawn trước khi assign đã đóng (2026-09-19). Trước đây WorkerBrokerProcessManager tạo con bằng Process.Start rồi mới job.Assign, nên một tiến trình cháu sinh ra trong khoảng giữa hai bước đó không thuộc job nào và sống sót qua KILL_ON_JOB_CLOSE. Đã tái hiện trên Windows: con trực tiếp chết, cháu sống. Nguyên nhân: .NET có đưa con vào một job riêng, nhưng chuyển nó sang job của thư viện lại đưa nó ra khỏi job đó. Nay con được tạo ở trạng thái suspended qua CreateProcessW + CREATE_SUSPENDED, assign vào job, rồi mới ResumeThread (SuspendedProcess, WorkerBrokerProcessManager). Tiến trình suspended không chạy code nào nên không thể sinh cháu trước khi vào job. Đã kiểm chứng end-to-end trên bản publish: host lên, Worker/Broker phục vụ /models 200, stdout/stderr vẫn được ghi ra bootstrap log, shutdown còn 0 process, descriptor và session root được xoá, 2 cổng nhả. Test: OwnedProcessTreeTests.DescendantCreatedAfterResumeCannotOutliveTheJob (đã kiểm tra là fail khi Resume bị vô hiệu, tức test thật sự bắt được hồi quy).