Repository navigation
FE-1668: Demonstrate AI experiment and optimization integration - #9654
Merged
kube merged 3 commits intoSep 15, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
kube
removed this pull request from stack #9698
September 14, 2026 15:50
kube
added this pull request to stack #9717
September 14, 2026 15:51
kube
force-pushed
the
codex/fe-1484-ai-experiments
branch
from
September 14, 2026 16:00
6a55503 to
9328684
Compare
CiaranMn
force-pushed
the
codex/fe-1484-ai-experiments
branch
from
September 14, 2026 16:13
9328684 to
a7ca66a
Compare
kube
force-pushed
the
codex/fe-1484-ai-experiments
branch
from
September 14, 2026 16:18
a7ca66a to
9ee4cf1
Compare
3 tasks done
kube
force-pushed
the
codex/fe-1484-ai-experiments
branch
from
September 14, 2026 19:25
9ee4cf1 to
4334375
Compare
lunelson
previously approved these changes
Sep 14, 2026
lunelson
left a comment
Contributor
There was a problem hiding this comment.
Approved by Lu Nelson following an agent-assisted review of this PR against its parent and FE-1668. No actionable introduced defects found in the scripted transport, explicit launch commands, cancellation, or result-derived replies. The distinction between this demo and production Brunch integration is clear.
Verification on the integrated four-PR stack: core package build passed; 231 targeted tests across 11 files passed, including all 26 demo transport tests. Live-browser simulation and optimization were not rerun during this review; the recordings predate the rebase, as noted in the PR.
kube
force-pushed
the
codex/fe-1484-ai-experiments
branch
from
September 15, 2026 01:18
4334375 to
bb795fc
Compare
CiaranMn
previously approved these changes
Sep 15, 2026
CiaranMn
approved these changes
Sep 15, 2026
This branch was successfully deployed
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.
Important
Experimental optimization
Optimization requires Parameter sweeps and In-browser optimization. Simulation is available without these flags.
Summary
Add an
/ai-experimentsdemo with scripted AI replies and real browser computation. The conversation proposes an experiment, starts it on request, and reports the returned results.The example uses a saved SIR model with distributions. The integration guide separates Petrinaut's execution and chat responsibilities from Brunch's tool selection, transport, and agent behavior.
Experiment
experiment.mp4
Optimization
optimization.mp4
Links
Blocked by
Changes
Known issues
The SIR example is illustrative and uncalibrated. Searching initial infection levels demonstrates parameter search. Brunch adoption requires its own catalog registration and transport test, tracked in FE-1484.
Test coverage
The stack includes a fix for the HASH Edge deployment: AI schemas no longer import the worker backend. A bundler regression covers the dependency boundary, and all 52 integrated validation tasks passed again after the fix.
After the 15 September restack onto main
a898a13810, core, editor, website, and Brunch builds, unit tests, TypeScript, and lint passed on the integrated stack (52 tasks). Architecture validation, the documentation site build, and changed-file formatting passed.Browser verification completed 256 simulation runs, opened the heatmap and a time-slice histogram, and confirmed the fixed title is read-only. No console errors were reported. Optimization and cancellation are covered by tests; browser optimization was not rerun at the user's request. Existing recordings predate this restack.
How to test
turbo run dev --filter @apps/petrinaut-websitehttp://localhost:5173/ai-experiments, using the printed port if it differs