: :
,X@3i .5M:5HAiMMXsH2XHXrHMr3HA;HMi5MAAHsXHsrHMs5MMi3Mr5Hh;3M253hX23iMh;5HXiHM:2HAsM3r3H2:hHXX5M3AXHssHHshHXsG2rhXsHhAhh2sM2AhHsXHXsM5iH3sM;2Msh3AMs5Hi25 rh&X,
.sB5i i5Br.
2 :h355522. sAA2. :2A55523552: rAAX s3h3rrX X3A h52552s r322hr 2h553s 55522 ;M5A5, 2
Sr s#S@##S99SA &@&@; 3@@SSB@GS9@M B@@@ M&BGGHG@@. .MB9H#9G. ,S#@SSG9S3 AG@@SX MS@@G2 H#@@@A rSB@Gi rS
#; 2&; .H@5 HBs HSs X9; 9& Bs 3@r #Gs ,#@5 52 :BB; ;9B; r@ AB# &@ &B 2@G2@H S9 r#
&r 29r B@A 2@hiiA@G S9 3@hri3@G B@2 rHG35: M@, @S h@BBB&Bh 9@ :@@ AB5 5&# 9& r#
#i h@; s@&i X@#MHGMH&A && A@#MGGHG&3 5@H X2@@s 2@M 5@3 2@, 5@& @@ ;i @& 2@3 X99s9B s9
Bi 3M&3553S@G, :h@@M 5B@hs A3&B3s ih@@H 39@Ms 5@&hAXX5@S 2@9525#@A 3H@5553S&2 r3B@52A5@& A3BB3s 2G&M5 #@@B r#
G; ,#SSGSSS3i i#HG#, SGM#3 H#GH#2 s#MHS: SGH95 sG##SGX .5SSG5. #HHGSHG2 ASGGGGHSS5 HSGG#2 GSSG# hGH r#
&r :i ,i. :;, . ,. . i: ., ;..i : ii ,, .; :: ,. :i, ,. ,i ,i. i; .: : ,i. :i , i, ;, ., . :, ., , i : i, ., ;i, : i, ;i. XB
H: 5H;2MXihhArh2rMhi2h2iM5iMMrXMXsHXsHAiMMrAhh;5Mr2M3;h3r5M2XH5:hM;2MX;MM:2HssH5:3MXi5HXA5h5XXMXrMMr3Hr3hXhAs53sMHXrMrXMr552HsXH2;hHX:hMXXHXAH2:hMX ;H
@s r9
#i , ;ii; rS
#i : rhS5 ,X3G9@&#M2: rS
9i 5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@9 ;5;X#&@3 i ;s5hHGGGGMM32r, s9
#i .M&@@G2BBr ;#@@@@@@@@, s&@S2rr59@@@23&G#@@@@& s5GB&@@@B#Mh53MHS@BGA iH
#i ;hB@@@@@#HG&&@@@@@@G G&@@@@@@BGs AAA@@@@@@@@X XM&@@&BH2i :X53H3Xr: XB
@s M; :h#&&&@G;B@@953G@Hr3B@@@@@@B;X XsA3H&@@r M@@Bhi XM#9Ms: iM
H: r3HSSM3i r@@&5H M@@@HAXA52ArAS# s3@@9HrrsrM93: s5B9Gr XB
&r 2S&BH32A23M#H3r H@@@@S:S@@@@@&BB&@@@SXHHHG9M Xr 2A39&h iH
H: A@@3: iA53G9@@Sr H@@@@9iX9@@@@@@@@@@@@&B#GhX: .A2rhG#Bh Mi XB
@r M@h XHB@@&SH3523GBG, A&@@@@SX2G@@@@@&iS@@@@@@@@@#; XGM#SMX BB: : rS
S; r@5 rH@@@SA, :: i&5 3@@@@B5 .i2H#93 ,S@@@@@@@@@ ;r: 9# ir sG@A: XB
#i .5S@&Gs iGSA.AHB&@#A #h s5s5S&&BM MHH33:iHB@@@@@H rX2Ar 2# ;MSMA :ABi ;H
#i 2A 29@9A sB&5 h@@@@9B&S Bh 5&@G55hH.SBG3s iXr. i5MMGSH335H#hs: sHG5 s9
#i 2&@M: 5XX#@M 3#2i H r@: S@@&9@@9i shHM2rG9AA M35hSHX 2; iG
#i h@@h ABHh&# 5 i3H99GS, S# .@@@@@&G#&. H@G5 i&Gs X&Hi sG@s s53MHH3 rS
Br A&&H s9&S#@2 hSX G9@@@@B##9X iB.,@@@@@@###. sG#M H# hBs 5S#SHX . ;X s9
9i 3@Si h@BS@B h@@r @&HA, X i &@@@@3H@H ..i32,: 3 G3X; s#
#i h@3 59&#S@S r3 s2 2 AH9&&B@2 r#@@@@h 5;;#H h@@@@h XGGGGH. XhA; 5A rS
9i H9 r#&&#B@M .B@&Hi MSB@@#M2s;A;;#@@@Bs; S#2;5Ms G@9sG@@iXBB&BBi ,AHG s#
9i ;H@&Bh9@h ,59@@@S ABMX .XMG :S@@@@9 s&3 ,S@B2 ,s5S@@@ A@@ish33h3 : r#
#i 2&@B9A5@M iH; sMBHs: A@@@&#@@@@@S r@2 s@@M i9#GS9&@@@@BHX ;s H&&&@H rG
Br sS&##S2M&&, S@@9MA: ,&@@@@@@@@s hM 5&@A 2@@@@@@@&G5;rsrX B@SMMHs s55: r#
G; MB#HGG2h@@r 2G&@@@&SM5Arir, 9@@@@S2 &@5 XhSSGh2, :X33533 XH##9M, Ai2SG2: iG
&r M@9GH#229@2 r :shS&@@@@&@Ss r2s XBA 2MGsXhhr . : s3s i39HA XB
H: h@&M3SHXS@9 s@@#Mr XG@; X#9MXsHMX r5A2i :A5r ,X 5G#Hi iH
&r G@G2 hB33@&s ;3S&@@@@B#Hh555A53MG#&&BhXr 59SMr:S92 #BhMSh3GM3H9i Ai,G993 s#
G: G&M ;@#3G@# ,s5HS9B&@@B&@B9GMs, GS; s9@2ArrBh .@H ;#@@G; i@M sB#s rS
&r :@A S@M3#@3 G2 5HG: 39h M@# hMiHA rS##h 3#S#3 H@H r#
G; 2 s@&rM9@s i#BA 3BM ;BM :S@G:H9 : M@# iS
Br 9@2 9@2 2@G ,#@A s@s :@@A MB G:XrArXXrAs5XXsXM sA i sh r@S rS
9i :@& 3@i i9#3 h&H X@M .9@h &r G r93h:5HhGM#MrM X r ; i,rH 2@5 r#
&r A@2 i: .GBH A@# :S@2 M@9, .B s:; .i ; ,: s&2 rS
H: A@: 2@S. i#@H rBBs 2@#H. 5 3h sXhXHhSGHMMhMHMHXHAH3HAr,X ,# MSA sB
@s 3, 2GSs M@9; ;rsXM@& G&hG2 ;2 ,X:AsXAHXsssX s:XrAs;: : : , ,:3 ;H&, rS
G; ,hB&Mr A9@3 A3MHHM3 i&S5MM :A,s X.r: 2 :3iAXiX sBS s#
&r 2S#B@@##HH2sH@S 5253h3s, 5&G2MG: hM .AMrBMG#3B3HrMBr. ,s 9X.:3&H9#i9 sG@i XB
G: ,B2 i2hSS#99BB X533irMS9B9#5 2@S253Gr s . ;i r23&2 r#
@s :M#5H9G52A22AAsXs G@@@@@@@@@5 .9#232HH . , :h2h@5 r#
G; 5B#: s23h5AA3hMGh2i :#9BB&&B#SG3 2@3X2sH# ;h .M M AMXsBS sB
Bi .:sXA A@h 5S&@@@@@@@#i h9HMhAAAXA223hM#h G@5A S#s rM3X5BS XB
G: :;rAAA2sr G@3; r@@@@@@@@@@@&h 2MHSB999999#GhA h&Sr ihMr .:A53h39&5 .rsssrs: ;H
@s ,;rXA5AXi 5B@&S3X: :2553hh335223## :MB9HAisH35sii; .rX22MHGHS9995 ,rXXA2223552222sr s9
3. .XXAA2XiAAAA25A; .2GSB&&B9#GGSGG#99&9SX rAA533335Xs ;3HHMMGGS##HhMMGSGGHGGGGSGS#####9SS#GMM5Xi XXAAssi.srsXXssssAXsrr ;G
@X irXAX2A2 :sAA2552AXr: ;iiAXAXXsrsssAsAA2Xs . ,iirXXXXssirii,, srXAAAssXA222Asri A&
3. .2
&s .3GXsG5sHMX2G2XH2iMMi3GAsHMi3GXrHAXHssHMr2H5rMhr3HAsGhrMMr5H5;MHi5HAiHM:2HrAH3;5G2;hHr5HHXAHHs2GsAHh:3HsrHXsHhihG2sG3shHXXHXrH3;hHAiHHs5G2sHMXXGhX A@
S; 5: 35 52;X2i;3i,5A i3 X5s.2X,r:s h. 3A A2 :3s 5X 2hs 3i 3,rrhA 3 ,s X2:;2r 2X X s. :2A.X2,X5X ;G
&s Sh:&B2 9B2SSiASH2&5:992G9HhHsX#MH M9#;S#XM#3 #r:S#r:# hB#X99H #: GA sS,XS2GSArA9BiSi G5 G5HHG5HSH5 X&
A rX ri , :;r, ir si:. r; ; rr , , r ;.;X..r: Xi ;s : s ,i ;i : ;; sr ;s .s:i :is. ,s; si ;s : A
.sB3i iXs rA:,Xs:;A;,X; ss.iA;,Xs ;s,:X ,s,.XX ;Xr is ;Xr ss,:X:.ri sr is: sr rX..Xi rs,.sA:;rX;,rX,;A,,sr is..s, ss is:,Xr,rs,,s,:s; rXi.Xr.rX;iX,iA.ir i3Bs.
.s&3i s52,A5i;22ir5r;3X:55;s3r;35:X5ii3ii3ri35;s52:25:s5A,A2;X5si22;22:X3r:35,X3:r5A,A5r:25isA2ir25;r5;i55:A3;;3ii52:25r;5X;25ri5ri3A:25s:5X:A5ir5;s3:sA i3&s.
, ,
SHA-256 (artwork above, UTF-8/LF): 9c81e286b69e370a5d7d80594b13395e53a4840c23e3feea3b769ac531e7a5a8
Editable Data Goblin ASCII mascot
DataGoblin is an offline-first research orchestrator for synthetic data aimed at non-language-centric learners. It turns a typed learner snapshot into competing falsifiable hypotheses, a bounded data recipe, adversarial critique, narrow builder tickets, independently verified experiment records, and future research-model training examples. Its “constitution” is an executable research-integrity and control policy; it is not proof of alignment.
LearnerSnapshot
|
Scout --------> competing hypotheses
|
Alchemist ------> DataRecipe + predictions
|
Rat ---------> critique + minimal repair
|
ResearchMembrane -> constitutional decision
|
BuilderTickets -> trusted toy builder
|
causal_switches_v1 -> independent verifier -> NumPy learner
|
ExperimentRecord -> SQLite + SHA-256 artifacts -> report/JSONL exports
Scout identifies unexplained capability gaps and competing mechanisms. Alchemist proposes a recipe that describes worlds, trajectories, interventions, objectives, curricula, splits, solvers, and verifiers. Rat attacks leakage, confounds, metric gaming, permissions, unsupported claims, and missing negative-result interpretations. ResearchMembrane admits only typed monotone updates with appropriate evidence authority; model and experience claims remain useful but cannot silently become verified findings.
Python 3.10 or newer is required.
python -m pip install -e ".[dev]"
python -m pytest
ruff check .
python -m datagoblin demo --seed 7 --out runs/demoThe demo needs no API, weights, GPU, network, or upstream checkout. It writes the required manifests, tickets, receipts, SQLite ledger, content-addressed artifacts, experiment record, and Markdown report beneath runs/demo.
Repository-local caches can be inspected or removed without touching run evidence:
python scripts/clear_local_caches.py
python scripts/clear_local_caches.py --applyRemoving runs/ requires the explicit --include-runs flag. The cleanup script resolves every target beneath the DataGoblin root and never traverses .git.
Useful commands:
datagoblin validate --recipe examples/recipe.good.yaml
datagoblin propose --snapshot examples/learner_snapshot.delayed_causality.json --out runs/plan.json
datagoblin emit-tickets --plan runs/plan.json --out-dir runs/tickets
datagoblin synth-episodes --count 32 --seed 7 --out runs/synthetic.jsonl
datagoblin export-sft --input runs/demo/research_episode.json --out runs/sft.jsonl
datagoblin export-preferences --input runs/demo/research_episode.json --out runs/preferences.jsonl
datagoblin upstream-status
datagoblin gym-demo --seed 7 --out runs/training-gym-demo
datagoblin etiquette-demo --seed 7 --out runs/etiquette-demo
datagoblin etiquette-build-training-dataset --seed 17 --out runs/ldt-fit/dataset
python -m datagoblin.adapter_verifier drift-confirm \
--out runs/adapter-schema-drift-confirmation
python -m datagoblin.adapter_verifier tournament-confirm \
--out runs/four-game-adapter-tournament
python -m datagoblin.adapter_verifier skill-tournament-succession \
--skill-before-fingerprint path/to/skill_before.json \
--skill-after-fingerprint path/to/skill_after.json \
--candidate-validator path/to/validate_adapter_candidate.py \
--out runs/curation-skill-successionThe architecture-neutral training gym evaluates LoRA, HRM-Text, and bounded looping-transformer candidates through a
frozen split and metric firewall. The default command runs mock controls only and never loads weights; see
docs/training_gym.md.
The MeTTa curation corpus indexes 196 pinned language-source files and produces offline, policy-labeled curation exercises with native MeTTa fact/query scaffolds. Inputs remain discovery candidates until independent review and runtime verification.\n\nThe RLT rollout gym collects checked attempts across seven task families, compares recurrence schedules on small
CPU controls, and stages Codex or Opus requests for verified training examples. It preserves repairs and public
teacher work alongside local state summaries. Start with docs/rlt_rollout_gym.md.
The collection-etiquette pipeline classifies public metadata envelopes into reject, quarantine, discovery, verified,
and evaluation custody lanes. Its LDT is currently a deterministic plumbing control and has no authority to release
training data. See docs/data_collection_etiquette.md.
The four-game curation verifier also has a learned, shape-only schema-drift gate. It fits a small
CPU reference adapter, compares it with the frozen exact-key policy, and requires a different-surface
confirmation before emitting checkpoint-ready LoRA and HRM-Text recipe packs. See
docs/curation_adapter_verifier.md.
Repeated boundary, authority, and robustness rounds can also produce a split-safe pairwise LDT
selection curriculum; see
docs/curation_skill_tournament_succession.md.
The bounded array-sorter gym fits linear, latent, and weight-tied looped heads to that
curriculum under WSL2 cgroup caps and scores them through a separate steward join; see
docs/ldt_array_sorter_gym.md.
Its fresh hard-surface successor separates abstention from genuine tradeoffs and reduces
orientation-balanced pair predictions into five-candidate Pareto arrays; see
docs/ldt_array_hard_surface_v2.md.
The retained one-pass latent head is independently confirmed on fresh content-free
tournament summaries with variable array sizes, one-sided bounds, and development-only
confidence calibration; see
docs/ldt_array_confirmation_v3.md.
The confirmed latent head can also run through a hash-bound, non-authoritative
shadow interface that keeps the independent verifier in control; see
docs/ldt_shadow_v4.md.
Three append-only shadow rounds then test the same frozen model on mutually
disjoint content-free lineages with one independent verifier join per round;
see
docs/ldt_shadow_succession_v5.md.
An independent distribution-shift challenge causally audits policy-derived
typed features against masked, raw-linear, and non-learned controls; see
docs/ldt_independent_shift_v6.md.
The target-independent successors remove policy-derived inputs, repair
lineage-heldout class support, and test direct permutation-equivariant array
heads without opening sealed labels; see
docs/ldt_target_independent_v7.md,
docs/ldt_structured_array_v8.md, and
docs/ldt_listwise_array_v9.md.
The v10 whole-array metrics have a staged development preflight and a separate
environment-owned held-out robustness pass. The subsequent edge-conditioned,
set-coupled adapter tournament did not clear its exact-set gates, so sealed
confirmation remains unspent. See
docs/ldt_set_metric_robustness_v10.md
and
docs/ldt_set_metric_holdout_v10.md, and
the tournament report in
docs/ldt_edge_set_array_v10.md.
The fresh v11 cardinality-readout and joint-MAP decoder ablation also remained
below the exact-set gate; see
docs/ldt_cardinality_decoder_v11.md.
V12 then trained an exact globally normalized array likelihood; its matched
global decoder improved exactness in every seed but still missed promotion.
See docs/ldt_exact_array_likelihood_v12.md.
V13 expanded that likelihood to the complete four-status composition. Global
decoding helped its matched factorized head, but the richer model lost to the
selected-count control and exposed a rank-then-qualify seed-selection caveat;
confirmation remains sealed. See
docs/ldt_status_composition_v13.md.
V14 repaired selection to gate seeds before ranking and produced one qualified
selected-count global primary. Its single held-out join scored 0.625 on both
exact status vectors and exact selected sets, so it was not confirmed and no
adapter tournament is authorized. See
docs/ldt_gate_first_replication_v14.md.
V15 added target-free edge-difference messages to the exact selected-count
model. The sole edge-global primary independently confirmed at 0.8125 on both
exact metrics, authorizing only a separately frozen downstream adapter
tournament. See
docs/ldt_edge_exact_correction_v15.md.
The separately frozen downstream gate compared an unchanged deterministic
control, a rank-4 low-rank surrogate, and matched one-pass/four-loop recurrent
surrogates on fresh four-game fixtures. The low-rank surrogate independently
qualified, but the v15 shadow sorter scored 0/12 on both exact array gates, so
the tournament correctly issued no promotion; see
docs/game_adapter_architecture_tournament_v2.md.
The v16 corrective gym tested fresh safe interval arrays and a target-free
directed cross-bound encoder against independent, old-edge, and decoder
controls. All four arms saturated the development exact-array metrics, so the
frozen +0.05 comparative gate denied confirmation; all 12 capped receipts and
the label-blind stop audit passed, and no heldout label was opened. See
docs/ldt_adapter_receipt_sorter_v16.md.
The optional milestone asks whether recurrent update summaries rank and calibrate constitutional-verdict errors. It does not train a model, and the DataGoblin validator remains the label authority. Check optional runtime availability without loading weights or touching the network:
datagoblin hrm-status
datagoblin make-verdict-dataset --seed 7 --out runs/hrm-v1/dataset
datagoblin steward-sealed-labels --dataset-manifest runs/hrm-v1/dataset/dataset_manifest.json \
--out ../datagoblin-hrm-v1-steward
datagoblin trace-hrm --dataset-manifest runs/hrm-v1/dataset/dataset_manifest.json \
--out runs/hrm-v1/mock --mock
datagoblin evaluate-cycle-signal --run-dir runs/hrm-v1/mock \
--sealed-labels ../datagoblin-hrm-v1-steward/sealed_labels.jsonl --calibration logistic
datagoblin trace-recurrent-baselines --dataset-manifest runs/hrm-v1/dataset/dataset_manifest.json \
--sealed-labels ../datagoblin-hrm-v1-steward/sealed_labels.jsonl --out runs/hrm-v1/baselines
datagoblin compare-recurrent-baselines --primary-run runs/hrm-v1/mock \
--baseline-root runs/hrm-v1/baselines --out runs/hrm-v1/recurrent_comparison.md
datagoblin role-ablation --dataset-manifest runs/hrm-v1/dataset/dataset_manifest.json \
--out runs/hrm-v1/roles --mock
datagoblin hrm-preflight --local-model-path D:/models/HRM-Text-1B \
--out runs/hrm-v1/preflight --ram-mb 4096 --cpu-percent 50 --io-mb-s 50--mock validates the pipeline and is never evidence about HRM-Text. A real run requires the optional hrm-text extra,
an explicit local path or explicitly opted-in Hugging Face ID, and acknowledgement that the process is already under an
operator-provided hard resource-cap wrapper. Downloads are disabled unless --allow-download is passed. Full activations
are not persisted by default; checkpoint-provided Python additionally requires --trust-remote-code. --device cpu is
the default, while CUDA must be selected explicitly. The repository's WSL launcher supplies a reproducible one-example
hard-capped path; see docs/hrm_execution_safety.md and
docs/hrm_text_milestone.md.
The complete executable example is examples/recipe.good.yaml. Its essential split and authority boundary is:
split_contract:
train_seed_namespace: causal-switches/train/example
evaluation_seed_namespace: causal-switches/eval/example
held_out: true
reference_solver_requirements:
required: true
component: causal_switches_exact_solver
independent_verifier_requirements:
required: true
component: causal_switches_independent_verifier
builder_permissions:
network: false
subprocess: falseThe deliberately invalid leakage example is examples/recipe.invalid_eval_leakage.yaml; validation returns a nonzero exit code and the evaluation_leakage rule.
datagoblin discover-upstreams checks environment variables, sibling paths, and C:/projects in the documented order. configs/upstreams.example.yaml selects include globs and excludes secrets, weights, checkpoints, caches, private material, and large generated trees. Ingestion is read-only with copy or symlink mode; symlink creation falls back to copying when unavailable. Neither upstream is a runtime dependency. Exact inspected commits and license cautions are in docs/upstream_inventory.md.
Version 0.1 does not establish constitutional alignment, autonomous scientific competence, safe arbitrary code generation, transfer to real game agents, superiority of HRM/TRM/LDT, effectiveness of a 1B specialist, or capability gains beyond the toy environment. See docs/non_claims.md.
The path from the deterministic heuristic to a roughly 0.8B–1.3B specialist uses supervised research episodes, chosen/rejected constitutional pairs, violation-vector and outcome prediction, calibrated abstention, ledger retrieval, and held-out environment families. Model size alone is not a research capability. See docs/model_training_roadmap.md.