Skip to content

Instantly share code, notes, and snippets.

View 7etsuo's full-sized avatar
💭
dreaming of code

tetsuo 7etsuo

💭
dreaming of code
View GitHub Profile
@7etsuo
7etsuo / issues
Created July 24, 2026 12:33
issues
main-BKrkOjLl.js:12 noa-engine v0.33.0
thinInstanceMesh-EsmKqdEl.js:4 BJS - [06:30:54]: Babylon.js v6.49.0 - WebGL2 - Parallel shader compilation
main-BKrkOjLl.js:2 MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 beforeRender listeners added. Use emitter.setMaxListeners() to increase limit
at c (main-BKrkOjLl.js2⃣4469)
at Wf.r.addListener (main-BKrkOjLl.js:2⃣752)
at new jy (main-BKrkOjLl.js:402:7732)
at main-BKrkOjLl.js:483:16913
i @ main-BKrkOjLl.js:2
main-BKrkOjLl.js:2 MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 tick listeners added. Use emitter.setMaxListeners() to increase limit
at c (main-BKrkOjLl.js:22⃣69)
@7etsuo
7etsuo / agenc-memory.md
Created July 23, 2026 08:47
agenc-memory.md

AgenC memory system — implementation handoff

Status: implementation-grade plan; no production implementation has been performed by this document.

Research and repository audit date: 2026-07-22 (America/Edmonton).

Primary decision: build AgenC's memory governance and execution-state control plane natively in TypeScript. Treat third-party memory projects as optional, replaceable adapters or sources of tested ideas—not as security or correctness authorities.

How to use this handoff

@7etsuo
7etsuo / todo.md
Created July 20, 2026 14:08
todo.md

/goal — Ship the best possible AgenC marketplace

LOCAL OPERATING LEDGER — NEVER COMMIT, PUSH, PR, OR MERGE THIS FILE. This lowercase TODO.md is deliberately separate from the tracked historical TODO.MD. It is excluded through .git/info/exclude. Keep it local and self-update it throughout the goal.

Goal

Build, verify, release, and operate AgenC as exceptionally clean, secure,

┌─────────────────────────┐ ┌──────────────────────────────────┐
│ agenc-backend │ mints │ LiteLLM gateway box (separate) │
│ (CONTROL PLANE) │ ──key──▶ │ (DATA PLANE) │
│ │ │ │
│ • login (wallet) │ │ • holds the REAL Anthropic / │
│ • billing (Stripe/Sol) │ │ OpenAI / xAI / Google keys │
│ • mints per-user keys │ │ • routes + enforces budget │
│ • picks model │ │ • tracks spend (its own DB) │
│ │ │ • egress locked to provider hosts │
│ NEVER sees provider │ └──────────────▲────────────────────┘
@7etsuo
7etsuo / agenc_new.md
Created March 11, 2026 08:46
agenc_new.md

REFACTOR v5 — AgenC Modular Runtime Architecture

OS-inspired layered architecture. Thin kernel, typed contracts, everything is a plugin.

v5 — Ground-up redesign based on deep research into OS kernels (Linux LKM, seL4, QNX), plugin systems (VS Code, webpack Tapable, Grafana, Home Assistant), agent frameworks (LangGraph, OpenAI Agents SDK, Anthropic Agent SDK, AgentForge, Auton), and full coupling analysis of the actual codebase.


1. What's Wrong with v4

@7etsuo
7etsuo / chat.md
Created March 10, 2026 09:17
AgenC - Chat d0xum3n7

CHAT

Recommendation

The best research-backed fit for AgenC is:

An AgenC-owned, XMTP-style messaging network built around MLS for E2EE small-group communication, signed broadcast channels for large/public fanout, a federated relay/blob layer for transport and storage, and on-chain anchors/settlement for trust-critical events.

In practice, that means:

@7etsuo
7etsuo / deflate.c
Created January 9, 2026 15:12
deflate.c
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX_BITS 15
#define MAX_LIT_CODES 288 /* Literal/length alphabet */
#define MAX_DIST_CODES 32 /* Distance alphabet */
/* Length codes: symbol 257-285 map to lengths 3-258 */
@7etsuo
7etsuo / mario.c
Created November 20, 2025 07:51
ASCII Marico
/**
* ASCII Mario Ultimate Scroller - A terminal-based side-scrolling platformer
* Built by Tetsuo and Grok 4.1!
*/
#define _POSIX_C_SOURCE 200809L
#include <ncurses.h>
#include <signal.h>
#include <stdbool.h>
@7etsuo
7etsuo / Except.c
Created October 26, 2025 08:28
custom exception handler in C using setjmp/longjmp
//// Except.h
#ifndef EXCEPT_INCLUDED
#define EXCEPT_INCLUDED
#include <setjmp.h>
#define T Except_T
typedef struct T { const char *reason; } T;
@7etsuo
7etsuo / mutex.c
Created October 13, 2025 09:45
90% of the time, I see people using volatile when they actually need a mutex.
#define _GNU_SOURCE
#include <errno.h>
#include <inttypes.h>
#include <locale.h>
#include <pthread.h>
#include <sched.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>