NoteEngineering leadership

Engineering Change Must Reach the State It Changes

Evidence from AI-assisted modernization, DNS propagation, storage recovery, inference privacy and software releases exposes the difference between changing a producer and reconciling the state it has already created. Operators get concrete ways to specify convergence, establish independent evidence and assign responsibility for historical outputs.

Lukman Nuriakhmetov
Lukman Nuriakhmetov
16 min read · November 30, 2026

A migration team can finish translating a module, improve the shared runtime in the next phase, and leave the first module using yesterday's interpretation of the system. The files still compile. In a sufficiently large project, accumulated decisions become difficult to see precisely because the work that produced them looks complete.

This week's reading exposes a coherent engineering problem. A DNS publication delay, a storage recovery failure, data escaping its expected inference boundary, and vulnerable artifacts surviving a fix require different remedies. They also require a more demanding definition of completion.

A change is complete only when affected state has converged, or remaining divergence has an explicit owner and recovery path.

The 60-second version

  • AI-assisted migrations need a reconciliation pass across translation phases, including changes to shared assumptions.
  • DNS changes require observation of their actual visibility beyond the publication service.
  • Recovery needs to establish what survives a later failure and which layer owns unfinished reconciliation.
  • Inference privacy must account for every party that receives a copy; local guarantees do not settle downstream custody.
  • A corrected generator or approved release does not repair artifacts produced under older conditions.
Completion has to be defined over affected state, beyond the operation that initiated a change.

A Migration Is a Reconciliation Problem

This week's deep cut.

Federico Tomassetti reports an RPG-to-Java modernization performed in 49 separate sessions; 97.9% of files were never changed after the phase that created them. Federico Tomassetti A date helper appeared in 27 classes with 20 distinct implementations. Federico Tomassetti About 30 generated files no longer agreed with the output of their own generators. Federico Tomassetti

Some of the duplicated code could be removed by static analysis; naming conventions could be checked by a linter; a regeneration check could establish whether a generated artifact still corresponds to its input. What makes the case more consequential, especially when agents are doing the translation, is that knowledge about the target architecture evolves during the migration.

Imagine that the target runtime initially represents a legacy date as a string. A subsequent module reveals that this representation obscures a distinction between missing values and invalid values. The translator introduces a more expressive type. Later modules can now use it and look internally consistent. Unless the change triggers a backward traversal of dependencies, earlier modules retain a different model of the domain.

This is a hypothetical mechanism, not a claim about the date helper in the study. It illustrates why a dependency graph needs to serve two purposes: determine what needs to exist before another unit can start, and determine which completed units must be reconsidered when a shared abstraction changes. Otherwise the definition of done belongs to the session in which a file happened to be created.

Internal consistency is only part of the problem. Independent translations of the same programs produced substantially different Java structures, and some differences affected behavior. Federico Tomassetti In the correctness investigation the original IBM i system was unavailable for execution; expectations came from source inspection and documentation. Federico Tomassetti Reported discrepancies included numeric overflow, record ordering, transaction behavior and missing locking, despite ordinary cases passing tests. Federico Tomassetti

A migration needs to answer whether the translation preserves observable behavior, whether its internal representation is coherent, and whether it meets the objectives for the new system. Making every implementation of a date helper identical is useful only if the agreed behavior is correct. Conversely, a behavior-preserving translation may still be a poor foundation for the organization that must maintain it.

If behavior was never explicitly represented in the source available to the translator, a plausible implementation of it is still a proposal. Tests written from that proposal can verify its consistency without establishing equivalence to the original. The operator needs to distinguish known requirements from decisions made to fill gaps and determine which decisions may become durable.

There is a useful contrast in the other migration report this week. For its Messages API migration to Rust, Anthropic used production traffic and replayed the same model response through the implementations being compared. Anthropic The report describes privacy-preserving fingerprints for investigating mismatches without retaining full response contents for that purpose. Anthropic

