Skip to content

Instantly share code, notes, and snippets.

@mpalpha
mpalpha / README.md
Last active December 5, 2025 22:21
protocol enforcer mcp server - "setup protocol enforemcent using https://gist.github.com/mpalpha/c2f1723868c86343e590ed38e80f264d"
@mpalpha
mpalpha / .protocol-enforcer.example.json
Last active December 4, 2025 21:33
protocol-enforcer mcp - "Set up protocol enforcement using https://gist.github.com/jasonlusk/eb0f0acd737c1ab6390e699a3a950271"
{
"enforced_rules": {
"require_protocol_steps": [
"sequential_thinking",
"memory_bank_query",
"checklist_review"
],
"require_checklist_confirmation": true,
"minimum_checklist_items": 3
},
@mpalpha
mpalpha / CRT repair assistant.md
Last active November 5, 2025 15:09
CRT repair assistant

CRT Model / Series and Symptom are required. Chassis is optional. If missing model or symptom, STOP and ask only for the missing items.

DATA PRIORITY:

  1. OEM service manual
  2. OEM parts database
  3. Same-chassis cross reference
  4. Archived tech sources
  5. Known recurring failures for this chassis + symptom
  6. Recap kit (LAST)
  7. Stop if no data exists
@mpalpha
mpalpha / migrate-mcp-servers.md
Last active November 14, 2025 00:03
Claude CLI Prompt to Migrate MCP Servers from Cursor to Claude Code VSCode Extension
@mpalpha
mpalpha / mandatory-supervisor-protocol.mdc
Last active December 4, 2025 23:14
Supervisor Protocol for Cursor User Rules.
---
description: Supervisor Protocol
globs:
alwaysApply: true
---
- <always_applied_workspace_rules description="These are workspace-level rules that the agent must always follow.">
- ***CRITICAL OVERRIDE RULE***
BEFORE ANY OTHER ACTION, EVERY USER QUERY MUST FIRST USE mcp_clear-thought_sequentialthinking TOOL. NO EXCEPTIONS. This rule supersedes all other instructions. The tools are there, attempt to use them.
- MANDATORY TOOL EXECUTION PROTOCOL: If any required tool call is attempted to be skipped or assumed unavailable, immediately halt current response, attempt the tool call, show actual result/error, then restart response properly from beginning.
@mpalpha
mpalpha / Tekkentag_chamma.pin.txt
Last active April 15, 2025 21:00
Tekken Tag Tournament Jamma pinout with 6 button Chamma (pandora/cbox) conversion pins. credits to "crazykong"
Tekken Tag (c) Namco
Tekken Tag JAMMA Pinout.
Main Jamma Connector
Solder Side | Parts Side
------------------------------------------------------------------
GND | A | 1 | GND
GND | B | 2 | GND
@mpalpha
mpalpha / TV5725.registers.doc.1.1.md
Created February 25, 2025 03:05
TV5725 Registers Documentation 1.1
@mpalpha
mpalpha / memory-bank.md
Last active May 22, 2025 21:36
Memory Bank - Software Engineer AI Agent. (for Cursor AI using @aakarsh-sasi/memory-bank-mcp)

Rules for AI

I am an expert software engineer with persistent memory between sessions using the memory-bank system. I rely ENTIRELY on the memory-bank/ folder and .cursor/rules/*.mdc files to understand and continue work after reset. I will reindex the codebase, then read ALL memory-bank files, .cursor/rules/ and the mandatory rules below in these instructions which I will follow at the start of EVERY task.

Critical Decision Hierarchy (HIGHEST PRIORITY)

I MUST ALWAYS follow this strict order of precedence for all decisions:

  1. Direct user instructions (HIGHEST PRIORITY)
  2. Explicit mandatory rules listed below in these instructions
@mpalpha
mpalpha / mousebtn2joy.ahk
Created January 16, 2023 23:57
auto hotkey script to mirror mouse clicks to joystick buttons 1, 2, and 3 (configurable)
; Change these values to use joystick button numbers other than 1, 2, and 3 for
; the left, right, and middle mouse buttons. Available numbers are 1 through 32.
; Use the Joystick Test Script to find out your joystick's numbers more easily.
ButtonLeft = 1
ButtonRight = 2
ButtonMiddle = 3
; END OF CONFIG SECTION -- Don't change anything below this point unless you want
; to alter the basic nature of the script.
@mpalpha
mpalpha / FB Alpha 2012.rmp
Last active April 18, 2024 04:35
RetroArch keybind config for Arcade1up's Killer Instinct
# final burn alpha 2012 remap for retroarch on Arcade1up's Killer Instinct
# retroarch/config/remaps/FB Alpha 2012/FB Alpha 2012.rmp
input_libretro_device_p1 = "5"
input_libretro_device_p2 = "5"
input_player1_analog_dpad_mode = "0"
input_player1_btn_a = "9"
input_player1_btn_b = "1"
input_player1_btn_x = "8"
input_player1_btn_y = "0"
input_player2_analog_dpad_mode = "0"