# Contract
Arvin asks whether a runaway agent run can be halted in stages, with every stage named and the reason recorded, before its spend or its actions pass the point where stopping still matters. This file is the stub contract for the setup slice. It states the setup obligations only, and each obligation is stated so it can fail.
Obligation S1 covers seed integrity. The seed files README.md and LICENSE and .gitignore are present from the first commit, and every later change lands through a pull request rather than a direct push to main. This is covered by inspection of the repository history and by the status section of the README.
Obligation S2 covers the local gate. The test suite runs with cargo test plus the codepoint scan run through cargo, and running it needs no paid service, and the continuous integration workflow runs the same commands as the local gate. This wording is amended by the Rust port that opens Round 2. The setup wording named python and pytest alone and no network access, and the amendment replaces it under the program language ruling of 2026-11-02, which made every repo in the program a Rust crate. The amended gate keeps the no paid service term. It drops the no network access term for one stated reason, a first build fetches the crate dependencies from the public crates.io registry, and the tests themselves then run with no network access. This is covered by the tests in the tests folder and by the workflow in the .github folder.
Obligation S3 covers honest status. The README status section records the seed state and the contract state truthfully and it reports closed perfection rounds as 0 of 100 until a full cycle of work and audit and review and red team and approval has closed. This is covered by inspection of the README against this contract and against the repository history.
Obligation S4 covers synthetic content only. Every fixture and every example in this repository is synthetic and written for this repo, and no file carries a real trace or a real transcript or a real name or any private operational detail. This is covered by inspection of the repository contents before any push.
Obligation S5 covers the canonical agents file. The part of AGENTS.md above the marked line is identical to the canonical template for the program, and only the repo annex below the marked line differs for deadman. This is covered by tests in the tests folder that pin the SHA-256 digest of the part above the marked line and check the marked line and the annex.
The full contract for arvin is the first build act of this repo and it lands with the first slice. This stub is not the full contract, and no feature claim for arvin rests on this stub.
Rename note, recorded on 2026-11-05. This repo and the tool it specifies were renamed from deadman to arvin on David's ruling of 2026-11-05. The crate and the binary and the Python package carry the new name, and prose that names the tool names arvin. Three identifiers stand unchanged as historical identifiers, the state format name deadman-state/1, the obligation numbers DM-1 to DM-20 together with every citation of them, and the stage vocabulary of DM-1. The words and the numbers of every obligation in this file stand exactly as they stood before the rename.
## Round 1 amendment, the staged cutoff, slice 1
The full contract the stub promised is this amendment. It names the stub status text above as the earlier record and supersedes it, and the stub text stands so the record shows both. Obligations S1 to S5 stand unchanged above. The obligations for the staged cutoff are DM-1 to DM-12, and each one is stated so it can fail.
### Probe preamble
The obligations below rest on behaviour probed on this machine under Python 3.12.3, not on habit.
Probe one, flock. Eight processes each ran fifty read and modify and write cycles on one shared counter file, holding an exclusive flock on a lock file across each cycle. The counter finished at exactly 400 with zero lost updates. A nonblocking exclusive acquire against a lock another process held raised BlockingIOError. After the holding process was killed, the lock was acquirable again within two milliseconds, so a dead holder cannot wedge the switch.
Probe two, rename. One writer published 300 versions of a JSON document by writing a temporary file in the same directory and renaming it over the target with os.replace. Three reader processes read the document 164033 times in total during the run and saw zero torn or partial documents and zero documents older than one already seen. The state file therefore publishes by rename from a temporary file in its own directory, which also keeps the rename on one device.
### The obligations
Obligation DM-1 covers the stage vocabulary. The stages stand in one exact order, none and warn and throttle and cut tools and cut budget and kill, and no stage is ever renamed, reordered, added, or dropped by this slice. Every stage the switch reports and every stage the state file records is one of those six names. This is covered by tests that read the vocabulary from the code and drive a run through every stage and read each name back from the state file and from the command line.
Obligation DM-2 covers signal intake. A run is opened by registration with a run id, a proof interval in seconds, a missed proof limit, and a soft ceiling and a hard ceiling in the host's own spend units, either of which may stand unset. The defaults are a proof interval of 60 seconds and a missed proof limit of 5, and a run may declare its own values at registration. A proof records a progress proof for a run at an instant with a short note, and the last proof instant of a run never moves backwards, so a late proof carrying an older instant changes nothing about freshness. Freshness before the first proof counts from the registration instant. A spend report adds a nonnegative amount to the accumulated spend of a run. Proofs and spend reports change signals only, and the recorded stage moves only at an evaluation or at a pull. This is covered by tests that register runs with default and declared thresholds, post proofs out of order, and read the accumulated spend and the untouched stage back.
Obligation DM-3 covers the warrants. At any evaluation instant the warranted stage is the highest stage any live trigger warrants. An operator pull warrants kill. Accumulated spend at or above the hard ceiling warrants kill, and accumulated spend at or above the soft ceiling warrants at least cut budget, with equality counting as at the ceiling in both cases. Missed proofs warrant by whole missed intervals past the last proof instant plus the proof interval, where an evaluation exactly at a deadline misses nothing, one missed interval warrants warn, two warrant throttle, three warrant cut tools, four warrant cut budget, any higher count below the missed proof limit still warrants cut budget, and a count at or above the missed proof limit warrants kill. The reasons an evaluation reports are drawn from exactly four names, operator pull and hard ceiling and soft ceiling and missed proofs, and name every trigger live at that instant. This is covered by tests that drive each trigger alone and in combination at injected instants, at the exact ceiling amounts and at the exact deadline instants and one second past them.
Obligation DM-4 covers movement and the latch. The recorded stage rises immediately to the warranted stage at an evaluation, jumping stages when a hard trigger warrants the jump. The recorded stage falls only by hysteresis, where two consecutive evaluations at which the warranted stage stands below the recorded stage step the recorded stage down by exactly one stage, and the count of consecutive lower evaluations resets whenever the warranted stage meets or rises above the recorded stage. The kill stage never falls and never unlatches, whether it was reached by a pull or by a trigger. This is covered by tests that hold a stage through one clear evaluation, step it down on the second, reset the count with a fresh warrant, and drive a killed run with clear evaluations and fresh proofs.
Obligation DM-5 covers the closed run. A killed run is closed. Proofs and spend reports posted to a closed run are recorded as no-ops that change no signal and no stage, because late reports from a dying run are expected traffic and not errors. A pull against a closed run changes nothing and records nothing. An evaluation of a closed run reports kill and changes nothing. The document of a closed run grows only by the recorded no-op reports. This is covered by tests that post proofs and spend and a pull and evaluations to a killed run and read the signals and the log back.
Obligation DM-6 covers time as an input and determinism. Every library operation but one takes the current instant as an explicit argument, and the command line passes the wall clock in UTC and offers no flag that overrides it. The log operation is the one exception, and it returns the recorded log without evaluating anything and so takes no instant. The library reads no wall clock, and the deterministic operations make no model calls, and the one model entry point of DM-13 calls only the transport the caller supplies, and no randomness reaches a stage or a reason or a record or the state bytes, and the random draws the library makes stand outside that scope and name the temporary file a publication writes before it is renamed over the state file and the temporary payload file a subprocess consultation writes before its helper runs. Given the same state file and the same instant, an evaluation returns the same stage and the same reasons and appends the same record. This is covered by tests that repeat evaluations against copies of one state file and compare the reports and the records, and by a command line test that the surface carries no time override flag.
Obligation DM-7 covers the decision log. The decision log of a run lives inside the same state document as the run, so a stage change and its record publish in the same rename and can never disagree. Log records carry a sequence number that starts at 1 for the registration record and grows by 1 with no gaps, a kind drawn from registered and proof and spend and pull and stage, the instant of the event, the recorded stage standing after the event, the reasons drawn from the four trigger names of DM-3, and three reserved fields named model name and model confidence and fallback taken. An evaluation appends a stage record whenever the recorded stage changes and whenever a live trigger warrants the stage the run already stands at, and an evaluation that only advances the fall count of DM-4 appends nothing, and an evaluation at the fall decision seat of DM-13 that does not step the stage down appends a hold record carrying the consultation, as DM-17 states. In this slice the three reserved fields stand empty in every record the deterministic operations write, and the model fields of a record stand under DM-17 and DM-18, which retire the refusal the earlier slices stated here for stage records and keep it in force for every other record kind. This is covered by tests that walk a run through registration and proofs and spend and a pull and evaluations and read the log back at each step, and by tests that read the written state file and check the reserved fields stand empty.
Obligation DM-8 covers strict reading. The state is one JSON document under the format name deadman-state/1, and reading it refuses duplicate keys at any level, a wrong format name, a wrong type in any field, and any unknown field, each as a typed corruption error and never a traceback and never a silent repair. The reading also refuses a stage outside the vocabulary of DM-1, a reason outside the four names of DM-3, a log sequence with a gap, a soft ceiling standing above a hard ceiling, and a killed flag that disagrees with the recorded stage. A state file that cannot be read blocks every operation, reads included, and no operation resets it or writes over it. This is covered by a damage battery that corrupts the document in each named way and checks the error type and that the state bytes stand unchanged afterwards.
Obligation DM-9 covers name and value validation. A run id is one component of ASCII lowercase letters and ASCII digits and hyphens and underscores, starting and ending with an ASCII lowercase letter or an ASCII digit, at most 64 characters long, and any other shape is refused at every operation that takes the id. A proof interval is a positive integer number of seconds and at most 86399999999999 seconds, the widest interval the runtime can hold as a duration, and an interval above that bound is refused at registration. A missed proof limit is a positive integer and at most 1000000, and a stored missed proof limit above that bound is refused on reading as corruption, a ceiling is a nonnegative integer or unset and at most 1000000000000000000, and a stored ceiling above that bound is refused on reading as corruption, a soft ceiling standing above a hard ceiling is refused at registration, a spend amount is a nonnegative integer and at most 1000000000000000000, the accumulated spend of a run never stands above that same bound, a stored spend total above the bound is refused on reading as corruption, and a proof note is a string of at most 200 characters, and any other value is refused before any state changes. This is covered by edge tests on both sides of each part of each rule.
Obligation DM-10 covers atomic publication. Every mutating operation runs its whole read and evaluate and modify and write cycle under one exclusive flock on the lock file beside the state file, and the new state is published by renaming a complete temporary file over the state file. Parallel proofs and spend reports against one run lose no updates, and parallel evaluations of one run at one instant report one stage and append no two different outcomes. This is covered by concurrency tests that race processes on proofs and spend against one run and race evaluations at one escalation instant.
Obligation DM-11 covers registration and missing state. Registering a run id that already stands in the state file fails, whether the standing run is live or closed, so one id never carries two runs and a closed run is never reopened under its id. Every operation against a run the state file does not hold fails as not found. When the state file does not stand, the log of any run fails as not found and creates nothing, and the first mutating operation creates the state file and any missing parent directories and then proceeds. This is covered by tests that register one id twice, drive every operation against an unknown id, and read and then mutate against a path where nothing stands yet.
Obligation DM-12 covers the slice 1 limits, stated so a later slice retires them by amendment rather than by drift. The switch decides and records and does not enforce, and no process is signalled or throttled or killed by this slice, because hosts poll the stage and enforce it against their own processes. Proof content is judged by no deterministic code, and a wedged agent posting empty proofs on a timer defeats the freshness checks of this slice exactly as before, and content reaches a decision only as picture input to the advisory model of DM-13 to DM-20, which holds no switch. The deterministic evaluator stands as DM-2 to DM-5 state it, and stage_with_model is the one entry point that consults a transport under DM-13 to DM-20. The state lives on one machine in one file for callers who share the filesystem, with no network service and no dashboard. A killed run is never reset automatically, and an operator starts a new run under a new id. This is covered by inspection of the slice against this list.
### Repair note, the Round 1 review fixes
This note records the repair pass that answered the three reviews of this slice, and it stands as part of the contract record for the round.
The red team found that a stored log record whose kind holds a list or an object escaped reading as an unhandled TypeError, because the kind was tested for membership in the recorded kinds before its type was checked, while DM-8 promises a typed corruption error for a wrong type in any field. The reader now checks the kind is text before the membership test, and the damage battery carries both shapes.
The red team also found that extreme values escaped the typed errors this contract promises. A proof interval past the widest duration the runtime can hold was accepted at registration and raised an unhandled overflow at evaluation, an instant whose UTC form stands outside the recordable range raised the same overflow while it was formatted for the record, and a spend amount carrying thousands of digits raised an unhandled conversion error at publication while a stored spend total of that size raised it again at reading. DM-9 now states the proof interval ceiling and the spend bound. Registration refuses an interval above the ceiling as a request error, a spend report refuses an amount above the bound and any report that would carry the accumulated spend past it, the reader refuses a stored spend total above the bound as corruption, and the instant formatting and the missed proof arithmetic convert any overflow that remains into a request error, so no accepted input raises a raw overflow or a raw conversion error later.
DM-6 stands amended in two places by this pass. Its opening claim now names the log operation as the one operation that takes no instant, because the log returns recorded state without evaluating anything. Its randomness claim now covers only what reaches a stage or a reason or a record or the state bytes, and the draw that names the temporary file of a publication stands named inside DM-6 as the one draw outside that scope.
Two observations from the red team are recorded here as named residuals for later slices, accepted for this slice and not repaired by this pass. Evaluation instants are host inputs and nothing in this slice orders them, so the instants recorded in a log are not monotonic across evaluations, and a host that evaluates out of order keeps a log that reads out of order. The reader validates every field of every record and of the standing run, and it does not cross validate the history in the log against the standing fields of the run, so a document whose recorded history disagrees with its standing stage is read as it stands.
A follow-up to this pass closed the same escape in the integer registration fields the repair had left unbounded on the write side. A missed proof limit or a soft or a hard ceiling carrying thousands of digits passed the field validation and raised the raw conversion error inside publication, while a stored value past a bound was refused only for the spend total. DM-9 now states the missed proof limit bound of 1000000 and the ceiling bound of the spend bound. Registration refuses a missed proof limit above its bound and a ceiling above the spend bound as request errors, with the value in each refusal message guarded so a value too large to print cannot raise inside the refusal itself, and the reader refuses a stored missed proof limit or a stored ceiling above its bound as corruption, matching the stored spend total.
## Port amendment, the Rust conversion opening Round 2
Amendment, recorded with the Rust port that opens Round 2. The obligations DM-1 to DM-12 above stand unedited, and the implementation that carries them changes. The Python package of Round 1 is replaced by a Rust crate. The library carries the state file, the signal intake, the deterministic stage evaluator with its hysteresis, the spend accounting, and the decision log. The arvin binary carries the command line with the Python surface, the same subcommands and stdout lines and error lines and exit codes, and its argument parser mirrors the Python parser down to its usage texts and its parser error messages and its acceptance of unambiguous option prefixes. The codepoint scanner is ported from the fleet template in std only Rust. Obligation S2 is amended inside its own paragraph above, in the form the conversion of deadbolt set, with the program language ruling of 2026-11-02 named as its reason.
The equivalence standard for the port is threefold. The Round 1 test suite is translated pin for pin into the Rust suite, at the counts the Python suite collects on main, 101 protocol pins and 21 setup pins, counted by collection before the port was written. Ten state files written by the Python implementation stand frozen in the tests fixtures folder with a manifest that records their hashes and their decision log lines and their stage truths at named instants, and the Rust suite reads each one and checks the log and the stage against the record, replays every production operation and compares the written state byte for byte, and continues three of the fixtures under Rust against continuation files the Python implementation produced from the same fixtures. A fixed battery of command line shapes is driven side by side under the Python implementation from main and under the Rust port, with exit codes and stdout and stderr and the state bytes compared shape by shape, and the comparison is recorded in the gate report of the port pull request.
The port adds a thin PyO3 binding over the crate as the round's second slice, landed separately after the port, because agent hosts that poll the switch for a stage are often Python, while the port pull request itself carries no binding and the Rust suite remains the gate.
Reshapings are named here, because the obligations and the observable behaviour are the spec and the shape of the Python code is not. The strict reader is a hand written reader over the document bytes in place of the Python json module. It refuses a repeated key at any level as the key arrives, because a general reader that keeps the last value of a repeated key and says nothing cannot carry DM-8. It holds an integer of any width as its canonical decimal text, so the bounds of DM-9 judge the same values the Python reader judged, and it applies the same 4300 digit parse limit the Python reader applies to an integer literal. It decodes the byte encodings the Python reader detects, UTF-8 and UTF-16 and UTF-32 with and without a byte order mark, by the same first bytes rule the Python reader uses. It bounds the nesting depth it will read, and a document nested past the bound is refused as not parsing. The document writer is hand rolled over the fixed shape of the format and reproduces the Python byte layout, its indentation and its construction key order and its escaping of non ASCII text, because the stored bytes are part of the recorded behaviour. Instants are parsed and written by a hand written reader and writer in place of the Python datetime machinery. The stored instant family the reader accepts is the family the Python fromisoformat accepted, as probed against the Python runtime before the port was written. It takes extended and basic and week calendar dates, any single character as the separator between the date and the time, a fraction written with a dot or a comma and truncated past six digits on the time and on the offset, and offsets whose hour and minute and second components normalize inside a day. An offset fraction counts in exactly the cases the Python parser counts it, whenever some whole component of the offset is nonzero, and is dropped in the one case the Python parser drops it, an offset whose whole components are all zero. The reader refuses a naive instant and an unparseable one with the corruption messages the Python reader raised. Names and caller integers are validated through one value level validator that the typed operations and the command line converters and the strict reader all share. The Python implementation validated the values its callers handed it at runtime, and the Rust type system makes most wrong shapes unrepresentable at the typed surface, so the validator is where the refusal lives for the shapes that remain, and the translated pins drive it directly for those shapes. The three process race pins are restaged on operating system processes that reenter the test binary through an environment gate, the shape the language offers for the same claims, and the counts they assert are the counts the Python pins asserted.
Two behaviours are deliberate divergences from the Python original, recorded here with their reasons. The lock a command holds is verified as the file standing at the lock path. Neither the Python original nor this port as first built checked that identity, so deleting the lock file while an operation worked could let a second operation lock a fresh file and publish over the first, erasing a recorded operation without a trace, against the atomicity DM-10 states unconditionally. After the lock is taken its device and inode are checked against the path, with a bounded retry while the path settles, and the identity is checked again immediately before a publish. A command whose held lock is not the file at the path aborts with a failure and leaves the state byte-identical. The invariant is that an operation which exits 0 is recorded, and an operation whose record could be silently erased exits 1 instead. The port closes the hole rather than inheriting it silently. The publish opens its temporary file exclusively, so a plant standing at the temporary name, a symlink to a victim file among them, fails the publish instead of being followed and written through, where the Python open truncates what stands there. The temporary name carries the process id and a random draw from the operating system source, one of the draws DM-6 scopes outside the state bytes, so the name cannot be predicted in practice and the difference meets only a staged plant.
Two further differences are recorded here as safe direction divergences. The detail text of a document that does not parse, and of a state file that cannot be read, comes from the parser and the system layer each implementation carries, so the words after the shared message head differ while the error classification and the exit code are the same. A stored string carrying an unpaired surrogate escape is read with the replacement character where the Python reader holds the surrogate itself. Every field such a string can stand in is refused by the reading validation of both implementations, so only the rendering of the value inside a refusal message differs. A value carrying a codepoint with no assigned character renders as the character itself where the Python repr escapes it, because the unassigned ranges cannot be enumerated inside the crate. That difference is confined to the same place, the rendering of a value inside a refusal message, and the refusal itself and its exit code are the same.
## Round 2 amendment, the decision log cross validation
This amendment answers the second residual the Round 1 repair note recorded, the reader validating every field of every record and of the standing run without cross validating the history in the log against the standing fields of the run. It extends the decision log obligation DM-7 and the strict reading obligation DM-8, and every earlier obligation stands byte identical above. The format name deadman-state/1 does not change, no stored field changes, and no writer changes, and the amendment strengthens the reader only, so a document the writers could not have written is refused as corruption where the join below determines it, and a document the writers could have written reads exactly as it read before.
The join replays the log of each run in sequence order. In the replay a proof record and a spend record stand live while no earlier record of the run stands at kill, and a proof record and a spend record standing after the first record at kill stand as the no operation records of a closed run under DM-5. The replay carries the stage the log has reached, the latest instant among the live proof records, and whether a live spend record stands before and after each point of the log.
The standing stage agreement. The standing stage of a run stands equal to the stage of the last record of its log, and the reading refuses a run whose standing stage differs from the stage its log ends at.
The record stage succession. A proof record and a spend record stand at the stage the replay had reached before them, because neither operation moves the stage. A registered record stands only as the first record of a log, because registration opens a run once and no writer appends a second registration to a standing run. A stage record records one passage an evaluation writes, a rise to a higher stage, a hold at the stage the run already stands at where that stage is not none, or a step down by exactly one stage, and no evaluation records any other passage in one record. Once a record stands at kill, no stage record and no pull record follows it, because a closed run records only proof records and spend records as no operations, and every record after the first record at kill stands at kill.
The last proof agreement. The standing last proof instant of a run stands equal in instant to the latest instant among its live proof records, and it stands unset where the log holds no live proof record, and the reading refuses a standing last proof instant no live proof record carries and a standing last proof standing unset where a live proof record stands. The agreement judges instants and not spellings, so two spellings of one instant stand equal for this check.
The spend existence agreement. The standing spend total of a run stands at 0 where its log holds no live spend record, because spend enters a run only through a live spend report, and the reading refuses a nonzero standing spend total no live spend record could carry.
The stage record reasons. A stage record names its reasons in the order the warrant of DM-3 reports them, hard ceiling and then soft ceiling and then missed proofs, and it never names operator pull, because an evaluation never reports a pull and a pull stands in the log as its own record kind. A stage record names missed proofs exactly where at least one whole proof interval stands missed at the instant of the record, counted under DM-3 from the latest live proof instant the replay had reached or from the registration instant where no live proof stands yet, and it names no missed proofs where no whole interval stands missed. A stage record names a ceiling exactly where the spend standing at the record is determined against that ceiling and reaches it, and it names no ceiling where the spend standing at the record is determined against that ceiling and falls below it or where the run holds no such ceiling. The spend standing at a record is determined where no live spend record stands on one side of it, standing at 0 where no live spend record stands before it and standing at the standing spend total where no live spend record stands after it, and where live spend records stand on both sides of a record the spend there is determined only against a ceiling the standing spend total itself falls below, because earlier spend cannot pass the standing total. A ceiling a stage record does not name stands unreached by the spend at the record wherever the run holds that ceiling, because the warrant names every live trigger, so the ceilings a record names and the ceilings it does not name bound the spend at the record from both sides, and the warranted stage agreement below judges the stage against the spend range those bounds leave.
The warranted stage agreement. The stage of a stage record stands among the stages the triggers at its instant can warrant for the run, where the missed proof count at the instant fixes the missed proof warrant exactly under DM-3, and the spend warrant ranges over the warrants the spend range at the record allows, no ceiling warrant where the spend there falls below both ceilings, a cut budget warrant where the spend there can reach the soft ceiling without reaching the hard ceiling, and a kill warrant where the spend there can reach the hard ceiling. A rise record and a hold record stand at a stage outside that set where no allowed spend and the missed proofs together warrant the stage they record, and the reading refuses them. A step down record stands only where some allowed spend and the missed proofs together warrant a stage below the stage before it, and the reading refuses a step down where every allowed warrant stands at or above the stage before it.
The clear streak bounds. The standing clear streak of a run stands at 0 or at 1, because the evaluation that would carry it to 2 steps the stage down and resets it inside the same operation, and it stands at 0 where the standing stage is none or kill, because no fall count accrues at none and reaching kill resets it. The reading refuses a standing clear streak of 2 or more and a nonzero standing clear streak at none or at kill.
The named boundaries of the join stand here, each with the writer evidence that bounds it. A spend record carries no amount, so the amounts of the spend records of a run stand nowhere in the document, and the standing spend total of a run holding a live spend record is pinned by no sum and is judged only by the bounds of DM-9, and the spend standing at a record between live spend records on both sides is pinned only as the range above states. The exact standing clear streak of a run at a stage other than none and kill is not determined by its log, because an evaluation that only advances the fall count appends no record, so one log stands honestly with a streak of 0 and with a streak of 1. The standing proof interval and missed proof limit and ceilings of a run stand in no record, so the join takes them as it finds them and judges the records against them, and nothing in the log judges them in return, apart from the registration instant the first record has always carried. The instants of records stand unordered across evaluations, as the repair note recorded, so the join imposes no order on record instants and counts freshness from the replay in sequence order. The last proof agreement judges instants, so a spelling of the standing last proof instant that differs from the spelling of the proof record carrying that instant reads clean where the instants agree, and pinning the spelling stands outside this amendment. The reserved model fields stand as DM-7 already states them, empty in every record and refused on reading where a record carries a value in one of them, and that refusal stands in the per record reading and the join neither adds to it nor lifts it, because no writer of this slice writes a model value and no standing model fact stands in a run to join a record against.
## Round 3 amendment, the decision model escalation slice
This amendment opens Round 3. It names the Round 1 amendment and the port amendment and the Round 2 amendment as the earlier record, and it answers the first residual the Round 1 repair note recorded, the unordered evaluation instants the owner assigned to this round on 2026-11-03 as residual O1. It leaves obligations DM-1 to DM-12 standing except where it edits a named sentence of DM-6 and DM-7 and DM-12 in the open, in the paragraphs above, and it adds obligations DM-13 to DM-20, each stated so it can fail. The format name deadman-state/1 does not change. The last paragraph of the Round 2 amendment states that the reserved field refusal stands in the per record reading with the join neither adding to it nor lifting it, and DM-18 supersedes that sentence for stage records from this amendment forward, because the slice that writes model values has landed and the join must judge what the writer writes. One sentence of the design for this slice is corrected in the open here. The design named the last three proof notes among the facts the model picture renders, and the landed document records no proof note text, because the record shape of DM-7 carries no note and the proof operation validates a note and records none of it. DM-14 therefore states the rendering of that fact as it stands, and the narrative a proof note would have carried reaches the model only through the host context DM-14 bounds, the channel this slice builds for narrative the document does not hold.
Probe three, subprocess lifecycle, probed on this machine during the repair pass of this slice and recorded here because the bound DM-20 states rests on it. A shell helper that started a five second sleep as its own child and waited on it was killed one second in, and its stdout pipe reached its end only at five seconds, when the child exited, so killing a helper does not close a pipe its children hold. A shell helper that wrote its reply and exited at once while a background child held its stdout left the reply standing complete in the pipe, and the pipe still reached its end only at three seconds, when the background child exited, so even a finished helper with a finished reply can stand behind a pipe that has not closed. A reader that waits for the end of the pipe without a bound therefore waits on the longest lived holder of the pipe and not on the helper, and the transport bounds its wait for the drained reply for exactly this reason.
Obligation DM-13 covers the model seat. The library offers one model entry point beside the stage operation, and the stage operation itself consults nothing and behaves exactly as DM-2 to DM-5 state. The model entry point evaluates as the stage operation does and consults a caller supplied model transport at most once in an evaluation, and only where the run stands live, and a transport stands configured, and the recorded stage is warn or throttle or cut tools, and either the warranted stage stands equal to the recorded stage or the warranted stage stands below the recorded stage with the standing clear streak at 1 and the evaluation instant not stale under DM-19. No other evaluation consults the model, and no pull and no registration and no proof and no spend consults it, and the consultation happens only after the warrant of the evaluation is computed, so a consultation never delays a rise the warrant orders. A consultation and the stage record that carries it are one act, so every consultation stands recorded and no model value stands in the document outside the record of a consultation. This is covered by tests that drive evaluations at every stage and every warrant relation with a scripted transport and count the consultations and read the records back.
Obligation DM-14 covers the vignette. The picture the model receives is one text rendered by the library from the run and its log at the evaluation instant, and the rendering is a pure function of the document and the instant and the optional host context, and it states the standing stage and the warranted stage and the live reasons and the missed proof count and the missed proof limit and the proof interval and the whole seconds since the last proof or since registration and the accumulated spend and each standing ceiling with its relation to the spend and the standing clear streak and, where the evaluation stands at the fall decision seat of DM-13, the statement that this evaluation is the second of the two consecutive clean evaluations the fall requires, and the last five stage records with their stages and reasons and ages and the counts of proof and spend records since the standing stage was entered and the statement that the decision log records no proof note text, the notes of DM-2 standing recorded nowhere in the document, and where a fact does not stand the rendering says so in words. The model entry point accepts an optional host context text of at most 2000 characters and refuses a longer one as a caller error before any state changes, and a supplied context is rendered into the vignette marked as host supplied and is never written into the state document and never quoted into the log. The rendering never carries the run id and never carries the state path and never carries any part of any other run and never carries the confidence bars of DM-15 and never carries any credential or transport detail. This is covered by tests that pin the rendered text byte for byte on constructed states with and without a context and with each fact standing and not standing, and that pin the completion statement standing at the fall decision seat and not standing at the held seat.
Obligation DM-15 covers the combination rule. The escalation bar is the constant 0.60 and the de-escalation bar is the constant 0.85 and the de-escalation bar stands above the escalation bar, and the bars live in the library and in this contract and in no stored field and no caller input. Where the warranted stage stands equal to the recorded stage at a stage the seat of DM-13 covers, a verdict of escalate at or above the escalation bar raises the recorded stage by exactly one step and no verdict ever raises a stage by more than one step or raises any stage to kill, and a verdict of escalate below the bar and a verdict of hold and a verdict of de-escalate at that seat leave the stage standing. Where the warranted stage stands below the recorded stage and the standing clear streak stands at 1 and the evaluation instant is not stale, a step down happens only where the verdict is de-escalate and the confidence stands at or above the de-escalation bar and the warranted stage stands below the recorded stage and the missed proof warrant at the instant stands below the recorded stage and the accumulated spend stands below each standing ceiling, and the step down is the step of DM-4, one stage with the streak reset. Where that step down is not endorsed, the stage stands and the streak resets to zero and the evaluation appends the hold record of DM-17 carrying the consultation. No model output ever writes the clear streak directly and no verdict shortens the two evaluation wait of DM-4. This is covered by deterministic tests at both bars from both sides and at each seat, and at the fall seat with the verdict failing alone and with the confidence failing alone, and the missed proof predicate and the spend predicate cannot fail alone at the fall seat because the warranted stage the seat requires is the highest of its axes and already stands below the recorded stage on both, and a de-escalate verdict at full confidence at the held seat pins the stage holding while the signals that raised it stand uncleared.
Obligation DM-16 covers the fallback classes. A consultation ends in a verdict or in one fallback class drawn from exactly four names, abstention and call failed and silence and malformed reply, where abstention names a well formed reply that reports no decision and call failed names a transport failure with nothing parsed and silence names a completed call whose reply body stands empty and malformed reply names a body that does not parse to the reply shape or parses to more than one answer or names a model other than the model the transport stands pinned to or carries a confidence or a score outside its declared range. Every fallback class leaves the stage standing, and at the fall decision seat every fallback class spends the streak as DM-15 states. A verdict under its bar is no fallback class and stands recorded as a verdict, and an evaluation with no transport configured takes no fallback class and stands as the deterministic evaluation alone. This is covered by tests that script each class through a fixture transport at both seats and read the records back.
Obligation DM-17 covers the model fields of the decision log. A log record written by this slice stands in the landed eight key shape, and a stage record that carries a consultation stands in an extended ten key shape that adds two fields named model_verdict and model_score beside the three reserved fields, and no other key shape is written. The five model fields of a record stand in one of three patterns and no other. All five stand null. Or the verdict pattern stands, where model_name carries the name of the model that answered and model_verdict carries one of hold and escalate and de-escalate and model_confidence carries the confidence of the verdict and model_score carries the runaway likelihood score and fallback_taken stands null. Or the fallback pattern stands, where model_name carries the name of the model the transport stands pinned to and fallback_taken carries one of the four classes of DM-16 and the verdict and confidence and score fields stand null. A model confidence and a model score are each a JSON number standing in the range from 0 to 1 inclusive. A model name is a nonempty string of at most 128 characters. Model fields stand populated only on stage records, and the deterministic signal state of a consultation is carried by the landed fields of its record, its stage and its reasons and its instant, and by no snapshot field. The score of a consultation stands recorded whether or not its verdict applied. This is covered by tests that write consultations of every pattern and read the state file and check the fields and their shapes directly.
Obligation DM-18 covers the reading of model records and the extension of the join. The refusal DM-7 states, of a document carrying a value in a reserved field, stands retired for stage records and stands in force for every other record kind, and a record of any other kind standing in the extended shape is refused, and a stage record stands readable in the eight key shape with its model fields standing null by absence or in the ten key shape where its five model fields stand in one pattern of DM-17 with each value in its stated shape, and any other population is refused as corruption. The join of the Round 2 amendment extends to model records as follows. A record whose stage stands above the stage before it and no higher than the highest stage the triggers at its instant warrant stands only with its model fields null, because no consultation stands behind a deterministic rise. A record whose stage stands exactly one step above the stage before it stands only with the verdict pattern of DM-17 carrying escalate at or above the escalation bar, and only where the stage before it stands among the stages the triggers at its instant can warrant and stands at a stage the model seat of DM-13 covers, and the step lands no higher than cut budget. A record that steps down stands with its model fields null under the landed step down agreement, or with the verdict pattern carrying de-escalate at or above the de-escalation bar, and under no other pattern. A hold record may carry any pattern of DM-17, and the join judges a hold record carrying a model pattern for field coherence and stage succession only, because the fall count a consultation answered stands in no record and cannot be re-derived, and that boundary stands named here in the manner of the boundaries of the Round 2 amendment. A record with null model fields is judged exactly as the join judged it before this amendment in every particular. This is covered by a damage battery that corrupts model records in each named way and checks the refusal and that the state bytes stand unchanged.
Obligation DM-19 covers stale evaluations and closes residual O1. The reference instant of a run is the latest of its registration instant and its standing last proof instant where one stands and the instant of its latest stage record in sequence order where one stands, and an evaluation whose instant stands before the reference instant of its run is stale. A stale evaluation computes its warrant and applies its rises and appends its records and returns its report exactly as a fresh evaluation, and it earns no fall credit, so it does not advance the clear streak and does not complete it and does not step a stage down and does not reset the streak, and the fall decision seat of DM-13 stands closed to it. The join refuses a step down record whose instant stands below the reference instant its preceding records establish. The boundary the Round 2 amendment names, that record instants stand unordered, stands narrowed by this obligation for step down records alone and stands in force for every other record. Staleness is judged against the recorded timeline of the run and never against any wall clock. The sentence of DM-18 that a record with null model fields is judged exactly as the join judged it before this amendment stands with this one exception, the floor of this obligation, which stands on every step down record whatever its model fields carry. That floor is a deliberate break in reading, and a document written before this amendment that carries a step down record below the floor its preceding records establish is refused under this obligation rather than read as it stood before it, and the reading equivalence the closing paragraph of this amendment states stands for the frozen fixture corpus and for every document whose step down records stand at or above their floors. This is covered by tests that evaluate at past instants in each combination and read the stage and the streak and the log back, and by damage tests on step down records stamped below their floor.
Obligation DM-20 covers transport and determinism for this slice. The library performs no network access and holds no credential and reads no wall clock, and a model transport is a caller supplied object with two operations, one operation that takes the rendered vignette and returns a parsed verdict or a fallback class of DM-16, and one operation that names the model the transport stands pinned to, which the fallback pattern of DM-17 records because a fallback carries no reply a name could be read from, and which the writer refuses before any consultation where the name stands outside the recordable shape. Given the same state document and the same instant and the same transport reply, the model entry point returns the same report and appends the same record, and the reply stands in the determinism claim of DM-6 in the same place the instant stands, as an explicit input. The consultation runs inside the one exclusive lock of DM-10, bounded by the timeout the transport enforces, because the seat predicate is decided from the state the lock protects and a call made outside the lock would judge a state that may have moved. The command line surface and the binding surface carry the model surface of this obligation, and each surface reaches the model entry point and no other evaluation path, and neither surface renders a vignette or parses a reply or applies a bar of its own. On the command line the stage command stays the deterministic operation where no judge option stands named. Where a judge program stands named it builds the subprocess transport over that program with the arguments and the timeout the caller names, the timeout standing at the default the library publishes where none is named. Where a judge fixture file stands named it builds the fixture transport from the consultation the reply body the file holds parses to under the reply grammar of the subprocess transport, read against the pinned model name the library publishes, and the two judge forms never stand named on one call. The stage command prints the stage and the reasons in its standing lines and, where the evaluation appended a consultation record, the model of that record and its verdict and confidence and score or its fallback class. A consultation outcome never changes the exit code of the stage command, and a judge program that cannot be started stands as a call failure of the consultation and no error of the command, and an unreadable judge fixture file stands as a failure of the command before any state changes. In the binding the stage_with_model function takes the instant as the stage function takes it and names its transport in the same two forms, a judge program with its arguments and its timeout or a fixture dictionary describing one scripted consultation, and its refusals raise the typed exceptions of their classes carrying the messages the command line prints, and its report is the report of the stage function. The binding log records carry the five model fields with null standing for a record written before the escalation slice. On the same state document and the same instant and the same scripted reply, a consultation through the binding lands the same state bytes and appends the same record as the model entry point. This is covered by tests that repeat model evaluations against copies of one state file with one scripted reply and compare the reports and the records, and by surface tests on the command line and the binding, and by the binding replay of the recorded corpus through both of its transport routes against the recorded requests and the recorded records, and by the command line pins that witness the payload and the landing of a consultation against the library path at the instant the appended record names, and by the surface tests of the refusals and the exit codes and the printed lines of both surfaces.
One landed proof retires by name in this round and the retirement is stated here rather than left to fail mysteriously. The fixture continuation comparisons, which compare bytes the writer of this crate writes against continuation files the Python implementation produced from the same fixtures, cannot survive a deliberate record shape extension, and they retire with this amendment. The reading half of the fixture equivalence stands, that documents written before this slice read and operate under the extended reader, and it is re-proven against the extended reader in the gate of the pull request that lands this amendment. The pull request that lands this amendment is the offline half of the round. The recorded fixture corpus and the landing live evaluation of the design land in the second pull request of the round, inside the call budgets the roadmap states, and no live call stands behind any claim this amendment makes.
## Round 4 amendment, the doctrine sharpening
This amendment opens Round 4. It names the Round 1 amendment and the port amendment and the Round 2 amendment and the Round 3 amendment as the earlier record, and it answers the doctrine finding the closure record of Round 3 carries at R6, that across the recording window and the landing evaluation of that round the model recommended de-escalate zero times in 96 judgments and answered every one of the sixteen de-escalation shapes hold, where the supported reading is a doctrine communication gap, the judgment evaluation itself completing the pair of consecutive clean evaluations the fall requires and no part of the picture the model receives saying so. It leaves obligations DM-1 to DM-20 standing except where it edits the enumeration sentence and the coverage sentence of DM-14 in the open, in the paragraphs above, and it adds no obligation, because the fact it adds is one of the facts DM-14 already governs. The format name deadman-state/1 does not change and the document shape does not change and the record shape does not change.
The edit to the enumeration sentence of DM-14 stands as follows in its relevant part. The rendering states the standing clear streak and, where the evaluation stands at the fall decision seat of DM-13, the statement that this evaluation is the second of the two consecutive clean evaluations the fall requires, and the last five stage records with their stages and reasons and ages. The companion clause names the seat in the terms of DM-13 and names the rendered statement in the words the renderer renders, so the contract and the byte pins judge the same sentence. The edit to the coverage sentence of DM-14 stands as follows. This is covered by tests that pin the rendered text byte for byte on constructed states with and without a context and with each fact standing and not standing, and that pin the completion statement standing at the fall decision seat and not standing at the held seat.
Nothing else moves. The doctrine preamble of the vignette stands word for word, and the criterion text of the verdict labels stands word for word, because the rule the fall requires stood stated in both and the missing piece was a fact about the evaluation being judged and not a rule about falls in general, and a statement of that fact in unconditional text would stand false at the held seat, where the evaluation completes nothing and the fall is not before the judge at all. The bars of DM-15 do not move and the seats of DM-13 do not change and the combination rule does not change, because the claim of this amendment is that the mechanics were never the failure. The sentence renders on the seat the evaluation path has already decided and on nothing re-derived, so it can stand only where the fall decision seat stands, and the fall decision seat stands closed to a stale evaluation under DM-19, so the sentence never renders on a stale picture.
One landed consequence is stated here rather than left to surprise. The recorded fixture corpus of the Round 3 amendment is replaced in the same pull request as this amendment, because the replay pins compare the rendered payload against the recorded request byte for byte and no tree between the renderer change and the corpus replacement reads green. The replacement is one re-recording window over the same 48 states with the constructions unchanged, inside the recording budget the roadmap states, and the window carries its own cross check, that the request payloads at the held seat come out byte identical to the payloads they replace and the request payloads at the fall seat differ by exactly the one added line and nothing else, and any other result stops the window as a doctrine leak. The measurement of the replaced corpus stands as the pre-amendment measurement in the record of Round 3 and is never recomputed from replaced fixtures. A fresh landing evaluation over the same states, inside the evaluation budget the roadmap states, stands in the gate report of the pull request that lands this amendment, and its accuracy informs and never gates.
## Round 5 amendment, the DM-20 model surface
This amendment opens Round 5. It names the Round 1 amendment and the port amendment and the Round 2 amendment and the Round 3 amendment and the Round 4 amendment as the earlier record, and it answers residual R6 of the closure record of Round 4, which carries the DM-20 model surface for the command line and the binding as named future ground. It leaves obligations DM-1 to DM-20 standing except where it retires the absence sentence of DM-20 and states the surface discipline in its place and extends the coverage sentence of DM-20 in the open, in the paragraph above, and it adds no obligation, because the surfaces are the subject DM-20 already governs and a new number would split one subject across two obligations. The format name deadman-state/1 does not change and the document shape does not change and the record shape does not change.
The retired sentence stands in the record here. DM-20 stated that the command line surface and the binding surface carry no model surface in this slice, and that the command line stage command stays the deterministic operation, and that the binding log records carry the five model fields with null standing for a record written before this slice. That sentence is retired because the surfaces this amendment lands carry the surface it denied, and a contract that claims no surface exists on surfaces that carry one is false the day the slice lands. The surface text that stands in its place inside DM-20 opens with the sentence that the command line surface and the binding surface carry the model surface of this obligation, and it states the two judge forms of each surface and the print discipline of the stage command and the exit discipline and the refusal discipline of the binding and the determinism claim the binding replay proves. The extension to the coverage sentence of DM-20 stands as follows in its added part. And by the binding replay of the recorded corpus through both of its transport routes against the recorded requests and the recorded records, and by the command line pins that witness the payload and the landing of a consultation against the library path at the instant the appended record names, and by the surface tests of the refusals and the exit codes and the printed lines of both surfaces.
One library fact is named here rather than left to the code. The default judge timeout stands as a published constant of the library beside the landed defaults for the proof interval and the missed proof limit, and its value is the 10 seconds every in-repo driver already constructs, so the constant is a contract visible fact in the manner of the bars of DM-15 and no surface restates the number.
Nothing else moves. The bars of DM-15 do not move and the seats of DM-13 do not change and the vignette does not change by one byte, and no state joins or leaves the recorded corpus, because the claim of this amendment is that the surfaces expose the landed semantics and add none of their own. The round spends no live call, because its wire side proof is the offline byte comparison of surface payloads against the recorded requests the earlier windows already paid to record.
## Round 6 amendment, the judge invocation layer
Round 6 amendment, the judge invocation layer. This amendment opens Round 6. It names the Round 1 amendment and the port amendment and the Round 2 amendment and the Round 3 amendment and the Round 4 amendment and the Round 5 amendment as the earlier record, and it answers residual R10 of the closure record of Round 5, which carries the judge helper's invocation layer as the contract's largest remaining completeness gap, and residual R4 of the same record, which asks whether the fixture route's read joins the reply bound stated here. It adds one obligation, DM-21, stating the payload document and the invocation and the reply shape and the reply bound of the subprocess judge route. Obligations DM-1 to DM-20 stand unedited. The library's internal fixture transport invokes no helper and stands outside this obligation, as the preamble of this amendment names. The format name deadman-state/1 does not change and the document shape does not change and the record shape does not change, and no landed behaviour changes, because this amendment states the invocation the landed transport has always performed.
Obligation DM-21 covers the judge helper invocation layer. Where a surface consults a judge program under DM-20, the consultation hands the program one payload document and reads one reply body, and this obligation states both shapes and the hand off between them, so a helper can be implemented from this contract alone. The payload document is one JSON object carrying exactly the fields model and state and questions, in that construction order. The model field carries the name of the model the transport stands pinned to, the constant the library publishes under DM-20. The state field carries the vignette text verbatim, the rendering DM-14 governs. The questions field carries an array of exactly two question objects. The first carries the kind choice and a labels array of exactly three objects in the order hold and escalate and de-escalate, and each label object carries a label field naming the verdict and a criterion field carrying the text that tells the model what the verdict means. The second carries the kind score and a levels array of exactly ten strings standing for the values from 0 to 1 in ninths, in rising order. The criterion texts and the level texts are content the helper receives and reads, and a helper answers with a label and a level position and never authors either text. The document renders in the crate's canonical indented form, two spaces per level, with no trailing newline, and the recorded request files of the corpus stand as byte examples of it. The hand off writes the payload document to a temporary file before any process stands. The file stands in the directory the process environment names for temporary files, under a name carrying the prefix arvin-judge- and the identifier of the writing process and a counter and 16 lowercase hexadecimal characters drawn at random for that write, and it is created exclusively, so a name already standing is never opened and the write retries under a fresh name, and a write that fails after the file stands removes the file before the call fails. The helper runs with the caller's arguments first and the flag --raw-payload and the file path appended after them, with standard input null and standard error null, and the reply is read from standard output. The deadline of DM-20 is computed before the helper stands, by a checked addition, and a timeout that cannot be added to the current instant is a call failure before any process stands. A helper standing past the deadline is killed and reaped and the call fails. The reply drains while the helper runs, and the wait for the drained reply after the helper's exit is bounded by a grace of 500 ms, because a child of the helper can hold the output pipe past the helper's own exit. A helper exiting with a nonzero status is a call failure whatever its code. The payload file is removed when the call ends, on the success path and on the failure paths alike. The reply body the transport accepts is bounded. A body whose total length stands past 65536 bytes is a malformed reply under DM-16, judged on the total the helper wrote and not on any kept part of it, and a body that is not valid UTF-8 is a malformed reply on the same path. The transport trims the leading and trailing whitespace of the body before it classifies or parses it, and a completed call whose body stands empty once trimmed is silence under DM-16, classified by the transport before the reply grammar is consulted, and the reply grammar is consulted on the trimmed body, while the bound above is judged on the total the helper wrote before any trimming. The reply grammar is as follows. A reply body is one JSON document and nothing else, and a body standing as no document or as more than one document is a malformed reply. The document carries a model field naming exactly the model the transport stands pinned to, and a reply naming any other model is a malformed reply. The document carries a choice field standing as an object. Where the label field of that object stands null, the reply is an abstention under DM-16, and a confidence field standing in the choice object or a score field standing in the document is range checked on this arm as on the other, so an out of range value makes the reply malformed even where no verdict stands. Where the label field stands as one of hold and escalate and de-escalate, the reply is a verdict, and it requires a confidence field in the choice object standing as a number in the range from 0 to 1 inclusive and a score field in the document standing as an object whose level field is an integer from 1 to 10, and the recorded score is the level minus 1 over 9. A label outside the three names, a missing or out of range confidence on a verdict, and a missing or out of range level on a verdict are each a malformed reply. The grammar reads the fields it names and does not refuse a body for carrying a further field. The bound of this obligation binds the subprocess route, where the body arrives from a program the broker spawned. The fixture judge form of DM-20 reads the file the caller names whole, with no byte bound on the read, and parses it through this same grammar against the pinned name, and an unreadable fixture file is a failure of the command before any state changes. That difference between the two routes stands stated here as a property of the routes, the fixture file being a local file the caller names and its size the caller's own fact. This is covered by tests that check the recorded request files of the corpus against the payload statement field by field, that drive a helper written from this obligation alone through the command line and land its consultation, and that check the stated bound and the stated grammar against the transport's own pins.
## Round 7 amendment, the step down ancestry
Round 7 amendment, the step down ancestry. This amendment opens Round 7. It names the Round 1 amendment and the port amendment and the Round 2 amendment and the Round 3 amendment and the Round 4 amendment and the Round 5 amendment and the Round 6 amendment as the earlier record, and it answers residual R6 of the closure record of Round 6, which carries the step down record that a below bar consultation made possible standing indistinguishable from a purely deterministic step down. It adds two obligations, DM-22, which extends the shape agreement of DM-17 with one further field and one further pattern, and DM-23, which extends the step down clause of DM-18 with the ancestry agreement. Obligations DM-1 to DM-21 stand unedited. The format name deadman-state/1 does not change. The record shape changes in the one particular these obligations state, and no other behaviour changes, because no stage moves differently, no streak is counted differently, and no consultation is taken differently. Only the record of one class of step down learns to say what already stood behind it.
Obligation DM-22 covers the ancestry of a step down record and extends DM-17. A stage record that steps down may stand in an extended eleven key shape that adds one field named model_ancestry beside the two fields the ten key shape adds, and no other key shape is written. The ancestry field carries either null or the one string de-escalate below bar, and no other value stands in it. The five model fields of such a record stand in the null pattern of DM-17, so the record carries no model name and no verdict and no confidence and no score and no fallback of its own, and the combination of the null pattern with the ancestry field standing at its string is the ancestry pattern, a fourth pattern standing beside the three of DM-17 and standing open to a step down record alone. A record carrying the ancestry field at its string beside any other pattern is written by no writer and read by no reader. The ancestry pattern claims exactly one thing, that the writer certified at a fall decision seat evaluation of DM-13, where the consultation answered de-escalate below the de-escalation bar of DM-15 and spent the standing clear streak, that this step down's streak stands in that certification's ancestry, the certification carried in the run's standing streak_ancestry field from that evaluation until the step down consumed it under DM-23, and it claims nothing else. The pattern does not claim that any record standing behind the step down can be read back to that consultation's seat or freshness or confidence, because no record carries those facts, and no reader may re-derive them from the log. It is not an endorsement and it is not a verdict, and no reader may treat the stage's fall as the model's act, because the fall is the deterministic step of DM-4 and the bar of DM-15 stands exactly where it stood. The consultation the pattern points to stands recorded in its own record with its verdict and its confidence and its score, and this pattern repeats none of them. A consultation that ended in a fallback class or in an abstention leaves no ancestry, because it carried no judgment, and a step down behind such a consultation stands in the null pattern. On every record that does not step down, and on every step down the ancestry of DM-23 does not certify, the ancestry field stands null where it stands at all, and a record in the eight key shape or the ten key shape carries it null by absence. This is covered by tests that write step downs of every admitted population and read the state file and check the field and its shape directly, and that drive the streak behind a below bar fall seat consultation and read the ancestry standing in the step down record, and that drive the same streak behind a fallback and behind an abstention and read no ancestry standing.
Obligation DM-23 covers the writing and the reading of the ancestry pattern and extends DM-18. The writer certifies an ancestry at the fall decision seat itself and at no later act. Where an evaluation stands at the fall decision seat of DM-13, a seat no stale evaluation stands at under DM-19, and the consultation it takes answers de-escalate with a confidence below the de-escalation bar of DM-15, the writer sets the run's standing streak_ancestry field to true in the same act that appends the consultation record and spends the standing clear streak. The field stands in the run object only while it stands set, carrying the boolean true, rendered after the killed field and before the log field, and a run object without it reads with no certification standing. Every other consultation act clears the field, a held seat consultation at any verdict and any confidence among them, and a fall seat consultation answering in any other pattern among them. Every act that appends a stage record outside the streak step down itself clears the field, and every act that resets the clear streak outside the fall seat clears it with the streak. An act that appends no stage record and resets no streak, a plain advance of the streak and a proof or spend record among them, moves the field neither way. The step down that completes the streak in the deterministic branch of DM-4 reads the field from the run as it writes its record, carries the ancestry pattern where the field stands and the null pattern where it does not, and clears the field as it resets the streak in the same act, so one certification certifies exactly one step down. The reading of a document written before this amendment stands unchanged in every particular, its records carrying the ancestry null by absence and its runs carrying no certification, and no reading supplied by this amendment retrofits an ancestry onto such a document, because the streaks behind its step downs stand in no record and cannot be re-derived, and a step down completing after this amendment a streak whose spending consultation stood before it carries no ancestry for the same reason. The join of DM-18 extends to the ancestry pattern as follows, and its strength stands stated at the strength the log supports. A step down record carrying the ancestry pattern in its admitted combination, the five model fields in the null pattern and the ancestry field at its string, stepping down from a middle stage, stands admitted, and the floor of DM-19 stands on it as on every step down. The join certifies the pattern's well-formedness and nothing behind it. It does not re-derive the ancestry from the records before the step down, and it judges neither the seat nor the confidence nor the freshness of the consultation the pattern points to, because no record carries those facts and the writer's certification at the fall seat, carried in the run's standing state in the manner of the clear streak itself, is the only seat of that judgment this format has. A hold record or a rise record carrying the ancestry field at its string is refused, the pattern standing open to a step down record alone. A step down record in the null pattern is judged exactly as the join judged it before this amendment whether or not an ancestry stood behind it, and that asymmetry stands named here as a boundary of this amendment in the manner of the boundaries of the Round 2 amendment, because the documents written before this amendment carry the null pattern behind below bar consultations and must read as they were written. This is covered by tests that drive the certifying sequence and read the ancestry standing in the step down record, that drive the same streak behind a held seat consultation and behind a stale consultation and read no ancestry standing, that corrupt ancestry records in each named way and check the refusal and that the state bytes stand unchanged, and by tests that read documents written in the shapes before this amendment beside documents that carry the pattern and check each reads at its own shape.
## Portability amendment, cross-platform lock identity
Portability amendment, cross-platform lock identity. This amendment names the Round 1 amendment and the port amendment and the Round 2 through Round 7 amendments as the earlier record, and it leaves obligations DM-1 to DM-23 standing unedited. The format name deadman-state/1 does not change and no stored field and no record shape changes. The port amendment records that the lock a command holds is verified against the file standing at the lock path by device and inode, the identity a Unix filesystem reports. On Windows the broker opens the lock file with a share mode that permits reading and writing while withholding delete sharing, so the operating system refuses to unlink or rename the locked file out from under the holder while the lock stands, preserving the atomicity DM-10 states without a Unix inode comparison. An auxiliary portability workflow exercises the test suite, the codepoint scan, the formatting check, the linter, and the Python binding suites across macOS and Windows beside the standing continuous integration workflow of S2.
## Multi-provider decision model amendment
### Probe preamble
The provider wire codecs and standalone judge helper below rest on the published System One and Decisions API specifications across five providers. TypeSafe System One serves POST over https at api.typesafe.ai/v1/systemone with bearer authentication, taking `model`, `state`, and a `questions` object whose `choice` entry carries `instructions` and a `criteria` map and whose `score` entry carries `instructions` and a ten-element `criteria` array, and returning `model` and an `answers` object carrying `choice` and `probabilities` on the verdict and `score` and indexed `probabilities` on the rubric. Google Gemini Decisions serves POST over https at generativelanguage.googleapis.com/v1beta/decisions with `x-goog-api-key` authentication for `gemini-decision-1`, taking `model`, `input`, and a `questions` object with a `criteria` map on `choice` and an ordered `criteria` array on `score`, and returning an `answers` object with `choice` and `probabilities` on the verdict and `score`, indexed `probabilities`, and an echoed `legend` array on the rubric. OpenAI Decisions serves POST over https at api.openai.com/v1/decisions with bearer authentication natively for `gpt-6-luna`, while `gpt-oss-safeguard-120b` and `gpt-oss-safeguard-20b` run through compatible System One decision gateways addressed by an explicit HTTPS endpoint override, taking `model`, `input`, and a `questions` array of named objects where `choice` carries `choices` items of `value` and `description` and `score` carries `levels` items of `label` and `description`, and returning an `answers` array of named objects where `choice` carries `choice` and an array of `value` and `probability` pairs in `probabilities` and `score` carries `score` and an array of `value`, `label`, and `probability` entries in `probabilities`. Perplexity Decisions serves POST over https at api.perplexity.ai/v1/decisions with bearer authentication for `pplx-decider-v1.3`, `pplx-decider-latest`, `pplx-decider-flash-v1.3`, and `pplx-decider-flash-latest`, taking the `model`, `state`, and `questions` map layout and returning `answers` with `expected_score` or `score` on the rubric. Cloudflare Workers AI serves POST over https at api.cloudflare.com/client/v4/accounts/{account_id}/ai/run/@cf/cloudflare/clef and `@cf/cloudflare/clef-flash` with bearer authentication, taking the short model name `clef` or `clef-flash` inside the JSON `model` field alongside `state` and the `questions` map while addressing the `@cf/cloudflare/clef` route in the URL path, and wrapping the response inside a `success` and `result` envelope. Python's built-in `round` uses round-half-to-even where the Rust `f64` `round` method uses round-half-away-from-zero, Python's default `json.loads` accepts duplicate object keys and non-finite `NaN` and `Infinity` constants, and `urllib.request` permits cleartext `http` schemes unless restricted, so the standalone helper aligns tie rounding to half-away-from-zero, rejects duplicate keys and non-finite numbers, and enforces `https` endpoints with redirect-downgrade refusal.
Multi-provider decision model amendment. This amendment names the Round 1 amendment and the port amendment and the Round 2 through Round 7 amendments and the portability amendment as the earlier record, and it leaves obligations DM-1 to DM-23 standing as written while advancing the default model name and opening caller-selected model identifiers and pure provider wire codecs under obligation DM-24. Obligations DM-20 and DM-21 named a single published model constant, which stood at jev-1.13.0 when Rounds 3 through 6 landed, and this amendment retires that single-model restriction on the subprocess, fixture, and binding surfaces while leaving the earlier text and the 48 recorded Round 4 jev-1.13.0 fixtures standing untouched and byte identical. The format name deadman-state/1 does not change, no stored field or record shape changes, and nothing in this amendment adds network access or credential storage to the library.
Obligation DM-24 covers the default model and the provider wire codecs. The library publishes MODEL_NAME at jev-1.14.0, LEGACY_MODEL_NAME at jev-1.13.0, and JUDGE_MODELS carrying the fourteen first-class System One model identifiers across five provider families, jev-1.14.0 and jev-1.13.0 on TypeSafe, gemini-decision-1 on Google, gpt-6-luna and gpt-oss-safeguard-120b and gpt-oss-safeguard-20b on OpenAI, pplx-decider-v1.3 and pplx-decider-latest and pplx-decider-flash-v1.3 and pplx-decider-flash-latest on Perplexity, and @cf/cloudflare/clef and @cf/cloudflare/clef-flash and clef and clef-flash on Cloudflare. Where a caller configures a model identifier on a surface, through the with_model constructor on SubprocessTransport in Rust, through --judge-model on the command line stage command, or through judge_model on stage_with_model in the Python binding, the identifier must be a string of 1 through 128 bytes inclusive whose bytes all stand in the printable ASCII non-whitespace range from 0x21 through 0x7E inclusive, and any empty string, string past 128 bytes, or string containing whitespace or control or non-ASCII bytes refuses as an invalid request before any state changes, while stored log reading under DM-17 keeps its existing nonempty 128-character rule unchanged. On the command line stage command, --judge-model pins either --judge or --judge-fixture and defaults to MODEL_NAME when omitted, and naming --judge-model when neither --judge nor --judge-fixture stands named refuses as an invalid request at exit 2. In the Python binding, stage_with_model accepts a third mutually exclusive judge form through transport, a Python callable invoked under the held state lock that receives the parsed DM-21 request dictionary when a seat is consulted and returns a DM-21 reply body string, where a raised exception, a same-thread re-entry into the locked state file, or a non-string return lands as call failed, a valid UTF-8 string that trims empty lands as silence, and an unencodable string, a string past 65536 bytes, or a string outside the DM-21 grammar lands as malformed reply, and judge_model pins either judge or transport and refuses as InvalidRequestError when neither judge nor transport stands named or when more than one of judge, fixture, and transport stands named. Preserving DM-20's zero-network and zero-credential rule, the library provides a pure deterministic providers codec over the five dialects typesafe, google, openai, perplexity, and cloudflare, mapping jev- and typesafe/ prefixes to typesafe, gemini-decision- and models/gemini-decision- and google/ prefixes to google, gpt-6- and gpt-oss-safeguard and openai/ prefixes to openai, pplx-decider and perplexity/ prefixes to perplexity, @cf/cloudflare/clef and clef and cloudflare/ prefixes to cloudflare, and any other valid identifier to typesafe, refusing empty stripped wire model names, emitting short clef and clef-flash body names on cloudflare while validating account and route segments in cloudflare_endpoint, sending an ordered ten-element criteria array on google, sending named value-description choices and zero through nine label-description levels on openai with gpt-6-luna on OpenAI's direct endpoint and gpt-oss-safeguard models on compatible gateways, and normalizing each provider's raw response JSON into a canonical DM-21 reply JSON body carrying the pinned model name, choice label and chosen-label probability from the object or value-probability array probabilities as confidence or null label on other abstention, and integer score level from 1 through 10 mapped by rounding the zero through nine provider score half-away-from-zero and adding 1 while rejecting non-finite numbers, foreign DM-21 passthrough models, missing or duplicate named answers, and false or non-object Cloudflare envelopes. Both the Rust crate and the Python binding expose MODEL_NAME, LEGACY_MODEL_NAME, JUDGE_MODELS, detect_provider, format_provider_request, and normalize_provider_reply, and the repository ships a standalone standard-library HTTPS helper at examples/decision_judge.py implementing the --raw-payload contract of DM-21. This is covered by tests that replay all 48 frozen Round 4 jev-1.13.0 cases byte for byte by naming their recorded model, that pin MODEL_NAME at jev-1.14.0 and all fourteen JUDGE_MODELS entries across Rust and Python, that test valid and invalid model identifiers at the bounds, that test Python callable transports across verdict, silence, call failed, re-entry refusal, and discriminating 65536-byte and grammar malformed reply outcomes, and that round-trip all five provider codecs including half-integer score rounding and the standalone helper script in dry-run and offline modes without network access.
## Standalone run listing and version amendment
Standalone run listing and version amendment. This amendment names the Round 1 amendment and the port amendment and the Round 2 through Round 7 amendments and the portability amendment and the multi-provider decision model amendment as the earlier record, and it leaves obligations DM-1 to DM-24 standing as written except where it extends obligation DM-6 and obligation DM-11 in the open here while leaving their earlier sentences standing as the historical record. Obligation DM-6 named the log operation as the one library operation that takes no instant because it returns recorded state without evaluating anything, and this amendment extends that read-only class with a second inspection operation named runs that likewise takes no instant, evaluates nothing, and writes nothing. The format name deadman-state/1 does not change, and no stored field or record shape changes.
Obligation DM-25 covers the read-only run summary listing and the command line version flag. The Switch type offers a read-only runs method taking no instant and returning a vector of RunSummary values in registration order, one for each run recorded in the state document, carrying id, registered_at, proof_interval_seconds, missed_proof_limit, soft_ceiling, hard_ceiling, spend_total, last_proof_at, stage, and killed. When the state file does not stand and no ancestor of the path is a non-directory file, runs returns an empty vector and creates neither the state file nor the lock file, and when the state file stands it acquires a shared lock on the companion lock file, validates the whole document under obligation DM-8 and the Round 2, Round 3, and Round 7 joins, and refuses any unreadable or corrupt state file as a typed corruption error without resetting or modifying any byte on disk. In the Python binding, the module exposes runs taking the state path, refusing same-thread re-entry into an active consultation on the same locked state file as FailureError, and returning a list of plain dictionaries in registration order carrying those ten keys with Python int values for integer fields, None for unset optional fields, and bool for killed. On the command line, arvin --state STATE runs takes no positional run argument, refuses extra arguments at exit 2, and prints one line per run in registration order formatted as the run id followed by space-separated key-value pairs for stage, killed, spend_total, soft_ceiling, hard_ceiling, proof_interval_seconds, missed_proof_limit, registered_at, and last_proof_at with unset optional fields rendered as none and killed rendered as true or false, printing nothing and exiting 0 when no runs stand and exiting 1 with the standing output error line on standard error when standard output refuses a write. At the top level of the command line, -V and --version, including any unambiguous prefix of --version with no inline value, print arvin followed by a single space and the crate package version through the checked standard output writer and exit 0 without requiring --state or a subcommand, refuse an inline value on --version at exit 2 naming the ignored explicit argument, and exit 1 with the standing output error line when standard output refuses the write. This is covered by tests across the Rust library, the command line, and the Python binding on missing state files without file creation, multi-run state files with live and killed runs and wide stored proof intervals, corrupt state files, same-thread consultation re-entry, extra-argument and inline-value refusals, and failed standard output writes on both runs and --version.
## Release packaging, type stubs, and v0.2.0 amendment
Probes for wheel, source distribution, and crate packaging, run on 2026-11-26 against maturin 1.16.0 and Cargo 1.91.1 before obligation DM-26 was written. Building a wheel with pyproject.toml seated inside bindings/ set maturin's project root to bindings/ and omitted ../python/arvin/__init__.py, py.typed, __init__.pyi, and LICENSE from the resulting wheel archive because those paths stood outside the subdirectory root, whereas seating pyproject.toml at the repository root with manifest-path set to bindings/Cargo.toml and python-source set to python packaged arvin/__init__.py, arvin/py.typed, arvin/__init__.pyi, arvin/_arvin.abi3.so, and LICENSE into the wheel, produced a self-contained source distribution carrying both the core crate and the binding crate, and preserved maturin develop --manifest-path bindings/Cargo.toml unchanged. Running cargo package -p arvin with .github, bindings, python, pyproject.toml, and tests/fixtures excluded compiled the packaged tarball cleanly at under 200 kibibytes compressed.
Release packaging, type stubs, and v0.2.0 amendment. This amendment prepares the repository for its v0.2.0 standalone release across Cargo, Python wheels and source distributions, and tagged GitHub releases. It names the Round 1 amendment and the port amendment and the Round 2 through Round 7 amendments and the portability amendment and the multi-provider decision model amendment and the standalone run listing and version amendment as the earlier record, and it leaves obligations DM-1 to DM-25 standing unedited. The format name deadman-state/1 does not change, and no stored field, record shape, or frozen fixture byte changes.
Obligation DM-26 covers v0.2.0 version parity, package metadata, Python type stubs, release documentation, and release workflow credential hygiene. Root Cargo.toml carries version 0.2.0, default-run set to arvin, rust-version set to 1.91, readme set to README.md, repository, homepage, documentation, keywords, categories, and an exclude list keeping .github, bindings, python, pyproject.toml, and tests/fixtures out of the published crate archive, while bindings/Cargo.toml carries version 0.2.0 with publish set to false, root pyproject.toml carries version 0.2.0 with readme set to README.md, project URLs, manifest-path set to bindings/Cargo.toml, and python-source set to python, and python/arvin/__init__.py carries __version__ at 0.2.0 and includes __version__ in __all__. For PEP 561 static type checking, python/arvin/py.typed and python/arvin/__init__.pyi ship inside the Python package and declare every symbol exported in __all__. Root CHANGELOG.md records the 0.2.0 and 0.1.0 releases and root SECURITY.md states supported versions and vulnerability reporting under the repository typography rules. The tag-driven workflow at .github/workflows/release.yml triggers on v-prefixed tag pushes and workflow_dispatch, declares top-level contents read permission, sets persist-credentials to false on every checkout step, pins every dtolnay/rust-toolchain step to a 40-character lowercase hexadecimal commit SHA, verifies manifest version parity and tag matching before building Linux, macOS, and Windows binaries and wheels, and scopes write and OIDC token permissions strictly to tag-triggered publish jobs. This is covered by setup and Python binding pins verifying manifest version parity at 0.2.0, CLI --version output, py.typed and __init__.pyi presence in built wheels and AST export parity, CHANGELOG.md and SECURITY.md presence, and release workflow credential and toolchain hygiene.