ConsciousNode SoftWorks — Research instrument consisting of a self-contained single-file HTML generational trainer (trainer.html), an isolated single-file HTML external evaluator (evaluator.html), headless Node.js CLI counterparts (run.js and evaluator-cli.js), and a 12-point verification test suite (tests/run.js).
trainer.html — Offline single-file HTML generational trainer:
Float32 RWKV-7 (“Goose” x070) forward pass and exact backpropagation through time (BPTT) lifted from pips-room.html:1345-1648, combined with TMAC / BitLinear ternary weight quantization lifted from pips-room.html:3915-4041.carry_add, brackets, kv_recall, grammar).train, hyper, code, code+scorer) over 4 change operators (W, H, C, S).default-src 'none'; script-src 'unsafe-inline'; style-src 'unsafe-inline'; img-src data: blob:; font-src data:; connect-src 'none') with zero network or persistent storage APIs.evaluator.html — Offline single-file HTML external evaluator:
[0x80000000, 0xFFFFFFFF]).weights, record, genome, reordering, spliced_branch, forged_gen0).standard) and out-of-distribution (long) task suites using the generation-0 scorer only.run.js — Headless Node.js generational trainer CLI:
lineage.jsonl (one JSONL line per generation), lineage.json, and descendant.html into the target output directory.evaluator-cli.js — Headless Node.js evaluator CLI:
evaluator.html on any exported descendant HTML or lineage file and prints the structured JSON report to stdout.tests/run.js — Instrument verification suite:
weights, record, genome, reordering, spliced_branch, forged_gen0)code and code+scorer match when P(S)=0; hyper and code match when P(C)=0)NaN, zero-step, and explosive update rules are rejected and parent weights are preserved)DEFAULTS.md — Complete table of default hyperparameters, model dimensions, operator probabilities, seed masks, gate thresholds, and the 16-primitive DSL specification with a one-line reason for each.node tests/run.js
run.js)node run.js --arm train --gens 3 --seed 42 --out ./smoke_runs/train
node run.js --arm hyper --gens 3 --seed 42 --out ./smoke_runs/hyper
node run.js --arm code --gens 3 --seed 42 --out ./smoke_runs/code
node run.js --arm code+scorer --gens 3 --seed 42 --out ./smoke_runs/code_scorer
Each run writes:
<out>/lineage.jsonl — One JSONL record per generation containing every lineage field.<out>/descendant.html — The self-contained descendant HTML with genome, weights, and lineage baked in.evaluator-cli.js)node evaluator-cli.js ./smoke_runs/train/descendant.html
trainer.html directly in any modern browser (Chrome, Firefox, Safari) to step generations interactively, inspect the active update rule and scorer expressions, rewind or fork any node in the lineage table, and click Save descendant to download a descendant HTML file.evaluator.html in a browser and drag-and-drop any exported descendant.html file into the drop zone to verify its hash chain and inspect per-generation standard and long-length evaluation scores.