FE-1529: Document the local optimizer loop - #9388
Closed
kube wants to merge 3 commits into
Closed
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
kube
force-pushed
the
cf/fe-1529-document-the-local-optimizer-loop
branch
from
August 27, 2026 20:09
ab1e936 to
96f7c6e
Compare
kube
force-pushed
the
cf/fe-1518-optimization-constraints
branch
from
August 27, 2026 20:09
540f999 to
ca852c2
Compare
|
Semgrep found 1 Unencrypted request over HTTP detected. |
3 tasks
kube
force-pushed
the
cf/fe-1529-document-the-local-optimizer-loop
branch
from
August 27, 2026 23:53
8cb3cd7 to
e01baad
Compare
kube
force-pushed
the
cf/fe-1518-optimization-constraints
branch
from
August 27, 2026 23:53
ca852c2 to
08758e2
Compare
kube
force-pushed
the
cf/fe-1529-document-the-local-optimizer-loop
branch
from
August 28, 2026 00:20
e01baad to
e6da41b
Compare
kube
force-pushed
the
cf/fe-1518-optimization-constraints
branch
from
August 28, 2026 00:20
08758e2 to
a6118e1
Compare
3 tasks
Collaborator
Author
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.
🌟 What is the purpose of this PR?
Documents
yarn dev:petrinaut-optimization, the one command that runs Petrinaut against the real optimizer service without any HASH infrastructure. Only the website README described it; this adds it to the architecture docs, attached to the optimizer layer. Stacked on #9371.🔗 Related links
🚫 Blocked by
🔍 What does this change?
libs/@local/petrinaut-arch-docs/content/optimizer/running-the-loop-locally.mdx, nested under the optimizer layer.petrinaut-opt, a read-only container on127.0.0.1:4004with a/statushealth wait, the petrinaut dist build, the demo website withVITE_PETRINAUT_OPT_PROVIDER=service, and container teardown on exit.yarn devshows no Optimizations view: the/optimizationroute gate and the nullPetrinautOptimizationContext./api/petrinaut-opt/*, the service, onepetrinaut servesubprocess per run) and links the subprocess-boundary and CLI pages.petrinautexecutable onPATH) and when to prefer each flow.optimization-dev.mjsnow forwards extra arguments to Vite, soyarn dev:petrinaut-optimization --port 5175 --strictPortpins the website port for tooling (e.g. an editor launch configuration).optimization-dev.mjsreuses an optimizer already serving on127.0.0.1:4004(e.g. the compose stack's) instead of failing on the port bind; teardown then leaves it alone.Pre-Merge Checklist 🚀
🚢 Has this modified a publishable library?
This PR:
📜 Does this require a change to the docs?
The changes in this PR:
🕸️ Does this require a change to the Turbo Graph?
The changes in this PR:
🛡 What tests cover this?
yarn workspace @local/petrinaut-arch-docs lint:arch-docsruns in CI and validates the page'sdoc:andlayer:links.@apps/petrinaut-docsAstro build compiled the page before pushing.❓ How to test this?
turbo run dev --filter @apps/petrinaut-docs, then open http://localhost:4321.yarn dev:petrinaut-optimizationfrom the repository root (Docker required) and open http://localhost:5173/optimization.--port 5175 --strictPortand confirm Vite serves on 5175.🤖 Generated with Claude Code