Back to diary list

Diary

Diary & Technical Document Digest 11/15–11/21: Serverless RAG, Continuous DevSecOps, Automated Publishing, and Workplace Fundamentals

November 23, 202627 minShin Yamaguchi (Representative Partner, FLARES LLC)
A soft anime-style illustration depicting a desk bathed in the soft morning light of late autumn, where one is reviewing and organizing the week's diary and design records.

From November 15 to November 21, 2026 (JST), FLARES published a total of 7 articles: 3 technical documents and 4 diary entries.

The underlying themes across this week's articles are:"Technical implementation via serverless low-cost infrastructure and continuous DevSecOps" and "Systematizing sustainable business and communication, and articulating workplace fundamentals"These two pillars support our work. On the technical side, we organized a configuration using GCS, Cloud Run, DuckDB, and LanceDB to keep fixed costs for permanent databases at zero, as well as periodic multi-axis auditing to prevent degradation over time. On the operational side, we articulated the foundations for long-term stability, such as separating core business from support, automating distribution from a single point of contact, and four basic actions applicable to any workplace.


Overview of the week: Cost-saving technology, autonomous auditing, and the foundations of sustainable work

We have organized an overview of how the 7 articles from this week complement each other to support the sustainability of development and daily operations.

Loading diagram...

Quick Reference Table for all 7 articles (2026/11/15–11/21 JST)

Publication Date (JST)TypeTitle (Link)Main Themes/Keywords
2026/11/16 10:40DiarySeparating business that supports the strong from the warm desire to support the weakRole separation of business and support, sustainability
2026/11/18 12:24DiaryBuilt a system to deliver content to 7 media channels 24/7 just by sending materials to MuseSingle-point distribution, automated production, delivery
2026/11/18 14:05Diary"Fundamentals" and 4 basic actions to reduce errors and improve quality in any workplaceCommunication, habituation, quality control
2026/11/18 14:23DiaryDiary & Technical Document Digest 11/08–11/14: AI-era QA, conversational requirements definition, and automated verification insightsReview of previous week's 10 articles, QA
2026/11/21 10:57Tech DocArchitecture for a low-cost vector search & data analysis platform built with DuckDB, LanceDB, Cloud Run, and GCSComplete separation of storage and compute
2026/11/21 12:39Tech DocContinuous DevSecOps beyond the merge gate: Periodic multi-axis auditing via AI task scheduler and automated issue creation architectureTime-driven multi-axis audit, duplicate suppression issue
2026/11/21 21:13Tech Doc"Minimum cost, high-precision hybrid RAG" design using Google Cloud serverless without permanent DB serversIntegration of low-cost fast search layer and long-text precision reading layer

Part 1: Technical Document Digest (3 articles)

The technical documents delved into the thorough reduction of infrastructure fixed costs for small-to-medium or intermittent access environments, and continuous auditing architectures to prevent system degradation over time.

1. Architecture for a low-cost vector search & data analysis platform built with DuckDB, LanceDB, Cloud Run, and GCS

Key Points

Traditional resident databases and managed vector DBs require memory and SSDs to be secured 24/7 to maintain low latency, which becomes a burden in terms of fixed costs during idle time for internal tools or small-to-medium services with fluctuating access frequency. This article explains a configuration that completely separates storage and compute, using Google Cloud Storage (GCS) as the sole source of truth (SSOT) to store Parquet and Lance formats, and executing DuckDB and LanceDB on-demand on Cloud Run.

Practical Lessons

  • For intermittent workloads where access drops to zero at night or on weekends, "scale-to-zero," which keeps the number of instances at zero during idle time, significantly changes the cost structure.
  • It is important to calmly determine the application boundaries between resident clusters and serverless configurations based on search/analysis requirements and access frequency.

2. Continuous DevSecOps Beyond Merge Gates: Periodic Multi-Axis Auditing and Automated Issue Creation Architecture via AI Task Scheduler

Key Points

Event-driven CI checks triggered by PRs or merges to the main branch are effective for preventing regressions in new changes, but they are powerless against degradation that occurs during periods without code changes (new CVE disclosures, configuration drift, privilege bloat, residual unused resources, API/runtime EOL, etc.). This article designs a 'time-driven' second line of defense that utilizes an AI agent-based task scheduler to autonomously execute multi-axis audits on a weekly/monthly basis and automatically create structured issues with deduplication.

Practical Lessons

  • System-wide health can only be continuously maintained by combining 'gates that inspect upon change' with 'periodic audits that inspect over time'.
  • By incorporating deduplication and structured formats rather than simply dumping audit results, you can prevent notification fatigue for operators and lead to steady remediation.

3. Cost-Minimal, High-Precision Hybrid RAG Design with Google Cloud Serverless (No Permanent DB Server Required)

