Repository navigation
Closed
Labels
enhancementNew feature or request
Description
Related: the fly lexicon (#736) · Tracks: the completeness gap between fly and the mature peer lexicons (aws/gcp/k8s/azure)
The fly lexicon (#736) shipped the load-bearing surface — generated types, serializer, applier, breadth resources, lint, ownership, example. Several
LexiconPlugincapabilities that every mature peer implements are still stubs or absent. This is the single tracking issue for reaching parity. Each item is small and independently shippable; split into its own PR.
Already tracked (do not duplicate here)
- Skills —
flyPlugin.skills()isreturn []; // TODO. → fly + sprites skills: the missing fly main skill + a Sprites Op skill (agent-facing, per Fly's MCP guidance) #769 (the missingchant-flymain skill + a Sprites Op skill). describeResources/exportResources(the read-back seam for plan + drift) → fly: describeResources for plan + drift (wire the read-back seam) #767.
Gaps to close
- Docs generation.
lexicons/fly/src/codegen/docs.tsis the scaffold with twoTODOs (serviceFromType,resourceTypeUrl). Implement them sochant dev docs(or the packagedocsscript) generates real resource reference pages for the docs site, like the other lexicons. MapFly::Machines::Xto a sensible service grouping and a Machines-API doc URL. -
chant importsupport. fly hasdetectTemplatebut notemplateParser/templateGeneratorand nosrc/import/. Add an importer that turns existing Fly state (e.g. aGET /v1/apps/{app}/machineslisting, or afly.toml) into chantApp/MachineTypeScript. Mirrorlexicons/gcp/src/import/{parser,generator}.tsand wiretemplateParser()/templateGenerator()on the plugin. Pairs naturally withdescribeResources(fly: describeResources for plan + drift (wire the read-back seam) #767). - Pseudo-parameters. Add
Fly.Region/Fly.OrgSlug(and any other environment-resolved values), mirroring gcp'sGCP.Region/GCP.ProjectId. WirepseudoParameters()on the plugin and resolve them in the serializer. -
chant inittemplates. ImplementinitTemplates()with at least a default starter (App + Machine) and maybe a "machine with a mounted volume" template, mirroring gcp'sinitTemplates. Letschant init lexicon-consumers scaffold a working fly project. - Self-upgrade pin (codegen: lexicons declare their own upstream release resolver (drop core's hard-coded map) #685). Declare
upstreamPinon the plugin so the pinned OpenAPI spec source can be auto-upgraded, mirroring gcp'sKCC_VERSION/ k8s'sK8S_SCHEMA_VERSIONpin. fly's spec is a live URL (docs.machines.dev/openapi.json); pin whatever version/etag marker is stable so codegen: lexicons declare their own upstream release resolver (drop core's hard-coded map) #685 can bump it.
Not gaps (intentional / consistent with peers)
intrinsics()— gcp returns[]; fly has no template intrinsics either. Fine.auditCatalog()— fly's AST lint rules (fly lexicon: semantic lint rules (regions, guest sizing, mounts↔volumes, no secret literals) #742) aren't cataloged, matching how aws/gcp keep their AST rules out of the yaml-based audit catalog. Revisit only if audit: lexicons contribute their audit rule catalog metadata (dedupe core's central RULE_CATALOG) #687 changes the direction.
Acceptance criteria
- Each checkbox above is a merged PR (or an explicit, recorded decision to defer).
-
chant dev check-lexicon lexicons/flyadvances beyond Tier 1 — the Tier-2/3 items these gaps gate (docs, import, skills via fly + sprites skills: the missing fly main skill + a Sprites Op skill (agent-facing, per Fly's MCP guidance) #769) flip to PASS. - fly's
LexiconPlugincapability set matches gcp's, minus anything recorded as intentionally N/A.
Out of scope
- The two already-tracked items (fly: describeResources for plan + drift (wire the read-back seam) #767, fly + sprites skills: the missing fly main skill + a Sprites Op skill (agent-facing, per Fly's MCP guidance) #769).
- Any new resource types (breadth is fly lexicon: Volume + IPAddress + Certificate + Secret (apply-only) resources #741, done).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
fly: docs generation, pseudo-parameters, init templates (#770 partial) (
lex00 commentedon Jul 11, 2026
Update (PR #781, merged): three of the five gaps closed, plus the pin recorded as N/A.
serviceFromType/resourceTypeUrl; the docs site is now a real multi-page site matching aws/gcp/k8s.Fly.Region/Fly.OrgSlug/Fly.AppName.default/volume/service.chant importsupport — remaining. Now well-positioned to build ondescribeResources(fly: describeResources for plan + drift (wire the read-back seam) #767, merged): alive-exportthat reads live flaps state and a generator that emits chantApp/MachineTypeScript.Only the import item is left.