Skip to content

Commit 4bae477

Browse files
committed
docs(hugo): add static site domain context
Document Hugo public-site domain language and the invite-only membership enrollment decision.
1 parent afa19f1 commit 4bae477

2 files changed

Lines changed: 124 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Invite-only membership enrollment
2+
3+
New cooperative membership enrollment is invite-only: the public join page explains membership, but the Stripe checkout is hidden unless the visitor has an invite access key. This keeps membership from being fully open while still allowing invited doulas to complete payment without an admin-only manual workflow.

hugo/CONTEXT.md

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
# Hugo Static Site
2+
3+
Hugo Static Site is the public website for the cooperative. It presents static educational content, public doula discovery, and public form entry points.
4+
5+
## Language
6+
7+
**Family**:
8+
A person or household seeking doula support through the public website.
9+
_Avoid_: User, client
10+
11+
**Member Doula**:
12+
A doula with active cooperative membership who may receive shared Match Requests and decide whether to contact a Family.
13+
_Avoid_: Member
14+
15+
**Doula Profile**:
16+
A page for one doula in the directory, containing bio, credentials, professional services, and contact information.
17+
_Avoid_: Member profile
18+
19+
**Published Doula Profile**:
20+
A Doula Profile visible on the public site.
21+
_Avoid_: Active profile
22+
23+
**Professional Service**:
24+
A service area or support focus offered by a doula and shown on Doula Profiles.
25+
_Avoid_: Tag, specialty
26+
27+
**Credential**:
28+
A professional designation or training displayed on a Doula Profile.
29+
_Avoid_: Professional Service
30+
31+
**Practice Name**:
32+
A doula’s public business or practice name displayed with profile contact information.
33+
_Avoid_: Business name, agency
34+
35+
**Doula Discovery**:
36+
The public website paths a visitor can use to find a doula.
37+
_Avoid_: Find a Doula flow
38+
39+
**Doula Search**:
40+
A discovery path where a visitor searches indexed profile and site content.
41+
_Avoid_: Profile lookup
42+
43+
**Directory Browse**:
44+
A discovery path where a visitor browses doulas grouped by Professional Service.
45+
_Avoid_: Member browse
46+
47+
**Match Request**:
48+
A public form submission where a Family shares needs and preferences so the cooperative can share the request with member doulas.
49+
_Avoid_: Booking, referral, confirmed match, instant match, algorithmic match
50+
51+
**Request Broadcast**:
52+
The cooperative shares a Match Request with Member Doulas through the private Facebook group for optional follow-up.
53+
_Avoid_: Assignment, dispatch
54+
55+
**Support Need**:
56+
A Family-selected kind of help in a Match Request used for intake routing.
57+
_Avoid_: Professional Service
58+
59+
**Birth Location**:
60+
The planned place of birth supplied in a Match Request when birth doula support is requested.
61+
_Avoid_: Hospital
62+
63+
**Cost Offset**:
64+
An optional way a Family expects to reduce out-of-pocket doula cost.
65+
_Avoid_: Insurance
66+
67+
**Due Date**:
68+
The baby’s estimated date of arrival or birthdate used to understand timing and baby age for requested support.
69+
_Avoid_: Baby date
70+
71+
**Service Area**:
72+
The Rochester, NY region where cooperative doulas support families.
73+
_Avoid_: Location
74+
75+
**General Inquiry**:
76+
A non-match message sent to the cooperative through the public contact form.
77+
_Avoid_: Contact request
78+
79+
**Doula Education**:
80+
Public content that explains doula roles, support types, costs, and care relationships.
81+
_Avoid_: FAQ
82+
83+
**Membership Join Page**:
84+
The public marketing and invite-only payment entry point for doulas interested in cooperative membership.
85+
_Avoid_: Membership management
86+
87+
**Invite-Only Enrollment**:
88+
A membership enrollment state where the join page is public but checkout is shown only with an invite access key.
89+
_Avoid_: Paused membership, closed membership
90+
91+
## Relationships
92+
93+
- A **Family** uses **Doula Discovery** to find doula support
94+
- A **Match Request** includes one or more **Support Needs**
95+
- A **Match Request** may include a **Due Date**
96+
- A **Match Request** may include a **Birth Location** when birth doula support is requested
97+
- A **Match Request** may include **Cost Offsets**
98+
- A **Match Request** uses ZIP Code to understand the Family’s **Service Area**
99+
- A **Match Request** is shared with **Member Doulas** through a **Request Broadcast**
100+
- A **Member Doula** may have zero or one **Published Doula Profile**
101+
- A **Published Doula Profile** requires active cooperative membership
102+
- A **Doula Profile** belongs to exactly one **Member Doula**
103+
- A **Doula Profile** lists zero or more **Professional Services**
104+
- A **Support Need** may map to one or more **Professional Services**, but not every **Professional Service** is a **Support Need**
105+
- A **Doula Profile** may display **Credentials**
106+
- A **Doula Profile** may display a **Practice Name**
107+
- **Doula Profile** contact information connects a **Family** directly with the doula or practice
108+
- **Doula Discovery** includes **Doula Search**, **Directory Browse**, and **Match Requests**
109+
- A doula-support message should become a **Match Request**, not a **General Inquiry**
110+
- The **Membership Join Page** currently uses **Invite-Only Enrollment**
111+
112+
## Example dialogue
113+
114+
> **Dev:** "If a Family selects postpartum doula support, do we immediately assign them a Member Doula?"
115+
> **Domain expert:** "No. That creates a Match Request. The cooperative broadcasts it to Member Doulas, and each doula decides whether to contact the Family."
116+
117+
## Flagged ambiguities
118+
119+
- "tag" appears in Hugo templates and front matter for **Professional Service**; resolved: tag is the implementation term, Professional Service is the domain term.
120+
- Footer copy says "Browse Members" for professional service links; resolved: these links browse doulas by **Professional Service**, not cooperative members.
121+
- **Request Broadcasts** currently happen in the private Facebook group; future Members App support is possible but not decided.

0 commit comments

Comments
 (0)