Add FieldPlan templates: site-hosting and site-hosting-subdomain#1050
Open
dmitrigrabov wants to merge 1 commit into
Open
Add FieldPlan templates: site-hosting and site-hosting-subdomain#1050dmitrigrabov wants to merge 1 commit into
dmitrigrabov wants to merge 1 commit into
Conversation
…domain FieldPlan (https://fieldplan.ai) is a chatbot-driven website editor where customers attach their own domain to a generated site. These two templates publish the DNS records the customer's Cloudflare-for-SaaS Custom Hostname configuration requires: - apex+www variant: APEXCNAME @ + CNAME www → site.fieldplan.site, plus Cloudflare ownership and Let's Encrypt ACME-DNS-01 TXT records for both. - subdomain variant (hostRequired): CNAME @ → site.fieldplan.site plus the same TXT pair, applied at the customer-supplied sub-host. Public verification key published at _dck1.fieldplan.ai.
|
✅ JSON Filename Check Passed |
PR Description Check FailedThe PR description is missing required elements. Please update it according to the PR template. Details |
|
✅ JSON Schema Validation Passed |
Linter OK
|
| Level | Code | Note |
|---|---|---|
| info | DCTL1021 | missing from iana definitions |
fieldplan.ai.site-hosting.json
| Level | Code | Note |
|---|---|---|
| info | DCTL1038 | APEXCNAME and REDIRxxx records are not widely supported |
| info | DCTL1021 | missing from iana definitions |
| info | DCTL1021 | missing from iana definitions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add two FieldPlan templates for connecting a customer's domain to a hosted FieldPlan website:
fieldplan.ai.site-hosting.json(apex+www):APEXCNAMEat apex +CNAME wwwroute the customer's domain to a Cloudflare-for-SaaS host (<siteId>.fieldplan.site); two_cf-custom-hostnameand two_acme-challengeTXTs cover Cloudflare ownership and Let's Encrypt DNS-01 ACME validation for both names.fieldplan.ai.site-hosting-subdomain.json(hostRequired: true): same shape minus thewwwrecords, applied at a customer-supplied sub-host.FieldPlan (https://fieldplan.ai) is a chatbot-driven website editor. The five (apex+www) / three (subdomain) template variables are minted at apply time by FieldPlan when the customer adds their domain in the editor.
Verification key published at
_dck1.fieldplan.ai.Type of change
How Has This Been Tested?
<providerId>.<serviceId>.jsonlogoUrlis actually served by a webserverChecklist of common problems
syncPubKeyDomainis setwarnPhishingis not set alongsidesyncPubKeyDomainsyncRedirectDomainis set whenever the template usesredirect_uriin the synchronous flow — N/A: neither template usesredirect_uriin records.txtConflictMatchingModeis set on every TXT record that must be unique per label or content prefix — N/A: each TXT record (_cf-custom-hostname,_acme-challenge) is per-host and reset per Custom Hostname; conflict matching is not applicable._cf-custom-hostname, two_acme-challenge) carry opaque tokens minted by Cloudflare and Let's Encrypt respectively. Both verifiers compare the token byte-for-byte against the value they generated; service-prefix wrapping (e.g.fieldplan-token=%cfacme_apex%) would cause Let's Encrypt's DNS-01 challenge and Cloudflare's hostname ownership check to both fail, and would be unique to FieldPlan with no upstream contract permitting it.hostlabelhostfield to create a subdomain — uses thehostparameter (subdomain template hashostRequired: true).%host%does not appear explicitly in anyhostattributeessentialis set toOnApplyon records the end user may need to modify or remove without breaking the template — N/A: removing any of these records breaks the customer's site (the CNAME) or its SSL certificate (the TXTs); none should be modified by the end user.Online Editor test results
Editor test link(s):