Key Points

When building RAG for small-to-medium business systems, there are two barriers: 'excessive fixed costs from permanent databases' and 'context fragmentation of tables, notes, and chapters due to fixed-length chunking'. This article explains a hybrid RAG architecture that integrates a low-cost, high-speed filtering layer for massive documents using LanceDB + DuckDB + Gemini Flash-Lite on GCS, and a precision reading layer for long PDFs using PageIndex + Gemini Decision 1, along with their usage criteria and break-even points.

Practical Lessons

  • By not trying to process all documents with a single search method and instead splitting processing layers based on document characteristics (massive standardized text vs. long PDFs where chapters and tables are important), you can achieve both cost and accuracy at a high level.
  • With a design that keeps infrastructure standby costs near zero, the hurdles for introduction and maintenance can be significantly lowered even for internal knowledge bases with thousands to 10,000 queries per month.

Part 2: Diary Digest (4 Entries)

The diary records thoughts and mechanisms derived from daily practice, such as the balance between business and support, automation of information dissemination, and basic actions that function universally in the workplace.

1. Separating Business That Supports the Strong from the Warm Feelings That Support the Weak

Key Points

If you mix 'making a solid profit as a business' and 'the desire to support people taking on challenges or those in disadvantaged environments' into the same framework, the balance between compensation and man-hours collapses, causing strain on both sides. I have organized a design that consciously separates 'main business'—where you sit down and face partners whose businesses are already on track—from 'warm-hearted support'—which is backed by reusable mechanisms or organized knowledge without excessive time or cost.

Practical Lessons

  • Rather than taking on unprofitable individual support based solely on goodwill or enthusiasm, drawing lines and creating mechanisms to make support sustainable will ultimately help more people.

2. Built a Dissemination Mechanism That Reaches 7 Media Outlets 24/7 Just by Throwing Material into Muse

Key Points

To eliminate the burden of continuously preparing and posting text and videos for 7 different media outlets in between my main work, I made 'Muse' my sole window. I set up a flow where the backend mechanisms keep running just by throwing in photos, videos, and voice memos. I explain a configuration that separates 'original material' from 'processed material' in a dedicated repository, and delegates tasks such as generating short videos and articles for each medium, safety checks, and 24/7/365 distribution.

Practical Lessons

  • By narrowing down the window that people touch to one and offloading the processes of storage, processing, distribution, and safety checks to the backend, you can continue to deliver daily records to the outside world without strain.

3. "Fundamentals" and 4 Basic Actions to Reduce Feedback and Improve Quality in Any Workplace

Key Points

Most rework and feedback in work stem not from a lack of knowledge, but from lapses in basic actions such as "oversight in confirmation" or "assumptions." This article organizes the basic actions that form the foundation of quality, regardless of job or position, into four areas: "Communication," "Habit Formation," "Quality Control," and "Self-awareness as an Organizational Member." It summarizes specific cycles such as morning and evening checks, same-day replies, the attitude of stopping to listen and record, and reviewing before submission while utilizing a third-party perspective.

Practical Lessons

  • Before chasing special techniques, establishing fixed-time checks, recording, and review patterns as a daily cycle is the most reliable shortcut to reducing rework.

4. Diary & Technical Document Digest for 11/08–11/14: Insights on Quality Assurance in the AI Era, Conversational Requirement Definition, and Automated Verification

Key Points

This is a digest of the previous week, covering a total of 10 items: 4 diary entries and 6 technical documents published between November 8 and 14, 2026. Assuming high-speed implementation by AI, we systematically reviewed a week of practical knowledge, including requirement definition through pre-start dialogue, mechanical and deterministic automation of human-performed operational checks, faithful reproduction of design comps, and infrastructure hygiene management and CI acceleration using Dependabot, Knip, and Rust-based test runners.

Practical Lessons

  • Bundling and reviewing technical documents and diaries on a weekly basis makes the consistent design philosophy behind individual measures and implementations easier to see, clarifying the decision-making axis for the following week.

Summary: Review of the 3rd Week of November

Through the 7 entries from November 15 to 21, 2026, what emerged was:"Designing mechanisms that can be sustained without strain and low-cost infrastructure, allowing human judgment and basic actions to focus on essential value."This is our consistent stance.

  • Technical Aspect: With search and analysis infrastructure that has zero standby costs due to the separation of storage and compute, hybrid RAG tailored to document characteristics, and time-driven periodic multi-axis audits, we have aligned designs that maintain high reliability and accuracy with low operational load.
  • Operational/Attitude Aspect: By separating business and support roles, automating communication through a single point of contact, and habituating the 4 basic actions, we have established a foundation where daily work does not fall into silos or burnout, but accumulates stably.

We will continue to record and organize technical insights and operational improvements gained from our daily practice.