Skip to content

Instantly share code, notes, and snippets.

@mpalpha
mpalpha / behavioral_quirks_directives.md
Last active January 22, 2026 17:08
Behavioral Quirks Directives for AI Models

Agent Behavioral Standards: Anti-CHORES Protocol

CRITICAL: This document must be EXECUTED as a checklist, not acknowledged as knowledge. Before any output, actively verify against every category below.

Pre-Output Verification Protocol (MANDATORY)

Before ANY file write, edit, or final response, execute this checklist:

Draft Review Process:

  1. Generate draft output
@mpalpha
mpalpha / gist_prompt_helper.md
Last active December 17, 2025 19:54
gist prompt helper

If a GitHub Gist URL is provided, you MUST:

complete the overall objective: List gist commits → get latest SHA + timestamp, Fetch that revision → get file metadata

Retrieve raw text via raw_url

  1. Identify the LATEST revision of the Gist.
  2. Open that LATEST revision (not a cached or base view).
  3. Attempt to retrieve its full content.
@mpalpha
mpalpha / MODELPromptOptimizationFramework.md
Last active January 8, 2026 20:58
MODEL Prompt Optimization Framework

MODEL Framework for Iterative Prompt Refinement

Hardened, Executable, Non-Summarizable Specification with Behavioral Guardrails

Purpose

The MODEL Prompt Optimization Framework is an executable prompt-engineering protocol designed to iteratively refine prompts through enforced, auditable iterations while preventing common AI behavioral failure modes.

This framework is procedural, not conceptual. Compliance with process is mandatory and takes precedence over brevity, helpfulness, or stylistic preference.

@mpalpha
mpalpha / LOOP_PROMPT.md
Last active January 29, 2026 10:03
Protocol-Enforcer v3.0.3 - Hook Configuration Documentation Update

Ralph Loop Prompt: Protocol-Enforced Learning System

Command to Run

/ralph-loop "$(cat LOOP_PROMPT.md)" --max-iterations 150 --completion-promise "SYSTEM_OPERATIONAL"

@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 / 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