Technical documents

Technical Documentation

We document the philosophy behind our implementation, usage of AI and cloud, and development processes as reading material.
124 technical documentsShowing 55 to 63
AI Creates Settings, Execution is Deterministically Fixed — Reproducibility Design for Government Public Data Collection Pipeline
AI Development / Data Collection Platform~25 minSeptember 22, 2026

AI Creates Settings, Execution is Deterministically Fixed — Reproducibility Design for Government Public Data Collection Pipeline

Using a system that cross-collects standardized public information such as announcements and meeting minutes from government websites nationwide as a case study, we organize the design that separates AI-assisted setting generation from non-AI deterministic daily execution, pitfalls of character codes and costs, and the handling of collection etiquette and copyright.

Design for co-locating B2C subscriptions as a single tenant on a B2B multi-tenant platform.
Architecture / Multi-Tenant Design~22 minSeptember 22, 2026

Design for co-locating B2C subscriptions as a single tenant on a B2B multi-tenant platform.

We will organize the separation of authentication realms, job workers, payment idempotency, and distribution method decisions, using as material a design where a B2C subscription service requiring immediate activation is co-located as a single tenant on a B2B multi-tenant platform that assumes organizational invitations.

Design for AI Development and Maintenance Automation Without Human-in-the-Loop
AI Development / Maintenance Automation~20 minSeptember 22, 2026

Design for AI Development and Maintenance Automation Without Human-in-the-Loop

We will organize the design for automating the maintenance of large-scale web applications using deterministic detection, narrow patch boundaries, enforced CI, audit trails, and cost-stop conditions.

Splitting is merely a means to an end – Cross-cutting design for fundamentally splitting a multi-tenant business SaaS platform into dozens of services and operating them without breakage
Architecture / Operations Design~30 minSeptember 22, 2026

Splitting is merely a means to an end – Cross-cutting design for fundamentally splitting a multi-tenant business SaaS platform into dozens of services and operating them without breakage

This article details the practical work of fundamentally splitting a multi-tenant business SaaS platform, which unifies attendance, sales, accounting, POS, and even AI assistants, from a semi-monolith into dozens of independent services. It covers differential deployment, fail-safe migration order, separation of configuration and code paths, automatic compensation for migration drift, single source of truth for API specifications, a two-tier topology for authentication and public access, and a design for integrating AI assistants and RAG onto the same foundation, all with reasons for decisions and trade-offs.

Designing automatic OpenAPI generation from implementation, without manual writing
API Design / OpenAPI~15 minSeptember 22, 2026

Designing automatic OpenAPI generation from implementation, without manual writing

We will organize design decisions to stop manually managing API specifications across multiple Hono backends, automatically generate OpenAPI from closer to the implementation, and consolidate it into a unified view.

Design for Swappable AI Providers in RAG Infrastructure
AI Development / RAG~10 minSeptember 22, 2026

Design for Swappable AI Providers in RAG Infrastructure

In RAG infrastructure utilizing OpenAI API and Gemini, we organize boundary design that separates responsibilities for generation, embedding, and reranking, making it resilient to AI provider changes.

Designing an Evaluation Dataset for Continuously Monitoring RAG Quality
AI Development / Quality Evaluation~10 minSeptember 22, 2026

Designing an Evaluation Dataset for Continuously Monitoring RAG Quality

We will organize methods for continuously evaluating RAG answer quality using question sets, expected citations, failure classification, and regression detection, rather than ending with a single visual check.

Separation of Concerns for RAG API Built with FastAPI and PostgreSQL
API Design / RAG~10 minSeptember 22, 2026

Separation of Concerns for RAG API Built with FastAPI and PostgreSQL

We will organize the design for separating ingestion, search, answer generation, and audit logs in a RAG API that uses FastAPI, PostgreSQL, and vector search.

Implementation Design for Creating BFF Boundaries with React Router and Hono
Architecture / BFF~10 minSeptember 22, 2026

Implementation Design for Creating BFF Boundaries with React Router and Hono

We will organize where to place the boundaries for BFF, authentication, types, and error handling in a configuration that combines React Router's screen implementation with Hono API.