# Formal methods

Published articles for Formal methods.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Agent-as-a-Verifier: From Scores to Evidence for General Verification

DevFeed: [Agent-as-a-Verifier: From Scores to Evidence for General Verification](<https://devfeed.tech/articles/agent-as-a-verifier-from-scores-to-evidence-for-general-verification-155942.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.34132>)

Author: Yuxuan Sun (Mark), Hao (Mark), Chen, Nagarajan Natarajan, Sushrut Karmalkar, Niranjani Prasad, Amit Sharma, Hongxiang Fan

Published: 2026-11-26T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Automated reasoning](<https://devfeed.tech/topics/automated-reasoning.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [certificate](<https://devfeed.tech/tags/certificate.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cybergym](<https://devfeed.tech/tags/cybergym.md>), [dependency-graph](<https://devfeed.tech/tags/dependency-graph.md>), [fact-checking](<https://devfeed.tech/tags/fact-checking.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [llm-agents](<https://devfeed.tech/tags/llm-agents.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [reward-hacking](<https://devfeed.tech/tags/reward-hacking.md>), [terminal-bench](<https://devfeed.tech/tags/terminal-bench.md>), [verification](<https://devfeed.tech/tags/verification.md>)

### AI overview

Agent-as-a-Verifier replaces scalar reward judgments with auditable certificates. Given a candidate output, role-separated LLM agents extract a verdict-blind claim dependency graph, independently compile the task's acceptance contract, and derive checkable obligations. The authors report higher accuracy than the state-of-the-art approach on Terminal-Bench 2.1, and better downstream performance than a plain agent on FrontierMath and CyberGym. They also report detecting reward-hacking solutions that deceive a benchmark evaluator. The supplied text is an abstract and gives no numerical results or implementation details.

### Source excerpt

arXiv:2611.34132v1 Announce Type: new Abstract: Verification is increasingly critical across various inference and learning paradigms, such as test-time scaling, recursive intelligence and automated research, where feedback can improve efficiency and optimization. Common score-based verifiers, or discriminative reward models, predict a scalar reward for an output. While useful for filtering, rewarding, and ranking, such scores provide no explicit, auditable evidentiary basis for the judgment. In parallel, although existing generative process reward models offer text feedback, most designs do not fully exploit agentic capabilities, such as tool use and iterative reasoning, which are essential for fact-checking and fine-grained claim verification. In this paper, we address these limitations by introducing Agent-as-a-Verifier, an agentic, certificate-producing verification system that places role-separated LLM agents inside a formal-methods-inspired claim-obligation-certificate protocol. Given a generation candidate, Agent-as-a-Verifier produces a certificate by extracting a verdict-blind dependency graph of claims, independently compiling the task's acceptance contract, and deriving checkable obligations. On Terminal-Bench 2.1, Agent-as-a-Verifier achieves higher accuracy than the state-of-the-art approach. Across different downstream applications, the augmented agent also outperforms the plain agent on FrontierMath and CyberGym. More importantly, Agent-as-a-Verifier is able to identify reward-hacking solutions that deceive the benchmark evaluator, highlighting its broader potential for iterative and recursive agent optimization. Code is available at https://github.com/sunyxedu/General-Verifier

## Meaningful Human-in-the-Loop Checking of GenAI Synthesis for Restricted Languages

DevFeed: [Meaningful Human-in-the-Loop Checking of GenAI Synthesis for Restricted Languages](<https://devfeed.tech/articles/meaningful-human-in-the-loop-checking-of-genai-synthesis-for-restricted-languages-155071.md>)

Original publisher: [Read original article](<https://muratbuffalo.blogspot.com/2026/11/meaningful-human-in-loop-checking-of.html>)

Author: Murat (noreply@blogger.com)

Published: 2026-11-24T22:11:31Z

Content type: article

Language: en

Sources: [Metadata](<https://devfeed.tech/sources/metadata.md>)

Topics: [human review](<https://devfeed.tech/topics/human-review.md>), [human computer interaction](<https://devfeed.tech/topics/human-computer-interaction.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [access-control](<https://devfeed.tech/tags/access-control.md>), [automated-reasoning](<https://devfeed.tech/tags/automated-reasoning.md>), [candidate](<https://devfeed.tech/tags/candidate.md>), [concrete](<https://devfeed.tech/tags/concrete.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [gap](<https://devfeed.tech/tags/gap.md>), [genai](<https://devfeed.tech/tags/genai.md>), [human-in-the-loop](<https://devfeed.tech/tags/human-in-the-loop.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [language](<https://devfeed.tech/tags/language.md>), [languages](<https://devfeed.tech/tags/languages.md>), [lgtm](<https://devfeed.tech/tags/lgtm.md>), [llm](<https://devfeed.tech/tags/llm.md>), [make](<https://devfeed.tech/tags/make.md>), [models](<https://devfeed.tech/tags/models.md>), [natural-language](<https://devfeed.tech/tags/natural-language.md>), [paper](<https://devfeed.tech/tags/paper.md>), [policies](<https://devfeed.tech/tags/policies.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [redundancy](<https://devfeed.tech/tags/redundancy.md>), [synthesis](<https://devfeed.tech/tags/synthesis.md>), [tla](<https://devfeed.tech/tags/tla.md>)

### AI overview

PICK addresses the intent gap in LLM-generated specifications by asking users to classify concrete examples that distinguish among four candidate expressions. Each answer updates every candidate: accepted examples upvote candidates that include them and downvote those that do not; rejected examples only downvote candidates that include them. Candidates need an upvote to be selected, and the process can end with none remaining, signaling that no candidate fits or the intent is inconsistent. PICK requires operations for comparing candidate meanings and sampling examples from their differences. The paper applies it to regexes, LTL (using Spot to generate traces), and bounded-entity ABAC; SQL is excluded because query containment is undecidable and queries require a database context. In the reported studies, PICK substantially improved regex accuracy over choosing from formulas directly, improved results on two of three ABAC policies, and outperformed an earlier-study baseline on LTL tasks, though the LTL comparison used different participant groups. Showing candidate formulas during classification made no measurable difference. Scaling the approach to full TLA+ specifications remains.

### Source excerpt

When the only comment on a PR is "LGTM", due diligence has not been done. A glance is not understanding. Understanding has levels, and we almost always overestimate ours. But the LGTM stamps the code as correct anyway. Make no mistake (pun intended), this is also true for LLM-generated code, even with so-called "correct-by-construction" approaches. Why does verification catch anything at all? Because of redundancy. You write the specification carefully and then write the implementation separately, and the verification check finds the places where the two disagree. LLM code synthesis throws that away. It derives the implementation from the specification, so the two can almost never disagree. Correct-by-construction becomes a dangerous misnomer. If the specification is wrong, the implementation is wrong in exactly the same way. Better models will not fix this. Any move from natural language to a specification leaves an intent gap between what the user meant and what the specification captures. The devil is in the cornercases. We need to do better than LGTM. This ECOOP 2026 paper is brought to you by Brown. To resolve ambiguity in LLM-generated specification snippets, the paper introduces PICK, a human-in-the-loop tool that eliminates mismatched candidate formulas by asking users to classify concrete distinguishing scenarios sampled from the candidates' semantic differences. PICK brings the redundancy back in verification checks. Your answers about concrete cases are a second statement of intent, made in a different form than the prose prompt. The idea PICK derives not one but four candidate expressions from the user's prose description. It computes where the candidates disagree, and samples concrete scenarios from those regions to show them to the user two at a time, in a this-or-that format. The scenarios they study in the paper are strings for regexes, traces for LTL, and requests for access-control policies. The target is restricted languages for now as the title s

## Zero-Trust Formal Methods: AI Agents Build Verified Checkers for Untrusted Solvers

DevFeed: [Zero-Trust Formal Methods: AI Agents Build Verified Checkers for Untrusted Solvers](<https://devfeed.tech/articles/zero-trust-formal-methods-ai-agents-build-verified-checkers-for-untrusted-solvers-151466.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.28704>)

Author: Tobias Philipp

Published: 2026-11-24T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Formal verification](<https://devfeed.tech/topics/formal-verification.md>), [Isabelle/HOL proof assistant](<https://devfeed.tech/topics/isabelle-hol-proof-assistant.md>), [Automated reasoning](<https://devfeed.tech/topics/automated-reasoning.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [trust](<https://devfeed.tech/topics/trust.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [certificate](<https://devfeed.tech/tags/certificate.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-lo](<https://devfeed.tech/tags/cs-lo.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [formal-verification](<https://devfeed.tech/tags/formal-verification.md>), [sat](<https://devfeed.tech/tags/sat.md>), [security](<https://devfeed.tech/tags/security.md>), [smt](<https://devfeed.tech/tags/smt.md>), [zero-trust](<https://devfeed.tech/tags/zero-trust.md>)

### AI overview

The project makes solver answers count only when a verified checker accepts a certificate, reducing reliance on SAT, SMT, and answer-set solvers and their query translations. AI agents generate Isabelle/HOL specifications, soundness proofs, and reference checkers, then fast Rust implementations verified with Verus against line-matched specifications. Specifications are independently reviewed and frozen; a trust manifest records remaining trusted components. The reported chains cover SAT via LRAT, SMT via certificates from an extended z3 and verified bit-blasting for bit-vectors and floating point, and answer-set proofs from clingo, including weight rules and optimality. Translation validation checks Verus's final verification-condition step. The authors report certification of 3,726 SMT queries from 20 crates and acceptance of 15,662 answer-set proofs by both checkers. They also report soundness defects in three proof checkers and five solvers, including wrong unsatisfiability reports by clasp and z3.

### Source excerpt

arXiv:2611.28704v1 Announce Type: new Abstract: AI coding agents now generate code faster than humans can review it. Security analyses rely on solver answers such as "unsatisfiable" (for example, no attack path exists) or "optimal." Unlike satisfying models, they cannot be checked by looking at them. Formal verification moves trust from code to specifications, but verifiers still place large SAT, SMT, and answer-set solvers, and the translation into solver queries, in their trusted computing base, and these have had soundness bugs. Unlike agent-based pipelines that trust their verifier and solver, our farm trusts no component by default: neither the AI agents, which might make mistakes or game their objectives, nor the solvers. A solver answer counts only if a verified checker accepts its certificate. Every theory, proof, and line of code is generated by AI. For each component, agents first create an Isabelle/HOL theory with a specification, a soundness proof, and a reference checker made by code generation, then a fast Rust implementation, verified with Verus against a specification that mirrors the Isabelle definitions line by line. Specifications are frozen after independent review and cannot be changed by the implementing agents. A trust manifest lists what is still trusted. We built trust chains for SAT (verified LRAT checking); SMT, with certificates from an extended z3 and verified bit-blasting for bit-vectors and floating point; answer-set programming, with native certificates from clingo, including weight rules and optimality; and, closing the loop, Verus's final verification-condition step, by translation validation. All 3,726 SMT queries from 20 crates are certified and validated, and 15,662 answer-set proofs are accepted by both the Isabelle and the Verus checker. We found soundness defects in three proof checkers, including drat-trim, and in five solvers, including clasp and z3, which report wrong unsatisfiability.

## Mathematical proof, powered by AI. And no hallucinations!

DevFeed: [Mathematical proof, powered by AI. And no hallucinations!](<https://devfeed.tech/articles/mathematical-proof-powered-by-ai-and-no-hallucinations-143866.md>)

Original publisher: [Read original article](<https://www.amazon.science/blog/mathematical-proof-powered-by-ai-and-no-hallucinations>)

Author: Hanno Becker; Larry Paulson

Published: 2026-11-18T18:55:35Z

Content type: article

Language: en

Sources: [Amazon Science homepage](<https://devfeed.tech/sources/amazon-science-homepage.md>)

Topics: [Isabelle/HOL proof assistant](<https://devfeed.tech/topics/isabelle-hol-proof-assistant.md>), [Math and Logic](<https://devfeed.tech/topics/math-and-logic.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [AI agent hallucinations](<https://devfeed.tech/topics/ai-agent-hallucinations.md>), [AutoCorrode library](<https://devfeed.tech/topics/autocorrode-library.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-generated-proof](<https://devfeed.tech/tags/ai-generated-proof.md>), [ai-models](<https://devfeed.tech/tags/ai-models.md>), [ai-powered](<https://devfeed.tech/tags/ai-powered.md>), [apps](<https://devfeed.tech/tags/apps.md>), [automated-reasoning](<https://devfeed.tech/tags/automated-reasoning.md>), [aws](<https://devfeed.tech/tags/aws.md>), [calculus](<https://devfeed.tech/tags/calculus.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-opus](<https://devfeed.tech/tags/claude-opus.md>), [code](<https://devfeed.tech/tags/code.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [formal-verification](<https://devfeed.tech/tags/formal-verification.md>), [hallucinations](<https://devfeed.tech/tags/hallucinations.md>), [large-language-models-llms](<https://devfeed.tech/tags/large-language-models-llms.md>), [mathematical-proof](<https://devfeed.tech/tags/mathematical-proof.md>), [mathematical-proofs](<https://devfeed.tech/tags/mathematical-proofs.md>), [partner](<https://devfeed.tech/tags/partner.md>), [proofs](<https://devfeed.tech/tags/proofs.md>), [tools](<https://devfeed.tech/tags/tools.md>)

### AI overview

Formal proof assistants can check AI-generated mathematics as it is produced, so incorrect steps are caught during proof construction. The article focuses on Isabelle and describes three AutoCorrode tools: I/Q lets an agent observe or modify a live session and temporarily take control; I/R lets it work through a separate, invisible Isabelle process while the user continues editing; Isabelle Assistant offers a convenient chat window powered by I/Q, with fewer capabilities than the full I/Q and I/R package. Examples generated with Claude include proofs about the irrationality of √2, consecutive composite numbers, and the integral of sine from 0 to π. The article says agents can also handle lengthy formalization and debugging tasks, while difficult problems still require human decisions and guidance. The formal proofs remain readable to people, and polishing can remove generated detours.

### Source excerpt

With new tools that make it easier to check mathematical proofs -- even as they're being constructed -- AI is becoming a valuable partner in mathematical discovery.

## TLAPS-Bench: Formally Proving Correctness Of Real-World System Specifications With TLA+ Proof System

DevFeed: [TLAPS-Bench: Formally Proving Correctness Of Real-World System Specifications With TLA+ Proof System](<https://devfeed.tech/articles/tlaps-bench-formally-proving-correctness-of-real-world-system-specifications-with-tla-proof-system-141207.md>)

Original publisher: [Read original article](<https://muratbuffalo.blogspot.com/2026/11/tlaps-bench-formally-proving.html>)

Author: Murat (noreply@blogger.com)

Published: 2026-11-18T06:19:39Z

Content type: article

Language: en

Sources: [Metadata](<https://devfeed.tech/sources/metadata.md>)

Topics: [Formal verification](<https://devfeed.tech/topics/formal-verification.md>), [Agentic AI](<https://devfeed.tech/topics/what-is-agentic-ai.md>), [Lean](<https://devfeed.tech/topics/lean.md>), [Isabelle/HOL proof assistant](<https://devfeed.tech/topics/isabelle-hol-proof-assistant.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [automated-reasoning](<https://devfeed.tech/tags/automated-reasoning.md>), [bench](<https://devfeed.tech/tags/bench.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [harness](<https://devfeed.tech/tags/harness.md>), [proofs](<https://devfeed.tech/tags/proofs.md>), [protocols](<https://devfeed.tech/tags/protocols.md>), [real-world](<https://devfeed.tech/tags/real-world.md>), [specifications](<https://devfeed.tech/tags/specifications.md>), [targets](<https://devfeed.tech/tags/targets.md>), [tla](<https://devfeed.tech/tags/tla.md>), [tla-plus](<https://devfeed.tech/tags/tla-plus.md>)

### AI overview

TLAPS-Bench tests whether agents can prove system-wide safety, liveness, and refinement properties in TLA+ without supplied proof scaffolds. Its 265 targets across 95 specifications include a 70-target hard active set; on that set, the best reported model proved 31 targets (44.3%) at pass@3. Tilapia runs agents in isolated containers with TLAPS, TLC, and Apalache, and uses model checking to falsify candidate invariants before proof attempts. Apalache checks bounded transitions symbolically but requires types; when it cannot type a spec, TLC can test inductiveness by enumerating candidate states, which may become expensive. The benchmark also exposed specification, model, and configuration defects, illustrating that proof attempts and model checking can reveal different issues. Results remain limited: no model proved the Wildfire refinement, and many failures involved missing invariants or proof obligations too large for solvers. Accepted proofs can also be lengthy and difficult for engineers to review.

### Source excerpt

TLA+ specification language has long been associated exclusively with TLC model checker in most people's minds. Model checking with TLC finds bugs fast, but it only covers the configuration you give it, and is cheap only for small configurations (3 nodes, value ranges "1..4", etc.). There is also the TLA+ Proof System, TLAPS, which checks a deductive proof, instead of enumerating states like model checking. After you write the proof in TLA+ as a hierarchy of numbered steps, TLAPS turns each step into proof obligations and hands them to backend provers. Being a prover, TLAPS can cover all configurations at once, but it requires a lot of expertise and effort. I had always stayed away from TLAPS, because I hadn't felt I am up to the challenge. You have to figure out the inductive invariant (see below), show every action preserves it, and divide the argument into obligations small enough for Z3, Isabelle, or LS4 to check. So in practice what ends up happening is that almost everyone model checks and almost nobody proves. Well, like with most things in our industry, this changed drastically in the last year. Earlier this summer, my mind was blown when I saw Claude doing TLAPS proofs! Holy molly, I didn't have this on my bingo card for this year! I knew it would be smart to invest more on this, and it turns out Tianyin Xu, Qian Cheng, and Markus Kuppe were already working on it, and they had a paper in the works. I joined the team late, and I am not sure if I was able to contribute significantly. It was great to collaborate and associate with such a qualified team nevertheless. The paper is now on arXiv, and the code is on GitHub. The paper asks how much of the proof burden the agents can carry today, and introduces a benchmark and a harness to investigate this. TLAPS-Bench is a benchmark of 265 proof targets from 95 TLA+ specs of real systems and protocols. Tilapia is the harness that runs agents on those targets, and it provides the proof checker, the model checkers, th

## From Pen-and-Paper to Machine-Checked Proofs: Lean for System Identification

DevFeed: [From Pen-and-Paper to Machine-Checked Proofs: Lean for System Identification](<https://devfeed.tech/articles/from-pen-and-paper-to-machine-checked-proofs-lean-for-system-identification-135176.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.18220>)

Author: Manas Mejari, Dario Piga, Marco Forgione

Published: 2026-11-16T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Lean](<https://devfeed.tech/topics/lean.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [control](<https://devfeed.tech/tags/control.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-sy](<https://devfeed.tech/tags/cs-sy.md>), [eess-sy](<https://devfeed.tech/tags/eess-sy.md>), [filter](<https://devfeed.tech/tags/filter.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [inference](<https://devfeed.tech/tags/inference.md>), [invariance](<https://devfeed.tech/tags/invariance.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [lean](<https://devfeed.tech/tags/lean.md>), [lean-4](<https://devfeed.tech/tags/lean-4.md>), [mathematical-proofs](<https://devfeed.tech/tags/mathematical-proofs.md>), [noise](<https://devfeed.tech/tags/noise.md>), [paper](<https://devfeed.tech/tags/paper.md>), [proofs](<https://devfeed.tech/tags/proofs.md>), [software](<https://devfeed.tech/tags/software.md>)

### AI overview

Lean 4 checks each inference in a formalized proof through a small trusted kernel, offering a way to scrutinize long chains of mathematical arguments. This introduction for system identification and control readers demonstrates how to read Lean proofs with examples on identifiability and set invariance, then formalizes Ljung's 1999 lemma on noise-filter inversion in prediction-error identification. The formalization exposes a qualification: the lemma's claim holds almost surely, not for every realization as its wording may suggest; the paper illustrates this with a counterexample. It also discusses guidelines and prospects for using Lean in system identification research.

### Source excerpt

arXiv:2611.18220v1 Announce Type: cross Abstract: Mathematical proofs in scientific papers are often long and intricate, relying on chains of references to earlier results. This makes it difficult for readers and reviewers to verify each and every step. Interactive theorem proving offers a complement: the theorem and its proof are written as code, and every inference is checked by a small, trusted piece of software called the kernel. This paper serves as an introduction to the Lean 4 proof assistant for a system identification and control audience, assuming no prior exposure to formal methods. We first show how a Lean proof is read using two elementary examples: the first on identifiability, the second on set invariance. We then illustrate how Lean can be used to analyse results from the literature, taking as example a classic lemma on the inversion of the noise filter in prediction-error identification (Ljung, 1999, Lemma 3.1). Since in Lean every step must be justified, the formalization brings to light a subtle point: the original claim of that lemma holds almost surely, although not for every realisation, as its statement may suggest. A simple counterexample makes this concrete. Finally, the paper discusses guidelines and perspectives on the use of Lean in system identification research.

## Using mathematics to validate network configurations

DevFeed: [Using mathematics to validate network configurations](<https://devfeed.tech/articles/using-mathematics-to-validate-network-configurations-129658.md>)

Original publisher: [Read original article](<https://www.amazon.science/blog/using-mathematics-to-validate-network-configurations>)

Author: Dan DaCosta

Published: 2026-11-11T17:02:01Z

Content type: article

Language: en

Sources: [Amazon Science homepage](<https://devfeed.tech/sources/amazon-science-homepage.md>)

Topics: [Network Segmentation](<https://devfeed.tech/topics/network-segmentation.md>), [Cloud Networking](<https://devfeed.tech/topics/cloud-networking.md>), [network security](<https://devfeed.tech/topics/network-security.md>), [Amazon VPC](<https://devfeed.tech/topics/amazon-vpc.md>)

Tags: [amazon-web-services-aws](<https://devfeed.tech/tags/amazon-web-services-aws.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [automated-reasoning](<https://devfeed.tech/tags/automated-reasoning.md>), [aws-cloud-wan](<https://devfeed.tech/tags/aws-cloud-wan.md>), [data](<https://devfeed.tech/tags/data.md>), [data-leaks](<https://devfeed.tech/tags/data-leaks.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [global](<https://devfeed.tech/tags/global.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [network](<https://devfeed.tech/tags/network.md>), [networking](<https://devfeed.tech/tags/networking.md>), [networks](<https://devfeed.tech/tags/networks.md>), [partitions](<https://devfeed.tech/tags/partitions.md>), [reduce](<https://devfeed.tech/tags/reduce.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [risk](<https://devfeed.tech/tags/risk.md>), [scale](<https://devfeed.tech/tags/scale.md>), [security](<https://devfeed.tech/tags/security.md>), [sensitive-data](<https://devfeed.tech/tags/sensitive-data.md>), [static](<https://devfeed.tech/tags/static.md>), [static-analysis](<https://devfeed.tech/tags/static-analysis.md>)

### AI overview

Tiros validates AWS Cloud WAN segmentation by converting route tables, attachments, and policy documents into logical propositions, then checking modeled reachability across all paths rather than sampling packet traffic. It tests whether paths exist between attachments and destination IPs that policy says should be isolated; mismatches alert an operator. The method can be run as frequently as hourly and checks the modeled topology against isolation specifications. In the example, it verifies that production and development VPCs remain separate even when they share an address space. This is static analysis of the supplied configuration, and its assurance is about whether that model matches policy. The text distinguishes this from AWS reachability services, which determine whether a valid request path exists between resources; Tiros also uses reachability analysis to establish when paths are absent.

### Source excerpt

Static analysis of deployed networks helps reduce the risk that sensitive data leaks across partitions, supporting the security and reliability of global-scale networking.

## Agentic AI Meets Formal Verification in the Era of Agentic Hardware Development

DevFeed: [Agentic AI Meets Formal Verification in the Era of Agentic Hardware Development](<https://devfeed.tech/articles/agentic-ai-meets-formal-verification-in-the-era-of-agentic-hardware-development-128347.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.13705>)

Author: Wenji Fang, Yuchao Wu, Jing Wang, Zhiyao Xie

Published: 2026-11-11T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Formal verification](<https://devfeed.tech/topics/formal-verification.md>), [Automated reasoning](<https://devfeed.tech/topics/automated-reasoning.md>), [Agentic AI](<https://devfeed.tech/topics/what-is-agentic-ai.md>), [Chip design](<https://devfeed.tech/topics/chip-design.md>)

Tags: [agentic-ai](<https://devfeed.tech/tags/agentic-ai.md>), [ai](<https://devfeed.tech/tags/ai.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-ar](<https://devfeed.tech/tags/cs-ar.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [formal-verification](<https://devfeed.tech/tags/formal-verification.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [hardware-design](<https://devfeed.tech/tags/hardware-design.md>), [hardware-development](<https://devfeed.tech/tags/hardware-development.md>), [hardware-verification](<https://devfeed.tech/tags/hardware-verification.md>), [rtl-generation](<https://devfeed.tech/tags/rtl-generation.md>)

### AI overview

The paper surveys how agentic AI and formal methods can support one another in hardware development. It organizes AI's role in verification around specification, proof construction, and reasoning engines, and describes formal methods as a basis for more reliable AI-driven RTL generation, debugging, and correctness-preserving optimization. The abstract says the authors review representative research and their own contributions, including experimental results, and identifies proof-native hardware development--integrating formal reasoning into autonomous design--as a future research direction. The supplied text is an abstract, so it does not provide specific methods, comparative results, or detailed limitations.

### Source excerpt

arXiv:2611.13705v1 Announce Type: new Abstract: As AI agents become increasingly capable of generating and optimizing hardware circuits, ensuring the correctness of AI-generated designs becomes more important. Meanwhile, advances in AI lower the barriers to developing and applying formal methods, creating new opportunities to automate and improve hardware verification. This invited paper presents an overview of the methodologies and applications of hardware formal methods in the AI era. First, we examine how agentic AI advances hardware formal methods across three levels: specification, proof construction, and reasoning engines. Second, we discuss how formal methods support reliable AI-driven hardware development through RTL generation, debugging, and correctness-preserving optimization. We review representative research alongside our recent contributions, highlighting key technical advances and insights from experimental results. Finally, we discuss future research opportunities toward proof-native hardware development, where formal reasoning could become an integral part of autonomous hardware design.

## Declarative DNS - Resolving Recursive Resolution

DevFeed: [Declarative DNS - Resolving Recursive Resolution](<https://devfeed.tech/articles/declarative-dns-resolving-recursive-resolution-126798.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.11689>)

Author: Felix Linker, Yue Huang, David Basin, Huayi Duan

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Networking](<https://devfeed.tech/sources/arxiv-networking.md>)

Topics: [Domain Name System (DNS)](<https://devfeed.tech/topics/dns-resolution-process.md>), [DNSSEC](<https://devfeed.tech/topics/dnssec.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [cs-lo](<https://devfeed.tech/tags/cs-lo.md>), [cs-ni](<https://devfeed.tech/tags/cs-ni.md>), [dns](<https://devfeed.tech/tags/dns.md>), [dnssec](<https://devfeed.tech/tags/dnssec.md>), [errors](<https://devfeed.tech/tags/errors.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [model](<https://devfeed.tech/tags/model.md>), [tool](<https://devfeed.tech/tags/tool.md>)

### AI overview

DecDNS analyzes how DNS zone updates affect resolvability, using a formal DNS model that covers most of DNSSEC. The approach can reveal configuration errors through change-impact analysis without searching for specific known errors. The authors report proving the tool sound and complete and finding that its results agree with widely used DNS software; they also describe how the approach could fit into operational zone management.

### Source excerpt

arXiv:2611.11689v1 Announce Type: cross Abstract: DNS zone configuration errors are a frequent source of outages and frustration, particularly in combination with DNSSEC. Research has attempted to address the problem of zone configuration errors using formal methods, but existing proposals (i) only verify the absence of specific, known configuration errors, and (ii) do not consider DNSSEC. We present a new formal model of the DNS that covers most of DNSSEC, making it one of the most complete DNS models to date. In addition, we present a new tool, DecDNS, that performs a resolvability change-impact analysis of zone configuration updates using our model. We show that such a change-impact analysis can identify configuration errors without explicitly searching for them. We evaluate DecDNS both formally and empirically. We prove that DecDNS is sound and complete and show that its results agree with widely used DNS software. Finally, we explain how our approach can be integrated into operational practice, helping guide zone management in the real world.

## From Formal Methods to Fuzzing and Back

DevFeed: [From Formal Methods to Fuzzing and Back](<https://devfeed.tech/articles/from-formal-methods-to-fuzzing-and-back-127266.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.12338>)

Author: Alastair F. Donaldson

Published: 2026-11-10T05:00:00Z

Content type: opinion

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Formal methods](<https://devfeed.tech/topics/formal-methods.md>), [Fuzzing/Fuzz testing](<https://devfeed.tech/topics/fuzzing.md>), [Formal verification](<https://devfeed.tech/topics/formal-verification.md>), [Programming Languages / Compilers](<https://devfeed.tech/topics/programming-languages-compilers.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [compilers](<https://devfeed.tech/tags/compilers.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [fuzzing](<https://devfeed.tech/tags/fuzzing.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [keystone](<https://devfeed.tech/tags/keystone.md>), [scale](<https://devfeed.tech/tags/scale.md>), [software](<https://devfeed.tech/tags/software.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

The author's experience suggests fuzzing can find real bugs in very large systems where formal methods have been difficult to scale, while formal methods remain useful for targeted work. The account traces this shift through GPUVerify, which verifies GPU kernels, and GraphicsFuzz, which uses randomized testing on GPU compilers. It presents the oracle problem as a link between the approaches, describes work at their boundary, and considers whether generative AI could help formal methods scale. The author plans to explore that question through the Keystone project; the abstract states this as an aim, not a demonstrated result.

### Source excerpt

arXiv:2611.12338v1 Announce Type: new Abstract: For the first twelve years of my career in computer science I mainly worked on formal methods. I had been drawn to the field as an undergraduate by its promise of a way to build software with strong, mathematically based correctness guarantees. But after many years of struggling to make formal methods scale, I was seduced by randomised testing---also known as fuzzing. Fuzzing is much less principled than formal methods, but it just works: it can be readily applied to very large systems, and it is extremely effective at finding real bugs that developers care about and fix. In this personal account I trace my path from formal methods to fuzzing, by way of the GPUVerify project on verifying GPU kernels and the GraphicsFuzz project on randomised testing of GPU compilers. I argue that the oracle problem provides an intellectual link between fuzzing and formal methods, describe my continuing, targeted uses of formal methods in the domain of GPU programming language design, and discuss work at the boundary between formal methods and fuzzing. Finally, I reflect on whether generative AI might be the missing ingredient that allows formal methods to scale, and set out my plans for large-scale formal methods via the Keystone project, through which my collaborators and I aim to find out how much of that promise can be realised in practice.

## EpiFlow: Bridging Safety and Performance in Offline Reinforcement Learning via Epigraph-Guided Flow Matching

DevFeed: [EpiFlow: Bridging Safety and Performance in Offline Reinforcement Learning via Epigraph-Guided Flow Matching](<https://devfeed.tech/articles/epiflow-bridging-safety-and-performance-in-offline-reinforcement-learning-via-epigraph-guided-flow-matching-123098.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2602.08054>)

Author: Manan Tayal, Mumuksh Tayal, Ravi Prakash

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Reinforcement learning](<https://devfeed.tech/topics/reinforcement-learning.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [ai safety](<https://devfeed.tech/topics/ai-safety.md>)

Tags: [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [flow-matching](<https://devfeed.tech/tags/flow-matching.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [offline-reinforcement-learning](<https://devfeed.tech/tags/offline-reinforcement-learning.md>), [optimal-control](<https://devfeed.tech/tags/optimal-control.md>), [performance](<https://devfeed.tech/tags/performance.md>), [safety](<https://devfeed.tech/tags/safety.md>)

### AI overview

EpiFlow frames safe offline reinforcement learning as state-constrained optimal control: hard state constraints encode safety, while a reward captures performance. It learns an epigraph feasibility value function from fixed offline datasets to approximate the resulting HJB value function, then extracts policies with flow matching. The abstract contrasts this with soft-constraint methods that may violate safety under distribution shift and with HJ reachability or CBF methods that can be overly conservative. On boat navigation, Safety-Gymnasium, and Bullet-Safety-Gym benchmarks, the authors report competitive returns with near-zero constraint violations.

### Source excerpt

arXiv:2602.08054v3 Announce Type: replace Abstract: Offline reinforcement learning (RL) offers a promising framework for deploying autonomous systems in safety-critical settings without the risks of online exploration. However, learning policies that simultaneously achieve high performance and strong safety guarantees from fixed datasets remains a fundamental challenge. Many existing safe offline RL approaches typically rely on soft constraint formulations, which may permit safety violations and are sensitive to distributional shift. In contrast, formal methods such as Hamilton--Jacobi (HJ) reachability and Control Barrier Functions (CBFs) provide rigorous safety guarantees, but often yield overly conservative solutions, often neglecting performance. In this work, we bridge this gap by formulating safe offline RL as a state-constrained optimal control problem, where safety is enforced through hard state constraints and performance is captured via a reward function. The resulting value function satisfies a Hamilton--Jacobi--Bellman (HJB) equation, which we approximate using offline RL on fixed datasets by learning an epigraph feasibility value function and extracting policies via flow matching. This formulation enables principled integration of safety guarantees with data-driven policy optimization. Empirically, across safety-critical benchmarks including boat navigation, Safety-Gymnasium, and Bullet-Safety-Gym tasks, our approach achieves competitive returns while exhibiting near-zero constraint violations, demonstrating a favorable balance between safety and performance in the offline setting.

## Agent Security is a Systems Problem

DevFeed: [Agent Security is a Systems Problem](<https://devfeed.tech/articles/agent-security-is-a-systems-problem-118223.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2605.18991>)

Author: Mihai Christodorescu, Earlence Fernandes, Ashish Hooda, Somesh Jha, Johann Rehberger, Kamalika Chaudhuri, Xiaohan Fu, Khawaja Shams, Guy Amir, Jihye Choi, Sarthak Choudhary, Nils Palumbo, Andrey Labun

Published: 2026-11-05T05:00:00Z

Content type: opinion

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [LLM security](<https://devfeed.tech/topics/llm-security.md>), [ai security](<https://devfeed.tech/topics/ai-security.md>), [Cybersecurity](<https://devfeed.tech/topics/cybersecurity.md>), [Adversarial attacks](<https://devfeed.tech/topics/adversarial-attacks.md>)

Tags: [adversarial-machine-learning](<https://devfeed.tech/tags/adversarial-machine-learning.md>), [agent-security](<https://devfeed.tech/tags/agent-security.md>), [agentic-systems](<https://devfeed.tech/tags/agentic-systems.md>), [ai-model](<https://devfeed.tech/tags/ai-model.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [networks](<https://devfeed.tech/tags/networks.md>), [operating-systems](<https://devfeed.tech/tags/operating-systems.md>), [security](<https://devfeed.tech/tags/security.md>), [systems](<https://devfeed.tech/tags/systems.md>)

### AI overview

The paper argues that agent security requires system-level guarantees because model robustness alone is insufficient. It treats the AI model as an untrusted component and calls for security invariants enforced by the surrounding system, drawing on systems security principles. The authors analyze eleven representative real-world attacks to show how those principles could have helped prevent them, and identify research challenges to implementing them in agentic systems.

### Source excerpt

arXiv:2605.18991v3 Announce Type: replace-cross Abstract: We take the position that agent security must be approached as a systems problem: the AI model powering the agent must be treated as an untrusted component, and security invariants must be enforced at the system level. Through this lens, efforts to increase model robustness (the dominant viewpoint in the community) are insufficient on their own. Instead, we must complement existing efforts with techniques from the systems security domain. Based on our experience as cybersecurity researchers in operating systems, networks, formal methods, and adversarial machine learning, we articulate a set of core principles, grounded in decades of systems security research, that provide a foundation for designing agentic systems with predictable guarantees. As evidence, we analyze eleven representative real-world attacks on agents and discuss how systems principles, if realized, could have prevented these attacks. We also identify the research challenges that stand in the way of implementing these principles in agents.

## Our software engineering interviews are changing (a little)

DevFeed: [Our software engineering interviews are changing (a little)](<https://devfeed.tech/articles/our-software-engineering-interviews-are-changing-a-little-122087.md>)

Original publisher: [Read original article](<https://blog.janestreet.com/software-engineering-interviews-are-changing-a-little/>)

Author: Matthew Saffer

Published: 2026-11-02T00:00:00Z

Content type: article

Language: en

Sources: [Jane Street](<https://devfeed.tech/sources/jane-street.md>)

Topics: [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [engineering-culture](<https://devfeed.tech/topics/engineering-culture.md>)

Tags: [coding](<https://devfeed.tech/tags/coding.md>), [design](<https://devfeed.tech/tags/design.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [interviews](<https://devfeed.tech/tags/interviews.md>), [llms](<https://devfeed.tech/tags/llms.md>), [process](<https://devfeed.tech/tags/process.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>)

### AI overview

Jane Street is trialing some new onsite interview rounds for campus candidates that involve less code-writing and focus more on software design, checking code quality, structure and intent, and using LLMs to produce code. Most rounds remain traditional coding interviews without LLM assistance, and not every onsite includes the new formats yet; candidates will be told what to expect. The broader process is unchanged, and candidates need no specialized agent workflow or particular LLM setup. The article says interviewers value clear judgment about tools' strengths, limits, and when to use alternatives. More experienced candidates will continue to see varied interview styles.

### Source excerpt

Over the last few years, LLMs have changed how software gets built and that's no different for us at Jane Street. Most of our engineers now use them every day not only for writing code, but also for reading, debugging, and reviewing code, and plenty of things that aren't code at all.

## Lean4Agent: Formal Modeling and Verification for Agent Workflow and Trajectory

DevFeed: [Lean4Agent: Formal Modeling and Verification for Agent Workflow and Trajectory](<https://devfeed.tech/articles/lean4agent-formal-modeling-and-verification-for-agent-workflow-and-trajectory-94599.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2606.06523>)

Author: Ruida Wang, Jerry Huang, Pengcheng Wang, Xuanqing Liu, Luyang Kong, Tong Zhang

Published: 2026-10-22T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Formal verification](<https://devfeed.tech/topics/formal-verification.md>), [Formal methods](<https://devfeed.tech/topics/formal-methods.md>), [Automated reasoning](<https://devfeed.tech/topics/automated-reasoning.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [ai evaluation](<https://devfeed.tech/topics/ai-evaluation.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-workflows](<https://devfeed.tech/tags/agent-workflows.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cs-lo](<https://devfeed.tech/tags/cs-lo.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [formal](<https://devfeed.tech/tags/formal.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [foundation](<https://devfeed.tech/tags/foundation.md>), [framework](<https://devfeed.tech/tags/framework.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models-llms](<https://devfeed.tech/tags/large-language-models-llms.md>), [llms](<https://devfeed.tech/tags/llms.md>), [modeling](<https://devfeed.tech/tags/modeling.md>), [verification](<https://devfeed.tech/tags/verification.md>), [workflow](<https://devfeed.tech/tags/workflow.md>), [workflows](<https://devfeed.tech/tags/workflows.md>)

### AI overview

Lean4Agent uses Lean4's dependent types to model and verify agent workflows under explicit assumptions. Its FormalAgentLib library checks workflow semantic consistency and helps localize execution failures from trajectories; LeanEvolve builds on those results to revise workflows. In experiments across five LLMs on a hard subset of SWE-Bench-Verified and a subset of ELAIP-Bench, verification-passing workflows outperformed failing ones by an average of 11.94%, while LeanEvolve improved SWE performance by an average of 7.47%. These are reported results on the specified subsets; the supplied text is an abstract and does not provide further methodological detail.

### Source excerpt

arXiv:2606.06523v3 Announce Type: replace-cross Abstract: Equipping Large Language Models (LLMs) to execute reliable multi-step workflows has become a central challenge in artificial intelligence. Despite recent advances in LLMs' agentic capabilities, most agent systems still lack formal methods for specifying, verifying, and debugging their workflow and execution trajectories. This challenge mirrors a long-standing problem in mathematics, where the ambiguity of natural languages (NLs) motivates the development of formal languages (FLs). Inspired by this paradigm, we propose **Lean4Agent**, to the best of our knowledge, the first framework that uses Lean4, a dependent-type FL to model and verify agent behavior. **Lean4Agent** launches **FormalAgentLib**, an extensible Lean4 library for formally modeling and verifying agent workflows' semantic consistency under explicit assumptions, and enabling localization of execution-time failures revealed by trajectories. Building on **FormalAgentLib**, we further develop **LeanEvolve**, which applies results in **FormalAgentLib** to revise workflows to enhance its capability. Extensive experiments on a hard problem subset of SWE-Bench-Verified and a subset of ELAIP-Bench across 5 leading LLMs indicate that the verification-passing workflows outperform the failing ones by an average of **11.94%**, and **LeanEvolve** further improves SWE performance by **7.47%** on average. Furthermore, **Lean4Agent** establishes a foundation for a new field of using expressive dependent-type FL to formally model and verify agent behavior.

## How Quint uses formal methods to verify system designs and AI-generated code

DevFeed: [How Quint uses formal methods to verify system designs and AI-generated code](<https://devfeed.tech/articles/ai-says-you-re-right-formal-methods-say-you-re-wrong-88393.md>)

Original publisher: [Read original article](<https://stackoverflow.blog/2026/10/16/formal-methods-say-you-re-wrong/>)

Author: Phoebe Sajor

Published: 2026-10-16T07:40:00Z

Content type: article

Language: en

Sources: [Stack Overflow](<https://devfeed.tech/sources/stack-overflow-blog.md>)

Topics: [Formal verification](<https://devfeed.tech/topics/formal-verification.md>), [Programming Languages / Compilers](<https://devfeed.tech/topics/programming-languages-compilers.md>), [Parallel reasoning](<https://devfeed.tech/topics/parallel-reasoning.md>)

Tags: [agentic-ai](<https://devfeed.tech/tags/agentic-ai.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-generated-code](<https://devfeed.tech/tags/ai-generated-code.md>), [code](<https://devfeed.tech/tags/code.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [podcast](<https://devfeed.tech/tags/podcast.md>), [se-stackoverflow](<https://devfeed.tech/tags/se-stackoverflow.md>), [se-tech](<https://devfeed.tech/tags/se-tech.md>), [tla-plus](<https://devfeed.tech/tags/tla-plus.md>), [toolchain](<https://devfeed.tech/tags/toolchain.md>)

### AI overview

A conversation with Quint CEO Gabriela Moreira covers how formal specification languages such as TLA+ can expose system design flaws before coding. It also discusses Quint's executable specification toolchain and using trace validation and model-based testing to check AI-generated code against production data.

### Source excerpt

Ryan is joined by Gabriela Moreira, CEO at Quint, about why formal specification languages like TLA+ are essential for catching system design flaws before writing code, how Quint brings developer-friendly syntax and executability to formal methods, and the ways trace validation and model-based testing can verify AI-generated code against real-world production data.

## Formal Automotive Security Analysis Of CAN XL (Georgia Tech, QCRI, Purdue)

DevFeed: [Formal Automotive Security Analysis Of CAN XL (Georgia Tech, QCRI, Purdue)](<https://devfeed.tech/articles/formal-automotive-security-analysis-of-can-xl-georgia-tech-qcri-purdue-64273.md>)

Original publisher: [Read original article](<https://semiengineering.com/formal-analysis-uncovers-security-flaws-in-can-xl-georgia-tech-qcri-purdue/>)

Author: Technical Paper Link

Published: 2026-10-02T19:05:52Z

Content type: article

Language: en

Sources: [Semiconductor Engineering](<https://devfeed.tech/sources/semiconductor-engineering.md>)

Topics: [Security research](<https://devfeed.tech/topics/security-research.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [attacks](<https://devfeed.tech/tags/attacks.md>), [automotive](<https://devfeed.tech/tags/automotive.md>), [automotive-aerospace](<https://devfeed.tech/tags/automotive-aerospace.md>), [automotive-electronics](<https://devfeed.tech/tags/automotive-electronics.md>), [automotive-security](<https://devfeed.tech/tags/automotive-security.md>), [can-xl](<https://devfeed.tech/tags/can-xl.md>), [communication-data-movement](<https://devfeed.tech/tags/communication-data-movement.md>), [controller-area-network](<https://devfeed.tech/tags/controller-area-network.md>), [cybersecurity](<https://devfeed.tech/tags/cybersecurity.md>), [design-verification](<https://devfeed.tech/tags/design-verification.md>), [ecu](<https://devfeed.tech/tags/ecu.md>), [electronic-control-units](<https://devfeed.tech/tags/electronic-control-units.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [formal-verification](<https://devfeed.tech/tags/formal-verification.md>), [georgia-institute-of-technology](<https://devfeed.tech/tags/georgia-institute-of-technology.md>), [georgia-tech](<https://devfeed.tech/tags/georgia-tech.md>), [hardware-security](<https://devfeed.tech/tags/hardware-security.md>), [in-vehicle-networks](<https://devfeed.tech/tags/in-vehicle-networks.md>), [mac-sub-layer](<https://devfeed.tech/tags/mac-sub-layer.md>), [paper](<https://devfeed.tech/tags/paper.md>), [purdue-university](<https://devfeed.tech/tags/purdue-university.md>), [qatar-computing-research-institute](<https://devfeed.tech/tags/qatar-computing-research-institute.md>), [security](<https://devfeed.tech/tags/security.md>), [technical-papers](<https://devfeed.tech/tags/technical-papers.md>), [vehicle-security](<https://devfeed.tech/tags/vehicle-security.md>)

### AI overview

Researchers from Georgia Tech, Qatar Computing Research Institute, and Purdue formally analyzed the CAN XL MAC sub-layer. They report that it retains known CAN CC MAC weaknesses and introduces seven new vulnerabilities, which they validated on commercial controllers and demonstrated through two multi-stage attacks on a vehicle-traffic testbed. The paper also proposes mitigations, including formal verification of standard revisions.

### Source excerpt

Researchers at Georgia Institute of Technology, Qatar Computing Research Institute, and Purdue University published a technical paper titled "A Formal Security Analysis of CAN XL." Abstract: "For decades, the Controller Area Network (CAN) has been the backbone of in-vehicle communication. As modern vehicles integrate cameras, LiDARs, and AI components, classic CAN (CAN CC) faces growing... " read more The post Formal Automotive Security Analysis Of CAN XL (Georgia Tech, QCRI, Purdue) appeared first on Semiconductor Engineering.

## What TLA+ can and can't check

DevFeed: [What TLA+ can and can't check](<https://devfeed.tech/articles/what-tla-can-and-can-t-check-62471.md>)

Original publisher: [Read original article](<https://buttondown.com/hillelwayne/archive/what-tla-can-and-cant-check/>)

Author: Hillel Wayne

Published: 2026-09-30T13:27:03Z

Content type: article

Language: en

Sources: [Newsletter feed for Hillel Wayne's Newsletter](<https://devfeed.tech/sources/newsletter-feed-for-hillel-wayne-s-newsletter.md>)

Topics: [AutoCorrode library](<https://devfeed.tech/topics/autocorrode-library.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>)

Tags: [boris-cherny](<https://devfeed.tech/tags/boris-cherny.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [formal-verification](<https://devfeed.tech/tags/formal-verification.md>), [race-conditions](<https://devfeed.tech/tags/race-conditions.md>), [tla-plus](<https://devfeed.tech/tags/tla-plus.md>)

### AI overview

The article explains that TLA+ can model complex concurrent systems and check properties such as invariants, while emphasizing that formal methods cannot guarantee correct code or verify properties that have not been specified. It cautions against treating formal verification as a complete solution for agentic software development.

### Source excerpt

Last week Boris Cherny, the inventor of Claude Code, mentioned that Opus was able to use TLA+1 to find race conditions in code. And now everybody on the internet is talking about formal verification. As a long-time educator (1 2) and advocate of TLA+, this is really exciting! TLA+ is great at designing complex concurrent systems and making sure they're bug-free.2 As a long-time advocate of level-headedness, this new euphoria worries me. I read a lot of people saying that formal methods will solve the problem of agentic software development once and for all, and that's nonsense. Enough words have been spilled about the weaknesses of TLA+ in terms of what it can guarantee, like how correct designs don't automatically translate into correct code. So I'd like to focus on a different limitation for this newsletter: to verify a property, we need to have a property to verify! So what are the properties that TLA+ can't even express? (This assumes some basic knowledge of TLA+. If you're a total beginner, check out those [1] [2] things above or read here.) What TLA+ can check TLA+ divides the system into a set of behaviors. Each behavior is a sequence of states, like "light one is green, then yellow, then red". In each state we can express a regular boolean expressions like "Light four is green" or "All lights are red." We can also modify expressions with three "temporal" logical operators: []P ("always P") is true if P is true in the current state and every future state. Example: [](at_most_one_green) is true if every state going forward has no more than one green light. P' ("P prime") is true if P is true in the next state. Example: light="green" && light'="red" is true if the light changes from green to red. <>P ("eventually P") is true if P is true in the current state or in at least one future state. Example: <>(light4 = "yellow") is true if light4 is yellow or is yellow in a future state. When we say that P is a property of the system, we mean it is true in the initial

## Metastability as a failed conditional discharge of rely-guarantee composition

DevFeed: [Metastability as a failed conditional discharge of rely-guarantee composition](<https://devfeed.tech/articles/metastability-as-a-failed-conditional-discharge-of-rely-guarantee-composition-41859.md>)

Original publisher: [Read original article](<https://muratbuffalo.blogspot.com/2026/09/metastability-as-failed-conditional.html>)

Author: Murat (noreply@blogger.com)

Published: 2026-09-03T01:03:24Z

Content type: opinion

Language: en

Sources: [Metadata](<https://devfeed.tech/sources/metadata.md>)

Topics: [systems](<https://devfeed.tech/topics/systems.md>), [retry](<https://devfeed.tech/topics/retry.md>), [Server](<https://devfeed.tech/topics/server.md>), [Latency](<https://devfeed.tech/topics/latency.md>)

Tags: [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [latency](<https://devfeed.tech/tags/latency.md>), [metastability](<https://devfeed.tech/tags/metastability.md>), [retries](<https://devfeed.tech/tags/retries.md>), [server](<https://devfeed.tech/tags/server.md>), [systems](<https://devfeed.tech/tags/systems.md>), [tla](<https://devfeed.tech/tags/tla.md>)

### AI overview

This post models metastability in a retry storm using TLA+ and a retrier-server composition. It argues that a trigger can displace a system outside the rely-guarantee conditions of its components, after which duplicate retries add queue load and waste capacity. The model uses server capacity, fresh arrivals, retry timeouts, and latency thresholds to study the resulting failure behavior.

### Source excerpt

Last week I wrote about modular verification of systems through open TLA+ specs and rely-guarantee discharge. In this post, I apply the same approach to study the metastability mechanics of a retry storm. Through this modeling I show that when the system is metastable, it is due to some trigger/shock that displaced the system outside the rely-guarantee discharge conditions of its components. The model I use the retrier-server example from the "Characterizing Metastable Faults and Failures" paper and model it in TLA+ as a composition of a retrier and a server component. The shared interface between the two components consist of the following variables: qf: fresh work queued at the server qd: duplicate (retry) work queued at the server done: the count of fresh requests the server completed this round, which the retrier reads and clears turn: a flag forcing alternation between the retrier and server steps The retrier has one private variable, p, which denotes the pending fresh requests: the requests sent and not yet acked. A retry is a duplicate of a request already counted in p, so sending one does not grow p. The server has no private state, and does not know about p. The constants in the specs parametrize the most important system characteristics: S=3 is the server capacity to process units per round AMax=2 is the max arrivals of fresh requests per round; retries arrive on top of this T=2 denotes retry timeout in rounds. Since AMax<S, client demand stays below server capacity, so under normal conditions the server coasts. Whatever goes wrong will be due to a trigger/shock. Recall that metastability is a three act play: a trigger creates a backlog, the trigger goes away, but the system fails to recover. Since we only study the last act here, I model the trigger by starting the system in an already displaced state: Q0 requests are already queued at the server (qf=Q0) and, none being answered yet, all still open on the retrier's ledger (p=Q0). How does this initial sho

## Developing provably correct Rust code with Verus

DevFeed: [Developing provably correct Rust code with Verus](<https://devfeed.tech/articles/developing-provably-correct-rust-code-with-verus-7596.md>)

Original publisher: [Read original article](<https://www.amazon.science/blog/developing-provably-correct-rust-code-with-verus>)

Author: Bryan Parno

Published: 2026-08-31T15:35:33Z

Content type: article

Language: en

Sources: [Amazon Science homepage](<https://devfeed.tech/sources/amazon-science-homepage.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>)

Tags: [amazon-elastic-compute](<https://devfeed.tech/tags/amazon-elastic-compute.md>), [automated-reasoning](<https://devfeed.tech/tags/automated-reasoning.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [code](<https://devfeed.tech/tags/code.md>), [firecracker](<https://devfeed.tech/tags/firecracker.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [formal-verification](<https://devfeed.tech/tags/formal-verification.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [rust](<https://devfeed.tech/tags/rust.md>), [security](<https://devfeed.tech/tags/security.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

The article explains how Verus formally verifies Rust code against mathematical specifications, helping establish correctness beyond what Rust safety checks and conventional tests provide.

### Source excerpt

How the Verus "program verifier", which automatically checks code against a mathematical specification of its functionality, helps increase security assurance in software projects.

## Composition and Modular Verification of TLA+ specs

DevFeed: [Composition and Modular Verification of TLA+ specs](<https://devfeed.tech/articles/composition-and-modular-verification-of-tla-specs-41852.md>)

Original publisher: [Read original article](<https://muratbuffalo.blogspot.com/2026/08/composition-and-modular-verification-of.html>)

Author: Murat (noreply@blogger.com)

Published: 2026-08-27T01:03:04Z

Content type: opinion

Language: en

Sources: [Metadata](<https://devfeed.tech/sources/metadata.md>)

Topics: [execution](<https://devfeed.tech/topics/execution.md>), [test](<https://devfeed.tech/topics/test.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [automated-reasoning](<https://devfeed.tech/tags/automated-reasoning.md>), [component](<https://devfeed.tech/tags/component.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [llms](<https://devfeed.tech/tags/llms.md>), [logical](<https://devfeed.tech/tags/logical.md>), [system](<https://devfeed.tech/tags/system.md>), [tla](<https://devfeed.tech/tags/tla.md>)

### AI overview

An opinionated exploration of modular verification for TLA+ specifications. It explains how composing specifications over shared state can over-constrain systems, and argues that open specifications, LLMs, and TLAPS may make modular verification more practical.

### Source excerpt

Preamble. This post came slowly, simmering over months really. So there is some stream of consciousness in here, and a lot of deliberating in public. The post is me learning modular verification and talking myself into it at the same time. Even pep-talking myself, because this is genuinely hard, and the field's standard advice is to avoid modular verification. But the advice is due for revision: LLMs plus TLAPS are quietly changing the economics that made monolithic spec the rational default. The compositionality problemTLA+ is compositional in the abstract sense... In the astral plane, a program execution is an infinite sequence of states, each state giving a value to every variable in an imagined universal state space. A spec is a predicate (yes/no test) on executions, which denotes a set of allowed executions. In this setup, the steps that change variables in other specs look like stuttering to yours. And that enables us to denote composition as a beautiful purely logical conjunction, Spec1 /\ Spec2. The problem is, this is too pure. When you try to model check a conjunction of two specs, your astral travel gets grounded. Since TLC only accepts specs in the normal form Init /\ [][Next]_vars, you need to manually expand the conjunction of two boxed formulas as: [][N1]_v1 /\ [][N2]_v2 = []((N1 \/ UNCHANGED v1) /\ (N2 \/ UNCHANGED v2)) Expanding this gives us joint steps for N1/\N2, solo steps for each side, and both side stutter steps (which can be omitted vacuously). However, shared read/write variables between N1 and N2 cause problems (which we have ignored conveniently in the first paragraph, and now it is time to face them). Suppose a producer and a consumer share a channel. The naive producer spec Init /\ [][PNext]_<<chan, produced>> says: if chan changes, it was one of my actions. If you conjoin that with a consumer that also writes chan, you have specified a system where the consumer can never take a value. Conjunction of closed specs over shared state leads

## Specula: Scaling formal specifications for autonomous model checking of system code

DevFeed: [Specula: Scaling formal specifications for autonomous model checking of system code](<https://devfeed.tech/articles/specula-scaling-formal-specifications-for-autonomous-model-checking-of-system-code-41853.md>)

Original publisher: [Read original article](<https://muratbuffalo.blogspot.com/2026/08/specula-scaling-formal-specifications.html>)

Author: Murat (noreply@blogger.com)

Published: 2026-08-12T21:33:44Z

Content type: opinion

Language: en

Sources: [Metadata](<https://devfeed.tech/sources/metadata.md>)

Topics: [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [bug](<https://devfeed.tech/topics/bug.md>), [Code](<https://devfeed.tech/topics/code.md>), [systems](<https://devfeed.tech/topics/systems.md>), [Software](<https://devfeed.tech/topics/software.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Network](<https://devfeed.tech/topics/network.md>), [C](<https://devfeed.tech/topics/c.md>), [Erlang](<https://devfeed.tech/topics/erlang.md>), [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [Rust](<https://devfeed.tech/topics/rust.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [bug](<https://devfeed.tech/tags/bug.md>), [code](<https://devfeed.tech/tags/code.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [developers](<https://devfeed.tech/tags/developers.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [erlang](<https://devfeed.tech/tags/erlang.md>), [etcd](<https://devfeed.tech/tags/etcd.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [network](<https://devfeed.tech/tags/network.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [paper-review](<https://devfeed.tech/tags/paper-review.md>), [rabbitmq](<https://devfeed.tech/tags/rabbitmq.md>), [rust](<https://devfeed.tech/tags/rust.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [tla](<https://devfeed.tech/tags/tla.md>)

### AI overview

An opinionated analysis of Specula, an agentic system that automatically derives TLA+ specifications from software, validates them against code, model-checks for concurrency bugs, and generates integration tests. The article discusses reported results across 48 open-source distributed and concurrent systems, including 249 bugs found, while also raising unresolved questions about the approach.

### Source excerpt

Specula is an agentic system that automates the process of software bug finding through authoring and model-checking a spec for the code. It derives TLA+ specifications automatically from the code, checks code-spec conformance through trace validation, model checks the spec to find concurrency bugs, and reproduces the bug at the code layer by writing integration tests with precise timing. I remember reading the Daikon paper "Quickly detecting relevant program invariants" in 2000 and getting impressed by it, and here we are after 26 years, solving the end-to-end problem much better than I ever thought would be possible in a push-button manner in the year of our lord 2026. But somehow, I am still somewhat unsatisfied with the paper. This may be me being hypercritical and trying to get more out of the paper by arguing with it. So bear with me until I resolve (or learn to accept) these problems over time. I know many of the authors of the Specula work, and respect them, and I know they won't take my critiques about the larger problem in a wrong way... I am trying to make sense of the terrain myself. So, let's look at what Specula gets right, its major contributions, and then dive into my unresolved questions and existential thinking about the terrain. Why is Specula an Impressive Achievement Specula is run on "slices of" 48 complex open-source distributed and concurrent systems including MongoDB, Microsoft's SONiC network OS, GCC's libgomp, Etcd, and RabbitMQ's ra. It found 249 bugs, 207 of them new. The 48 systems span 7 languages, from C to Erlang to Rust. This is very impressive, and it earns the "scaling" claim in the title of the paper. Hand-crafting TLA+ specifications may take weeks (especially for unfamiliar code bases), and Specula completes end-to-end checks in 1.4 to 9.8 hours at a median token cost of 57 dollars per system. Did I mention this is all push-button? Developers just review the end results. They may not even have to look at the TLA+ specs, and the

## Formal methods with Hillel Wayne

DevFeed: [Formal methods with Hillel Wayne](<https://devfeed.tech/articles/formal-methods-with-hillel-wayne-18172.md>)

Original publisher: [Read original article](<https://newsletter.pragmaticengineer.com/p/formal-methods-with-hillel-wayne>)

Author: Gergely Orosz

Published: 2026-07-29T16:22:31Z

Content type: article

Language: en

Sources: [The Pragmatic Engineer](<https://devfeed.tech/sources/the-pragmatic-engineer.md>)

Topics: [Formal methods](<https://devfeed.tech/topics/formal-methods.md>), [Formal verification](<https://devfeed.tech/topics/formal-verification.md>), [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>), [distributed-systems](<https://devfeed.tech/topics/distributed-systems.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [formal-verification](<https://devfeed.tech/tags/formal-verification.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [version-control](<https://devfeed.tech/tags/version-control.md>)

### AI overview

Hillel Wayne discusses why formal methods such as TLA+ matter for reliable software, how formal verification tools fit into software development, why distributed systems are difficult to reason about, and whether AI could make these methods more accessible.

### Source excerpt

Hillel Wayne explains why formal methods like TLA+ matter, how they help build reliable software, and whether AI will finally bring formal verification into the mainstream.

## The growing code review workload and emerging AI-assisted approaches

DevFeed: [The growing code review workload and emerging AI-assisted approaches](<https://devfeed.tech/articles/the-pulse-new-trend-concern-about-massive-increase-in-code-review-load-40926.md>)

Original publisher: [Read original article](<https://blog.pragmaticengineer.com/the-pulse-new-trend-concern-about-massive-increase-in-code-review-load/>)

Author: Ivan Klaric

Published: 2026-07-23T16:55:29Z

Content type: article

Language: en

Sources: [The Pragmatic Engineer](<https://devfeed.tech/sources/the-pragmatic-engineer-2.md>)

Topics: [Code review](<https://devfeed.tech/topics/code-review.md>), [ai code review](<https://devfeed.tech/topics/ai-code-review.md>), [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Formal methods](<https://devfeed.tech/topics/formal-methods.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-code-review](<https://devfeed.tech/tags/ai-code-review.md>), [code-review](<https://devfeed.tech/tags/code-review.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [software](<https://devfeed.tech/tags/software.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

The article examines the growing code review workload as AI-generated code increases. It surveys dedicated AI review tools, review features in coding platforms, in-house systems, and verification approaches such as testing and formal methods, while noting that few solutions are proven.

### Source excerpt

Top of mind for engineering leaders: what to do about the growing code review load, and how devs are starting to review code less thoroughly than before? Many questions, but few proven solutions.

## Fragments: July 13

DevFeed: [Fragments: July 13](<https://devfeed.tech/articles/fragments-july-13-4431.md>)

Original publisher: [Read original article](<https://martinfowler.com/fragments/2026-07-13.html>)

Author: Martin Fowler (martin@martinfowler.com)

Published: 2026-07-13T12:51:00Z

Content type: opinion

Language: en

Sources: [Martin Fowler](<https://devfeed.tech/sources/martin-fowler.md>)

Topics: [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>)

Tags: [engineering](<https://devfeed.tech/tags/engineering.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [hosting](<https://devfeed.tech/tags/hosting.md>), [llms](<https://devfeed.tech/tags/llms.md>), [local](<https://devfeed.tech/tags/local.md>), [management](<https://devfeed.tech/tags/management.md>), [python](<https://devfeed.tech/tags/python.md>), [rust](<https://devfeed.tech/tags/rust.md>), [security](<https://devfeed.tech/tags/security.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

Notes from a software-development retreat examine harness engineering for LLMs, emphasizing context management, validation, and computational sensors. They also discuss self-hosting open-weight models to reduce costs, gain independence, and address information-security concerns.

### Source excerpt

Some more of my notes from Thoughtworks Future of Software Development Retreat. When we had our first retreat in Utah early this year, nobody had heard of Harness Engineering. This time we had a whole session on it. When comes to the guide side of harnesses, most of the discussion is about context management. While context windows have increased is size as models get more sophisticated, that doesn't mean that models will properly focus on the right bits. Models typically only focus attention on part of the context, and to get the best behavior, we need to manage that focus. One attendee keeps their context small, limiting the agents.md file to less than 200 lines On the sensor side, we see more attention on computational sensors. Two patterns from one participant was shifting to languages with greater controls, (eg Rust rather than Python) and "leveling up" validation approaches, using more property-based testing and techniques from formal methods. One commented that while they aren't smart enough to write specifications in a formal specification language, they are smart enough to read it and check it makes sense for their domain. Will our attention on harnesses last long enough for our next retreat? Will the models just get so good that harnesses become unnecessary? Those with some mechanical sympathy for LLMs seem to think not - but are they overly coupled to the current state of technology? I find such speculation tends not to lead anywhere useful, I've not seen much success in guessing the future in the past, and with technology as radical as this, I don't see it being any easier. So for the moment, attention to harnesses pays off. We find it reduces token usage, and also allows weaker models to be useful, supporting such things as local hosting of open-weight models. ❄ ❄ Which naturally segues me to a session on self-hosted models. Increasing token costs have made hosting an open-weight model more attractive, particularly due to the decreasing time for open-wei

[Next page](<https://devfeed.tech/tags/formal-methods.md?cursor=WyIyMDI2LTA3LTEzVDEyOjUxOjAwKzAwOjAwIiwgImViYzE2YTIxLTUzYzItNGMyZi1iMDc3LWI0NWMwODdiNzk0YSJd>)