Skip to content

feat(formisch): add Octane bindings - #484

Merged
trueadm merged 23 commits into
octanejs:mainfrom
jonkwheeler:feat/formisch-binding
Aug 26, 2026
Merged

trueadm merged 23 commits into
octanejs:mainfrom
jonkwheeler:feat/formisch-binding

Conversation

@jonkwheeler

@jonkwheeler jonkwheeler commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

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 sync
  • pnpm --filter @octanejs/formisch typecheck
  • Formisch Vitest matrix — 104 files and 1,109 tests passed
  • node scripts/react-parity/formisch-check.mjs — 11 required lanes passed
  • pnpm react-parity:validate — 5,345 stable and 5,413 canary cases current
  • pnpm ci:workflow:test — 109 tests passed
  • pnpm tsrx-decls:check
  • pnpm packages:pack:check — 112 package tarballs and packed consumers passed; Formisch contains 130 files
  • scoped Prettier checks
  • pnpm react-parity:check — all 158 required native Vitest lanes passed; the non-Vitest queue was stopped only by the unrelated missing Drei macOS snapshot should-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 identify frameworks/react as its repository directory, and its npm tarball does not contain the byte-exact license. A new upstream release needs repository.directory: "frameworks/react", a package-local license included in the tarball, and an immutable gitHead before Octane can regenerate the modern provenance/evidence packet.

Risk / follow-ups

The implemented binding remains pinned to upstream 1.0.0-rc.0 at commit 4c494b…. 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

  • An agent produced this diff (agent-authored)

Compound Engineering


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 (onInput vs onChange) 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 / FieldArray are re-authored for Octane (TSRX). Text inputs use onInput; selects, checkboxes, and radios keep native onChange. Public types use native DOM events and OctaneNode instead of React types.

Repo-wide inventory and status docs now count 96 bindings; @formisch/react maps to @octanejs/formisch in 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.json lockfile 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.

Port the Formisch React adapter onto Octane while vendoring its unpublished core and methods. Add differential, hydration, SSR, package, type, and playground coverage.
@vercel

vercel Bot commented Aug 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
octane-website Ready Ready Preview Aug 2, 2026 2:10pm
octane-website-mcp Ready Ready Preview Aug 2, 2026 2:10pm

Request Review

@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent feat PR: new feature or capability labels Aug 2, 2026
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 2, 2026 10:16 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 10:17 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 2, 2026 14:10 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 14:10 Inactive
@jonkwheeler
jonkwheeler marked this pull request as ready for review August 2, 2026 16:02
@jonkwheeler
jonkwheeler marked this pull request as draft August 3, 2026 01:50

@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 using default effort and found 1 potential issue.

Fix All in Cursor

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.

Comment thread packages/formisch/src/hooks/index.ts Resolved
jonkwheeler and others added 3 commits August 8, 2026 10:23
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]>
@jonkwheeler

Copy link
Copy Markdown
Contributor Author

@leonidaz Ready checklist passes on head 6459b8a3: draft, CLEAN/mergeable, Cursor Bugbot SUCCESS, no open review threads. Please apply the READY FOR REVIEW label — AddLabelsToLabelable returns 403 from the fork.

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Branch is CONFLICTING with main; withdrawing readiness while merging origin/main.

REVIEW WITHDRAWN

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Main merge conflicts resolved on head c2353b931 (kept formisch + livestore playground/catalog/llms entries; restored @formisch/react and valibot catalog pins). Cursor Bugbot SUCCESS; CLEAN/mergeable; no open review threads.

READY FOR REVIEW

@leonidaz leonidaz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-reviewed only for repository React-parity policy and Vitest project setup. The previously raised ownership issues are addressed. No tests were run.

Comment thread vitest.config.js Resolved
Comment thread packages/formisch/package.json Resolved
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]>
@jonkwheeler

Copy link
Copy Markdown
Contributor Author

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

jonkwheeler and others added 2 commits August 9, 2026 15:11
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]>
@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

jonkwheeler and others added 2 commits August 9, 2026 16:58
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
@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Currency pass: merged origin/main, resolved mechanical parity/lockfile conflicts, refreshed sync metadata.

READY FOR REVIEW

@leonidaz

leonidaz commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

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.

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

@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

@trueadm
trueadm marked this pull request as ready for review August 26, 2026 11:46
@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent and removed agent-authored Diff or issue body substantially produced by an AI agent labels Aug 26, 2026
@trueadm
trueadm merged commit fbc28fd into octanejs:main Aug 26, 2026
4 of 23 checks passed
@jonkwheeler
jonkwheeler deleted the feat/formisch-binding branch October 20, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-authored Diff or issue body substantially produced by an AI agent feat PR: new feature or capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants