From 4d2736c38adc2e76bc827686b0a98c4c27a1dcf4 Mon Sep 17 00:00:00 2001 From: Tristan Simas Date: Sun, 4 Oct 2026 13:30:31 -0400 Subject: [PATCH 1/3] Resolve continuation custody before private MCP runtime environment --- scripts/blind_analysis/operations/mcp-client.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/blind_analysis/operations/mcp-client.sh b/scripts/blind_analysis/operations/mcp-client.sh index ea7a4926b9..81f75167da 100644 --- a/scripts/blind_analysis/operations/mcp-client.sh +++ b/scripts/blind_analysis/operations/mcp-client.sh @@ -13,12 +13,14 @@ export OMP_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1 MKL_NUM_THREADS=1 NUMBA_NUM_THRE export POLYSTORE_IMAGEJ_CACHE_ROOT=/home/ts/.cache/polystore/imagej POLYSTORE_IMAGEJ_ALLOW_DOWNLOAD=false fleet_require_artifact_destination "$FLEET_SLOT" scratch="$FLEET_SCRATCH" +# The existing ancestry owner checks predecessor units on the user bus. Resolve +# custody before replacing the user runtime directory with private OpenHCS IPC. +context=$(fleet_author_context) +ancestry=$(jq -r '.read_roots|join(":")' <<< "$context") # NTFS carries scientific payloads, not private config or POSIX0700 IPC runtime. control="$FLEET_WORKSPACE/output/runtime" export XDG_CACHE_HOME="$scratch/cache" XDG_CONFIG_HOME="$control/config" XDG_DATA_HOME="$control/data" XDG_STATE_HOME="$control/state" XDG_RUNTIME_DIR="$control/xdg-runtime" TMPDIR="$scratch" NUMBA_CACHE_DIR="$scratch/numba" MPLCONFIGDIR="$scratch/matplotlib" OPENHCS_UI_CONFIG_CACHE_FILE="$control/config/ui-config-cache.json" reservations="/home/ts/.openhcs/tcp/$FLEET_NATIVE.startup.lock:/home/ts/.openhcs/tcp/$FLEET_NATIVE_ACK.startup.lock:/home/ts/.openhcs/tcp/$FLEET_VIEWER.startup.lock:/home/ts/.openhcs/tcp/$FLEET_VIEWER_ACK.startup.lock" -context=$(fleet_author_context) -ancestry=$(jq -r '.read_roots|join(":")' <<< "$context") export OPENHCS_AGENT_READ_ROOTS="$FLEET_WORKSPACE/output:$FLEET_ARTIFACT_ROOT:$scratch:$FLEET_INPUT:$FLEET_INSTALL/openhcs/agent/resources/knowledge:$reservations${ancestry:+:$ancestry}" export OPENHCS_AGENT_WRITE_ROOTS="$FLEET_WORKSPACE/output:$FLEET_ARTIFACT_ROOT:$scratch:$reservations" mkdir -p "$XDG_CACHE_HOME" "$XDG_CONFIG_HOME" "$XDG_DATA_HOME" "$XDG_STATE_HOME" "$XDG_RUNTIME_DIR" "$NUMBA_CACHE_DIR" "$MPLCONFIGDIR" From 24ca35d46797e7b075d449a17001b5627d597824 Mon Sep 17 00:00:00 2001 From: Tristan Simas Date: Sun, 4 Oct 2026 13:36:20 -0400 Subject: [PATCH 2/3] Record original continuation bootstrap failure and control-bus verification --- .../RECEIPT.rst | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 docs/validation/continuation_control_bus_20261004/RECEIPT.rst diff --git a/docs/validation/continuation_control_bus_20261004/RECEIPT.rst b/docs/validation/continuation_control_bus_20261004/RECEIPT.rst new file mode 100644 index 0000000000..f56a0f8dd8 --- /dev/null +++ b/docs/validation/continuation_control_bus_20261004/RECEIPT.rst @@ -0,0 +1,63 @@ +Continuation control bus before private IPC +========================================== + +Source branch fix/continuation-control-bus-before-private-runtime-20261004, +checkpoint4d2736c38, draftPR646. Finished #256 checkout reused after tracked-clean +check, main containment and no process cwd/maps borrower except inspection shell. +Historical native-attempt untracked artifacts and eight foreign submodule worktrees +were preserved; no recursive submodule update, reset, clean, environment or build. +315 was separately released to parent's manuscript work and was not edited. + +Actual failure +-------------- + +P001 stored child94 original authorTTY8715 resumed01a107ad-3b9a-7383-83fe-003aaea06fa1 +after admission PASS. Its ONE recorder failed17:25:29UTC with numeric clientexit1, +``Failed to connect to user scope bus via local transport: Argument list too long``. +No first-mcp-started.epoch was created. Exact intended MCPscope is not-found, +no InvocationID, and6012/6013/7012/7013 vacant. The failed recorder journals and +initial instructions/seals remain unchanged; this was not an uncertain native +scientific execution and is not a biological rejection. + +Read-only original reproducer: ``systemctl --user show`` of the positively closed +predecessor returns the exact error/exit1 with the new private XDG_RUNTIME_DIR; +the same command with /run/user/1000 returnsnot-found/exit0. This is a control-bus +environment failure, not an argument-sized pipeline or an invented memory cap. + +Owner and closure +----------------- + +The original slot owner fleet_author_context performs predecessor writer release +and derives CLI ancestry/read roots. Both callers were enumerated: launch-author +already calls before private runtime configuration; mcp-client called after it. +All user-bus calls in original helpers, resource owner and slot owner were traced. +Move ONLY the existing mcp-client context/read-root projection before it changes +XDG_RUNTIME_DIR. No bus wrapper, copied custody decision, store, timeout increase, +alternate client, history reconstruction or scientific pipeline change. +The existing later systemd-run bus environment and child-private IPC split remain. +Pattern IDEN-1: user-control runtime location and private IPC are different roles; +the owning performer's lifecycle order resolves the collision without a mirror. + +Verification and limits +----------------------- + +Original Bash family syntax and source diff checks PASS. Actual corrected existing +fleet_author_context on canonical FUND/P001_CAPACITY_DEV94 passes both original +closed writer checks and projects exact readonly HOME/HDD ancestry + native child +resume argv. No MCP unit/startup epoch/assigned listeners independently verified. +An initial local check incorrectly sourced Bash code under zsh (bad substitution); +the determining production-shell check was Bash and returned0. Both observations +are retained in the original tool history, not hidden as a product defect. + +Bash/JQ ownership and lifecycle tracing is the determining source evidence. Python +AST is not a parser or behavior proof for these shell scripts; no Python production +declaration, decoder, dependency or runtime file changed. This is not a new global +Python architecture acceptance claim. No active/frozen operation bytes changed. +Full corrected recorded-client bootstrap remains NEXT receiving acceptance; +source syntax and control-bus projection do not claim a native/MCP health PASS. + +Independent original native metadata read connection initialized/closed0, issuing +only thread/read and thread/turns/list with original rollouts read-only. All three +interrupted author turns are positively stored interrupted/errornull. Retained +MCP/native/viewer family closure is distinct and still needs exact typed owner +reconciliation; no scientific input was replayed and no original clock edited. From 97174ecf61f46d1e908c2e6736530b3297debd7d Mon Sep 17 00:00:00 2001 From: Tristan Simas Date: Sun, 4 Oct 2026 13:55:35 -0400 Subject: [PATCH 3/3] Record actual continuation MCP bootstrap and read-only ancestry acceptance --- .../RECEIPT.rst | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/docs/validation/continuation_control_bus_20261004/RECEIPT.rst b/docs/validation/continuation_control_bus_20261004/RECEIPT.rst index f56a0f8dd8..a9e7f4d2ba 100644 --- a/docs/validation/continuation_control_bus_20261004/RECEIPT.rst +++ b/docs/validation/continuation_control_bus_20261004/RECEIPT.rst @@ -53,11 +53,21 @@ Bash/JQ ownership and lifecycle tracing is the determining source evidence. Pyth AST is not a parser or behavior proof for these shell scripts; no Python production declaration, decoder, dependency or runtime file changed. This is not a new global Python architecture acceptance claim. No active/frozen operation bytes changed. -Full corrected recorded-client bootstrap remains NEXT receiving acceptance; -source syntax and control-bus projection do not claim a native/MCP health PASS. +Corrected recorded-client receiving now passed on the actual installed whole03: +engineering646/recorded01, original TTY73207, epoch1791136274, +MCP InvocationID8d2a3b78141a466aa28e238c5b9baf17. Health statusok/errors[]; +ordinary first_use context succeeded. Actual server environment contains original +P001 HOME/HDD ancestry in READ roots and excludes it from WRITE roots. +No provider/author/native/viewer or scientific request. One malformed CLI command +returned known usage error before dispatch; corrected ordinary command succeeded. +Explicit exit yielded terminal2 (preserved usage negative), server absent and +scope inactive/Resultsuccess. Positive startup/roots are distinct from CLI status. +Full journals and owner closure: engineering646/recorded01/OWNER-TERMINAL.rst. Independent original native metadata read connection initialized/closed0, issuing only thread/read and thread/turns/list with original rollouts read-only. All three interrupted author turns are positively stored interrupted/errornull. Retained -MCP/native/viewer family closure is distinct and still needs exact typed owner -reconciliation; no scientific input was replayed and no original clock edited. +MCP/native/viewer family closure is now separately positive: original owned +shutdown outcomes acknowledged/process_exited allTRUE for six processes, +OWNER-INTERRUPTED636-TERMINAL.rst and18 closed journal hashes preserved. No +scientific input was replayed and no original clock edited.