Skip to content

[doc-drift] 10-runtime.md lifecycle hooks table omits OnTickAborted / FatalStop; RuntimeOptions table omits SystemExceptionPolicy #608

Closed

Description

@github-actions

Doc pages

doc/in-depth-overview/10-runtime.md, section §9 "Lifecycle" (lines 304–316):

The tick-level hooks block documents only OnFirstTick and OnShutdown. It does not mention the three new public surface items added by PR #601:

  • TyphonRuntime.OnTickAborted — event fired once on the TickDriver thread after an AbortTickAndStop tick fully drains.
  • TyphonRuntime.LastTickOutcome — property exposing the outcome of the last tick (success or the abort record).
  • TyphonRuntime.FatalStop() — stops the runtime without running OnShutdown, intended for host code reacting to OnTickAborted.

doc/in-depth-overview/10-runtime.md, §9 RuntimeOptions knobs table (lines 318–328):

The table omits SystemExceptionPolicy (default Isolate, new option AbortTickAndStop).

None of these are mere omissions of future-planned items — they are all implemented, public API from PR #601.

Contradicting code

src/Typhon.Engine/Runtime/public/TyphonRuntime.cs:

  • public event Action<TyphonRuntime, TickOutcome> OnTickAborted (line ~173)
  • public TickOutcome LastTickOutcome { get; private set; } (line ~166)
  • public void FatalStop() (line ~353)

src/Typhon.Engine/Runtime/public/RuntimeOptions.cs:

  • public SystemExceptionPolicy SystemExceptionPolicy { get; set; } = SystemExceptionPolicy.Isolate;

Suggested fix

Add OnTickAborted, LastTickOutcome, and FatalStop() to the §9 hooks section alongside OnFirstTick / OnShutdown.

Add SystemExceptionPolicy to the RuntimeOptions knobs table with default Isolate and a note that AbortTickAndStop terminates the runtime on the first fatal system exception.

Introduced by: #601

Activity

  1. added
    documentation
    on Jul 31, 2026
  2. added a commit that references this issue on Jul 31, 2026
  3. added a commit that references this issue on Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions