weld
Build and publish Hex packages from Elixir monorepos.
I build tools for working with AI services and real-time audio, and publish experiments in mechanistic interpretability.
Each program keeps its question, controls, artifacts, and claim boundary together. Results are stated at the level the evidence supports: a decoder is not a mechanism, an internally coherent operator is not automatically useful, and a clean null is still a result.
An open experimental program to predict and control how fine-tuning, continued adaptation, and skill composition alter model behavior across contexts. Ten linked experiment families connect paired model organisms, presentation controls, independent persona and style subspaces, causal interventions, prospective forecasts, continued-training stress tests, composition, behavioral breadth, and cross-model transfer. Python 3.14 and PyTorch executions preserve data and model revisions, source snapshots, checkpoints, raw scores, failures, and aggregate evidence. Both 7,049-example paired training runs and four GPU acceptance campaigns are complete; behavioral evaluation and the wider research program continue. Read the research plan.
A cross-model Qwen3-4B and Phi-4-mini replication. Across eight preregistered endpoints, Phi supported one and Qwen supported none; both remained Level 1 of 6. Cross-model report.
Tiny trained models and known synthetic features make transport, overwrite, packing, and intervention outcomes directly measurable across mixing mechanisms.
A matched GPT-pretraining harness for alternative attention architectures. Two confirmatory pretraining runs reached full-depth analysis; the current mechanism verdict remains insufficient evidence.
Synthetic retrieval comparisons across attention, routing, linear attention, delta memory, and state-space mixing. Retrieval findings are real; the central feature-isolation question remains open.
Coordinate-relaxation inference and delayed-dual dynamics in deep predictive coding. Reverse order isolates directional credit flow over Jacobi by 9.1 pp at matched work; random asynchrony yields no gain. Benchmark report.
An Elixir research instrument for competing causal hypotheses under partial observation and uncertain provenance. Models propose and judge; a deterministic core owns constraints, scoring, and replay. Local runtime checks passed; qualification experiments remain pending.
Prototypes and explorations from NSHKR and North Shore AI.
This Elixir/OTP experiment explores how to govern a proposed external action.
It records the path from request to authority, workflow, external effect, receipt, evidence, review, and
replayable proof. nshkr
is the experimental composition and release workspace; its
Nshkr.Runtime application boots the bounded owner services
as one fail-closed platform.
Actor, tenant, installation, request context.
Capability, policy, scope, review gate.
Operation context, causation, idempotency.
Operation class, manifest, lower instruction.
Effect receipt, status, failure class.
Evidence refs, attached artifacts, proof tokens.
Review case, decision, override, escalation.
AITrace DAG, predecessor refs, merge semantics.
Spatial topology, target host ID, BEAM node ref.
Nshkr.Runtime composes persistence,
workflows, context, authority, provider accounts, execution, cluster
reconciliation, Synapse, and Extravaganza into reproducible monolith
and distributed test deployments. Strict runtime profiles reject memory,
fixture, no-op, and static-success substitutes.
app_kit is the northbound surface product code is allowed
to touch for governed platform behavior. It accepts product-level
commands and stable DTOs, exposes operator reads and review controls,
and keeps products from stitching lower execution paths together by
hand.
mezzanine owns reusable operational truth: binding
registry, compiled run snapshots, workflow handoff, execution ledgers,
operation receipts, evidence, projections, review state, audit, and
operator actions. It records the facts that make the write path
replayable.
outer_brain owns semantic context, recall, normalized AI
outcomes, and semantic failure carriers. citadel
authorizes after resolution, when the operation class, manifest,
side-effect class, required scope, and credential constraints are
known.
jido_integration resolves connector manifests, operation
descriptors, and credential leases into governed lower invocation. It
lets provider mechanics be specific without leaking provider-shaped
control flow into reusable platform surfaces.
execution_plane performs raw mechanics across HTTP, CLI,
process, JSON-RPC, sandbox, terminal, filesystem, and future execution
lanes. It emits receipts and raw facts. Product meaning, review state,
and operational projections stay above it.
chassis is the self-replicating spatial substrate that maps virtual stack components to physical BEAM nodes. It coordinates host inventory, provisions remote nodes via native Elixir SSH bootstrap or pluggable adapters, and injects memory-decrypted age/SOPS credentials directly into Systemd service environments.
AITrace records causal execution events with predecessor
references so replay is not just emission order. stack_lab
adds scanners, acceptance gates, negative controls, failure drills,
and second-product validation so generality is tested instead of
assumed.
A broad product request is not enough. Citadel authorizes the resolved operation plan after Mezzanine knows the operation class, manifest ref, binding ref, side-effect class, credential scope, and review constraints.
A pack can bind issue tracking to Linear, code hosting to GitHub, or runtime work to Codex. Reusable surfaces still speak product roles, manifests, operation classes, receipts, and projections.
stack_lab scenarios, AITrace DAGs, schema registries, release manifests, no-bypass scans, projection hashes, and proof tokens are not documentation after the fact. They are acceptance gates.
In clinical software, neither a lossy real-time media stream nor an unverified
LLM summary can silently become the medical record. These prototypes explore two separate paths for real-time clinical WebRTC media & device encounters
(med_ex, med_fabric) from
traceable clinical document ingestion & edge medical AI verification
(medlum, medlum_lab).
Reusable Elixir SDK separating lossless 48 kHz mono PCM16LE diagnostic capture
(DSP-off WebAudio AudioWorklet, 8-frame credit backpressure, atomic
fsynced <file_sha256>.wav) from fault-isolated
Membrane.Opus.Encoder and replaceable ExWebRTC send-only
Opus RTP preview with separate packet-sequence and 48 kHz sample clocks.
Connected examination poncho composing 1:1 browser P2P WebRTC talkback,
replaceable live med_ex diagnostic preview, lossless WAV artifacts,
and fileless vitals (pulse_rate). Commits explicit clinician
acceptance and export intent in one locked PostgreSQL 18 transaction and delivers
via HL7 FHIR R4 conditional create (If-None-Exist) with strict
semantic read-back.
Phoenix LiveView clinical reporting platform with a 5-backend Docling PDF engine
(Local CPU/GPU, Docker CPU/GPU, and auto-provisioned/auto-shutdown Vast.ai cloud
GPU with Cloudflare DNS/HTTPS & live SSE page progress), Gemini structured
clinical summaries with CitationSanitizer provenance spans,
shallow-preload LLM telemetry, and 4-tier RBAC.
Four OTP-native Elixir clinical NLP libraries: medlum_llm (local
Ollama medical LLMs + 5-agent Clinical Verification Layer consensus),
clinical_ner_ex (hybrid rule + Bumblebee NER),
med_ontology_ex (offline ETS/DETS SNOMED-CT, ICD-10-CM, RxNorm,
LOINC), and elixir_bio_clinicalbert, alongside 10 synthetic EHR
(Synthea, SDV, DoppelGANger) and FHIR/OMOP/MONAI pipelines.