Software

Hand-rolled Claw (2): The Strategist's Brain — AX Planner & Flow Architect

[!TIP] Objective: Evolve from single-step prompts to a “Plan-Simulate-Execute” closed-loop, introducing YAML-based DAG asynchronous orchestration. 1. From “Chatting” to “Execution”: The AX (Architect-Executive) Paradigm The watershed between a simple Chatbot and an Agent is the ability to decompose vague goals into actionable steps. In VISAGENT, we implemented the AX Planner logic: Architect: Receives requirements and outputs a TODO.json. Execution is forbidden; only planning is allowed. Simulation: Before execution, a “Security Expert” role performs a risk assessment on the plan. Executive: Executes each step via execute_step. This “think before you act” mechanism is easily implemented on any CLI using simple Prompt constraints: ...

March 20, 2026 · 2 min · Square Uncle
Software

Hand-rolled Lobster (1): RoleEngine Core Based on CLI

[!TIP] Objective: Build an Agent engine with state management and isolation by wrapping a CLI (e.g., gemini CLI) without framework reliance. 1. Why CLI Over Frameworks? VISAGENT’s philosophy is CLI-Native. Directly wrapping a CLI (like gemini CLI) offers superior control and transparency: Atomicity: Each call is a single inference step. State Transparency: Session resume/suspension is strictly controlled by paths and the Resume flag. Isolation: Permission sandboxing is achieved through native OS tools. 2. Core Wrapper: RoleEngineBase Execution is triggered via subprocess. To prevent Shell parameter overflow from long Prompts, we use stdin for transmission: ...

March 20, 2026 · 2 min · Square Uncle
AI Workflow

AI-Native Metabolic Governance V3.0: Evolution from Documentation Debt to Metabolism

[!IMPORTANT] Core Pain Point: In fast-paced projects, the high cost of manual documentation updates leads to persistent “drifting” or loss of synchronization between code and architectural documentation (README, ARCHITECTURE.md). The Solution: Offload the cognitive burden of “documentation maintenance” from human developers to AI Agents with semantic reasoning capabilities, enabling “metabolic” renewal of architectural maps. After multiple rounds of conversation with AI regarding documentation governance, I’ve distilled a concept for “AI-Native Metabolic Governance V3.0.” This is not just an automation script, but a governance logic designed to make code architecture “come alive.” ...

March 18, 2026 · 3 min · Square Uncle
Software

D2R: An In-depth Understanding of NoDrop and Loot Mechanics

With Diablo 2 Resurrected Season 13 in full swing, many of us are discussing how to improve our farming runs. While intuition plays a role, understanding the technical NoDrop (zero-drop probability) mechanism allows us to find a better balance between difficulty and speed. Loot in Diablo is essentially a game of probability. Let’s look at the data. 1. Monster Intensity and Factor X In D2R, the number of players in a game (X) affects a monster’s base attributes. These are fixed at the moment the monster spawns; even if players leave later, the stats remain unchanged. ...

March 7, 2026 · 3 min · Square Uncle
Software

2026-02-09 Retrospective | Hallucinations in Tauri v2 Migration: A Record of Pitfalls

A deep dive into the ‘hallucinogenic’ migration from Tauri v1.x to v2.0, covering ACL permission changes, Minisign signature updates, and GitHub Actions automation pitfalls.

February 9, 2026 · 4 min · Square Uncle
Software

Minimalist, Efficient, Secure: D2R Multi Rust v0.3.5 Official Release

D2R Multi Rust receives a major overhaul with a lightweight reconstruction based on Rust + Tauri, introducing the zero-dependency Isolation Engine. Binary size is only 1/10th of the .NET original.

February 9, 2026 · 3 min · Square Uncle
AI Workflow

[2026-01-31] From 'Coder' to 'Architect': Leveling Up on the Shoulders of AI

In the AI era, raw coding skills are devaluing, while system design, cross-domain coordination, and the ability to master complexity are becoming core competencies. This post explores how to transition from executor to coordinator with the help of AI.

January 31, 2026 · 3 min · Square Uncle
AI Workflow

Grit in the AI Era: Finding Meaning in the Seeds of Code

AI lowers the barrier to entry for coding but raises the ceiling for cognitive demand. In AI-driven refactoring, we need more than just prompts—we need the grit to hold the architectural line against complexity.

January 25, 2026 · 2 min · Square Uncle
AI Workflow

[2026-01-14] Square Uncle: Reset and Restart

I am not here to sell courses. I am here to document the tools I maintain and the problems I run into.

January 14, 2026 · 2 min · Square Uncle
AI Workflow

At 40, I Want to Rewrite All My Code with AI

Old code does not always need to be rewritten. My goal is to use AI to keep what still works and make the unclear parts easier to maintain.

December 15, 2025 · 2 min · Square Uncle