AAmit’s LibraryLEARN · PRACTISE · REFLECT

Computers · Programming Atlas

Expect Foundations

Expect is a Tcl extension for scripted conversations with processes, not a second general-purpose language or a shell. This pack covers fixed toy children, literal/regular-expression matching, send, timeout, EOF, wait status, buffering and bounded conversation states. It does not automate real services.

Audience: Learners comfortable saving plain text and invoking an installed interpreter.

Practice: 4 to 6 hours.

Runtime and boundaries: Use /usr/bin/expect -N -n with installed Expect 5.45 and embedded Tcl 8.5.9. These old installed versions are limited teaching evidence. -N and -n suppress system and user Expect startup files. Export Expect support.tcl, one entry .exp and its unique child companion into the same new toy directory. Each entry spawns only /usr/bin/tclsh with that authored child; no shell, sign-ins, network, secrets or external applications. Child transcripts are ASCII and use the tested local pseudo-terminal CRLF convention. stty_init changes only each newly spawned pseudo-terminal. log_user 0 suppresses transcript echo but is not a security boundary. Explicit timeouts, EOF and wait are distinct; a timeout never proves child exit. The harness retains native child handles and complete blocking wait receipts. Cooperative cleanup closes those channels and waits; it requires event-loop progress. An outer timeout collects only the direct controller and reports unresolved child cleanup as uncertain. Examples and support code are trusted; this is not an arbitrary-process sandbox.

Lessons

A Tcl extension with a process role

Expect adds spawn, send and expect to Tcl. A spawn id identifies a conversation channel; it is not the child process ID. This pack spawns only its authored local Tcl fixtures using separate arguments, never a shell command string.

Prompt bytes and flushing matter

An interactive prompt may have no trailing newline, so the toy child explicitly flushes it. A pseudo-terminal can transform LF to CRLF and echo typed text. The support file disables echo for newly spawned children; matching and output assumptions remain platform-specific.

Match the intended pattern mode

Use -exact when punctuation is literal. Default patterns are globs; -re selects regular expressions. Match only the required bounded protocol, and capture needed expect_out values before the next match overwrites them. Matching a substring alone is not full-message validation. Keep the shown multiline clause form: Tcl quoting and Expect pattern-list parsing are separate layers.

Send data as one argument

send -- ends option parsing and sends one data value. Tcl substitution does not automatically reparse that value as code. The fixture reads a line as data; arbitrary child programs could interpret it differently. Reject protocol line breaks and excessive length before sending.

Timeout EOF and status are distinct

timeout means a match did not arrive in time; eof means the channel ended. Neither proves a successful child result. wait reaps the child and returns operating-system and child-status fields, with possible extra signal fields. Check those fields instead of assuming EOF is success.

Progress is a state transition

exp_continue continues the same matching command. Its default restarts the timeout; -continue_timer keeps the original deadline. Count or bound progress messages. For deterministic timeout practice, a zero-time poll occurs after READY while the toy waits for an explicit quit message.

Keep the scope explicit

Use -i with a saved spawn id in helper procedures. Only one authored child is active at a time here. No attach, interact, background monitoring, broad kill, secret logging or real application control is included. close affects a channel; wait concerns process lifetime.

Test conversations rather than happy paths

Test normal replies, malformed reply text, early EOF, expected child failure and timeout separately. The toy child failures are controlled evidence, not successful commands. Shared support code checks EOF and exact exit status, while the harness checks retained files, complete native child wait receipts and direct controller collection.

Reference cards

Start: spawn -noecho /usr/bin/tclsh file

Create a channel for the fixed local child.

Channel: spawn_id

Save the identifier used with -i.

Literal: expect -exact text

Match punctuation literally.

Regular expression: expect -re {pattern}

Use a fixed regular expression.

Capture: expect_out(1,string)

Read a captured subgroup immediately.

Transmit: send -i $id -- $text

Send data to the chosen child channel.

Timeout: set timeout 3

Set a bounded match wait in seconds.

Poll: expect -timeout 0

Check immediately without a positive wait.

End: eof

Handle channel closure explicitly.

Reap: wait -i $id

Collect OS and child exit information.

Continuation: exp_continue -continue_timer

Continue without restarting the match timer.

Echo: set stty_init {-echo}

Configure newly spawned pseudo-terminals only.

Display: log_user 0

Suppress ordinary child transcript echo.

Buffer: match_max -i $id 4096

Set the matching buffer; not a hostile-input sandbox.

Startup: expect -N -n file

Suppress system and user startup scripts.

Flush: flush stdout

Make a non-newline child prompt observable.

Supporting configuration: Expect support.tcl
# Trusted fixed fixtures only; no arbitrary command argument.
set timeout 3
set stty_init {-echo}
log_user 0
proc startToy {file args} {
    global spawn_id
    spawn -noecho /usr/bin/tclsh $file {*}$args
    match_max -i $spawn_id 4096
    return $spawn_id
}
proc exact {id text} {
    expect {
        -i $id
        -exact $text {return}
        eof {error {unexpected EOF}}
        timeout {error {reply timeout}}
    }
}
proc finish {id expected} {
    expect {
        -i $id
        eof {}
        timeout {error {EOF timeout}}
    }
    set result [wait -i $id]
    if {[llength $result] != 4 || [lindex $result 2] != 0 || [lindex $result 3] != $expected} {
        error {unexpected child status}
    }
}

Examples and practice

Code below is reading material, not an execution console. Download the edition for the complete example files and companion modules.

Expect 01 - Spawn match and reap

The channel match and the child exit status are both checked. These calls pass this pack's fixed authored child paths. The helper has no arbitrary-path allowlist or sandbox guarantee.

source [file join [file dirname [info script]] {Expect support.tcl}]
set child [file join [file dirname [info script]] {Expect 01 Spawn match and reap Child.tcl}]
set id [startToy $child]
exact $id "READY\r\n"
finish $id 0
puts {ready; child status 0}

Expected:

ready; child status 0

Run with the supplied authored input:

/usr/bin/expect -N -n 'Expect 01 Spawn match and reap.exp'

Companion file: Expect 01 Spawn match and reap Child.tcl

fconfigure stdout -translation lf -buffering none
puts READY

Expected Expect evaluation failure: interpreter diagnostic containing missing close-brace. This is an evaluated failure fixture, not a successful program or a separate static compilation pass.

