coaclient: a blank guidelines/privacy policy is omitted from the Coa submission (fire 11) #1906

Merged
ben merged 1 commit from session/coa-omit-empty-policy into main 2026-09-25 22:51:29 +00:00
Owner

WKT-DEMO Drive A fire 11 went red at app-pending. The dashboard showed "the build failed — Coa could not validate the submission: onboarding.guidelinesMarkdown: String must contain at least 1 character(s), onboarding.privacyMarkdown: …".

#1870 carries the founder's onboarding design to Coa and sent both policies as "" when blank. Coa's OnboardingSchema treats an absent policy as "no link shown" but refuses an empty string.

  • coaOnboarding.GuidelinesMarkdown / PrivacyMarkdown are now omitempty. A blank or whitespace-only policy is dropped; a written one is sent verbatim.
  • New test TestSubmit_OnboardingOmitsBlankPolicies: watched it fail, then pass. go test ./... is green.

🤖 Generated with Claude Code

https://claude.ai/code/session_013h5C35beyRQMAA1QjxZGk7

WKT-DEMO Drive A fire 11 went red at **app-pending**. The dashboard showed "the build failed — Coa could not validate the submission: onboarding.guidelinesMarkdown: String must contain at least 1 character(s), onboarding.privacyMarkdown: …". #1870 carries the founder's onboarding design to Coa and sent both policies as `""` when blank. Coa's `OnboardingSchema` treats an absent policy as "no link shown" but refuses an empty string. - `coaOnboarding.GuidelinesMarkdown` / `PrivacyMarkdown` are now `omitempty`. A blank or whitespace-only policy is dropped; a written one is sent verbatim. - New test `TestSubmit_OnboardingOmitsBlankPolicies`: watched it fail, then pass. `go test ./...` is green. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_013h5C35beyRQMAA1QjxZGk7
coaclient: a blank guidelines/privacy policy is omitted from the Coa submission (fire 11)
All checks were successful
ci / seam (pull_request) Successful in 11m20s
ci / publish-broker (pull_request) Has been skipped
ci / publish (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
ef130ca5aa
#1870 sent the founder's onboarding block with guidelinesMarkdown and
privacyMarkdown as "" when the founder left them blank. Coa's OnboardingSchema
reads an absent policy as "no link shown" but refuses an empty string (min 1), so
WKT-DEMO fire 11 went red at app-pending: "Coa could not validate the submission".
Blank (or whitespace-only) policies now drop the key; a written policy rides verbatim.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013h5C35beyRQMAA1QjxZGk7
ben merged commit fa7b3957b4 into main 2026-09-25 22:51:29 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss!1906
No description provided.