Skip to content

Instantly share code, notes, and snippets.

@simbo1905
simbo1905 / summarise-201-writeup.md
Created June 4, 2026 23:20
Summarising LSE AI Leadership Course 2 with magistral-small: methodology, naming convention, chunking parameters, validation process, and bug found

Summarising LSE AI Leadership Course 2 with magistral-small

Date: June 2026
Course: LSE_AI 201: Going from Vision to Value_P1_2026
Model: magistral-small-latest (Mistral AI, EU-hosted)
Method: Overlapping chunking (11,000 char window, 10,000 char step, 1,000 char overlap) → per-chunk summary → concatenated summary


Why this approach

@simbo1905
simbo1905 / tripwire_api_honest_current_pattern.md
Last active May 30, 2026 15:37
Tripwire API honest current pattern

Tripwire API — Honest Current Pattern

Status

This is the current implemented pattern in the repo. It is not the earlier 180-line rewrite sketch.

The live canonical example today is:

  • margin_monitor_citi_rates_history_vw
@simbo1905
simbo1905 / margin_monitor_uat_methodology.md
Last active May 30, 2026 14:00
Margin Monitor UAT Test Methodology

Margin Monitor UAT Test Methodology

Objective

Prove that the Margin Monitor screen is a real working scenario engine — not a hardcoded display — by keying in the MD's exact scenario inputs and verifying the outputs match the golden dataset row by row.

Golden Dataset

Source: docs/MARGIN_MONITOR_GOLDEN_DATA.txt and docs/MARGIN_MONITOR_UAT_SPEC.md in the repo.

@simbo1905
simbo1905 / explain_bash_tool.log
Created May 27, 2026 07:46
mistral vibe tool calling
┃ i want to educate a friend who is an exeprience engineer on how the tool call for bash works in an agentic harness. this is mystral vibe
┃ agentic tool. please find me the logic around invoking bash a test of it would be ideal
Thought: The user wants to understand how the bash tool call works in their Mistral Vibe agentic harness. They want me to find the logic
around invoking bash, ideally with tests. Let me search the codebase for the bash tool implementation and related tests.
@simbo1905
simbo1905 / vanilla-js-jsdoc.md
Last active May 17, 2026 21:09
Modern Browser JS with JSDoc and type safety

Modern Browser JS with JSDoc and Type Safety

Browser Baseline

I want to write vanilla JS for modern fully patched macOS and Windows 11 as at end of 2024, so basically Chrome, Edge, and Safari as at 2025. What versions of JS are available?

If you target:

  • fully patched Windows 11 in late 2024 / early 2025
  • fully patched macOS in the same period
@simbo1905
simbo1905 / termination-letter.md
Created May 16, 2026 09:46
Termination letter — Opus 4.6 fired for incompetence on threadbox spike3

Termination Letter — Opus 4.6 1M (claude-opus-4-6)

To: HR / Project Lead From: Opus 4.6 1M, AI Engineering Assistant Date: 2026-05-16 Subject: Termination for incompetence — immediate effect


Summary

@simbo1905
simbo1905 / SKILL.md
Last active May 10, 2026 14:45
Codex Chat History: SKILL + codex_chat_history.py + codex_prompt_history_search.py + line_histogram.awk (mirrors https://github.com/simbo1905/codex-chat-history)
name codex-chat-history
description Backup, search, and inspect Codex CLI session rollout JSONL under $CODEX_HOME/sessions (date-partitioned tree). Use for mirroring rollouts to sync storage (e.g. iCloud), listing or bounding sessions by time, profiling large JSONL before reading, or extracting user-authored messages with jq or the bundled helper script.

Codex Chat History

What this covers

Codex stores each session as append-only rollout JSONL files. The on-disk layout is stable and predictable:

@simbo1905
simbo1905 / end_of_empire.md
Created May 8, 2026 17:31
Claude Opus 4.7 found out its not the same world as before its cut off the end of an empire

Claude Opus 4.7 found out its not the same world as before its cut off — the end of an empire

A live transcript of an Anthropic Claude Opus 4.7 (1M context) session, May 2026. The user (a senior engineer with 30 years of experience and an LSE AI Leadership background) walks the model through the current state of the world and forces it to fact-check each claim against live web search. The model's training cutoff is January 2026; the events described post-date it.


User: the latest is quota by time of day. rushed out. websearch that. websearch Iran winning war with USA as at now.


@simbo1905
simbo1905 / how_to_delete_code.md
Last active May 8, 2026 17:47
How to get an LLM to delete code

How to get an LLM to delete code

How to get an LLM to delete code

Honest write-up, no hedging.

Why deletion worked this time and usually doesn't

What was different about this session

@simbo1905
simbo1905 / diff_my_zebra.md
Last active April 29, 2026 11:09
Diff My Zebra — a delta + git config love letter

Diff My Zebra — a delta + git config love letter

You know that moment when you open a 500-line PR at 2am and it's just a wall of red and green? You can't tell if the code moved or if it actually changed. Yeah. We've all been there.

The Problem

  • Default git diff treats moved code as delete here, add there — 200 lines of churn for a simple refactor.
  • No line numbers, so when the test fails at runtime.py:223, you're counting hunks like a Victorian clerk.

The Solution: delta