Repository navigation
feat(formisch): add Octane bindings - #484
Conversation
Port the Formisch React adapter onto Octane while vendoring its unpublished core and methods. Add differential, hydration, SSR, package, type, and playground coverage.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.
Reviewed by Cursor Bugbot for commit da40bbe. Configure here.
Resolve package inventory and react-parity lockfile conflicts after syncing with main. Co-authored-by: Cursor <[email protected]>
Keep useSignals package-internal like upstream React bindings and import it directly from the adapted parity test harness. Co-authored-by: Cursor <[email protected]>
|
@leonidaz Ready checklist passes on head |
|
READY FOR REVIEW |
|
Branch is CONFLICTING with main; withdrawing readiness while merging origin/main. REVIEW WITHDRAWN |
Co-authored-by: Cursor <[email protected]>
|
Main merge conflicts resolved on head READY FOR REVIEW |
leonidaz
left a comment
There was a problem hiding this comment.
Re-reviewed only for repository React-parity policy and Vitest project setup. The previously raised ownership issues are addressed. No tests were run.
Resolve conflicts and address review feedback: isolate formisch-differential Vitest project, register its parity lane, wire Formisch evidence checks into root react-parity:check, and refresh drifted fingerprints/hashes. Co-authored-by: Cursor <[email protected]>
|
Addressed the three review threads (merge conflicts + formisch-differential Vitest project + wiring Formisch evidence validators into root react-parity:check), merged origin/main, and confirmed Cursor Bugbot completed cleanly on this head with no open findings. READY FOR REVIEW |
Compile the same differential scenario through @tsrx/react with the package import rewritten to @formisch/react, so Octane and React cannot drift apart in a hand-authored twin component. Co-authored-by: Cursor <[email protected]>
Resolve both-sides binding additions (formisch with gsap/solana/inertia) and refresh sync-owned inventory plus parity integrity hashes. Co-authored-by: Cursor <[email protected]>
|
READY FOR REVIEW |
Co-authored-by: Cursor <[email protected]> # Conflicts: # packages/gsap/audit/react-parity.json # packages/hook-form/audit/react-parity.json # packages/inertia/audit/react-parity.json # packages/livestore/audit/react-parity.json # packages/octane-evals/datasets/train/user-apps-v1/manifest.jsonl # packages/react-map-gl/audit/react-parity.json # packages/solana-react/audit/react-parity.json
Co-authored-by: Cursor <[email protected]>
|
Currency pass: merged origin/main, resolved mechanical parity/lockfile conflicts, refreshed sync metadata. READY FOR REVIEW |
|
This React library port does not satisfy the Octane criterion of 1 million npm downloads per week. Across the official Formisch package family, the most-downloaded package is @formisch/react, with 4,907 downloads during 2026-08-02 through 2026-08-08. If you strongly feel that this library needs to be ported, or if the original library author is willing to take on maintenance of the package after it is ported, please create an issue and explain your reasons. We thank you for your efforts creating this PR, but at this point we cannot take on the burden of maintaining all of these packages. |
|
@leonidaz Can we revisit the port policy. If we need to redo them with the new skills, let's go that. I just don't want great libraries being omitted. Context: https://x.com/JonKWheeler/status/2090974280049709485?s=20 |

Summary
Octane applications can use Formisch’s form state, validation, field arrays, and typed APIs without React. The binding vendors the pinned Formisch core and methods implementation, adapts the React surface to Octane’s TSRX runtime, preserves the upstream source layout and license, and adds an end-to-end playground example.
Parity is enforced through eleven required lanes covering pristine and adapted core/method runtime behavior, pristine and adapted framework behavior, a resolver canary, four type lanes, and a real React/Octane differential fixture. The current-main parity sharder runs the adapted 507-case suite through a distinct entrypoint so pristine and adapted evidence retain separate ownership.
Validation
pnpm syncpnpm --filter @octanejs/formisch typechecknode scripts/react-parity/formisch-check.mjs— 11 required lanes passedpnpm react-parity:validate— 5,345 stable and 5,413 canary cases currentpnpm ci:workflow:test— 109 tests passedpnpm tsrx-decls:checkpnpm packages:pack:check— 112 package tarballs and packed consumers passed; Formisch contains 130 filespnpm react-parity:check— all 158 required native Vitest lanes passed; the non-Vitest queue was stopped only by the unrelated missing Drei macOS snapshotshould-match-previous-one-1-darwin.png. Formisch’s non-Vitest lanes passed.Upstream publication blocker
The current React-library-port preflight terminates this adoption as hard-blocked. Published
@formisch/[email protected]does not identifyframeworks/reactas its repository directory, and its npm tarball does not contain the byte-exact license. A new upstream release needsrepository.directory: "frameworks/react", a package-local license included in the tarball, and an immutablegitHeadbefore Octane can regenerate the modern provenance/evidence packet.Risk / follow-ups
The implemented binding remains pinned to upstream
1.0.0-rc.0at commit4c494b…. Future upstream upgrades must refresh the integrity ledger, classifications, and parity inventories together. The PR is conflict-free, but the upstream publication blocker and maintainer review remain before merge.Post-Deploy Monitoring & Validation
No runtime service monitoring is required for this source-only package. After merge, validate the next package publish contains the raw TSRX sources and run the Formisch playground smoke test; the PR author owns that check in the next release window. Revert the merge commit if packed-consumer or downstream binding CI detects a regression.
Provenance
agent-authored)Note
Medium Risk
Adds a large new forms/validation binding with SSR and hydration behavior; risk is mitigated by broad upstream and differential test lanes, but upgrades and consumer event wiring (
onInputvsonChange) need careful review.Overview
Introduces
@octanejs/formisch(0.0.1), a new framework binding that ports@formisch/[email protected]so Octane apps get Formisch forms, fields, field arrays, Valibot-backed validation, and the full modular methods surface without a React runtime.The pinned Formisch core and methods are vendored into a React-free package; hooks and
Form/Field/FieldArrayare re-authored for Octane (TSRX). Text inputs useonInput; selects, checkboxes, and radios keep nativeonChange. Public types use native DOM events andOctaneNodeinstead of React types.Repo-wide inventory and status docs now count 96 bindings;
@formisch/reactmaps to@octanejs/formischin CLI data. Prettier skips byte-exact Formisch audit and upstream type evidence paths.Parity is registered through eleven lanes (pristine/adapted core+methods runtime, adapted React tests, resolver canary, type suites, differential) with large committed inventories; other packages’
react-parity.jsonlockfile hashes update from the workspace lockfile change.Reviewed by Cursor Bugbot for commit f7d891f. Bugbot is set up for automated code reviews on this repo. Configure here.