A naive comparison would ask two systems to generate independent model outputs and compare the final responses. Differences could come from the stochastic model or the API implementation. Holding the model response fixed reduces the number of things an unexplained discrepancy could mean. The protection for retained evidence matters too: a test oracle should not create a new data exposure merely to make debugging convenient.

This technique predates language models. GitHub's Scientist library keeps the original path authoritative while comparing it with a candidate, and its documentation limits safe wrapping to operations that do not change data. GitHub The documentation recommends separately reconciling production data when both systems receive writes. GitHub

Both approaches have an advantage over a migration whose original system cannot be run: comparison against actual behavior. An operator may deliberately preserve a surprising old behavior until a separate change is approved. This does not mean historical bugs deserve indefinite preservation. Modernizing an implementation and changing its business semantics need different acceptance criteria, so a reviewer can determine which operation was responsible for the difference.

Without an executable original, the burden moves to independently constructed expectations: production exports, externally observed outputs, documented invariants, or domain experts who can resolve specific conflicts. Even these have gaps. Record the missing oracle; making generated tests more elaborate does not make them independent.

For a large agent-led migration, keep an inventory of semantic decisions separate from the list of translated files. Each decision would name its scope, evidence, and the consumers that need revisiting when it changes. A decision about overflow or missing configuration might affect generated code, handwritten helpers, fixtures and the interpretation of reconciliation reports. Those consumers need to be regenerated, revalidated, or explicitly excluded with a reason. The inventory is most useful when it actually changes the work queue.

There is a cost. Global invalidation for every local improvement can make a migration unmanageable. Dependencies need sufficient granularity to permit unaffected work to remain accepted. Where scope cannot be established confidently, wider revalidation is a defensible fallback.

Operator move: Put a versioned semantic contract and reverse-dependency index beside the migration plan. On a contract change, reopen affected earlier work, regenerate derived files, compare observable behavior against independent evidence, and distinguish unresolved legacy behavior from authorized improvements.

A translation phase is a convenient unit of execution. Its semantic contract is the unit of consistency.

DNS Publication Needs an Observable End Point

Cloudflare describes DNS changes whose publication was delayed for hours even though conventional service health indicators were not showing the underlying problem. Cloudflare Its Flamingo probing system measures the time until a changed DNS record becomes visible at authoritative servers and the public resolver. Cloudflare Cloudflare uses propagation measurements as feedback for canary deployment and rollback decisions. Cloudflare

Here the state whose convergence matters is visible outside the service performing the operation. A publication pipeline may accept a mutation, hand it off to another component and report successful execution of its own responsibility. The recipient can still observe an older answer. A general service health check has no reason to identify that specific discrepancy unless somebody makes it part of the check.

If a probe checks only that a record which has existed for months is returned correctly, the system may keep serving it while the path responsible for publishing new state has stopped making progress. A probe that causes a change and observes it at the point of consumption exercises a different property. Its timestamps provide an estimate of the interval during which the intended state is unavailable to that observer.

Observations may disagree for legitimate reasons, including caching policies and the timing of observations. A convergence budget must account for these conditions. If one observation point consistently falls behind, a good global average says little about whether affected consumers have a tolerable experience.

Consider an account entitlement change acknowledged by its source service but consumed through asynchronous projections by several products. A successful write provides evidence that the source accepted the decision. A representative read of each relevant projection provides evidence that it reached its enforcement point. For a feature flag the delay might be acceptable; for a revoked entitlement it might need to be much smaller. These are business and security requirements, not arbitrary monitoring parameters.

Synthetic probes establish progress on tested paths; they cannot establish that every real mutation followed them. Combine them with measurements of outstanding changes, oldest unconfirmed state and reconciliation failures. Keep probe traffic distinguishable and ensure it cannot exercise destructive operations.

Operator move: Define a consumer-visible convergence SLO by operation class and relevant observation point. Track accepted mutations that have not yet been observed and feed the age distribution into canary promotion and rollback criteria.

An available control plane can coexist with a publication path that has ceased to deliver new state.

Recovery Must Survive the Next Failure

Datadog describes moving durable aggregation state out of individual stream-processing workers and into its storage layer. Datadog In the reported design a worker can resume near the live edge, with storage responsible for reconciling incomplete and overlapping aggregation results. Datadog

