Repository navigation
Release 1.0.0 - #24
Merged
Merged
Conversation
`GameLovers.StateChart.Editor.Tests.asmdef.meta` and `StateChartChoiceTest.cs.meta` carried a capital C while the asmdef and test file they describe are lowercase `Statechart`. macOS's case-insensitive filesystem hides this, but on a case-sensitive one Unity sees each .meta as orphaned and reassigns the asset a fresh GUID, breaking references. Rename only -- both GUIDs are unchanged (b0400479..., 51310419...). Surfaced while re-attesting the 0.9.4 release: the repack would have shipped .meta names that do not match their assets, because the published tarball happens to carry the correctly-paired lowercase names.
A whole-file rename prefixed this fixture's activity field with an underscore and carried the prefix into two RCR anchors and a lambda parameter. The anchors named `if (!_activity.IsCompleted)`, which occurs nowhere in production: Runtime/Internal/WaitActivity.cs AreInnerCompleted reads `if (!activity.IsCompleted)` over its inner activities. A lambda parameter is its own scope, and its siblings in this file already use waitActivity. The shared block now says the harness already prints the fixture count, that the post-fix observation is one re-run of the same probe, and that correcting an existing ADMIT or RCR line is itself a claim about production which must be read and re-checked. Edited identically in all six packages; Tools/lint-agent-guides.py fails if they diverge. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…mple - Run-to-completion event queue; Pause stops mid-chain; Reset and Dispose abandon queued events, pending waits and tasks, and cancel token-aware tasks. - TaskWait faults complete the state; task completions resume on the main thread. - Split action-only events keep inner waits running. - New read-only topology (RootRegion), GetActiveStates, Traced trace stream, Name, Dispose, and Mermaid/active-path export. CurrentState is removed. - Statechart Debugger window with three side-by-side views: live nested chart, Graph Toolkit graph (6000.6+), and state tree with trace history. - Game Flow sample covering every state kind. - Deterministic tests without frame yields, plus lifecycle and observability suites. - UniTask 2.5.11 and the UIElements module are declared dependencies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er code in the Editor - IStateNode, IRegionNode and ITransitionEdge are implemented by the live states, StateFactory and Transition objects; the parallel node graph, StatechartTopologyBuilder, TransitionInfo and CollectTransitions are gone. - StatechartRegistry and StatechartExport move to the Editor assembly; the runtime keeps one Editor-only Statechart.Created discovery event. - Statechart drops five fields: a lifecycle enum replaces the running and disposed flags, the cancellation token replaces the generation counter, IsActive walks the active states without a buffer, and the name counter goes. - New test: Reset from an enter callback stops the automatic chain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Graph Toolkit 6000.6 has no read-only mode, so the generated graph pins a warning to its first node saying edits never reach the game. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ontent The flat Graph Toolkit graph hid nest and split hierarchy and could not be made read-only, so the debugger keeps the live chart and the tree with trace. The toolbar toggles are named after each view and turn it on or off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sets the package version to 1.0.0, promotes the pending notes to the dated 1.0.0 entry with migration guidance, points the README install URL at the 1.0.0 tag, and restores the changelog's CRLF line endings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The debugger rules now live in a Statechart Debugger section of the package AGENTS.md, matching the root-plus-Tests layout of the other packages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-and-1.0-runtime Statechart Debugger, observability API and Game Flow sample
Gives the imported sample folder a stable GUID, as the other packages' samples have, and satisfies the release docs gate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…meta Add the Game Flow sample folder meta
The release gate requires the changelog date to match the publication day. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Date the 1.0.0 release 2026-11-17
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
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.
New:
IStatechart.RootRegionexposes the chart's structure throughIRegionNode,IStateNodeandITransitionEdge, andGetActiveStatesand the allocation-freeIsActivereport which states are active. The view is the live chart itself, so it costs nothing to build.IStatechart.Tracedpublishes every event, exit, transition, enter, fault and lifecycle step in execution order as aStatechartTrace; nothing is allocated while no one listens.Statechart(string name, Action<IStateFactory> setup)constructor,NameandIsRunning, andIDisposablesupport.Dispose()stops the chart for good, cancels token-aware tasks and removes it from the debugger;Run()after it throwsObjectDisposedException.ITaskWaitState.WaitingForoverloads receive aCancellationTokenthatReset()andDispose()cancel.Changed:
Reset()now drops queued events and abandons pending waits and tasks, so their late completion no longer moves the chart.LogsEnablednow writes one trace line per step, such as[Statechart 'Player'] Idle -> Jumping on 'Jump'.ArgumentNullException, and a setup without an initial state throwsInvalidOperationExceptioninstead ofMissingMemberException.Removed:
Statechart.CurrentState.Migration:
CurrentStatewithGetActiveStates,IsActiveor the Statechart Debugger.IStatechartimplementations must add the new members:Name,IsRunning,RootRegion,Traced,GetActiveStates,IsActiveandDispose.InvalidOperationExceptioninstead ofMissingMemberExceptionfor a setup without an initial state.Fixed:
TaskWaitstate whose task throws no longer blocks the chart and its parent splits forever; the fault is logged and the state completes.TaskWaitstates now resume the chart on the main thread, and aTaskcompleting on the main thread resumes it in the same frame.Docs: