Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions docs/validation/continuation_control_bus_20261004/RECEIPT.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
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.
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 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.
6 changes: 4 additions & 2 deletions scripts/blind_analysis/operations/mcp-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading