You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow an application to supply an icon pack for a component tree. Icons omitted from the pack retain their design-system defaults.
9695-icon-pack-support.mp4
The component demo shows scoped replacements and fallback using the merged source. Checkbox states and both loading-spinner variants keep their design-system rendering.
Export IconProvider and IconPack for scoped icon replacement
Keep checkbox marks and loading indicators independent of icon packs
Keep test files out of published component entry points and declarations
Add a design-system patch changeset
Test coverage
IconProvider tests verify fallback, nested providers, checkbox state, loading indicators, sizing and accessible labels. Design-system, Petrinaut and website build, unit tests, types and lint passed on the Petricon integration tip.
Medium Risk
New browser execution path for simulations/optimizations from chat with ownership locking and cancellation; moderate scope across core, React host, and AI UI, though heavily tested.
Overview
Adds AI-driven experiments end-to-end: petrinaut-core defines validated createExperiment request/result schemas and a runExperiment host contract (simulate or optimize, up to 100,000 runs). The React experiment host validates a frozen net snapshot, runs Monte Carlo or in-browser optimization with progress/cancellation, and locks experiment UI while a host-owned request is active.
The AI assistant executes createExperiment via ExperimentHostContext, shows progress cards with cancel/view-experiment, and keeps the panel mounted across Edit, Simulate, and Notebook. Net compilation diagnostics now note that scenario/metric checks happen at experiment creation.
Also ships an /ai-experiments website demo with a scripted transport, docs updates, and extensive tests.
Separately, ds-components adds IconProvider / IconPack for scoped icon overrides (defaults when omitted), excludes *.test.tsx from build entries, and exports the new API.
Reviewed by Cursor Bugbot for commit c457573. Bugbot is set up for automated code reviews on this repo. Configure here.
An error occurred while trying to automatically change base from
codex/fe-1484-ai-experiments to
codex/fe-1667-ai-experiment-chatSeptember 15, 2026 13:50
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
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.
Summary
Allow an application to supply an icon pack for a component tree. Icons omitted from the pack retain their design-system defaults.
9695-icon-pack-support.mp4
The component demo shows scoped replacements and fallback using the merged source. Checkbox states and both loading-spinner variants keep their design-system rendering.
Links
Changes
IconProviderandIconPackfor scoped icon replacementTest coverage
IconProvider tests verify fallback, nested providers, checkbox state, loading indicators, sizing and accessible labels. Design-system, Petrinaut and website build, unit tests, types and lint passed on the Petricon integration tip.