Skip to content

feat(team): Team member expert fields (J3, #231) - #292

Merged
wab merged 2 commits into
mainfrom
claude/j3-231-expert-fields-206be2
Oct 22, 2026
Merged

wab merged 2 commits into
mainfrom
claude/j3-231-expert-fields-206be2

Conversation

@wab

@wab wab commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Closes #231

What

MemberFrontmatterSchema in app/modules/schemas.ts gains the four optional expert fields of ocobo-revops/posts#95 (merged as ocobo-revops/posts#108):

  • challenge: one of CHALLENGE_KEYS (imported from app/modules/challenge-schema.ts, not edited).
  • contribution: { fr, en }, each at most 100 characters, blank rejected.
  • tools: 1 to 8 unique Tool slugs, order kept.
  • previousCompanies: 1 to 3 names, each at most 30 characters, blank rejected.

If challenge is set, contribution and tools are required. Caps, regexes and error messages are the same as scripts/schemas/team-member.schema.js in posts. There is no quote field; bio stays the about-us text. No consumer changes: PersonCard wiring belongs to #232.

Tests

  • app/test/fixtures/content/team/: verbatim copies of the 19 posts team/*.md files (posts main b34a449). Each one validates.
  • app/modules/member-schema.test.ts: a file with all four fields validates; challenge without contribution or without tools fails with an issue at that path; caps, duplicates, blanks and ordering.
  • Member registry, studio and about-us tests unchanged and green.

pnpm check, pnpm typecheck, pnpm test:run (743 tests) green. Code review done; its findings are fixed.

Not done

  • docs/api/data-models.md does not describe Team members, so it is unchanged.
  • Existing mismatch outside this PR: posts accepts any non-empty track, the website requires architect | builder | expert-engineer. A posts file with another track would pass posts CI and fail the website.

wab added 2 commits October 22, 2026 16:18
Verbatim copies of every team/*.md file of ocobo-revops/posts (main b34a449).
Mirror ocobo-revops/posts#95: optional challenge, contribution (fr and en),
tools (ordered Tool slugs) and previousCompanies. contribution and tools are
required when challenge is set. Same caps, regexes and messages as the posts
schema. No quote field: bio stays the about-us text.

Tests validate every posts team file and cover each expert field rule.
@vercel

vercel Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
website Ready Ready Preview Oct 22, 2026 2:19pm UTC

Request Review

@wab
wab merged commit 1f431d8 into main Oct 22, 2026
6 checks passed
@wab
wab deleted the claude/j3-231-expert-fields-206be2 branch October 22, 2026 14:32

This branch was successfully deployed

1 active deployment
Preview — d8305b09 Deployed Oct 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

J3: Team member expert fields in the website

1 participant