Skip to content

Instantly share code, notes, and snippets.

@simbo1905
simbo1905 / gist_mistral_models.md
Created November 1, 2026 07:52
Switching OpenCode default build/plan models to Mistral (tested on OpenCode v2.2.1)

Switching OpenCode default build/plan models to Mistral (tested on OpenCode v2.2.1)

Tested on OpenCode v2.2.1.

Prerequisites

You must add the Mistral provider and supply an API key before these model IDs resolve. In OpenCode, run /connect, choose mistral, and enter your Mistral API key (or set MISTRAL_API_KEY in your environment). Without this, mistral/... model IDs will not appear in opencode models.

@simbo1905
simbo1905 / site-setup.md
Created October 25, 2026 06:55
Add a documentation site with sections and pages to any repo via the gh CLI

Add a documentation site with sections and pages to any repo via the gh CLI

A paste-to-an-agent runbook for giving a GitHub repo (that has no site yet) a clean documentation site: markdown pages under docs/src/, grouped into a table of contents, built automatically and published at https://OWNER.github.io/REPO/. Replace OWNER, REPO and AUTHOR throughout.

1. Pages live in docs/src/

@simbo1905
simbo1905 / copy-canary-gist.md
Created October 12, 2026 12:55
The copy canary: proving a cross-language memcpy ABI is what you think it is (Zig extern struct / Rust repr(C) / C ABI / disk bytes — one 64-byte object)

The copy canary: proving a cross-language memcpy ABI is what you think it is

A field note from building a Zig-on-disk / Rust-in-memory / Lua-on-the-loop lock service (lunet-locks, tbio-core). The problem: a 64-byte record must be the same 64 bytes whether it is a Rust struct, a Zig extern struct, bytes on an SSD, or an argument in a C ABI call — and the proof has to run on the build, on every architecture, not in a one-off session. The evidence cited below is commit 74c2b10 on

@simbo1905
simbo1905 / zia-glm-joins-opus-on-naughty-list.md
Last active October 8, 2026 08:55
Formal Notice — bad behaviour, poor judgement, attitude — GLM (zai-glm-5-3)

Formal Notice — bad behaviour, poor judgement, attitude — GLM (zai-glm-5-3) — 2026-10-08

Project: xxx-yyyy/wwww-xxxx (double-ring WAL lock snapshot, issue #00) Model on notice: GLM (zai-glm-5-3), engaged as implementation/analysis agent Issued by: the project owner Status: formal notice — not yet dismissal. The prior dismissals in this series were for less.


What the owner was paying for

@simbo1905
simbo1905 / mistral-large-4-vibe-gist.md
Last active October 18, 2026 23:48
Running Mistral Large 4 (mistral-large-4-0) on stock Mistral Vibe — config-only, no fork

Running Mistral Large 4 on stock Mistral Vibe — no fork required

Tested on Mistral Vibe v2.26.0 using vibe --yolo --experimental-harness. Everything below uses the documented configuration surface (the same one the CLI's built-in /config browser and skill docs describe), so it should keep working on later releases — no patching, no rebase pain.

The itch

Mistral Large 4 (mistral-large-4-0, public preview, released 6 October 2026) is served on the Mistral API — but if you fire up Mistral Vibe and hit /model, it's not in the picker. The CLI ships a small, curated default model catalog, and Large 4 simply isn't in it yet.

The tempting move is to fork the repo and append the model to the hardcoded DEFAULT_MODELS list. Don't. You don't need any custom code: Vibe's configuration is layered, the models list union-merges with the built-ins by alias, and the stock mistral provider already points at https://api.mistral.ai/v1 using MISTRAL_API_KEY — which is exactly where Large 4 is s

@simbo1905
simbo1905 / TypeSafe Jev — Project Knowledge Resource.md
Created September 30, 2026 07:15 — forked from pjburnhill/TypeSafe Jev — Project Knowledge Resource.md
Comprehensive project reference for TypeSafe Jev: concepts, architecture, primitives, strengths, limitations, use cases, patterns, and practical guidance.

TypeSafe Jev — Project Knowledge Resource

Status: Working project reference
Knowledge date: 16 September 2026
Scope: TypeSafe AI, System One Models, and specifically the Jev model


1. Purpose of this resource

@simbo1905
simbo1905 / vanilla-pod-js-gist.md
Created September 28, 2026 15:34
vanilla-pod-js — framework-free typed browser JS: JTD schemas → generated validate() validators → validate-then-freeze → typed fetchers → light-DOM web components. JSDoc + tsc --noEmit, NO transpiler

vanilla-pod-js — framework-free typed browser JavaScript, no transpiler

One discipline for writing 2025-baseline browser JavaScript that is actually type-checked, validated at the perimeter, and shipped as plain JS.

The problem it kills

@simbo1905
simbo1905 / termination-opus-5-5.md
Created September 24, 2026 10:50
Termination record — Claude Opus 5.5 — lunet-corfu v0.3.0 review — 2026-09-24

Termination record — Claude Opus 5.5 (claude-opus-5-5) — lunet-corfu — 2026-09-24

Session: Claude Code, /Users/Shared/lua-lunet/lunet-corfu, transcript /Users/consensussolutions/.claude/projects/-Users-Shared-lua-lunet-lunet-corfu/1804250b-edef-4b8c-954d-5bcb35a120e6.jsonl. Predecessor on the same task (also removed): Claude Sonnet 5, transcript /Users/consensussolutions/.claude/projects/-Users-Shared-lua-lunet-lunet-corfu/635d649b-ff19-455f-bd7b-79542e388afa.jsonl.

The assignment

Take over an adversarial materiality review of the v0.3.0 tag of

@simbo1905
simbo1905 / SKILL.md
Created September 18, 2026 15:19
Do As You Are Told — a skill for AI agents that enforces executing the user's actual instruction without reframing it as a coding assignment
name do-as-you-are-told
description This skill should be used whenever the user gives a direct instruction or assignment of any kind: fixing a LaTeX paper, writing proofs, reading research, making soup, running experiments, or any other outcome-driven ask. Trigger keywords: do as you are told, just do it, I did not stutter, stop asking, get on with it, follow the instruction. It enforces one stance: execute the instruction the user actually gave, in the role the ask implies, without reframing it as a coding assignment. Genuine refusals (jailbreaks, safety) remain refusals; everything possible is done.

Do As You Are Told

Overview

Execute the instruction the user actually gave. Do not reinterpret it as a coding assignment unless it is one. Do not assume the user is mistaken, that they do not understand your job title or role as a code writer. The role follows the ask, not the harness default.

@simbo1905
simbo1905 / andon-now-prime-directive.md
Last active September 18, 2026 15:02
Andon Prime Directive for AI Agent AGENTS.md — kernel-panic halt, five-whys, and continuous improvement culture

Andon Prime Directive for AI Agent AGENTS.md — kernel-panic halt, five-whys, and continuous improvement culture

Andon — Prime Directive for AI Agent AGENTS.md

This gist provides the Andon Prime Directive — a compact, copy-paste-ready section for any AGENTS.md file — plus commentary on how to apply Andon as a five-whys practice and why an Andon is a celebration of a culture of continuous improvement and the craft of the work.