Skip to content

V9 - #10

Merged
Inventure71 merged 10 commits into
mainfrom
v9
Jun 4, 2026
Merged

V9#10
Inventure71 merged 10 commits into
mainfrom
v9

Conversation

@Inventure71

Copy link
Copy Markdown
Owner

No description provided.

…e API

- Introduced a new document outlining the scope of improvements for the upcoming 3.x release, focusing on host ergonomics based on feedback from the 3.0.0 integration.
- Added a checklist for upgrading hosts to PaddockJS 3.x, detailing installation steps, theme management, and new API usage.
- Implemented a CSS-free data subpath for easier access to data helpers without browser dependencies.
- Created tests for the new data subpath to ensure proper functionality and isolation from browser runtime modules.
- Developed a runtime theme API to allow dynamic theme changes without restarting the simulator, enhancing user experience.
- Included public theme helpers and constants to facilitate theme management for hosts, ensuring consistency and ease of use.
- Added a guide for hosts to manage light/dark theme syncing and public theme reuse effectively.
…elpers

- Added detailed instructions for using the new runtime theme API, allowing dynamic theme changes without restarting the simulator.
- Introduced a CSS-free data subpath for easier access to data helpers, improving usability for developers.
- Updated AGENTS.md to include guidelines for using the remote Linear MCP path when the official connector is unavailable.
- Enhanced README.md and system_specs.md to reflect the new theme management features and their integration with the simulator.
- Improved the package.json to include new data helper exports, ensuring better accessibility for users.
- Added tests to validate the functionality of the new theme and data management features, ensuring robustness in various scenarios.
- Introduced new types and interfaces for resolved paddock themes, improving type safety and clarity in theme management.
- Updated the simulator controller and API methods to return resolved theme objects, enhancing the integration of theme features.
- Added tests to validate the new theme functionalities, ensuring robustness in various scenarios.
- Cleaned up documentation to reflect the changes in theme handling and API usage, improving guidance for developers.
- Enhanced the `assertCustomizationLightModeSurfaces` function to better manage the `is-lights-out` class state by preserving its previous state during assertions.
- Improved readability and maintainability of the code by utilizing `classList.toggle` for state management.
- Updated related documentation to reflect changes in the customization light mode functionality, ensuring clarity for future development.
- Enhanced the INSTALL_AND_UPDATE.md to provide clearer guidance on consuming the PaddockJS npm package, including links to Getting Started and Composable Layouts documentation.
- Added information about scoped package CSS and custom brand typography requirements for host applications.
- Updated the build setup instructions to reflect the use of the new @inventure71/paddockjs/environment and @inventure71/paddockjs/data imports for browser-free simulation and CSS-free data helpers.
- Improved the package release workflow documentation to include new npm scripts for documentation checks and validation processes.
- Introduced a new Composable Layouts document to guide users on placing package-owned simulator components in separate DOM roots, enhancing integration flexibility.
- Added a new script for benchmarking runtime efficiency, allowing users to evaluate performance across various simulation components.
- Introduced a `benchmark:runtime` command in package.json for easy access to the benchmarking tool.
- Updated documentation to include instructions on how to run benchmarks and interpret results, improving usability for developers.
- Enhanced test coverage for the new benchmarking features, ensuring robustness and accuracy in performance evaluations.
- Updated `architecture.md` to clarify responsibilities of various modules, including detailed descriptions of observation handling and ray sensor integration.
- Improved the `observations.js` and `observationVector.js` files to support new vector-only results and optimized state outputs for training loops.
- Introduced `appendRaySensorVectorValues` to streamline ray sensor data handling, enhancing performance during simulations.
- Enhanced runtime efficiency benchmarks to include new simulation phase profiling, improving performance evaluation capabilities.
- Updated tests to validate the new functionalities and ensure robustness in various simulation scenarios.
- Updated `architecture.md`, `custom_model_controller.md`, and `data_contract.md` to clarify the new compact transport protocol (version 2) for the Policy Runner, detailing the payload structure for reset and decision requests.
- Introduced `compactPolicyServerRuntimeOptions` to enforce compact vector transport in policy-server mode, optimizing data handling during interactions.
- Enhanced `policyServerController` to utilize the new compact payload structure, ensuring efficient communication with the server.
- Added tests to validate the new compact transport functionality and ensure correct payload formatting for both reset and decision requests.
- Improved runtime efficiency benchmarks to include metrics for the new compact JSON transport, validating performance improvements.
…cy benchmarks

- Enhanced `README.md` to include the new `benchmark:runtime` command for evaluating runtime efficiency, detailing its usage and expected outcomes.
- Updated `architecture.md`, `data_contract.md`, and `system_specs.md` to clarify the compact transport protocol (version 2) for the Policy Runner, emphasizing the payload structure for reset and decision requests.
- Added troubleshooting guidance in `troubleshooting.md` regarding the absence of rich observations in Policy Runner server mode.
- Improved `local-preview/README.md` to reflect changes in the Policy Runner's communication protocol and its implications for server interactions.
…ance optimizations

- Introduced a compact HTTP server mode for Policy Runner using protocol version 2, optimizing data handling by reducing payload size for `/policy/reset` and `/policy/decide-batch` requests.
- Enhanced performance through various optimizations in race-state commits, telemetry updates, and DRS latch handling, significantly reducing runtime overhead.
- Updated documentation across multiple files, including migration notes for upgrading to version 4.0.0, clarifying changes in API and transport protocols.
- Adjusted installation instructions to reflect the new version and ensure smooth transitions for users upgrading from previous versions.
@Inventure71
Inventure71 requested a review from Copilot June 4, 2026 14:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

@Inventure71

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Inventure71
Inventure71 merged commit 1da5862 into main Jun 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants