Skip to content

About

FormAdaptor - instead of hand-updating app lists across the FormAI repos: one family spec built from FormCompiler's registry, each repo's visibility & each app's latest release. An hourly check opens a pull request wherever a generated list is out of step & never pushes to main. GitHub Actions & Python. Free & open-source under GPL-3.0.

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

formadaptor

One family spec for the Form apps, and pull requests that keep every repository that lists the apps in step with it.

formadaptor reads formcompiler's registry, asks GitHub which app repositories are public and which release each public app last published, and writes family.json. Its scripts/propose.py then runs each target repository's own generator against that file and opens a pull request in the target when its committed files differ; formcompiler's adaptor.yml runs it in two jobs, plan with no secret and apply with the token and no target code, and formadaptor itself holds no secret. The targets are formMCP, formskills, form.ext and formai-templates (the organisation profile is listed and off); formai-templates gathers each public app's templates and demos, so before its generator runs formadaptor puts a shallow clone of each public app at its released tag beside the checkout. Each target keeps a copy of the spec its files were generated from and checks itself against it in its own CI. A target's generated files change only when something that target shows changes: they never carry the registry version, the spec's build time or its hash, so a compiler release that changes nothing a target shows proposes nothing, and a run warns when a generator records anything else. Every hour formadaptor also reports, without acting, where an app's main offers agents something its newest release does not. It never pushes to main anywhere and never runs app code.

python3 -I scripts/spec.py build --compiler ../formcompiler --out family.json
python3 -I scripts/propose.py run --target formmcp --checkout ../formMCP --family family.json --dry-run
python3 -I scripts/propose.py checkouts --target formai-templates --checkout ../formai-templates --family family.json
python3 -I scripts/propose.py run --target formai-templates --checkout ../formai-templates --family family.json --dry-run
python3 -I scripts/propose.py plan --target formmcp --checkout ../formMCP --family family.json --out plans/plan-formmcp
python3 -I scripts/propose.py changed --plans plans
python3 -I scripts/advisory.py --family family.json

Version 0.3.1. Licence: GPL-3.0-only (see LICENSE and NOTICE).

About

FormAdaptor - instead of hand-updating app lists across the FormAI repos: one family spec built from FormCompiler's registry, each repo's visibility & each app's latest release. An hourly check opens a pull request wherever a generated list is out of step & never pushes to main. GitHub Actions & Python. Free & open-source under GPL-3.0.

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages