Skip to content

fix: solver rollout safeguards and linked documentation - #38

Merged
aeronauty-flexcompute merged 18 commits into
codex/solver-reference-gatefrom
codex/solver-docs-review
Oct 14, 2026
Merged

aeronauty-flexcompute merged 18 commits into
codex/solver-reference-gatefrom
codex/solver-docs-review

Conversation

@aeronauty-flexcompute

@aeronauty-flexcompute aeronauty-flexcompute commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Complete the reviewed solver-rollout safeguards before #35 reaches main. This candidate includes the independently tested fixes from #18, #39 and #40; it does not merge main or manually deploy.

  • Preserve legacy/failed run history, append corrected attempts, and reuse only successfully converged results with matching production artifact/release, solver mode, Reynolds scaling and trips. Browser/local-server/Python/import paths share the namespace; invalid imports preserve live history.
  • Validate CLI flap syntax/finiteness/ranges and short contours; heal nonzero inviscid flap geometry before solving and retain the original name. Four compiled-CLI regressions cover the adapter boundary and SDK geometry agreement.
  • Correct canonical signed wall-shear projection and gate matching CDf/CD−CDf. XFOIL polar-file CDp is a distinct pressure integral, explicitly documented.
  • Build numbered/linked MathJax equations, reject unknown labels/broken anchors, label public BL frames, regenerate source/API at startup, honor Cargo target directories and rebuild deployed docs when their source changes. Restore verified dependency lock metadata.

PR impact

Head: 98e80d5. Declared base/merge base: #35 at ff0fe1e. Accumulated follow-up scope: 48 files, +1088/-169. Inherited #35 carries the transport/Mach correction and original gate; that scientific scope remains material beyond this diff.

Source-confirmed routes: SolvePanel → namespace + runStore → browser/local-API SQLite history/cache; CLI polar/faithful-polar → shared validation → geometry transform/healing → existing solver; faithful force bridge → canonical physical-U/density-weighted-Cf/y rows → signed integrator → native/CLI CDf/CD−CDf; docs generator/remark registry → source/API/MathJax/SSR links → existing main-only docs workflow. Unknown/failed history cannot activate reuse; a changed relevant artifact/setting causes a miss. Canonical force changes also reach existing legacy consumers, whose general validity is not established by this gate.

Validation: corrected native48/48 and rebuilt shipping-WASM/reference/native48/48 cases; CDf/CD−CDf maxima4.91e-6/4.99e-6 within1e-5; all158 instrumented surface intervals match x/y exactly and projection within3.47e-18. Local574 Rust tests passed (23 existing ignored),155 Python tests,67 UI tests, production UI/docs builds, three equation and four extraction/Cargo-target checks, plus four gate-negative/definition checks. Two additional final flap regressions pass. The source tree is identical to tested #40 head5a056e4 (tree0cf465db8188da67202828237786e3716bf58fe6); this promoted head’s Rust/Python/Bugbot all pass on run38562311536 before the next integration.

Limits: no universal physical/XFOIL equivalence, global-gradient or general legacy-engine claim; the retained isolated TRDIF probe/configuration gap is explicit. Full resumable/history-replay acceptance remains open, and legacy missing conditions are not invented. External/public Rust reach and unsupported extraction remain in the source impact report; its literal-reference advisory is capped.

Changelog, Versions & Docs

  • All included feature/fix entries retained
  • UI/top entry/both lock metadata versions agree (1.1.16)
  • Python distribution agrees (1.1.16)
  • Updated primitive pages include numbered theory, real extracted source, working calls, interactive results and limits
  • Docs/API builds pass with no broken links or anchors

The final main candidate must be current, tested and approved by the eligible required reviewer; stack integration does not bypass that protection.

aeronauty and others added 5 commits June 13, 2026 17:18
Add an XFOIL-style --flap "hinge_x:hinge_y:deflection_deg" option to both
the inviscid `polar` and viscous `faithful-polar` commands. The deflection
is applied via the existing rustfoil_core::flap::xfoil_flap before the body
is built (faithful-polar writes the flapped section to a temp .dat and feeds
it to XFOIL). Enables flapped-airfoil priors directly from the CLI without a
separate pre-deflected coordinate file.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@cursor cursor Bot 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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Lockfile version rewritten accidentally
    • Restored the brace-expansion lock entry version to 1.1.12 so it matches the resolved tarball and integrity hash.

Create PR

Or push these changes by commenting:

@cursor push eb1a291f97
Preview (eb1a291f97)
diff --git a/flexfoil-ui/package-lock.json b/flexfoil-ui/package-lock.json
--- a/flexfoil-ui/package-lock.json
+++ b/flexfoil-ui/package-lock.json
@@ -2789,7 +2789,7 @@
       }
     },
     "node_modules/brace-expansion": {
-      "version": "1.1.13",
+      "version": "1.1.12",
       "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
       "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
       "dev": true,

You can send follow-ups to the cloud agent here.

Reviewed by Cursor Bugbot for commit 06eab1a. Configure here.

Comment thread flexfoil-ui/package-lock.json Resolved
fix: reference-matched native drag decomposition
fix: preserve run history and match solver cache provenance
fix: validated CLI flap polars without silent fallback
@aeronauty-flexcompute aeronauty-flexcompute changed the title fix: linked solver docs and accurate BL output frames fix: solver rollout safeguards and linked documentation Oct 14, 2026
@aeronauty-flexcompute
aeronauty-flexcompute merged commit cc5ca97 into codex/solver-reference-gate Oct 14, 2026
3 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.

3 participants