Context
While adding author profiles (branch fix/headless-draft-preview), author pages were switched to display the team_member title (memberTitle) instead of role (memberRole), to match how every other team-member card renders. As a result, memberRole is no longer used anywhere in the frontend.
We should decide whether to remove memberRole or repurpose it (give role and title distinct, intentional meanings).
Options
- Remove — drop
member_role everywhere (see checklist below).
- Repurpose — e.g.
title = professional/honorific title ("AI Specialist"), role = context-specific functional role ("Project Lead") shown on project/governance cards. Would need a defined distinction and UI wiring.
What removing it would entail (cross-cutting)
Notes
- Frontend display already standardized on
memberTitle (also feeds JSON-LD Person.jobTitle on author pages).
- No urgency —
memberRole remaining in the schema is harmless; this is tracked so the decision isn't lost.
🤖 Filed with Claude Code
Context
While adding author profiles (branch
fix/headless-draft-preview), author pages were switched to display the team_membertitle(memberTitle) instead ofrole(memberRole), to match how every other team-member card renders. As a result,memberRoleis no longer used anywhere in the frontend.We should decide whether to remove
memberRoleor repurpose it (giveroleandtitledistinct, intentional meanings).Options
member_roleeverywhere (see checklist below).title= professional/honorific title ("AI Specialist"),role= context-specific functional role ("Project Lead") shown on project/governance cards. Would need a defined distinction and UI wiring.What removing it would entail (cross-cutting)
member_roleingroup_team_member—wordpress/themes/cdcf-headless/functions.php:1743POST /cdcf/v1/team-member—wordpress/themes/cdcf-headless/functions.php:548wordpress/themes/cdcf-headless/includes/handlers/team-member.php:57wordpress/themes/cdcf-headless/tests/TeamMemberHandlerTest.php:83,373,386memberRoleinTEAM_MEMBER_FIELDS—lib/wordpress/queries.ts:53WPTeamMember.memberRole—lib/wordpress/types.ts:69scripts/cdcf_api.py:237,604docs/python-api-client.md:278and the REST table inAGENTS.md/CLAUDE.mdmember_role—wordpress/web-init.php:273team_memberposts may have storedmember_rolevalues (consider a one-time cleanup/backfill, and whether any of those values should migrate tomember_title)Notes
memberTitle(also feeds JSON-LDPerson.jobTitleon author pages).memberRoleremaining in the schema is harmless; this is tracked so the decision isn't lost.🤖 Filed with Claude Code