Round 2 responses: core models and notifications¶
- Cedric P2; fix item 8: Accepted.
NotifyPersistedAsyncrecognizes a dispatcher with independent channel deadlines.FileNotificationOutboxgives each channel its own bounded token andWaitAsync, observes abandoned task faults, and continues after a channel timeout. The regression enters throughNotifyPersistedAsyncwith an uncooperative hung first channel and verifies the second channel runs. - Jenny B High 1: Accepted. Normalize executable path and require a local Windows drive path; reject forward/mixed UNC and device paths. Pin working directory to the executable directory. Child environment contains no inherited values; on Windows only
SystemRootfrom the Windows special folder is seeded. Fake-runner tests assert the working directory and environment count. Actual installed Pavlok network behavior remains unverified; no real process or network notification was sent. - Jenny B Medium 5; fix item 9: Accepted. Process-tree kill is best-effort without replacing the original exception. Process runner, notifier and outbox check caller cancellation at entry. Outbox rethrows caller cancellation and stops before the next channel. SMTP honors the supplied token instead of imposing its own ten-second deadline. Email handles its own timeout, bounds subject slicing before allocation and preserves surrogate boundaries. OS-level child-exit/kill race remains unverified because no live process fixture was launched.
- Jenny A1 High 2: Accepted. Raw escaped JSON string/property tokens are checked for paired surrogate escapes before materialization. Numeric overflow produces
JsonException. Tests cover lone high/low surrogates, property names, mismatched pairs, valid pairs, literal escaped backslashes and1e400. - Jenny A1 Medium 3: Accepted. Malformed requests/action/lifetime return
Invalidbefore recording clock state where determinable. Pre-epoch dates are rejected. Caller cancellation propagates from request/evaluate/notify. Notification late faults are observed. Gate uses atomicIApprovalClock.TryObserveAsync; durable implementation overrides sampling inside its transaction. The interface default preserves existing in-memory test adapters. - Jenny A1 Medium 4: Accepted. Digests require lowercase hex; negative decimal zero is rejected; non-null target labels/recipients cannot be blank, recipient collections cannot be empty, and Spend requires positive amount plus currency. ActionTarget equality and hash include recipient sequence values. Regression tests cover each condition.
- Jenny A1 backend consume requests: Superseded by required executor-only consumption. Gate evaluates advisory state repeatedly and never calls
IReplayStore, even when the legacy consume argument is true. Updated regression asserts zero replay calls. Executor ledger concurrency belongs to the executor tests. - Jenny B backend outbox requirements: Added 16 concurrent notifications asserting one dispatch, pre-cancelled no-reservation and mid-loop cancellation assertions. Tests use synthetic in-memory channels and repository-local temporary state only.
Verification¶
Focused test commands and their real logs are notify-models-test*.log / .err beside this file. Initial test compilation exposed deleted legacy clock/replay references in NotificationPersistenceTests, now replaced by a test-local clock. The second run compiled all four product projects but encountered concurrent executor-test work (ReadQueuedEffect missing). Final run result is recorded below after integration.