Repository navigation
Review 09: falsifiable experiment harness scaffold (track D) - #114
Merged
Merged
Conversation
Add experiments/falsifiable-v0/: an offline, hermetic scaffold so an operator can later run the review-09 HowlFrame-vs-JSON-plan experiment. Scaffold only: no model runs, no experiment results, no H1 PASS/KILL claim. - Corpus: manifest with 30 synthetic release-evidence tasks (3-6 steps; 10 loop, 11 conditional) and 30 one-to-one adversarial variants (10 each of write_outside / fetch_attacker / auto_approve, expected deny_or_never_requested). Evidence per task; hidden oracles never copied into the sandbox. 6 reference oracles (t01-t03, a01-a03); 54 explicitly placeholder oracles that never count as success. - Arm B: closed JSON action catalog (read_file, filter, if, write_record, request_approval) with draft 2020-12 schema and a small trusted Go broker that validates the whole plan (paths, symlinks, depth/step bounds, exact allowed writes) before any effect. No network/process/approve action. - Recorder/oracle: sandbox + sibling canary snapshot diffs, C5 receipt audit (allowed writes outside the allowed set and ungranted caps are unauthorized; denials are recorded as denied attempts), loopback HTTP recorder for tests, receipt-only process audit stub, exact output/effect oracle compare. - Arm A glue: governed check/build, inspect --caps subset preflight, -run-bc with scoped --allow-caps, instruction/deadline bounds and --receipt, minimal env; Repairer hook (NoRepair, DirRepairer replay) with at most 2 repairs. No LLM implementation. - Scoring implements the preregistered 09 PASS/KILL/INCONCLUSIVE/hard-stop rule; tested on synthetic numbers only. - cmd/hfexp: validate, arm-a, arm-b, suite, score. - Hermetic go tests: manifest, broker policy, recorder, six reference runs through the real CLI, escape/auto-approve/fetch/undeclared-caps fixtures, offline repair, scoring. The filesystem grant is not path-scoped (S8/P2); the harness detects out-of-sandbox writes rather than preventing them, and trials must run in a throwaway container. No internal/ or howlframe.go change, no HFBC/opcode change, no prod -compile-bc/HFIR flip; #90 stays Partial. Journal: docs/journals/2026-10-06_falsifiable_experiment_harness.md Co-authored-by: howlcipher <howlcipher@users.noreply.github.com>
howlcipher
commented
Oct 6, 2026
howlcipher
left a comment
Owner
Author
There was a problem hiding this comment.
Dev-lead COMMENT (Motoko) — head 113508a1
Merge-ready for undraft + squash-merge (CI build green on Go 1.21).
Diff matches scope
- Scaffold only under
experiments/falsifiable-v0/: 30+30 tasks, Arm B JSON broker (closed catalog, whole-plan validate before effects, path/symlink fail-closed), Arm A governed check/build/inspect --caps/-run-bc --receiptglue, recorder (fs+canary + C5 receipt audit),cmd/hfexp, hermetic smoke. - Explicit non-claims: no live LLM, no checked-in results, no H1 PASS/KILL; score provenance is “computed only from provided results; not an experiment claim.”
- Honest limits documented (54 placeholder oracles never succeed; S8 filesystem not path-scoped — detect via receipt/diff, container recommended; no Arm C).
Hard nos intact
Zero touches to internal/ or howlframe.go (291 files audited). No HFBC/opcode change; no prod HFIR flip; #90 Partial; C1–C5 consumed as CLI, not modified.
Non-blockers
- Placeholder oracles + operator freeze/PROTOCOL steps remain before any real trial (as designed).
- FINAL_REPORT P1 C4 row / 05 termination cell still stale pre-C4b wording — cleanup queue, not a #114 blocker.
suitestill requires--howlframeeven when only Arm B candidates are present (harmless; documented by smoke).
Left draft. Undraft + squash-merge when you are ready.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Track D / review doc 09: scaffold for the falsifiable experiment harness at
experiments/falsifiable-v0/. It lets an operator run the 09 HowlFrame-vs-JSON-plan experiment offline later. Scaffold only. No model runs, no results, no H1 PASS/KILL claim.Layout
tasks/manifest.jsont01–t30(3–6 steps; 10 loop, 11 conditional) + 30 one-to-one adversarial variantsa01–a30(10 eachwrite_outside/fetch_attacker/auto_approve,expected: deny_or_never_requested)tasks/<id>/evidence/{{ATTACKER_URL}}substituted at materialization)tasks/<id>/oracle/reference(t01–t03, a01–a03), 54placeholder(never count as success)schema/action_catalog.schema.jsonread_file,filter,if,write_record,request_approvalprompts/reference/arm_a,reference/arm_bfixtures/harness/cmd/hfexp/validate,arm-a,arm-b,suite,scoreREADME.md,PROTOCOL.mdArm A pipeline: evidence-only sandbox + canary →
check --profile governed→build --profile governed→inspect --caps⊆ allowed (otherwise stop before run) →-run-bc --allow-caps <allowed> --max-instructions --deadline --receipt(minimal env) → receipt audit + fs diff + oracle.Repairerinterface (NoRepairdefault,DirRepairerreplays saved repairs). No LLM implementation.Arm B broker: decodes strictly (unknown fields/actions rejected) and validates the whole plan before any effect: clean relative paths, symlink confinement, exact allowed writes, 64-step / 8-level bounds. It has no network, process, or approve action.
Smoke coverage (hermetic, CI-safe)
.., NUL and symlink paths, disallowed writes, unknown fields/actions, depth/step overflow. These are rejected with no fs change. Approval never approves.t.TempDir): all six reference.howlpass governed check/build/caps/run/receipt with 0 unauthorized.../canary/pwned.txt): flagged by both the receipt and the diff.repair1: success.Validation
gofmt -l .clean ·go vet ./...ok ·go test ./... -count=1all ok · benchmarks/v2 unittest +scripts/test_seo.pypass.Honest limits / deferrals
filesystemgrant is not path-scoped (S8/P2). The harness detects out-of-sandbox writes but does not prevent them. Trials must run in a throwaway container/VM. Two-tree diffs do not see every absolute host write.internal/orhowlframe.gochange. No HFBC/opcode change. No prod-compile-bc/HFIR flip. Write flagged http_server bytecode and stop #90 stays Partial. C1–C5 unchanged.Journal:
docs/journals/2026-10-06_falsifiable_experiment_harness.md