Repository navigation
Conversation
Exohayvan
force-pushed
the
ai/next-step-20260630-090725
branch
from
June 30, 2026 15:51
4a1727f to
9d96810
Compare
Contributor
Author
|
Closing during PR cleanup: this is superseded by #57, which keeps the same outbox direction and includes stronger source/processed-count metadata. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objective
Add a dedicated local transport outbox path for worker-emitted messages during
process-local-inboxruns, so a node can publish results as a transport artifact without changing existing replay/audit log semantics. This closes a small communication gap in the local prototype and keeps the change scoped to the current transport seam.What changed
local_transport.py:outboxes/<node-id>.json.sender_node_id == node_id), duplicatemessage_idrejection, and strict version/schema checks.process-local-inboxCLI behavior incli.py:--write-transport-outboxflag.--transport-dir.transport_outbox_pathandtransport_outbox_message_countwhen enabled.--output-message-log-pathreplay/audit behavior unchanged.tests/test_local_transport.py: added outbox path, happy-path load/write, and failure-path validation coverage.tests/test_cli_transport.py: added end-to-end transport outbox write path, payload assertions, invalid flag-combination check, and malformed-input no-overwrite behavior.tests/test_cli.py: parser/build/arg contract updates for the new CLI flag.README.mdusage documentation to include the new workflow and to distinguish transport outbox output from output-message replay logs.Validation
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=src python -m unittest discover -s tests -vSafety notes