Skip to content

Instantly share code, notes, and snippets.

View Kadajett's full-sized avatar

Jeremy Stover Kadajett

View GitHub Profile
@Kadajett
Kadajett / gist-extension.js
Created March 7, 2026 09:51
DevClaw Monitor - GNOME Shell Extension for tracking active AI workers
// GNOME Shell Extension: DevClaw Monitor
// Shows active DevClaw workers in the Ubuntu top bar
// For GNOME 46 / Ubuntu 24.04
//
// Install to: ~/.local/share/gnome-shell/extensions/devclaw-monitor@kadajett/extension.js
import GLib from 'gi://GLib';
import Gio from 'gi://Gio';
import St from 'gi://St';
import Clutter from 'gi://Clutter';
@Kadajett
Kadajett / README.md
Created March 6, 2026 02:36
Mercury throttle proxy for OpenClaw (FIFO queue + adaptive backoff)

Mercury Throttle Proxy (FIFO + Adaptive Backoff)

This proxy serializes outbound Mercury API calls, preserves request order, and adaptively increases spacing on rate-limit and timeout pressure.

Files

  • mercury-throttle-proxy.mjs: Node HTTP proxy.
  • mercury-throttle-proxy.service: systemd unit template.

Quick setup

@Kadajett
Kadajett / GIST_NOTE.md
Last active March 5, 2026 19:19
OpenClaw orchestrator extension (latest patched version, 2026-03-05)

Orchestrator Note (2026-03-05)

Latest observed behavior after Discord testing:

  • Around 13:20-13:21 ET, the same completion update was emitted multiple times to the main Discord channel and a hidden sub-agent session.
  • ANNOUNCE_SKIP was logged, so at least one status/update emission was intentionally suppressed.
  • The follow-up "spin up a planning sub-agent" style request did not show a corresponding new planner spawn in the immediate 13:22 ET window.
  • lane wait exceeded warnings were present (short queue delay), but no hard crash in that specific window.

Intended direction:

  • Ensure exactly one planner sub-agent spawn per planning request.
@Kadajett
Kadajett / MANIFEST.md
Created March 5, 2026 15:32
OpenClaw custom extensions (orchestrator + related extension code, sanitized)

OpenClaw Custom Extensions (Sanitized Export)

Exported from local OpenClaw extension sources.

Included files:

  • orchestrator.index.ts (source: ~/.openclaw/extensions/orchestrator/index.ts)
  • orchestrator.openclaw.plugin.json (source: ~/.openclaw/extensions/orchestrator/openclaw.plugin.json)
  • lorene-gate.index.ts (source: ~/.openclaw/workspace/.openclaw/extensions/lorene-gate/index.ts)
  • lorene-gate.openclaw.plugin.json (source: ~/.openclaw/workspace/.openclaw/extensions/lorene-gate/openclaw.plugin.json)
  • token-audit.index.ts (source: ~/.openclaw/workspace/.openclaw/extensions/token-audit/index.ts)

1. What Muon Is

Muon (Momentum Orthogonalization via Newton–Schulz) is a matrix-aware optimizer for neural networks that:

  • Keeps momentum
  • Orthogonalizes that momentum for 2D weight matrices
  • Uses the orthogonalized matrix as the update direction

It is designed specifically for matrix-structured parameters (like linear layer weights in transformers).

Semfora Engine Codebase Analysis Report

Generated: December 13, 2025 Codebase: semfora-engine Analysis Tool: semfora-engine v0.1.0 (self-analysis)


Executive Summary

@Kadajett
Kadajett / Tild_engine_rust.md
Created October 25, 2025 02:58
How to implement the tiled enging in Rust
@Kadajett
Kadajett / Original.txt
Created March 4, 2025 13:25
Scribe Code Example
Write a JavaScript function that takes two numbers as input and returns their sum.
import Konva from 'konva';
import { AlertCircle, Crop, Image as ImageIcon, Move, Pen, Smile, Square } from 'lucide-react';
import React, { useEffect, useRef, useState } from 'react';
import { Image as KonvaImage, Layer, Line, Rect, Stage, Text, Transformer } from 'react-konva';
import { TransformComponent, TransformWrapper } from 'react-zoom-pan-pinch';
import { Button } from '~/components/ui/button';
import { Input } from '~/components/ui/input';
import { Slider } from '~/components/ui/slider';
@Kadajett
Kadajett / gist:bb8522da736e5f060762146b5fa002cf
Created February 2, 2024 17:59
Track commits by team members
const { exec } = require("child_process");
const path = require("path");
// Replace this with the path to your Git repository
const repoPath = "../colony";
function parseGitLog(log, filterNames = []) {
const weeklyCommits = {};
const commitLines = log.split("\n");