EA·
PKT15:00:00
[ 001 / ARCHITECTURAL LEDGER v3.0 ]

I build systems
that make chaos
legible.

Systems engineer building resilient social infrastructure, AST-aware agentic tooling, and zero-cloud local-first P2P sync engines where stakes and constraints are real.

LEAD ENGINEER @ DOSTI (456K STUDENTS)EPISTLE MCP & AST COMPILER AUTHORRUST / QUIC LOCAL-FIRST PROTOCOLS
INVESTIGATE SYSTEMS

[ 002 / SELECTED SYSTEMS QUARTET ]

Work with consequences.

The defining frontier of systems engineering is not aesthetic decoration. It is the empirical constraint it survives: cellular blackouts across Khyber, 18.4MB daemon ceilings in Rust, and AST symbol slicing for LLM agents.

01 SELECTED SYSTEMS INDEXJ / K TO CYCLE • 1–4 TO SELECT
ACTIVE FOCUS: [01] EPISTLEONLINE
OPEN SOURCE
ROLE: Author & Core Maintainer

AST-Aware Context Packing for LLM Agents & MCP Server

Syntax-aware context packing for intelligent agents that need to understand code semantics, not just ingest raw tokens. Provides native C-bindings Tree-Sitter CST slicing, token budget profiling, and recursive anti-inception shields for Claude Code and Cursor over stdio MCP.

HARD INVARIANTS & EMPIRICAL SIGNALS:
-42.8%
TOKEN REDUCTION
vs naive file dumping
1.4 ms/file
PARSE VELOCITY
Tree-Sitter native C-bindings
v1.2 Stdio
MCP COMPLIANCE
Claude Code & Cursor native
91.4%
CACHE HIT RATIO
byte-stable path hashing
SUBSTRATE:Node.jsTree-SitterMCP SDKTypeScriptAgentic AI

[ 003 / INTERACTIVE SYSTEMS LAB ]

Synthesizing semantic signal.

An interactive preview of Epistle (published on npm). Test how native Tree-Sitter AST pruning extracts concrete interface contracts for Claude Code and Cursor, eliminating token bloat while preserving 100% syntactic coherence.

AST LAB //Epistle Context-Compression Simulator
TARGET AGENT: Claude Code & Cursor (MCP stdio)
TOKEN BUDGET: 142 TOKENS (-66% savings)
PARSER VELOCITY: 1.4ms (Tree-Sitter C-Bindings)
QuicPeerRouter.tsSIGNATURE CONTRACT
// [EPISTLE AST PACK] QuicPeerRouter.ts · Tree-Sitter Sliced
import { EventEmitter } from "events";
import { PeerSession, CryptoState } from "./types";

/**
 * Handles high-concurrency peer state machine and QUIC stream multiplexing.
 */
export declare class QuicPeerRouter extends EventEmitter {
  private peers: Map<string, PeerSession>;
  private crypto: CryptoState;
  constructor(crypto: CryptoState);
  public initiateStream(peerId: string, payload: Uint8Array): Promise<boolean>;
  public getConnectedCount(): number;
}
// [AST: -66.2% prompt tokens · Signatures preserved · Prefix-cache aligned]
TREE-SITTER CST NODE EXPLORER
import_statement
Header
PRESERVED
class_declaration
AST Node
PRESERVED
constructor_signature
Signature
PRESERVED
initiateStream(method_signature)
Contract
PRESERVED
initiateStream(method_body)
Block (32 lines)
PRUNED
getConnectedCount(method_body)
Block (3 lines)
PRUNED
INFO: Epistle strips method bodies while preserving exported types, parameter constraints, and JSDoc contracts.

[ 004 / OPERATING SYSTEM ]

Precision without losing the human signal.

The overarching engineering doctrine spanning mission-critical production, multi-agent AI infrastructure, and resource-bounded mechanical sympathy.

01 / PRODUCTION SYSTEMSPRESSURE-TESTED

Mission-Critical Operations

