惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
AWS News Blog
AWS News Blog
V
Vulnerabilities – Threatpost
D
Darknet – Hacking Tools, Hacker News & Cyber Security
量子位
博客园 - 叶小钗
AI
AI
T
Tor Project blog
Forbes - Security
Forbes - Security
W
WeLiveSecurity
博客园_首页
爱范儿
爱范儿
J
Java Code Geeks
B
Blog
G
GRAHAM CLULEY
aimingoo的专栏
aimingoo的专栏
Cloudbric
Cloudbric
C
CXSECURITY Database RSS Feed - CXSecurity.com
TaoSecurity Blog
TaoSecurity Blog
L
LINUX DO - 热门话题
阮一峰的网络日志
阮一峰的网络日志
有赞技术团队
有赞技术团队
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Simon Willison's Weblog
Simon Willison's Weblog
云风的 BLOG
云风的 BLOG
Google DeepMind News
Google DeepMind News
H
Help Net Security
博客园 - 三生石上(FineUI控件)
C
Cisco Blogs
C
Cybersecurity and Infrastructure Security Agency CISA
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
P
Palo Alto Networks Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Recent Commits to openclaw:main
Recent Commits to openclaw:main
博客园 - 司徒正美
The Last Watchdog
The Last Watchdog
Blog — PlanetScale
Blog — PlanetScale
T
The Blog of Author Tim Ferriss
S
Secure Thoughts
Spread Privacy
Spread Privacy
F
Fortinet All Blogs
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
H
Hackread – Cybersecurity News, Data Breaches, AI and More
A
About on SuperTechFans
Security Latest
Security Latest
Webroot Blog
Webroot Blog
Scott Helme
Scott Helme
Hugging Face - Blog
Hugging Face - Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Docker Compose Merged the Patch: The Boundary Fired Too Early
Scarab Systems · 2026-06-12 · via DEV Community

A Scarab Diagnostic Suite field test just landed upstream in Docker Compose.

PR: https://github.com/docker/compose/pull/13831
Issue: https://github.com/docker/compose/issues/13613
Status: merged

The fix is small in shape, but important in meaning.

It repairs a failure in how Docker Compose handled variable discovery for Compose files that still contained ${...} interpolation expressions inside typed fields, especially in remote stack paths such as oci://... Compose applications.

The specific bug appeared when Compose tried to discover interpolation variables from a Compose model that had not yet been fully resolved.

That model could contain values like:

ports:

  • host_ip: "${LXKNS_ADDRESS:-127.0.0.1}" published: "${LXKNS_PORT:-5010}"

Those values are valid as unresolved Compose expressions.

But they are not yet valid concrete typed values.

host_ip eventually needs to be an IP address.

published eventually needs to resolve into a port value.

The problem was that validation was running before the interpolation-variable discovery path had finished doing the work needed to make validation meaningful.

So Compose failed early with an error like:

invalid ip address: ${LXKNS_ADDRESS:-127.0.0.1}

The important part is not only that the command failed.

The important part is why it failed.

The hypothesis

The Scarab hypothesis is that many software failures are not best understood as “bad code” first.

They are often boundary failures.

A system has phases.

A system has ownership surfaces.

A system has claims that are allowed to be true in one phase and not yet true in another.

A value may be valid as an unresolved expression before it is valid as a typed runtime value.

A generated artifact may be valid as output but not as source truth.

A test may be valid as regression evidence but not as permission to rewrite behavior.

A config may describe intent before runtime has resolved it into concrete state.

When the wrong boundary enforces at the wrong time, the system can fail even though the pieces involved are each doing something reasonable in isolation.

That is what made this Docker Compose issue diagnostically interesting.

It was not that validation was bad.

Validation is necessary.

It was not that interpolation was bad.

Interpolation is necessary.

The failure was that the validation boundary was being applied during a phase where unresolved interpolation expressions were still supposed to exist.

The boundary was firing too early.

The user-facing shape

The issue came from a real Compose application distributed through an OCI artifact.

That matters because this was not a theoretical parser edge case.

The workflow was:

A Compose application is published.

A consumer deploys it from an oci://... URL.

The Compose file contains interpolation variables so the consumer can customize deployment values.

Compose needs to discover those variables, prompt or resolve them, and then continue.

Instead, typed-field validation saw unresolved ${...} values too early and treated them as invalid concrete values.

So a remote Compose application that should have been customizable failed before the customization path could complete.

That is the kind of failure Scarab is built to care about.

Not just “command errored.”

But:

Which phase owned this value at the moment it failed?

Was ${LXKNS_ADDRESS:-127.0.0.1} supposed to be treated as an IP address yet?

Or was it still supposed to be treated as an unresolved interpolation expression?

That question identifies the repair surface.

The boundary

The boundary was between:

interpolation-variable discovery

and

typed Compose model validation

Those are not the same operation.

Variable discovery needs to inspect unresolved expressions.

Typed validation needs to validate resolved values.

When validation runs too early, it rejects the exact thing discovery is supposed to find.

That is the contradiction.

So the repair was not “turn validation off.”

That would be too broad.

The repair was:

load unresolved models with validation skipped only for variable-discovery paths.

That distinction matters.

Validation remains part of the system.

But variable discovery gets to happen before validation treats templated typed fields as concrete runtime values.

The patch

The merged PR applies loader.WithSkipValidation to the specific Compose loading paths used for interpolation-variable extraction.

It covers:

  • interpolation-variable extraction from unresolved models
  • docker compose config --variables
  • remote-stack interpolation-variable prompting
  • regression coverage for templated typed port fields such as host_ip and published
  • a test-only remote loader override so the remote-stack case can be tested deterministically

The patch touched five files:

  • cmd/compose/options.go
  • cmd/compose/config.go
  • cmd/compose/compose.go
  • cmd/compose/options_test.go
  • cmd/compose/up_test.go

That is the repair shape I want to keep emphasizing:

Find the boundary.

Provide the context and evidence.

Apply the narrow patch.

Let the win trickle down.

Why this is a good field test

This is a good Scarab field test because the fix is not dramatic.

It does not rewrite Compose loading.

It does not change the meaning of typed validation globally.

It does not broaden remote stack behavior beyond the failing path.

It restores the order of responsibility.

Variable discovery gets to read unresolved interpolation expressions.

Validation gets to validate once values are in the phase where validation has authority.

That is the core of the diagnostic theory.

A lot of software drift comes from systems forgetting which layer owns which truth at which moment.

Sometimes the repair is not to add a new abstraction.

Sometimes the repair is not to make the system more permissive everywhere.

Sometimes the repair is to restore the sequence of authority.

This value is still an expression.

This phase is still discovery.

This validator does not own the value yet.

That is the whole bug.

Why this matters beyond Docker Compose

This is why I keep saying that Scarab is not only about AI-assisted code.

AI makes drift faster and more visible, but software drift is older than AI.

Human-built systems drift too.

Complex systems drift when phases blur, when contracts move, when generated artifacts gain authority they should not have, when tests begin proving the patch instead of the behavior, or when validation starts enforcing a claim before the system has reached the phase where that claim can be true.

Docker Compose is a serious developer tool.

This was a human-built, mature codebase.

The bug was still a boundary failure.

That is the point.

Scarab Diagnostic Suite is a proprietary diagnostic system for software drift. It can be used against AI-assisted development, but the deeper theory is broader: diagnose where a software system stopped preserving the truth another part depended on.

In this case, the truth was simple:

An unresolved interpolation expression is not yet a concrete typed field.

Once that was clear, the repair became narrow.

Evidence before repair

The field-test posture matters.

The goal was not to throw a patch at the wall.

The goal was to identify the boundary and make the smallest change that restored it.

The validation for the PR included:

go test ./cmd/compose
docker buildx bake lint

The regression tests were part of the claim.

They prove that templated typed port fields no longer break variable extraction and that remote-stack prompting can handle the unresolved model path.

That is the difference between a patch and a diagnostic repair.

A patch says: “This seems to work.”

A diagnostic repair says: “This is the boundary that failed, this is the evidence, this is the narrow change, and this is the validation that protects the claim.”

The public record

This PR has now merged into Docker Compose.

That makes it a useful public proof point for the larger Scarab hypothesis.

Not because every field test will merge.

Not because every diagnostic claim becomes an upstream patch.

But because this one shows the shape clearly:

A real issue in a major software platform.

A boundary failure.

A narrow repair.

Regression coverage.

Upstream acceptance.

That is the loop.

Scarab Diagnostic Suite finds evidence.

People make claims.

Maintainers decide.

Field Lab

Scarab Systems maintains a public Field Lab for selected diagnostic field tests.

The Field Lab publishes public case records from real open-source issues: the issue being examined, the suspected boundary, the evidence gathered, the validation performed, and the current status of the diagnostic claim.

Some cases may end with a local repair candidate.

Some may become upstream pull requests.

Some may remain diagnostic records only.

That status is part of the record.

Scarab Diagnostic Suite is proprietary, but the larger conversation is shared. Software drift is not one team’s problem, and AI-assisted development is making the need for better diagnostic framing more urgent across the industry.

If you know of a public open-source issue that looks like cross-layer drift, unclear ownership, phase confusion, AI-assisted codebase confusion, or a boundary failure, you can suggest it as a Field Lab candidate.

Useful suggestions include the public issue link, the suspected boundary, reproduction notes if available, and why the issue may be diagnostically interesting.

The goal is simple:

Make the failure legible.

Find the boundary.

Preserve the evidence.

Repair narrowly.

Let the win trickle down.