The architectural decision changes where reconciliation lives. Instead of insisting that a failed worker restore its historical working state before returning to current traffic, the design allows work to continue while another layer accounts for incomplete results. The unfinished history has an owner.

To adopt such an approach, establish which operations can be combined without double counting, how incomplete contributions are identified and what happens to late results that overlap earlier ones. If the representation cannot distinguish these cases, shifting work to storage may simply relocate the ambiguity. The benefit depends on the new owner being able to discharge the responsibility.

The harder problem is that a recovery process may change the state from which subsequent recovery will proceed. Antithesis reports a bbolt/etcd failure found by simulating disk faults and a later loss of volatile cache state. Antithesis In that sequence, a metadata synchronization error was followed by a process restart that could still observe cached metadata; later loss of the cache exposed a mismatch between durable metadata and reused pages. Antithesis The report distinguishes terminating a process from losing the operating system's volatile storage cache. Antithesis

A restart test ending when the database becomes available would miss the decisive later event in this reported sequence. The resumed process could observe metadata that would not necessarily survive the next failure. It continued modifying the system, making the relationship between surviving metadata and stored data critical.

An analogous test for an agent workflow would examine a worker that resumes after an ambiguous acknowledgment. The test should not stop when the worker replies successfully; it should establish whether a later replay can distinguish a committed effect from an unfinished one. If the evidence supporting the distinction was held only in that worker's memory, its successful return says little about its ability to resume again.

Some derived caches may be discarded entirely, and reprocessing can be preferable to expensive recovery machinery. Other records represent commitments that cannot be reconstructed from a later guess. The meaning of the state determines what must survive.

Operator move: Specify authoritative durable state, recoverable derived state and volatile state for critical operations. Test ordered sequences of failure, restart, successful work and further failure; verify surviving invariants and the eventual treatment of incomplete contributions, beyond the availability of replacement workers.

Recovery has to establish a sound starting point for subsequent work.

Inference Privacy Follows Every Copy

Dragos reports sending nearly two million inference requests with traceable canaries between July and November and observing evidence of exposure involving at least three providers. Dragos The investigation also identified risks associated with logging along reseller paths. Dragos

A canary offers an observable event beyond a provider's statement of its retention policy. A controlled marker appearing somewhere unexpected establishes that a path deserves investigation. It does not reveal the complete route of every request, and an absence of callbacks does not establish that no copy was retained. This is evidence of a particular failure mode, not an industry-wide prevalence estimate.

A request can have one identity in the client's architecture and several representations in the architecture processing it. The client can change its configuration for future requests, but the change does not retroactively affect copies made under the old configuration. Evaluate a provider-level policy against the set of entities that might have handled the data and the available evidence for each.

The issue is not limited to inference providers. Signal describes how operating-system assistants can obtain information from the screen after messages have been decrypted for display. Signal Its response includes platform-specific protections for screen access, while the company acknowledges limitations across operating systems and devices. Signal

The cryptographic boundary of a messaging application and the boundary of what another local program can observe are different. If plaintext is authorized for display, a mechanism that reads the display gains access to a new representation. Describing that as a failure of the transport encryption would be misleading without evidence that the encryption itself was broken. The relevant question is which actors are trusted after decryption and which device-level capabilities the application can actually constrain.

For agent deployments, distinguish permissions from custody. Permissions determine what an agent or service may do at a boundary. Custody records where a representation of the data actually goes, including copies created for tracing, debugging or processing. This becomes important when investigating an incident, verifying deletion, rotating credentials or establishing the consequences of a supplier transition.

A custody map should include intermediaries, permitted downstream processors and relevant application and device paths, beyond the vendors listed in procurement. A contractual restriction does not become a verified technical control merely because it appears on the map. Attach assurance to the specific path for which evidence exists.

Operator move: Inventory data paths for sensitive inference classes, covering routing, retention, logging, endpoint access and downstream processors. Use approved synthetic markers without real secrets to test observable boundaries, and maintain a separate procedure for already-disclosed data and credentials.

A routing change governs future requests. Historical copies require their own disposition.

Release Safety Includes the Installed Past

Coinkite reports that at least 15 independent review efforts of varying scope had not detected its COLDCARD seed-generation defect; an AI-assisted review that produced 85 candidate findings had also missed it. Coinkite The company says corrected firmware was released on July 31, but existing seeds generated under affected conditions are not made safe by the update. Coinkite Coinkite describes external validation of signed firmware builds, including a negative control. Coinkite

The seed-generation case is especially clear because the output is supposed to outlive the program that generated it. A new version can improve future generation. Existing outputs still need to be identified and treated according to the conditions under which they were produced. An owner of an affected artifact needs guidance appropriate to that artifact, beyond assurance that the latest software has been fixed.

The implication extends to generated credentials, signed documents, cached authorization grants and records created by erroneous workflows. There may be no direct mapping from a version of a faulty producer to all consumers of its output. If that mapping is missing, uncertainty about the affected population becomes part of the incident. Closing the original defect cannot remove it.

A second report addresses another part of the artifact lifecycle. Chainguard describes separating a low-privilege build-and-test phase from a release rebuild and checking artifact digests before publication. Chainguard The release phase does not execute arbitrary test code. Chainguard

Separating the phases limits the authority exposed to test execution, while digest comparison links the release result to the artifact that passed the earlier stage. Agreement of the measured bytes does not establish that inputs were trustworthy, tests were sufficient or a shared dependency was free of malicious behavior. Those questions still require evidence. Nor does the architecture decide what to do with artifacts customers have already installed.

For historical remediation an additional relationship is required between published artifacts, distribution channels and the consumers that accepted them. A release system preserving this information can support two separate incident decisions: which outputs must stop being distributed and which previously accepted outputs need replacing, invalidating or investigating. Rolling back the producer may help the first while doing nothing for the second.

Operator move: Maintain a version-to-artifact inventory for security-relevant generation and record build provenance, test evidence and the identity of published output. Give incident closure a separate check for historical artifacts, with owners, remediation instructions and acknowledged exceptions.

The lifetime of a security-sensitive output can exceed the lifetime of the defect that produced it.

Counter-signals worth holding

High weight — reconciliation has a cost. The Datadog case supports transferring the obligation to a layer designed to handle it, without justifying duplication of that obligation across workers. An unnecessarily strong consistency rule can undermine availability or require unacceptable coordination. Datadog

High weight — identical artifacts are not evidence of benign behavior. The Databricks report describes compromises of CI environments involved in trusted publishing. Databricks Provenance and digest checks answer narrower questions than behavioral security. Their value remains substantial if they do not become a substitute for independent analysis.

Moderate weight — different translations may be intentionally acceptable. Tomassetti's documented variation should trigger review where it affects a contract or creates costly maintenance divergence, rather than a blanket ban on alternatives. Federico Tomassetti

Operator takeaway

  1. Separate execution status from state status. Name the intended change, affected consumers and artifacts, required observation and permitted delay.
  2. Make reconciliation an executable responsibility. Version shared decisions, reopen dependent work when they change and assign an owner for unfinished history.
  3. Preserve independent evidence and explicit limits. Differential testing, external observation, controlled privacy probes and artifact digests establish different properties; accept the conclusion each can support, and record what remains unknown.

Worth tracking

  • Databricks reports that, in its dataset of approximately 5,400 malicious npm packages, compromised legitimate packages accounted for 7% of packages but more than 99% of recorded downloads. Databricks The measure concerns downloads in the observed dataset, not confirmed infections. Distribution exposure is a useful prioritization dimension for remediation.
  • Cisco and OpenAI announced Shirudo, a project intended to apply temporary eBPF protections to running Linux workloads while a permanent patch is prepared or deployed. Cisco Watch how temporary protection is verified, scoped and retired once the permanent remedy reaches affected workloads.
Tags: ai-assisted-modernization · state-reconciliation · dns-propagation · storage-durability · inference-privacy · software-supply-chain