<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Yunpeng Li</title>
    <description>The latest articles on DEV Community by Yunpeng Li (@leotyndale).</description>
    <link>https://dev.to/leotyndale</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4274137%2F73bf3894-db71-4491-9224-e0bf05d89667.png</url>
      <title>DEV Community: Yunpeng Li</title>
      <link>https://dev.to/leotyndale</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/leotyndale"/>
    <language>en</language>
    <item>
      <title>Engineering Practical Java Static Analysis and Code-Generation Plugins for 61,800+ Developers</title>
      <dc:creator>Yunpeng Li</dc:creator>
      <pubDate>Mon, 30 Nov 2026 12:03:12 +0000</pubDate>
      <link>https://dev.to/leotyndale/engineering-practical-java-static-analysis-and-code-generation-plugins-for-61800-developers-1mme</link>
      <guid>https://dev.to/leotyndale/engineering-practical-java-static-analysis-and-code-generation-plugins-for-61800-developers-1mme</guid>
      <description>&lt;h2&gt;
  
  
  Why Small, Focused IDE Plugins Outperform Heavy Governance Docs
&lt;/h2&gt;

&lt;p&gt;Large Java and Android teams routinely write hundred-page coding standard manuals—only to see style violations, boilerplate &lt;code&gt;Bundle&lt;/code&gt; builders, scattered null checks, and feature-toggle inconsistencies pile up during sprint crunches. Over the past several years, I built and published a suite of five lightweight JetBrains Marketplace plugins (&lt;code&gt;A Search with Github&lt;/code&gt;, &lt;code&gt;NR Null Object&lt;/code&gt;, &lt;code&gt;NR Feature Toggle&lt;/code&gt;, &lt;code&gt;Android NR Bundle Builder&lt;/code&gt;, and &lt;code&gt;NR Coding Style&lt;/code&gt;) that together have crossed &lt;strong&gt;61,854 downloads&lt;/strong&gt; among Java and Android engineers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Engineering Lessons from Building Production JVM Plugins
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Enforce Coding Guidelines at Commit &amp;amp; Edit Time (&lt;code&gt;NR Coding Style&lt;/code&gt;)&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Combining PMD static analysis, Git pre-commit hooks, and IntelliJ's PSI (Program Structure Interface) API catches style and concurrency pitfalls directly inside the editor before code review even begins.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Eliminate Repetitive Defensive Boilerplate (&lt;code&gt;NR Null Object&lt;/code&gt; &amp;amp; &lt;code&gt;Android NR Bundle Builder&lt;/code&gt;)&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Using PSI AST transformations to generate type-safe Null Object implementations and Builder-pattern parameter wrappers replaces hundreds of error-prone manual null checks and overloaded constructors with a single keyboard shortcut.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Treat Developer Productivity as First-Class Architecture&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Whether automating feature-toggle scaffolding (&lt;code&gt;NR Feature Toggle&lt;/code&gt;) or indexing cross-session AI engineering context (&lt;code&gt;chat-memory-jetbrains&lt;/code&gt;, JetBrains Marketplace ID &lt;code&gt;36557&lt;/code&gt;), the highest-leverage plugins save engineers 30 seconds fifty times a day with zero configuration overhead.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;All open-source repositories and plugin links are archived at &lt;code&gt;https://github.com/leotyndale&lt;/code&gt;. Happy building in the Java ecosystem!&lt;/p&gt;

</description>
      <category>architecture</category>
    </item>
    <item>
      <title>Zero-Token-Waste Cross-Platform UI Parity Verification with Serverless AWS Lambda Pipelines</title>
      <dc:creator>Yunpeng Li</dc:creator>
      <pubDate>Mon, 30 Nov 2026 11:45:06 +0000</pubDate>
      <link>https://dev.to/leotyndale/zero-token-waste-cross-platform-ui-parity-verification-with-serverless-aws-lambda-pipelines-3mn7</link>
      <guid>https://dev.to/leotyndale/zero-token-waste-cross-platform-ui-parity-verification-with-serverless-aws-lambda-pipelines-3mn7</guid>
      <description>&lt;h2&gt;
  
  
  The Cross-Platform Parity Bottleneck
&lt;/h2&gt;

&lt;p&gt;When engineering teams ship consumer and FinTech mobile interfaces across Android, iOS, and cross-platform frameworks (Flutter, React Native, Taro, HarmonyOS), visual and behavioral drift creeps into production fast. Naive multimodal LLM screenshot checks in CI quickly become prohibitively expensive: sending dozens of high-resolution screenshots to vision models on every pull request burns tokens and slows down CI pipelines.&lt;/p&gt;

&lt;h2&gt;
  
  
  A Funnel Architecture: Deterministic Diff First, Serverless Vision Only on Anomalies
&lt;/h2&gt;

&lt;p&gt;To solve this, I built a funnel-based verification pattern (open-sourced in &lt;code&gt;parity-patrol&lt;/code&gt; at &lt;code&gt;https://github.com/leotyndale&lt;/code&gt;):&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Stage 1 — Structural &amp;amp; Pixel Hash Gate (Zero Tokens, &amp;lt;100 ms)&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Normalized DOM / layout-tree structural hashing + perceptual diffing filters out 90%+ of identical or whitespace-only renders before any model is invoked.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stage 2 — AWS Lambda Serverless Orchestration + S3 Artifact Buckets&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Pull-request webhooks trigger lightweight &lt;strong&gt;AWS Lambda&lt;/strong&gt; functions that pull cross-platform build snapshots from &lt;strong&gt;Amazon S3&lt;/strong&gt;, execute deterministic pixel-region cropping, and emit structured diff bounding boxes into &lt;strong&gt;Amazon DynamoDB&lt;/strong&gt; for regression trending.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stage 3 — Targeted Vision Triage via Amazon Bedrock&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Only cropped anomaly regions exceeding perceptual thresholds are forwarded to multimodal models on &lt;strong&gt;Amazon Bedrock&lt;/strong&gt;, returning a compact JSON verdict (layout overflow, truncated text, color-token mismatch, or acceptable platform convention) posted directly back to the PR review thread.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Measurable Engineering Benefits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Cuts CI visual-verification token consumption by an order of magnitude compared to brute-force full-page VLM prompting.&lt;/li&gt;
&lt;li&gt;Keeps cross-platform PR review latency under a minute via parallel Lambda fan-out.&lt;/li&gt;
&lt;li&gt;Produces reproducible, auditable JSON parity reports across Android, iOS, and cross-platform targets.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Explore the open-source approach at &lt;code&gt;https://github.com/leotyndale&lt;/code&gt; and share how your mobile teams automate cross-platform parity on AWS!&lt;/p&gt;

</description>
      <category>ai</category>
    </item>
    <item>
      <title>Building a Local-First AI Memory Layer with Rust, SQLite FTS5, MCP, and Amazon Bedrock</title>
      <dc:creator>Yunpeng Li</dc:creator>
      <pubDate>Mon, 30 Nov 2026 11:44:34 +0000</pubDate>
      <link>https://dev.to/leotyndale/building-a-local-first-ai-memory-layer-with-rust-sqlite-fts5-mcp-and-amazon-bedrock-31pa</link>
      <guid>https://dev.to/leotyndale/building-a-local-first-ai-memory-layer-with-rust-sqlite-fts5-mcp-and-amazon-bedrock-31pa</guid>
      <description>&lt;h2&gt;
  
  
  Why AI Coding Sessions Need a Local-First Memory Layer
&lt;/h2&gt;

&lt;p&gt;Modern AI engineering workflows span multiple tools—IDE assistants, CLI coding agents, and cloud-hosted LLM workbenches. Over the past year, my daily architecture and mobile engineering work accumulated more than 500 multi-turn AI sessions across different environments. Every time a new session started, valuable architectural reasoning, debugging traces, and design trade-offs vanished behind fragmented local logs.&lt;/p&gt;

&lt;p&gt;Uploading raw personal and engineering chat logs wholesale into a third-party cloud vector store creates two immediate problems: &lt;strong&gt;latency/cost bloat&lt;/strong&gt; and &lt;strong&gt;privacy boundaries&lt;/strong&gt;. A cleaner pattern is a &lt;strong&gt;hybrid local-first architecture&lt;/strong&gt;: keep full-text indexing and privacy-boundary filtering local on disk, and send only compact, redacted context snippets to cloud foundation models on &lt;strong&gt;Amazon Bedrock&lt;/strong&gt; when deep synthesis is required.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture Overview
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Local Ingestion &amp;amp; Normalization (Rust)&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Parses heterogeneous JSONL / SQLite session transcripts into a normalized relational schema (&lt;code&gt;conversations&lt;/code&gt;, &lt;code&gt;messages&lt;/code&gt;, &lt;code&gt;artifacts&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Built in Rust (&lt;code&gt;chat-memory-mcp&lt;/code&gt;, open-sourced at &lt;code&gt;https://github.com/leotyndale/chat-memory-mcp&lt;/code&gt; and installable via &lt;code&gt;brew install leotyndale/tap/chat-memory-mcp&lt;/code&gt;) for millisecond startup time and zero runtime dependencies.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sub-10ms Hybrid Retrieval (SQLite FTS5)&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Uses SQLite FTS5 with BM25 ranking so developers can query tens of thousands of historical engineering turns locally with zero token spend and zero network round trips.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;IDE &amp;amp; Agent Integration (Model Context Protocol + JetBrains Plugin)&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Exposes structured tools (&lt;code&gt;search_sessions&lt;/code&gt;, &lt;code&gt;get_session_summary&lt;/code&gt;, &lt;code&gt;retrieve_decision_trace&lt;/code&gt;) over stdio MCP so any MCP-compatible coding agent or IDE plugin (&lt;code&gt;chat-memory-jetbrains&lt;/code&gt;, JetBrains Marketplace ID &lt;code&gt;36557&lt;/code&gt;) can query historical decisions on demand.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloud Synthesis Layer (Amazon Bedrock + Guardrails)&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Only after local FTS5 narrows 15,000+ steps down to the top 5–8 relevant, PII-scrubbed excerpts does the workflow invoke &lt;strong&gt;Amazon Bedrock&lt;/strong&gt; (e.g., Claude / Nova models via AWS SDK for Rust &lt;code&gt;aws-sdk-bedrockruntime&lt;/code&gt;) with &lt;strong&gt;Amazon Bedrock Guardrails&lt;/strong&gt; enabled to enforce sensitive-information redaction and structured JSON output.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Key Engineering Trade-Offs
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Token Pre-Filtering&lt;/strong&gt;: Filtering 99% of irrelevant history locally with SQLite FTS5 reduces downstream cloud prompt tokens by an order of magnitude and keeps prompt-cache hit rates high.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deterministic Privacy Gates&lt;/strong&gt;: A pre-flight regex and allowlist filter strips credentials, local filesystem usernames, and internal identifiers before any payload leaves the developer workstation for Bedrock.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cross-IDE Portability&lt;/strong&gt;: Decoupling the core engine as a standalone Rust MCP binary lets the same local index serve JetBrains IDEs, VS Code, and CLI agents simultaneously.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try It Yourself
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew install leotyndale/tap/chat-memory-mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Source code and architecture docs are open-sourced at &lt;code&gt;https://github.com/leotyndale/chat-memory-mcp&lt;/code&gt;. Feedback, benchmarks, and AWS Bedrock integration PRs are warmly welcome!&lt;/p&gt;

</description>
      <category>mcp</category>
    </item>
  </channel>
</rss>
