Skip to content

History / API BaseStateMachine

Revisions

  • fix: replace all Mermaid diagrams with ASCII text to fix rich text render errors GitHub wiki's Mermaid renderer fails with 'Unable to render rich display' on many pages. Convert all 41 Mermaid blocks across 23 pages to plain text/ASCII art equivalents using Unicode box-drawing characters. Affected pages: API-BaseStateMachine, API-BaseEntity, API-Orchestrator, API-Factory, API-Scheduler, API-NetworkManager, API-ActorPool, API-ServiceManager, API-BehaviorTree, API-DataStoreHandler, API-EntityPersistence, Architecture, Home, Getting-Started, Quick-Start, Registration-Guide, Replication-Pipeline, Examples, Hierarchical-FSM, Pooling-Strategy, Versioning, Debugging, Best-Practices

    @Copilot Copilot committed May 1, 2026
  • docs: comprehensive wiki audit — all 36 pages expanded with examples, diagrams, edge cases - API pages: full method signatures, typed params, returns, side effects, mermaid diagrams - Core APIs (BaseStateMachine, BaseEntity, Factory, Orchestrator, BehaviorTree, Scheduler): ~4000 lines added - Infrastructure APIs (NetworkManager, Logger, Signal, Types, Settings, ActorPool, ServiceManager): expanded with examples - Persistence (DataStoreHandler, EntityPersistence, Pooling, Replication, Versioning): data flow diagrams, failure modes - Guides (Getting-Started, Quick-Start, Architecture, Best-Practices, Examples, Debugging, etc.): full walkthroughs - Navigation (Home, Sidebar, Footer, API-Reference, Glossary): complete cross-linking Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

    iKrypto committed May 1, 2026
  • docs: update wiki for ServiceManager rebrand + new framework features Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

    iKrypto committed May 1, 2026
  • docs: comprehensive wiki audit, expansion, and uniformity pass Performed full audit of the framework source vs. existing wiki and brought every page up to a uniform Template A (API) / Template B (conceptual) format with rich examples, edge cases, and explicit best/poor use-case sections. New pages (7): - API-NetworkManager — full RPC/EventBus reference - API-ActorPool — parallel job execution - API-ServiceManager — dev console & 9-page UI surface - Hierarchical-FSM — sub-machine deep dive - Replication-Pipeline — end-to-end replication walkthrough - Pooling-Strategy — entity reuse patterns - Performance-Tuning — frame-budget tuning, priority math Heavy expansions / rewrites (9 stub or thin pages): - API-Logger, API-DataStoreHandler, API-EntityPersistence - Versioning, Architecture, Best-Practices, Getting-Started - Production-Readiness, Debugging (now covers 13 common bugs and all 10 ServiceManager pages) Polish on already-strong pages (verified vs. source audit, added missing methods, examples, anti-patterns, and Common Pitfalls): - API-BaseStateMachine, API-BaseEntity, API-Orchestrator - API-Scheduler, API-Signal, API-BehaviorTree, API-Factory - API-Types, API-Settings, API-Reference Navigation: - _Sidebar.md reorganized into 6 logical sections, surfaces all new pages - _Footer.md updated with Architecture + Performance Tuning - Home.md learning paths updated to weave in new pages; Quick Reference table expanded with 7 new entries Validation: - 36 pages total (was 29); 517 KB total (was ~250 KB) - All 33 content pages have a See Also section - Zero broken internal links (34 link targets all resolve)

    @iKryptonic iKryptonic committed May 1, 2026
  • docs: update wiki for parity fixes and backported features Update API-BaseEntity: _pendingKeys tracking, schema 'any' type & Default fallback, InitialData parameter, destroy lifecycle (IsValid true during Destroyed signal), UpdateEntity strips _v, lock semantics (nil not false), StateUpdated fires (changes, changedKeys). Update API-BaseStateMachine: reentrance guard on ChangeState, idempotent Destroy/Cancel guards, OnLeave xpcall protection, OnLeave skip on self- transition, post-OnLeave IsActive check, terminal state synchronous OnEnter, task.defer for non-terminal states, pcall-wrapped cleanup tasks, StateChanged signal timing, legacy function-state cleanup during teardown. Update API-Factory: InitialData param, AutoStart/InitialState for CreateStateMachine, Context.FSM injection, StaticInit/Initialize hooks, broadcast sanitization, pool reuse reset details, context/definition cloning. Update API-Orchestrator: _pendingUpdates buffer, schema validation on client, version gap warning, GetEntitySnapshot sanitization, SyncEntitiesFromServer passes InitialData, RetryStateMachine context clone, re-entrant init guard. Update API-Scheduler: logger nil-safety, TaskStats/LastFrameStats init, Clear() resets _taskCount/_historyIndex. Add Migration-Guide parity update section with breaking changes and additions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

    @iKryptonic iKryptonic committed Apr 30, 2026
  • Update wiki

    iKrypto committed Feb 7, 2026
  • Update wiki

    iKrypto committed Feb 7, 2026
  • update doc

    iKrypto committed Feb 4, 2026
  • Update docs

    iKrypto committed Feb 3, 2026
  • Update doc

    iKrypto committed Feb 3, 2026
  • update wiki

    iKrypto committed Feb 3, 2026
  • Update styling

    iKrypto committed Feb 3, 2026
  • changes

    iKrypto committed Feb 3, 2026
  • initial commit

    iKrypto committed Feb 3, 2026