set x {unfinished
Expect 02 - Prompt and response

The child flushes a prompt without a newline. The sent carriage return completes the pseudo-terminal line; the fixture treats the response as text.

source [file join [file dirname [info script]] {Expect support.tcl}]
set child [file join [file dirname [info script]] {Expect 02 Prompt and response Child.tcl}]
set id [startToy $child]
exact $id {Name? }
send -i $id -- "read\r"
exact $id "Hello read\r\n"
finish $id 0
puts {greeting checked}

Expected:

greeting checked

Run with the supplied authored input:

/usr/bin/expect -N -n 'Expect 02 Prompt and response.exp'

Companion file: Expect 02 Prompt and response Child.tcl

fconfigure stdout -translation lf -buffering none
puts -nonewline {Name? }
flush stdout
if {[gets stdin name] < 0} {exit 3}
puts "Hello $name"
Expect 03 - Literal punctuation

-exact keeps brackets, star and question mark literal. Tcl quoting is a separate layer from Expect pattern mode.

source [file join [file dirname [info script]] {Expect support.tcl}]
set child [file join [file dirname [info script]] {Expect 03 Literal punctuation Child.tcl}]
set id [startToy $child]
exact $id "\[ready\]*?\r\n"
finish $id 0
puts {literal matched}

Expected:

literal matched

Run with the supplied authored input:

/usr/bin/expect -N -n 'Expect 03 Literal punctuation.exp'

Companion file: Expect 03 Literal punctuation Child.tcl

fconfigure stdout -translation lf -buffering none
puts {[ready]*?}

Expected Expect evaluation failure: interpreter diagnostic containing bad flag. This is an evaluated failure fixture, not a successful program or a separate static compilation pass.

expect -notAnOption value
Expect 04 - Capture a bounded count

Copy the capture before another expect call. The fixed reply supplies canonical digits; a match alone is not a complete untrusted-message validator.

source [file join [file dirname [info script]] {Expect support.tcl}]
set child [file join [file dirname [info script]] {Expect 04 Capture a bounded count Child.tcl}]
set id [startToy $child]
expect {
        -i $id
    -re {COUNT ([0-9]{1,3})\r\n} {set count $expect_out(1,string)}
    eof {error {missing count}}
    timeout {error {count timeout}}
}
finish $id 0
puts "count=$count"

Expected:

count=20

Run with the supplied authored input:

/usr/bin/expect -N -n 'Expect 04 Capture a bounded count.exp'

Companion file: Expect 04 Capture a bounded count Child.tcl

fconfigure stdout -translation lf -buffering none
puts {COUNT 20}

Expected Expect evaluation failure: interpreter diagnostic containing couldn't compile regular expression pattern. This is an evaluated failure fixture, not a successful program or a separate static compilation pass.

regexp {[} text
Expect 05 - Alternative replies

The controller handles both known outcomes and verifies the corresponding child status. A handled child status 7 is still a child failure, even though this observation script exits zero.

source [file join [file dirname [info script]] {Expect support.tcl}]
set child [file join [file dirname [info script]] {Expect 05 Alternative replies Child.tcl}]
set mode [lindex $argv 0]
if {$mode ni {ok error}} {puts stderr {invalid mode}; exit 2}
set id [startToy $child $mode]
expect {
        -i $id
    -exact "OK\r\n" {set reply ok; set status 0}
    -exact "ERROR\r\n" {set reply rejected; set status 7}
    eof {error {missing reply}}
    timeout {error {reply timeout}}
}
finish $id $status
puts "reply=$reply child=$status"

Expected:

reply=ok child=0

Run with the supplied authored input:

/usr/bin/expect -N -n 'Expect 05 Alternative replies.exp' ok

Companion file: Expect 05 Alternative replies Child.tcl

fconfigure stdout -translation lf -buffering none
if {[lindex $argv 0] eq {error}} {puts ERROR; exit 7}
puts OK
Expect 06 - Deterministic timeout branch

After READY the child waits for quit and emits no further text. The zero-time poll takes the timeout branch deterministically; this does not test elapsed-time accuracy or positive-time deadlines.

source [file join [file dirname [info script]] {Expect support.tcl}]
set child [file join [file dirname [info script]] {Expect 06 Deterministic timeout branch Child.tcl}]
set id [startToy $child]
exact $id "READY\r\n"
set observed 0
set timeout 0
expect {
    -i $id
    -exact NEVER {error {unexpected reply}}
    timeout {set observed 1}
    eof {error {early EOF}}
}
set timeout 3
send -i $id -- "quit\r"
finish $id 0
puts "timeout observed=$observed; child reaped"

Expected:

timeout observed=1; child reaped

Run with the supplied authored input:

/usr/bin/expect -N -n 'Expect 06 Deterministic timeout branch.exp'

Companion file: Expect 06 Deterministic timeout branch Child.tcl

fconfigure stdout -translation lf -buffering none
puts READY
flush stdout
if {[gets stdin line] < 0 || $line ne {quit}} {exit 4}
Expect 07 - EOF is not success

This deliberately failing child produces no text. The controller succeeds only because it observes the specified failure; EOF alone would miss the nonzero status.

source [file join [file dirname [info script]] {Expect support.tcl}]
set child [file join [file dirname [info script]] {Expect 07 EOF is not success Child.tcl}]
set id [startToy $child]
expect {
        -i $id
    eof {set ended 1}
    timeout {error {EOF timeout}}
}
set result [wait -i $id]
if {[llength $result] != 4 || [lindex $result 2] != 0 || [lindex $result 3] != 7} {error {wrong status}}
puts "EOF observed=$ended; child status 7"

Expected:

EOF observed=1; child status 7

Run with the supplied authored input:

/usr/bin/expect -N -n 'Expect 07 EOF is not success.exp'

Companion file: Expect 07 EOF is not success Child.tcl

fconfigure stdout -translation lf -buffering none
exit 7
Expect 08 - Progress with one deadline

exp_continue retains one matching context; -continue_timer avoids extending the original deadline. The toy also bounds the count. This count check does not enforce unique step numbers.

source [file join [file dirname [info script]] {Expect support.tcl}]
set child [file join [file dirname [info script]] {Expect 08 Progress with one deadline Child.tcl}]
set id [startToy $child]
set count 0
expect {
        -i $id
    -re {STEP [12]\r\n} {
        incr count
        if {$count > 2} {error {too many steps}}
        exp_continue -continue_timer
    }
    -exact "DONE\r\n" {}
    eof {error {missing DONE}}
    timeout {error {progress timeout}}
}
finish $id 0
if {$count != 2} {error {missing step}}
puts {2 progress messages checked}

Expected:

2 progress messages checked

Run with the supplied authored input:

/usr/bin/expect -N -n 'Expect 08 Progress with one deadline.exp'

Companion file: Expect 08 Progress with one deadline Child.tcl

fconfigure stdout -translation lf -buffering none
puts {STEP 1}
puts {STEP 2}
puts DONE
Expect 09 - Pass punctuation as data

The child echoes the value as text, and -exact compares it literally. The accepted line contract is short authored ASCII without CR/LF; terminal controls and arbitrary Unicode are outside the demonstration.

source [file join [file dirname [info script]] {Expect support.tcl}]
set child [file join [file dirname [info script]] {Expect 09 Pass punctuation as data Child.tcl}]
set text [lindex $argv 0]
if {[string length $text] > 40 || ![regexp {^[ -~]*$} $text]} {puts stderr {invalid line}; exit 2}
set id [startToy $child]
exact $id {Text? }
send -i $id -- "$text\r"
exact $id "ECHO $text\r\n"
finish $id 0
puts {data round trip checked}

Expected:

data round trip checked

Run with the supplied authored input:

/usr/bin/expect -N -n 'Expect 09 Pass punctuation as data.exp' '[word]; $x *?'

Companion file: Expect 09 Pass punctuation as data Child.tcl

fconfigure stdout -translation lf -buffering none
puts -nonewline {Text? }
flush stdout
if {[gets stdin value] < 0} {exit 3}
puts "ECHO $value"

Expected Expect evaluation failure: interpreter diagnostic containing intentional fixture failure. This is an evaluated failure fixture, not a successful program or a separate static compilation pass.

error {intentional fixture failure}
Expect exercise A - Validate a reply

The malformed reply reaches EOF without satisfying the expected pattern. The child is reaped on both paths; an invalid reply returns controller status 2. This is a fixed single-message fixture, not a general streaming parser.

source [file join [file dirname [info script]] {Expect support.tcl}]
set child [file join [file dirname [info script]] {Expect exercise A Validate a reply Child.tcl}]
set mode [lindex $argv 0]
if {$mode ni {good bad}} {puts stderr {invalid mode}; exit 2}
set id [startToy $child $mode]
set valid 0
expect {
        -i $id
    -re {^TOTAL ([0-9]{1,3})\r\n} {set valid [expr {$expect_out(1,string) eq {60}}]}
    eof {set ended 1}
    timeout {error {total timeout}}
}
if {![info exists ended]} {finish $id 0} else {
    set result [wait -i $id]
    if {[llength $result] != 4 || [lindex $result 2] != 0 || [lindex $result 3] != 0} {error {child failure}}
}
if {!$valid} {puts stderr {invalid total reply}; exit 2}
puts {total 60 verified}

Expected:

total 60 verified

Run with the supplied authored input:

/usr/bin/expect -N -n 'Expect exercise A Validate a reply.exp' good

Companion file: Expect exercise A Validate a reply Child.tcl

fconfigure stdout -translation lf -buffering none
if {[lindex $argv 0] eq {bad}} {puts {TOTAL nope}} else {puts {TOTAL 60}}

Practice: Check a fixed TOTAL reply and reject malformed text while collecting the child status.

Expect exercise B - Two conversation states

The controller advances only after the expected prompt. The next input is not sent early. Both values are fixed data and no real application is involved.

source [file join [file dirname [info script]] {Expect support.tcl}]
set child [file join [file dirname [info script]] {Expect exercise B Two conversation states Child.tcl}]
set id [startToy $child]
exact $id {First? }
send -i $id -- "read\r"
exact $id {Second? }
send -i $id -- "code\r"
exact $id "PLAN read + code\r\n"
finish $id 0
puts {two states checked}

Expected:

two states checked

Run with the supplied authored input:

/usr/bin/expect -N -n 'Expect exercise B Two conversation states.exp'

Companion file: Expect exercise B Two conversation states Child.tcl

fconfigure stdout -translation lf -buffering none
puts -nonewline {First? }
flush stdout
if {[gets stdin first] < 0} {exit 3}
puts -nonewline {Second? }
flush stdout
if {[gets stdin second] < 0} {exit 3}
puts "PLAN $first + $second"

Practice: Complete two prompt-response states and verify one final summary.

Expect exercise C - Four child cases

Four children are started and reaped sequentially, including one expected status 7. No parallel or unrelated process is controlled. These are four child cases within one accepted controller example.

source [file join [file dirname [info script]] {Expect support.tcl}]
set child [file join [file dirname [info script]] {Expect exercise C Four child cases Child.tcl}]
set passed 0
foreach {mode expectedStatus expectedText} {zero 0 ZERO upper 0 UPPER reject 7 REJECT empty 0 EMPTY} {
    set id [startToy $child $mode]
    exact $id "$expectedText\r\n"
    finish $id $expectedStatus
    incr passed
}
puts "$passed child cases checked"

Expected:

4 child cases checked

Run with the supplied authored input:

/usr/bin/expect -N -n 'Expect exercise C Four child cases.exp'

Companion file: Expect exercise C Four child cases Child.tcl

fconfigure stdout -translation lf -buffering none
switch -- [lindex $argv 0] {
    zero {puts ZERO}
    upper {puts UPPER}
    reject {puts REJECT; exit 7}
    empty {puts EMPTY}
    default {exit 9}
}

Practice: Check four authored child modes and verify each output and exit status.

Prompt templates

These are editable planning prompts in the downloadable workbench; they do not contact an AI service here.

Build a bounded local example
For {language}, help with {goal}. Runtime: {runtime}. Constraints: {constraints}. Give original source, companion fixtures, exact invocation and expected stdout, stderr and status. Separate predictions from tests actually executed.
Trace an observed failure
For {language}, help with {goal}. Runtime: {runtime}. Constraints: {constraints}. Reduce the case; distinguish word substitution, data contracts, pattern matches, EOF, timeout and process exit. Separate predictions from tests actually executed.
Test contracts and failures
For {language}, help with {goal}. Runtime: {runtime}. Constraints: {constraints}. Use fixed toy inputs, boundaries and explicit failure categories. Verify unchanged source files and process cleanup. Separate predictions from tests actually executed.
Refactor without changing behavior
For {language}, help with {goal}. Runtime: {runtime}. Constraints: {constraints}. Preserve output, order, status and side effects. Keep data out of generated script strings. Separate predictions from tests actually executed.
Document the execution boundary
For {language}, help with {goal}. Runtime: {runtime}. Constraints: {constraints}. State interpreter versions, encoding, input limits, trusted files, child lifetimes and platform limits. Separate predictions from tests actually executed.
Explain then practice
For {language}, help with {goal}. Runtime: {runtime}. Constraints: {constraints}. Trace the value or conversation state, then supply an exercise with a separate worked solution. Separate predictions from tests actually executed.

Further reading

Download the offline edition

Complete Atlas 0.11.0 ZIP (6,079,970 bytes) · 411-page guide and catalogue PDF · Versioned source JSON

Unzip the edition and open Programming and Scripting Atlas.html, Web Foundations.html, Python Foundations.html, SQL Foundations.html, Shell Foundations.html, TypeScript Foundations.html Data Formats Foundations.html, C Foundations.html C++ Foundations.html, Ruby Foundations.html, Perl Foundations.html, Swift Foundations.html, Makefile Foundations.html, awk Foundations.html, sed Foundations.html, jq Foundations.html, XSLT 1.0 Foundations.html, Tcl Foundations.html, Expect Foundations.html or Objective-C Foundations.html locally. The original interactive workbenches retain their offline prompt-building, local presets and export controls. Read the included README before running examples yourself. The workbench does not execute pasted code or call an AI service; prompt text is for you to inspect and use separately.

Version 0.11.0 is pinned here. The other 257 registry entries remain planned; this edition does not claim complete language coverage.

Evidence and limits

Objective-C adds 12 accepted native programs, four separate compiler or warning-policy rejections, 120 root checks and 147 independent native checks. Two rejection fixtures are warnings promoted by -Werror; they are not intrinsic syntax failures. No rejected fixture was executed. Tests dated 26 October 2026 used Apple Clang 21.0.0, ARC, C17 base mode, macOS SDK 27.0 headers and system Foundation 6.9 (5027.0.69) on macOS 27.0.1 arm64. This is introductory macOS/Foundation coverage, not iOS, GNUstep, Objective-C++, UI, concurrency or cross-platform coverage. No sanitizers, leak detector, race analysis, allocation/disk-full/permission fault injection or asynchronous timing tests were run. Trusted authored fixtures and process bounds do not establish an arbitrary-code sandbox.

The pinned Atlas 0.11.0 evidence records 607 browser checks, 55 Python harness checks plus four unittest methods, 74 SQL checks, 515 shell checks across 71 runs, 99 TypeScript checks, 51 Data Formats checks, 119 C checks, 116 C++ checks, 97 Ruby checks, 97 Perl checks, 105 Swift harness checks and 97 Makefile harness checks, 145 awk checks, 145 sed checks, 161 jq checks, 157 XSLT checks, 150 Tcl checks and 161 Expect checks. These are separate measures. Tcl and Expect tests are dated 26 October 2026 on installed Tcl 8.5.9 / Expect 5.45 with Tcl 8.5.9 on macOS arm64. These old versions are recorded teaching evidence, not deployment recommendations. Tcl has 12 accepted programs and Expect has 12 accepted controllers; each has four expected evaluation failures, not static compilation passes. Tcl has nine scenarios, five expected nonzero; Expect has seven scenarios, four expected nonzero. Expect default controllers invoke 15 toy children, including two expected child failures; one scenario also expects a failed child. Controller success does not mean every child succeeds. The authoring release records 100 owned-runner regression checks and 109 independent runner checks separately. Only authored fixtures and retained native child handles are covered. Cooperative cleanup requires event-loop progress; outer-timeout child cleanup remains uncertain without complete wait receipts. The retired PID-inspection branch was not retried. No sign-ins, secrets, network or external application control are taught or tested by this pack. awk and sed are text-processing languages; their examples use fixed authored ASCII input and the C locale with installed awk 20200816 and macOS sed on one platform. jq and XSLT each have 12 accepted examples and four separately rejected programs. jq has 21 scenarios, including five contract errors and one no-result status; XSLT has 20 scenarios, including five terminating messages and one CLI parameter rejection. Expected nonzero outcomes are not successful programs. Tests dated 26 October 2026 used jq 1.7.1-apple and XSLT 1.0 with libxslt 1.1.35/libxml2 2.9.13, fixed trusted programs and tiny authored inputs in the C locale on macOS arm64. These old installed XML libraries are recorded learning environments, not recommendations for untrusted-document processing. No imports, external documents, DTDs, custom/external entities, extension functions or generated source are covered. Command flags and bounds are not a complete sandbox. Standalone XPath remains planned; supporting XPath 1.0 expressions are limited to these XSLT examples. These tests do not establish GNU-tool equivalence, Unicode behavior, arbitrary-script safety or cross-platform portability. Swift has 12 accepted programs and four expected static rejections; Makefile has 12 accepted default targets, four expected parser rejections, eight additional scenarios and one expected recipe failure. Makefile is build scripting, not a general-purpose language. The Swift and Makefile test execution dates remain 25 October 2026. awk and sed tests are dated 26 October 2026. Delivery verification does not replace or refresh test execution dates. TypeScript includes 12 accepted programs executed as JavaScript and nine intentionally invalid cases correctly rejected. Each C/C++ pack has 12 accepted programs run normally and with AddressSanitizer/UndefinedBehaviorSanitizer, plus four expected compiler rejections that are never executed. Ruby and Perl each have 12 syntax-accepted programs executed and four expected syntax rejections; rejected cases are not successful programs. Syntax checks may execute compile-time code and are not arbitrary-code sandboxes. Sanitizer results cover executed paths only; leak detection and allocation-failure injection were not tested and memory safety is not proved.

Tested environments are Chrome 155, CPython 3.9.6, SQLite CLI 3.54.0, macOS sh/Bash 3.2.57/Zsh 5.9, TypeScript 6.0.3, Node 24.18.0 Apple Clang 21.0.0, Ruby 2.6.10p210 and Perl 5.34.1, Apple Swift 6.4 in Swift 6 mode and GNU Make 3.81 on one arm64 macOS host. C uses a C17 subset; C++ uses a C++20 subset with libc++ 220106. Python 3.9.6 is unsupported upstream. Ruby 2.6 is end-of-life upstream; the recorded installed interpreter is not a recommended modern runtime. Data Formats uses installed Tomli 1.0.3 through a private fallback; the Python tomllib branch was not run. No new-installation recommendation, complete language/format conformance, schema certification, hardened untrusted XML parsing or general-purpose execution sandbox is established. Other platforms, browsers and screen readers remain unverified. The 145 official references belong to the saved Atlas review, not fresh website-time verification.