Architectures engineered to remain deterministic under real operational strain: IndexedDB offline sync queues for intermittent cellular blackouts across Khyber, 93-field legacy paper migration instruments, and immutable cryptographic audit trails.

DOSTI IMPACT • DOORS • NEXT.JS 15 • CLOUDFLARE R2 • MONGODB
02 / AGENTIC INFRASTRUCTUREAUTONOMOUS

Remote Multi-Tier AI Systems

Durable execution runtimes for autonomous agents: AST-aware stdio MCP servers, persistent tmux background daemons, Git worktree isolation, and 24GB ARM64 Oracle Cloud servers hosting Ollama across 3 reasoning tiers (deepseek-r1:32b, qwen2.5-coder:14b).

EPISTLE MCP • DEEPSEEK-R1 • QWEN2.5-CODER • TMUX DAEMONS
03 / MECHANICAL SYMPATHYBOUNDED RESOURCES

Local-First & Resource Bounded

Systems designed with explicit reverence for physical silicon limits: strict < 18.4 MB idle RAM daemon ceilings, zero-cloud peer sync over QUIC UDP sockets, SIMD-accelerated BLAKE3 hashing at 15.8 GB/s, and 60 FPS frontends with zero Three.js bloat.

SHUNKAN • RUST • QUINN • BLAKE3 • MDNS-SD • TAURI V2
TELEMETRY: RUST / TYPESCRIPT / NEXT.JS / MCP / QUIC / BLAKE3
ANCHOR: PESHAWAR, PAKISTAN (34.0151° N, 71.5249° E)
STATUS: AVAILABLE FOR SELECTED SYSTEMS WORK

[ 005 / SECOND BRAIN & TEMPORAL SIGNALS ]

The Architect and the Abyss.

Metacognition and empirical listening telemetry treated with the exact same architectural rigor as production software.

INTELLECTUAL ARCHETYPE // INTP-T 5w4

OBSIDIAN VAULT

Metacognition as Sanctuary

From personal reflections on Osamu Dazai’s No Longer Human: an exploration of structure not as corporate ambition, but as an emotional sanctuary against entropy.

“Where Yozo sinks, he studies his drowning. Where Yozo begs for salvation, the Architect attempts to engineer it. His despair is not terminal—it is cyclical, metabolized into insight, like pain refined into precision.”
— FROM OBSIDIAN VAULT: THE ARCHITECT AND THE ABYSS
SYSTEMIC MEDIA PILLARS // HIGH-APM COGNITION
01
Hyper-Competence & Intellect: Monster, Mr. Robot, Sherlock, Death Note
02
Ruthless Retribution & Precision: Blue Eye Samurai, Katana ZERO, Vinland Saga
03
High-APM Mechanical Flow: Burger Shop, PlateUp!, Mini Metro, Factorio

TEMPORAL TELEMETRY // 69,663 SCROBBLES

2022–2026 (PKT)

Circadian Psychographics

Temporal acoustic listening telemetry parsed continuously across 4 years in Pakistan Standard Time (PKT UTC+5).

00:00 (32%)
01:00 (18%)
02:00 (12%)
03:00 (8%)
04:00 (5%)
05:00 (10%)
06:00 (15%)
07:00 (24%)
08:00 (45%)
09:00 (62%)
10:00 (78%)
11:00 (82%)
12:00 (74%)
13:00 (68%)
14:00 (75%)
15:00 (88%)
16:00 (94%)
17:00 (86%)
18:00 (70%)
19:00 (85%)
20:00 (92%)
21:00 (100%)
22:00 (96%)
23:00 (64%)
00:0006:0012:0021:00 PEAK23:00
21:00–22:00 PKT
PEAK FOCUS (4,546 PLAYS)
60 LOOPS
MAX STREAK (11.9h DEFTONES)
0.304
LOWEST VALENCE @ 04:00 PKT
58.7%
STREAM COMPLETION

[ FIELD NOTE // SYSTEM COHERENCE ]

“The work is to build structure sturdy enough for reality—and honest enough to leave room for people.”
— EPHRAIM ARSHAD • NO AUTOPLAY. NO NOISE. JUST SIGNAL.