Small things
worth running.
Runnable experiments, graph tooling, and honest handles for the next curious person. Every artifact is dependency-free and designed to be read before it is extended.
Tiny BPE tokenizer
Build byte-pair merges and inspect vocabulary trade-offs.
node experiments/tiny-bpe.mjs
FOUNDATIONSTiny attention
Make the weighted lookup behind attention concrete.
node experiments/tiny-attention.mjs
FOUNDATIONSTiny training loop
Watch a deterministic character-level model learn.
node experiments/tiny-training.mjs
ARCHITECTURETiny transformer
Connect tokens, positions, attention, residuals, and logits.
node experiments/tiny-transformer.mjs
QUALITYFeedback evaluation
Measure whether reviewed decisions improve later extraction.
node experiments/evaluate-feedback.mjs --help
QUALITYLearning loop
Run extraction, review, portable guidance, and improvement end to end.
node experiments/learning-loop.mjs
QUALITYPromotion gate
Compare candidate evaluation reports before promotion.
node experiments/compare-evaluations.mjs --help
QUALITYGraph health inspector
Turn provenance, freshness, and grounding into gates.
node experiments/inspect-graph.mjs --help
BOUNDARIESGraph input boundary
Read bounded, fingerprint-verified graph inputs in CI.
node experiments/graph-input.mjs --help
BOUNDARIESBounded file reader
Fail closed at text and byte-reading boundaries.
node experiments/bounded-file.mjs --help
PROJECTIONSJSON-LD projection
Turn the internal graph into portable linked data.
node experiments/project-jsonld.mjs --help
PROJECTIONSJSON-LD verifier
Verify a semantic-web artifact against its source graph.
node experiments/verify-jsonld.mjs --help
PROJECTIONSGraph diff
Inspect exactly how a representation changed.
node experiments/diff-graphs.mjs --help
PROJECTIONSDiff verifier
Verify a diff against its before and after graph exports.
node experiments/verify-diff.mjs --help
PROJECTIONSGraph verifier
Verify a graph export or full backup before sharing or consuming it.
node experiments/verify-graph.mjs --help
SAFETYBackup verifier
Inspect plaintext or encrypted backups without exposing a password in arguments.
node experiments/verify-backup.mjs --help
PROJECTIONSCanvas verifier
Verify native Obsidian Canvas nodes, edges, bounds, and endpoint integrity offline.
node scripts/verify-canvas.mjs examples/sample-graph.canvas
OPERATIONSService health verifier
Validate captured liveness and readiness responses offline.
npm run verify:service-health
SAFETYShare JSON verifier
Validate a downloaded redacted share handoff before importing or forwarding it.
npm run verify:share -- examples/sample-share.json
START HERESample graph export
Download a small evidence-backed graph for health, diff, and JSON-LD experiments.
npm run health -- examples/sample-graph.json
START HERESample graph viewer
See the same internal representation as a shareable page, then open its Obsidian Graph.canvas projection from the workbench.
npm run build:pages