Effect probes and test venues
Evidence snapshot. The published coverage audit records a binary built from 0d29cdad5cf. The accompanying census issue independently reports that the results still held at 1310027fd1f. Its binary schema and source registry agree on 241 settings (193 public, 48 plumbing), and its issue author reports 253 source literals with 12 in tests. At d24c19c6e065 the source-linked inventory accounts for all 241 paths: 236 named probe entries and five exemptions. The five remaining exemptions motivate the fixture proposals below. Three other paths gained probes on November 23. Their entries describe the intended observable behavior; each passing-run claim requires its own execution receipt. Published audit · Census correction #13420 · PR #13345 · PR #13370 · PR #13361 · #8473
The book’s generated configuration inventory identifies the values below. “Hot” indicates the inventory’s reload designation. These are defaults, independent of the laptop’s effective configuration. Configuration
| Path | Default | Scope | Hot |
|---|---|---|---|
| daemon.inlineStartPoll | 20ms | client | no |
| daemon.tsnet.hostname | empty string | daemon | no |
| daemon.tsnetUpTimeout | 30s | daemon | no |
| http.streamBufferInit | 65,536 bytes | client | no |
| embeddings.wasmPath | empty string | daemon | yes |
| plugin.instructions | false | plugin | no |
| plugin.disabledTools | empty list | plugin | no |
| protoTasks.cancelGrace | 5s | daemon | no |
Evidence required for a ratchet change
At the implementation ref, capture the registry’s canonical path, aliases, type, units, accepted range, source precedence, computed/default value, effect ID or exemption reason, probe location and owning issue. Preserve dynamic or environment-dependent defaults as expressions. Redact secret-bearing defaults and resolved values; provenance needs only the source class and public setting path. Link the existing probe table to actual executable test names and venue results. Aliases must point to a canonical setting. The inventory should fail if a probe points to a missing test or two paths silently exchange exemptions. Compare the exemption set at base and head alongside the pinned count. Consider existing historical exemptions only. A switch of membership at constant count must fail review.
Each replacement drives the real parser, resolver and consumer with two values, holds all other inputs fixed, and checks an observable at the effect boundary. Record the fixture ID, route, Go toolchain, ref, test name, values (synthetic), oracle, timestamps and exit result. Verify the oracle discriminates an ignored setting by running with the consuming line using the same value for both cases in a disposable checkout, or an equivalent effect-negative control. A successful default case alone provides no evidence of wiring. Retire the exemption and decrement EffectExemptionPin in the same PR after the qualifying run. Reconcile the three formerly exempt paths with the landed test IDs; preserve Drew’s restriction on any new implementation touching them.
| Setting | Proposed fixture and effect oracle | Failure to distinguish |
|---|---|---|
| daemon.inlineStartPoll | Enter the normal CLI inline fallback with a fresh socket/lock/config. Exercise the in-process start path. Use a gated readiness collaborator at the actual readiness check and timestamp each attempted check while the daemon remains unready. Keep normal parser and retry loop intact. Observe readiness attempts at the peer, relative to the first attempt. Select widely separated valid poll intervals; with the long interval, no subsequent attempt occurs in the observed window, while the short interval yields repeated attempts. Release both, require the same successful CLI response and one inline start per invocation, and verify cleanup. Establish timer jitter bounds using same-venue calibration. If the pinned version allows, run a separate simulated-clock loop test for exact deadlines. | End-to-end startup latency includes unrelated scheduling and initialization. A missed observation, starved host or control that cannot complete yields an inconclusive venue result. |
| daemon.tsnet.hostname | Point two fresh tsnet nodes, one case per desired name, at an isolated local coordination service. Intercept registration at that service and assert the actual advertised hostname for each case. A peer confirms the daemon handles a benign MCP request. Isolate state directories so persisted node identity cannot mask the result. Bind control, relay and peer services to local-only test interfaces and disable public fallback; pass no user key. | Printing a daemon configuration or comparing a locally chosen DNS alias fails to prove the name was advertised. Use registration as the oracle to avoid dependency on DNS-name collision suffixes. |
| daemon.tsnetUpTimeout | Hold the local control service at the same pre-up barrier in two fresh processes. The short configured budget must produce the documented deadline outcome at the tsnet boundary before release. The larger budget must still await bring-up and become reachable after release. Require a healthy immediately released control. Use monotonic timestamps, separate startup and test watchdog, observe cancellation/cleanup; identify actual failure policy for other daemon transports at the checked ref. | Global daemon timeout, connection refusal, unavailable control server, or a timeout preceded by fixture failure cannot give a green probe. |
| http.streamBufferInit | Define the resource as initial byte capacity reserved by the real streaming reader. Keep max, chunks and response fixed and vary init. Use the newStreamScanner production helper introduced in PR #11430, and a recording io.Reader directly below it. With max fixed above both inits, supply input sufficient to force the initial Read, and capture len(p) at that first read for each init. Cover both client event and op-stream consumers driving the real settings through the end-to-end harness; if a recording reader wrapper requires injection, include a full-path client test with an equivalent production allocation observable. In each case assert identical output, the changed resource observation and the same documented oversize error. Assert min(init,max) when init exceeds max per merged #11430; document whether framing counts toward max. Classify a deterministic resource oracle as such in the registry if the current behavioral-probe contract cannot express it. | A successful stream, a config echo, aggregate heap statistics, kernel packet sizes or trace output computed from a setting prove no allocation effect. Keep pin intact until the reviewed contract accepts the replacement. |
| embeddings.wasmPath | Read the embedding loader’s actual import/export names, input encoding, numeric types, output dimension, memory ownership and release/error protocol before specifying fixture bytes. Commit a tiny deterministic model and readable source, generation recipe, toolchain and digest. Derive A/B fixture models that invert two non-collinear tool vectors relative to a fixed query. Use isolated daemon/index caches, a fixed synthetic catalog and queries with no lexical match; hold tie-breakers fixed. Run through normal semantic discovery and require the opposite top tool in each case. Disable remote fallback or configure a rejecting local endpoint that counts zero requests. Add invalid export/shape control with the production loader’s documented error or explicitly observed fallback. | A Wasm file merely loading or any ordered list returning can pass while keyword search or a cached vector supplied the answer. Do not commit an external model or require a regeneration compiler for routine builds. |
| plugin.instructions — landed elsewhere; brief hold | Inspect the existing plugin consumer and the eleven sibling fixtures. Run the normal plugin hook with a synthetic harness session and captured outbound instruction blocks. With the bool false and true, require the known plugin instruction block present/absent. Assert unrelated harness instructions still arrive. Assess repeated hook calls and distinguish current session from a fresh session according to the existing reload contract. | Inspecting the resolved option or a debug log cannot establish what the harness passed on. Use this to review the separately delivered probe. |
| plugin.disabledTools — landed elsewhere; brief hold | Use two synthetic sibling tools and a fresh plugin session for each configuration. Capture the tool registrations or advertisement that the harness actually consumes. Change the disabled set and require only that named tool to disappear while its sibling remains usable. If the source separately promises invocation blocking, call the real dispatch path and verify denial before the fixture receives a request. | Tool visibility and authorization are different effects. If this flag controls discovery only, keep authorization in the daemon-ceiling suite. Use this to review the separately delivered probe. |
| protoTasks.cancelGrace — landed elsewhere; brief hold | Establish the actual grace transition in the task owner first. Run a synthetic cooperative task that acknowledges cancellation promptly but blocks exit behind a gate. Drive cancellation over the public protocol, bracket the documented grace expiry with two settings, release the task at the same logical point and observe its terminal state and whether it actually continued working. Record cancellation acknowledgement separately from termination, and ensure exactly one terminal transition and no worker remains. Prefer a fake-clock owner test for exact boundary plus a public-path end-to-end check with generous margins. | A quick cancellation RPC response does not prove grace changed backend behavior. Pin the expected terminal statuses to the checked implementation; do not presume an OS process receives a signal. Use this to review the separately delivered probe. |
The proposed local-tailnet fixture has upstream support: tsnet.Server exposes ControlURL, and testcontrol.Server implements ServeHTTP and exposes registered Node state. Check both against the version in mcpx’s go.mod. Go’s testing/synctest is useful for in-process deadline tests; its documentation advises keeping network and external processes out of its bubble. The real reader uses bufio.Scanner as confirmed by merged PR #11430. Go documents that the larger of the configured max and the initial buffer capacity governs token size, so preserve the production clamp below the scanner and cover its equal and greater cases. Sources: tsnet, testcontrol, synctest, Scanner.Buffer.
Dependency and verification sequence
- Keep the runtime feature ledger distinct from the settings exemption pin. The original #8465 body names CLI embeddings, feedback, proxy, scripts and skills. Reconcile its current ledger entries to a complete suite at the chosen ref before picking a remaining command. #8469 originally lists 18 HTTP/transport rows, while the audited current pin contains only http.streamBufferInit from that family. Likewise #8471 originally lists 26 model-AI rows; embeddings.wasmPath is the remaining registry exemption from that family. Removing a feature-ledger exemption requires an observed row from its declared test. Newest claims and open PRs govern work assignment. CLI #8465 · HTTP #8469 · Model #8471 · Corrections #13420
- Dispatch fixture preflights and selected suites at the PR ref on a GitHub-hosted runner through Fleet. Record the runner, handler, toolchain, command, named tests actually run, fixture capability, SKIP count, test duration and result link. A missing prerequisite has a venue outcome and leaves the product result unset. Do not infer end-to-end success from a smoke check. Reuse the same Fleet session for a focused follow-up where available. Testing policy · Remote subset #13386
- Start the resource-observation and deterministic Wasm fixtures independently. The inline and paired tailnet probes can land independently when their venues discriminate the effects. A laptop fallback needs an identified missing prerequisite and records the ref and exact route. Use the dedicated mcpx package to investigate its check phase. The merged deployment change (#12757) removed aggregate target realization. Sandbox exclusions #2686 · Deploy check-phase wedge #12738
- Record the reasons and names for each outstanding exemption in the book inventory at the same SHA as the binary surface and suite evidence. Keep held, claimed, venue-blocked, inconclusive, failed and verified evidence separate. Check issue comments again immediately before merge.
Test venue matrix
| Verification | First route and oracle | Scope and blockers |
|---|---|---|
| Resource and Wasm | Fleet GitHub-hosted Linux; real client stream reader, real catalog + isolated Wasm loader; report named tests with enabled subtests | Avoid live model APIs and external runtimes. Wasm fallback to subword is documented; the inversion oracle must positively exclude fallback. Book |
| Inline start, tailnet | Fleet GitHub-hosted Linux with private namespace or isolated per-test state. Check process cleanup and exclusive socket/config ownership; use dedicated private control+peer for tsnet. | Cannot run against a shared remote daemon. #13386 proposes per-test needs (localFS, ownsDaemon, perTestConfig) and fail-closed opt-in to shared-daemon tests. #13386 |
| Nix sandbox/CI parity | Verify current external subreaper behavior and actual suite exits in the focused Linux builder. Both suites were restored in merged #12069 | #2686 reports leaked descendants and env assertions sensitive to stdenv. #12738 describes a separate idle go-test process with no children. Do not infer same root cause. #2686 · #12738 |
| Python support suites | Explicitly execute spec parity, test seed and shard-packer suites in a named test job; record three distinct selections/exit results, reconcile test-suite-registry rows | #10330 names test_spec_parity.py, test_mcpx_test_seed.py and test_e2e_shard_packer.py. Registry metadata alone cannot establish execution. #10330 |
| Runtime and architecture | Deno-free host must first prove Deno absent and bun/node present, then run both and the runtime=auto path. Linux ARM64 should execute the binary e2e subset in its intended nightly tier. | These complement the five targeted effects. #13393 reports unrelated basic unit/lint failures and gives specific run IDs; attach separate current reruns before attributing failures to new probes. #13387 · #13388 · #13393 |
Second-pass disposition at the captured REST snapshot
The following issue states come from open issue search, and merge information comes from PR search with each issue number in the body. A merged flag proves repository disposition. The run results quoted in PR bodies are author-reported unless a run was inspected separately. A later open issue can preserve a verification requirement after its code has landed.
| Work item | Repository disposition | Remaining test or decision |
|---|---|---|
| CLI running group #8465 | Open. #11240 merged the embeddings, feedback, proxy, scripts and skills exercises and deleted all five feature-ledger exceptions. The author records a 60s daemon idle-exit artifact in short filtered runs. | Obtain a complete green suite at the chosen ref and inspect its recorded CLI feature rows. Replacing any one row with an exemption should trigger the stale-exemption rule. Leave the five exercises in place. Issue · Merged PR |
| HTTP settings #8469 | Open, labelled blocked and assigned. #11307 covered 14 of 18 tracked settings. #12413 supplied the three idle-connection effects and reports a full e2e/guard pass in 1,172.503s. The only remaining path is streamBufferInit. #11308 recorded the scanner-capacity/max interaction and was closed on November 17. | Merged #11430 clamps the initial capacity to max in newStreamScanner for the client event and op streams. Validate the resource oracle with max fixed and sufficient. A change to streamBufferMax observes another setting. Prior probes held init at 64 bytes for this reason. Issue · 14 effects · 3 effects · Ceiling report |
| Model settings #8471 | Open, parked/in review. #12725 merged and changed the last wasmPath ledger exception to a reasoned exemption without a tracking reference. The audit still lists it among the five. | Treat the real Wasm fixture as the outstanding effect. Scan by canonical setting path across registries and ledger files. A search solely for the issue number now gives a misleading empty set. Issue · Merged PR |
| Script venues #10330 | Open. #11761 merged a spec-parity step and mapped the existing seed/packer invocations to mcpx-test.yml. A CI receipt for the new step was pending in that PR body. | Inspect actual steps and logs for the three suite names and exit status on the same ref, including whether previous job failure skipped their steps. A registry row and successful local test have different evidentiary roles. Issue · Merged PR |
| Nix builder #2686 and deploy #12738 | #2686 open/blocked and labelled assigned. #12069 restored e2e/settings to the Linux check phase under external tini -s, preserving cli/conformance/defaults exclusions at that commit. The previous in-binary child reaper stole exit statuses. #12738 open/in review. #12757 merged November 23, decoupling CLI build from realization of all 14 target outputs; deployment of a missing target now realizes that target’s derivation. The author explicitly leaves the mcpx check-phase stall unresolved. | Use the existing lazy-target tests to preserve deploy isolation. Inspect the stuck Go driver’s process state and wait site on a bounded single-package sandbox run. Distinguish a driver blocked before any test starts from leaked subprocesses after e2e. A Go test timeout alone cannot bound the first case. Sandbox issue · Deploy issue · Merged PR |
| Hosted e2e venues #1983, #13386, #13387, #13388 | All four open in the issue snapshot. #13394 merged the mcpx development shell; its Fleet run reported tool versions via nix develop .#mcpx. A distinct bare-container incident #13189 reports bun absent in a dispatched OpenChamber run. Preserve the distinction between shell preflight and an actual passing suite. #13386 identifies the remote-daemon smoke as a status round trip. #13387 says the existing package wrapper brings Deno onto PATH; #13388 calls for a second Linux architecture in tier 2. | Count named assertions executed with the remote daemon in a separate environment. Make an undeclared-needs test ineligible. For the no-Deno leg verify PATH inside the actual subprocess before checking bun/node. On ARM64, assert target architecture inside the running test binary. Parent · Remote · Deno-free · ARM64 |
| Nightly failure #13393 and main breakage #13349 | Open. #13393 records the November 22 unit guard TestNoPackageRedeclaresADefault plus lint; its environment jobs passed on the cited run. #13349 records a distinct workflow and commit, 5c8e163, with lint, test and both OS stress legs listed. | Extract the first substantive error separately for each SHA, job and platform. Confirm the unit guard fails on a genuine duplicated configured default and passes once only the intended owner declares it. Treat a skipped dependent step separately. Keep the two incident receipts distinct. Nightly · Nightly run · Main breakage · Main run |
| macOS stress #3016 | Open, labelled blocked and assigned. The report gives a concrete historical macOS shuffle seed and nightly run ID. | Capture per-test output and identify the actual failing test before dispatch. Reuse the cited seed on the necessary macOS venue for that subset, then compare with a same-ref full nightly receipt. A later Linux pass or a re-roll supplies different evidence. Issue · Historical run |
The rendered configuration chapter’s setting table headers are setting, kind, default, scope, hot, flag, variable and governs. Its rows identify the effects in prose, but they do not carry the verified probe identifiers, exemption reasons and venue results required by this programme. The published coverage page’s statement about an exemption-reason table warrants a scoped correction. Add the effect mapping once in the generator, cross-link it to provenance inspection, and reuse the generated region in the reference chapter. Rendered configuration · Published audit
Wasm embedder selection and reload
The latest #8471 checkpoint parked task 20152 after replacing its final runtime-ledger exemption line with a reasoned settings exemption. PR #12725 merged. On November 23 the issue remained open with both parked labels, and the open-PR search for wasmPath returned zero. The registry still had five exemptions. The tracker decision and the missing product probe are separate facts. Checkpoint · Merged PR · Effect map
Use a synthetic in-tree module with a reviewable WAT source beside its small reproducible Wasm binary. Export one linear memory and embed(i32 pointer, i32 UTF8ByteLength) -> i32 outputPointer. Its optional allocator may return 64. Reserve output at byte 4096 and return a 384-float vector with component zero equal to the input’s first byte, component one equal to its UTF-8 byte length and all others zero. Use two short literal inputs with unequal byte lengths, including one multibyte code point. No model weight, network, compiler or credential is needed during the test. The oracle must read vectors from the ordinary API, since an absent export, embed error or missing module can silently activate the built-in fallback. Wasm ABI · Fallback · API
| Case | Input and observable pass condition |
|---|---|
| Cold counterfactual | Start separate isolated daemons with identical configurations and explicit Wasm backend, varying only the configured path. Two exact synthetic vectors from the configured fixture must differ from the baseline vectors for the same texts. Assert item order, indexes and all 384 values. |
| Reload | Keep PID and server identity constant. Switch from one valid fixture to a second with a distinguishable sentinel, then repeat the same two inputs. Require second-fixture values if the daemon reports a live change. A separate new-daemon request supplies the cold-start control. |
| Ratchet | Add a named EffectProbes entry, the e2e path-to-name mirror and a real function reference for the discriminating probe. Remove exactly this map exemption and lower the pin by one only when the replacing test lands. Inspect current ledger before editing. #12725 already removed the old runtime-ledger exemption line. |
| Venue | Dispatch the focused settings/e2e packages on a plan runner with the repository’s MCPX devshell. Record the ref, job URL, exact test names and non-skipped assertions. Run the full e2e guard through Fleet for runtime-ledger coverage. The application and build sandbox are unnecessary for this design review. |
The registry marks the path hot. The production call to Registry.UseSettings occurs at daemon construction, while the runtime settings hook handles pool changes. Verify API results and cached catalog vectors independently. If the reload test fails, describe that outcome on the existing tracker before selecting restart-required semantics or live engine replacement. A live replacement needs to install a complete engine generation, invalidate affected derived vectors and close the old runtime only after its last active call. Setting contract · Construction · Runtime update