Skip to content
View codenlighten's full-sized avatar

Block or report codenlighten

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
codenlighten/README.md

Gregory Ward

Software engineer: Rust and TypeScript back ends, full-stack web, blockchain tooling, verifiable systems and AI tooling. I take scoped fixes and longer engagements. I find the root cause, fix it and confirm the fix with a regression test.

Sites: codenlighten.org · smartledger.technology

Start here: one repo per skill

These eleven were built as showcase pieces. Each has CI, tests that were checked by breaking the code on purpose, and a "Limits" section that says what is not covered.

Skill Repo What it shows
Rust back end rust-api-service axum, SQLite, argon2, signed tokens, per-user isolation, problem+json, a measured load test
Node / TypeScript + Postgres ts-api-starter Multi-tenant API, idempotency keys, cursor pagination, a migration runner, tests on a real database
Full stack and billing saas-fullstack-demo Next.js and Stripe Checkout in test mode, verified and idempotent webhooks
Front end and data viz data-dashboard · live demo React, TypeScript, accessible SVG map and charts over a live public feed, browser tests
AI / LLM tooling llm-tooling-lab Tool-use agent loop, cost budgets, response cache, evaluation harness, all testable offline
Debugging method root-cause-casebook Nine constructed bug cases in five languages: failing test, diagnosis, fix, regression test
Language tooling (Rust + WebAssembly) mini-language-lab · live demo A small process language: recovering parser, validator with suggestions, comment-preserving formatter, in a React editor with a diagram
Databases (PostgreSQL) postgres-patterns Seven studies, each demonstrated by tests: constraints, isolation anomalies, a job queue, pagination, indexes, row-level security and safe migrations, with measured results and their limits
Databases (MongoDB) mongodb-patterns Eight studies, each demonstrated by tests: validation, modelling, atomic updates, transactions, a job queue, indexes by keys examined, pagination and migrations
Security (verifiable records) tamper-evident-log A signed, hash-chained log with Merkle checkpoints and an offline verifier, with a table of attacks it detects and the ones it cannot
Security (post-quantum signatures) pq-signatures-demo A signing component using a third-party ML-DSA library alongside Ed25519, where both must verify; checked against NIST's test vectors in two libraries, with an attack matrix. A demonstration, not audited

Blockchain

Area Repo What it is
Bitcoin SV primitives smartledger-bsv-core Keys, scripts, transactions and SPV in JavaScript with types. CI replays the reference node's own script test file (bitcoin-sv v1.2.2): all 1483 rows agree on accept or reject with no wrong error reason (109 of the 600 rejections use a documented, narrower error name)
BSV Script scriptmin Bitcoin Script minimiser: byte profiler, stack scheduler and superoptimiser
Bitcoin SV formal methods bsv-lean-proofs Lean 4 reference semantics, theorems and conformance vectors for a BSV node
Solidity solidity-proof ERC-20, ERC-721 and an upgradeable vault with Hardhat and Foundry tests, fuzzing and invariants, a gas study and static analysis. Demonstration code, not audited

Deeper systems work

Area Repo What it is
Rust migration node-to-rust-migration-lab Node.js to Rust behind the same API, with a behaviour-parity harness and automatic rollback

Many older repos on this account are experiments and forks. The ones above are the ones to judge me by.

Pinned Loading

  1. llm-tooling-lab llm-tooling-lab Public

    Offline-testable LLM tooling in Python: tool-use agent loop, cost budgets, response cache, eval harness, prompt-injection hygiene.

    Python

  2. root-cause-casebook root-cause-casebook Public

    Nine constructed bug cases (Python, TypeScript, Go, Rust, SQL): failing test, diagnosis, fix, regression test. Not real incidents.

    Python

  3. rust-api-service rust-api-service Public

    Notes REST API in Rust (axum, sqlx/SQLite): argon2, signed tokens, per-user isolation, problem+json, integration tests, measured load test.

    Rust

  4. saas-fullstack-demo saas-fullstack-demo Public

    Next.js + Stripe Checkout (test mode) demo: verified webhooks, atomic idempotent event handling, unit and browser tests. Demo only, no real payments.

    TypeScript

  5. ts-api-starter ts-api-starter Public

    Multi-tenant TypeScript API (Fastify, Postgres): idempotency keys, cursor pagination, SQL migration runner, tests on a real database.

    TypeScript

  6. mini-language-lab mini-language-lab Public

    Procflow: a small process language with real tooling. Rust parser, validator and formatter compiled to WebAssembly, in a React + TypeScript editor with live diagnostics and a diagram.

    Rust