Repository navigation
Document the strict tick-abort policy across doc/ (#604-#608) - #610
Merged
Merged
Conversation
… doc/ [no-ut] [no-doc] PR #601 added RuntimeOptions.SystemExceptionPolicy but nothing in doc/ moved, leaving four feature-set pages and the runtime overview asserting fault-isolation semantics as unconditional — "one failure doesn't abort the tick", "other DAG branches continue", "it does not abort sibling members". Each fix qualifies the existing statement as the Isolate default rather than replacing it, then states what AbortTickAndStop does instead. All five also carry the two exemptions none of the filed issues mention: engine tracks never observe the abort flag (D3 — the fence runs no matter what), and abort granularity is the system rather than the chunk (D1), so a system already running drains all of it. 10-runtime.md additionally gains OnTickAborted / LastTickOutcome / FatalStop in the §9 hooks list and SystemExceptionPolicy in the RuntimeOptions knobs table, none of which existed in the docs despite being public API since #601. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SVvtTh6p1AJoSX85AGcAhF
This was referenced Jul 31, 2026
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.
Fixes #604
Fixes #605
Fixes #606
Fixes #607
Fixes #608
PR #601 added
RuntimeOptions.SystemExceptionPolicybut nothing indoc/moved, so four feature-set pages and the runtime overview still assert fault-isolation semantics as unconditional — "one failure doesn't abort the tick", "other DAG branches continue", "it does not abort sibling members". All five statements are correct only under the defaultIsolate.Approach
Each fix qualifies the existing sentence as the
Isolatedefault rather than replacing it, then states whatAbortTickAndStopdoes instead. The existing prose isn't wrong — it's the exact contract of the policy every current user is on, and rewriting it would make the common path read as the exception.All five also carry two exemptions that none of the filed issues mention, both from
claude/design/Runtime/08-strict-tick-abort.md:claude/rules/runtime-scheduling.mdTP-01a marks skipping the fence[fatal][silent](durable un-WAL'd page mutations), so the simplified version would teach readers to expect the corruption case.Verified against code, not just the issue text
DagScheduler.cs:1344/:894/:1679— the gate isIsTickAborted && !_systemIsEngine[sysIdx], read at claim time as well as fan-out, which is why "independent branches continue" is wrong and why a ready-but-unclaimed DAG root can't slip through.:1679sits before the_systemFailedbranch at:1687—TickAbortedwins overDependencyFailed.TyphonRuntime.cs:2023-2028—OnTickAbortedfires only whenIsTickAbortedlatched, andTryRecordTickAbort:153no-ops unless the policy isAbortTickAndStop. (TickOutcomeReason.FenceFailureis declared but never produced anywhere insrc, so "only underAbortTickAndStop" holds.)Changes
feature-set/Runtime/system-types/README.mdfeature-set/Runtime/system-types/callback-system.mdfeature-set/Runtime/system-types/pipeline-system.mdfeature-set/Runtime/system-types/compound-system.mdin-depth-overview/10-runtime.mdOnTickAborted/LastTickOutcome/FatalStop; knobs table gainsSystemExceptionPolicy)Docs only, no code.
claude/scripts/check-doc-drift.pygreen (no drift in enforced docs). Section anchors verified against the actual headings.Not in scope:
chunked-callback-system.mdhas no failure-semantics bullet at all, so nothing there is wrong and no issue covers it — but D1 applies to it too, worth a follow-up.🤖 Generated with Claude Code
https://claude.ai/code/session_01SVvtTh6p1AJoSX85AGcAhF