Fee Law Versioning and Backward Compatibility Across Engine Releases
Research status: Engineering philosophy based on stated product architecture and reported laboratory evidence. New examples and tests are illustrative and have not been executed.
Two independent version axes
A software version describes executable behavior. A fee-law version describes an authenticated wallet agreement. Conflating them makes an ordinary upgrade an economic migration. WAB's stated architecture keeps the birth law permanent and applies newly issued laws only to later wallets. The engine is an interpreter of the verified agreement, not its author.
Compatibility matrix
A proposed release test uses wallets A and B born under different laws, and runtimes E1 and E2. Record which combinations are supported, restore each supported wallet and compare policy identity before and after restart. A new runtime must not silently fall back to its default law. An older runtime may be unable to understand a later policy; that is a compatibility limitation, not permission to reinterpret it.
Stable semantics
Preserving a signature is insufficient if the interpreter changes rounding, amount meaning or fee allocation. Maintain golden transaction-accounting vectors for each supported law, including boundary values and fee-budget exhaustion. A deterministic reference evaluator can help detect semantic drift, but must not become an alternative signing authority. Test against actual engine outputs and independent transaction decoding.
Recovery and observability
The recovery path must recover the original law rather than derive it from the current date or a global tariff. Health and identity discovery should expose law identity only where the contract permits it, not introduce fee fields into unrelated endpoints. A developer can keep a separate audit record of the policy agreement and transaction evidence without storing authorization secrets.
Release decision
A proposed gate is to reject a release if it changes the interpretation of a supported historical law. If an old policy cannot safely be executed, surface the limitation and document recovery options. This article specifies a testing strategy, not a claim that every historical version has already passed it.
