Sandbox Feasibility + Phase-2 Build-Go Decision (machine)
{ "macro": "PROGRAM_MACRO_SANDBOX_FEASIBILITY_AND_PHASE2_BUILD_GO_DECISION_4RO_2026_06_09", "date": "2026-06-09", "mode": "READ_ONLY", "final_status": "SANDBOX_DECISION_READY", "build_go_decision": "B", "build_go_decision_name": "BUILD_PROMPT_READY_BUT_OPERATOR_SANDBOX_ACTION_REQUIRED", "production_mutation": false, "codex_consulted": false, "owner_operator_decision_faked": false, "sandbox_created": false, "install_performed": false, "authority_note": "Evidence only. Never authority. KB SSOT governs.", "supersedes_framing": { "prior": "INTERNAL_PROOF_PARTIAL / Decision D — TRUE_BLOCKER (owner/operator + resource)", "correction": "Sandbox is build-scope harness (authorable now) + operator attestation (narrow, on already-deployed runtime) + owner B0‴ disposition. Not a true blocker.", "decisive_new_evidence": "Governed-native read (mcp__claude_ai_Incomex_VPS__list_docker, read-only): Docker runtime deployed + 11 live containers on host incl. ephemeral pg-restore-test container. Deny-by-default container realizable on existing runtime; no new install required." }, "track1_kb_readback": { "verdict": "PASS", "docs_read_full_from_kb": 6, "index_revision_read": 74, "missing": [], "contradictions": [] }, "track2_blocker_classification": { "verdict": "PASS", "blockers": [ {"id": "B-EXT-1", "name": "sandbox host not provisioned", "prior": "TRUE_BLOCKER load-bearing owner/operator+resource", "reclassified": "operator-attestation-for-acceptance; harness authorable now (build-scope)", "agent_can_resolve": "partly (author harness)", "owner_operator": "operator (attestation only)", "codex": false, "build_scope": true, "is_true_blocker": false}, {"id": "B0‴ / B-EXT-2", "name": "Codex re-seal open", "prior": "parallel owner-waivable authority gate; precondition to ANY build", "reclassified": "owner authority disposition before build execution; does not block authoring a gated build prompt", "agent_can_resolve": false, "owner_operator": "owner disposition", "codex": "only if owner honors", "build_scope": false, "is_true_blocker": false}, {"id": "B4′", "name": "guard harness built + negative tests pass", "reclassified": "build-scope deliverable; acceptance gated on operator attestation", "agent_can_resolve": "author yes; prove needs host", "owner_operator": "operator runs/attests", "codex": false, "build_scope": true, "is_true_blocker": false}, {"id": "B7", "name": "export step / KB writer / gate consumer", "reclassified": "correctly deferred; out of MVP scope", "build_scope": false, "is_true_blocker": false}, {"id": "B1/B2/B3", "name": "execution surface", "reclassified": "correctly deferred", "build_scope": false, "is_true_blocker": false}, {"id": "B6", "name": "no governed taxonomy authority", "reclassified": "closed in design (non-gating/no-green/no-exit-0)", "build_scope": "constraint already in scope", "is_true_blocker": false} ] }, "track3_sandbox_options": { "verdict": "PASS", "options": [ {"id": "A", "name": "in-process guards only", "primary_feasible": false, "blocks_network": false, "blocks_shell": false, "negative_tests_prove_enforcement": false, "recommendation": "REJECT as primary; keep as L2/L3 secondary"}, {"id": "B", "name": "Docker/Podman deny-by-default container", "primary_feasible": true, "runtime_already_present": true, "blocks_network": true, "blocks_shell": true, "blocks_secret": true, "blocks_arbitrary_fs": true, "enforces_output_only": true, "negative_tests_prove_enforcement": true, "violates_prohibitions": false, "build_scope_profile": true, "operator_action": "attestation only", "recommendation": "RECOMMENDED PRIMARY"}, {"id": "C", "name": "bubblewrap/firejail/seccomp OS sandbox", "primary_feasible": true, "blocks_network": true, "blocks_shell": true, "blocks_secret": true, "blocks_arbitrary_fs": true, "enforces_output_only": true, "negative_tests_prove_enforcement": true, "build_scope_profile": true, "operator_action": "attestation (+ possible install if bwrap absent)", "recommendation": "RECOMMENDED co-equal fallback"}, {"id": "D", "name": "CI sandbox later", "feasible": true, "recommendation": "VIABLE complementary acceptance/regression venue; does not unblock local-dev acceptance alone"}, {"id": "E", "name": "manual operator-provisioned host", "feasible": true, "recommendation": "PAIR with B or C; this is the B4′ attestation step, not a distinct tech"}, {"id": "F", "name": "no-sandbox dry prototype", "feasible": true, "blocks_anything": false, "acceptable_for_mvp_acceptance": false, "recommendation": "REJECT for acceptance; design-walkthrough only"} ], "recommended": "B primary; C co-equal fallback; D complementary" }, "track4_minimum_acceptable_sandbox": { "verdict": "PASS", "requirements": ["no_network", "no_pg_driver", "no_live_kb_pg", "no_kb_writer", "no_env_secret", "no_arbitrary_local_read", "input_packet_read_only", "report_output_write_only", "subprocess_shell_blocked_seccomp_execve", "dynamic_import_controlled_L2", "output_path_escape_blocked", "each_boundary_negative_tested_OS_level_proof", "fail_closed_if_sandbox_absent_P1_exit3"], "minimum_bar": "exactly 2 mounts (RO input, WO output) + empty net ns + scrubbed env + seccomp execve/socket/connect/ptrace deny + no-new-privileges + P1 self-check passes; negatives each yield named OS-level proof-of-block", "realized_by": ["B", "C"] }, "track5_guard_harness_build_scope": { "verdict": "PASS", "decision": "PARTIAL", "meaning": "build prompt can include the guard harness now (build-scope code); acceptance blocked until operator runs harness in deny-by-default container and attests L1-bound negatives pass (B4′)" }, "track6_codex_dependency": { "verdict": "PASS", "codex_required_now": false, "rationale": "remaining load-bearing issue is engineering/provisioning and testable -> rule: do NOT use Codex now. B0‴ is owner-waivable authority disposition, not a forced Codex round. Defer Codex until tested-harness evidence exists, if owner honors B0‴." }, "track7_build_go": { "verdict": "PASS", "selected": "B", "rejections": { "A": "requires no owner/operator action before build; false — B0‴ + B4′ attestation stand before an accepted build", "C": "understates safe-now: Agent can author the gated build prompt; operator action gates acceptance not the next safe step", "D": "remaining blocker is engineering/testable; B0‴ owner-waivable; Codex not forced now", "E": "no rev4 design defect found (internal proof + this macro)", "F": "safe engineering path exists; Docker runtime already deployed (governed evidence); prior TRUE_BLOCKER conflated authoring vs accepting and predated runtime evidence" } }, "deliverables": { "report_md": "knowledge/dev/laws/tool-kiem-thu/reports/sandbox-feasibility-and-phase2-build-go-decision-2026-06-09.md", "report_json": "knowledge/dev/laws/tool-kiem-thu/reports/sandbox-feasibility-and-phase2-build-go-decision-2026-06-09.json", "build_prompt_packet_md": "knowledge/dev/laws/tool-kiem-thu/planning/build-offline-packet-mvp-with-guard-harness-program-macro-prompt-2026-06-09.md", "operator_action_packet_md": "knowledge/dev/laws/tool-kiem-thu/checkpoints/operator-action-packet-sandbox-host-for-phase2-mvp-2026-06-09.md", "codex_packet_md": null, "rev5_repair_packet_md": null, "true_blocker_packet_md": null, "checkpoint_md": "knowledge/dev/laws/tool-kiem-thu/checkpoints/checkpoint-sandbox-feasibility-and-phase2-build-go-2026-06-09.md", "index_updated": "knowledge/dev/laws/tool-kiem-thu/00-index.md" }, "track13_self_audit": { "article_13": "PASS", "article_14": "PASS", "kb_first_local_last": "PASS", "no_unsupported_build_go": "PASS", "no_fake_owner_operator_codex": "PASS", "no_hidden_production_mutation": "PASS", "sandbox_decision_evidence_backed": "PASS", "next_step_unambiguous": "PASS" }, "remaining_blockers": [ {"id": "B4′", "owner": "operator", "action": "run deny-by-default container per operator packet; attest L1 negatives pass (seccomp EPERM / mount table / env keyset)", "gates": "build acceptance", "is_true_blocker": false}, {"id": "B0‴", "owner": "owner", "action": "dispose: route rev4 Codex checkpoint packet to Codex OR waive with documented unreviewed-architecture risk", "gates": "build execution/start", "is_true_blocker": false} ], "minimal_safe_next_step": "Owner disposes B0‴ AND operator provisions+attests the §12.1 deny-by-default sandbox (Option B on existing Docker runtime; C fallback). Then execute the gated build prompt. No build/install/mutation/sandbox-creation/Codex performed." }