Repository navigation
Conversation
| await signals.wait("worker", "old", 0, 60) | ||
| pending.cancel() | ||
| with pytest.raises(asyncio.CancelledError): | ||
| await pending |
This branch has not been deployed
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.
Summary
Extend the companion launcher merged in #80 with native pulsing plugins for Pi coding agent and DeepSeek Harness (DSH), plus opt-in, bounded message-driven scheduling for Pi only.
Native plugins
python -m pulsing.mailbox pi-plugin|dsh-plugin --output .... No npm publication, global installation or profile mutation is performed by the generator/wrapper.Message-driven Pi dispatch
mail_waitAPI. Waiting happens in the MCP coroutine, not inside the serial mailbox actor. Snapshot/subscription races, cross-thread notifications, cancellation and waiter limits are handled without a broker or log-file watcher.--dispatchor/pulsing resumeenables it; native permissions and approvals are unchanged./pulsing status|pause|resume. Reload retains the volatile cursor, budget and pause state. Explicit resume rescans unread/read work; it does not steal processing leases or recover interrupted side effects.Validation
PULSING_NATIVE_SDK_ROOT="$PWD/.pulsing/harness-dev" .venv/bin/pytest tests/python --ignore=tests/python/test_chaos.py -q: 715 passed, 16 skipped.node --test tests/python/mailbox/dispatch.test.mjs tests/python/mailbox/native_bridge.test.mjs: 13 passed..venv/bin/ruff check python tests examples, scoped Python formatting,git diff --check, and changed-document relative-link checks: passed.npm pack --dry-runcontents checks: passed./pulsing resumecommand. Zero external model requests or real API keys were used. This is a harness integration test, not a mathematical/model-quality benchmark.PULSING_NATIVE_SDK_ROOT; the public docs give pinned local installation commands. CI does not invoke paid models. Local dependencies, profiles, credentials and private experimental artifacts are excluded.Scope and limitations
Review entry points
python/pulsing/mailbox/signals.pyandactors.py: delivery edges, cursors, bounded waits and observations.python/pulsing/mailbox/plugins/dispatch.mjsandpi.mjs: bounded scheduler and native Pi lifecycle binding.python/pulsing/mailbox/plugins/bridge.mjs,dsh.mjs, andnative.py: shared transport, bootstrap and plugin packaging.tests/python/mailbox/test_dispatch.py,dispatch.test.mjs, anddispatch_sdk_probe.mjs: concurrency, cancellation, limits and real harness execution.docs/src/design/native-agent-plugins.mdanddocs/src/design/message-dispatch.md: installation, operator controls and guarantees.Builds on #80.