Sentient Forms is a local-first WordPress plugin for AI-assisted form automation. Gravity Forms is the first supported adapter.
The plugin stores site-owned configuration in WordPress: provider settings, external-service consent records, action templates, custom actions, form mappings, execution events, selected results, migration runs, and model cache data. Sentient Forms Managed Execution remains optional for managed account setup, billing, metering, model execution, support diagnostics, and operational controls. Site owners can also run supported workflows directly through their own OpenRouter account.
For WordPress.org, readme.txt is the public plugin-directory readme and must stay aligned with the submitted package. README.md is a developer-maintenance overview for the GitHub repository.
The clean package builder intentionally excludes this README.md and includes readme.txt, runtime files, generated admin assets, bundled runtime dependencies, and the packaged admin app source/build metadata required for generated JavaScript and CSS review.
Before submitting a package to WordPress.org, verify the exact ZIP or extracted package, not just the source tree. A submission-ready package must pass:
sentient-forms.php, readme.txt, admin-app/package.json, and the release manifest.Do not submit an older public release ZIP after security or compliance fixes land. Build and verify a fresh release artifact, then submit the validated ZIP for that release.
The WordPress.org readme.txt is the authoritative submission disclosure for external services. Keep it current whenever the plugin adds or changes provider paths, telemetry, webhooks, managed-service behavior, realtime suggestions, or AI-generated Site Context.
Current external-service categories disclosed in readme.txt:
No OpenRouter or Sentient AI execution request should be sent until an administrator has configured and accepted the relevant provider disclosure. No telemetry event should be queued or sent until an administrator opts in and a Sentient Forms site identity exists.
wp plugin activate sentient-forms.admin-app/, run bun install once, then use:bun run dev for local SPA development.bun run build:wp before committing UI changes; this copies hashed assets into assets/dist/.bun run check, bun run lint, and targeted Vitest/Playwright suites for SPA verification.composer install, regenerate the class map with php build/generate-class-map.php after adding classes, and execute focused PHPUnit suites under tests/phpunit/.composer wporg-release-version-check checks version surfaces in the source tree.composer wporg-source-check verifies generated admin assets have packaged source/build metadata.composer wporg-scan checks the source tree and built admin assets for early package blockers.composer wporg-license-audit checks source-tree GPL compatibility signals.composer wporg-readme-check validates readme.txt locally.composer wporg-readme-validate validates readme.txt with the official WordPress.org readme validator.composer wporg-build-package builds a clean package directory under ../temp/YYYY/MM/DD/<time>-wporg-package/sentient-forms.composer wporg-scan-package -- <package-dir> checks the exact package directory.composer wporg-license-audit-package -- <package-dir> checks the exact package directory's license metadata.php scripts/verify-wporg-source.php <package-dir> verifies generated admin asset source metadata in the package.sentient-forms.php boots the plugin and registers activation, deactivation, and uninstall hooks.readme.txt is the WordPress.org plugin-directory readme and external-service disclosure.assets/dist/ contains generated admin assets copied from admin-app/.assets/dist/SOURCE.md documents the generated admin asset source and build process for packaged releases.admin-app/ contains the SvelteKit admin SPA source, tests, and build scripts.includes/class-sentient-forms-installer.php owns local table install/upgrade and retention scheduling.includes/repositories/ contains local-first data access classes.includes/providers/ contains provider-specific clients such as OpenRouter direct execution.includes/services/ contains local execution, prompt rendering, result application, privacy/data governance, support bundle, telemetry, and managed-service support.includes/rest-api/controllers/class-local-providers-controller.php exposes local provider onboarding APIs.includes/rest-api/controllers/class-local-workspace-controller.php exposes local workspace, execution, support, and test-run APIs.scripts/build-wporg-package.php builds the clean package directory used for WordPress.org artifact checks.scripts/scan-wporg-package.php performs early static checks for source/package cleanliness.scripts/audit-wporg-licenses.php audits GPL-compatible license metadata.scripts/validate-wporg-readme.php runs local or official WordPress.org readme validation.scripts/verify-wporg-source.php verifies generated asset source disclosure.../docs/plans/option-2-local-first-migration-plan.md is the workspace-level local-first migration plan.Release confidence is based on the repository gates and the root Sentient Forms greenlight checklist. A production package should not be promoted until the exact built artifact has passed the WordPress.org package scan, Plugin Check, license audit, readme validation, focused PHPUnit/SPA checks, and browser-path evidence for the supported Gravity Forms workflows.
For WordPress.org submission, prefer the latest validated GitHub release ZIP and manifest over an ad hoc local ZIP. If a local rebuild is necessary, run the same package checks against the rebuilt package and preserve the package path/hash in release evidence.
First-party Sentient Forms plugin and admin app code is licensed under GPL-2.0-or-later. Bundled dependencies retain their own GPL-compatible license notices.
This repo ships a tracked pre-commit hook that parses every .github/*.yml file. Enable it once per clone:
git config core.hooksPath .githooks
Install PyYAML if the hook reports that the module is missing.