Repository navigation
Closed
Labels
needs-triageMaintainer needs to evaluate this issueMaintainer needs to evaluate this issue
Description
Context
Ocobo chose Challenge as the English name for an enjeu. The code and the content contract still say enjeu. This ticket renames the code term in this repo so code and product use one word. The website side is tracked in ocobo-revops/website (linked below).
Scope: rename
- Content type
enjeubecomeschallenge, and the directoryenjeux/<lang>/becomeschallenges/<lang>/. - Schema files and exports:
scripts/schemas/enjeu.schema.js,ENJEU_KEYS, the enjeu fixtures underscripts/__tests__/fixtures/, and the related tests. - Team member field
enjeu(Team member expert fields: challenge, contribution, tools, previous companies #95) becomeschallenge. - Validation messages,
validateRepositorybranches, thenew-content,publish-contentandtranslate-contentskills, the Notion adapter. CONTEXT.md: the glossary entry becomes Challenge, with "enjeu" as the French UI word. Its Avoid list drops "challenge".- ADR 0002 (
docs/adr/0002-enjeu-pages-as-content.md): add a note on the rename rather than rewriting the decision. - Open issue titles and bodies: spec Spec: challenge content type and Team member expert fields #91 and its tickets (Challenge content type: core schema, Stage ids and validation #94 to Authoring skills handle Team member expert fields #103).
Out of scope
- French prose. "enjeu" is an ordinary French word in blog posts, stories and jobs; those files stay unchanged.
- The six keys (
rp,se,sc,cx,sy,ai) and the English slugs (sales-compensationand so on).
Acceptance criteria
-
git grep -i enjeuoutside French content files returns only the CONTEXT.md line naming the French UI word and the ADR 0002 rename note. -
pnpm testandpnpm validatepass. - The website reads
challenges/<lang>/and the Team memberchallengefield in the same release (coordinated with the website ticket).
Timing: decided
The rename happens inside the open PRs, before they merge:
- feat(challenge): challenge schema, Stage ids and validation #109 (enjeu schema): content type,
challenges/<lang>/,challenge.schema.js,CHALLENGE_KEYS, fixtures,CONTEXT.md, ADR 0002 note. - feat(team): expert fields (challenge, contribution, tools, previous companies) #108 (expert fields): Team member field
challenge; importsCHALLENGE_KEYSonce feat(challenge): challenge schema, Stage ids and validation #109 is onmain.
Left for this ticket after both merge: the authoring skills and the Notion adapter (if #103 has not already used the new term), and the titles and bodies of spec #91 and tickets #94 to #103.
Metadata
Metadata
Assignees
Labels
needs-triageMaintainer needs to evaluate this issueMaintainer needs to evaluate this issue
Activity
wab commentedon Oct 21, 2026
Website side: ocobo-revops/website#262
refactor(team): rename enjeu field to challenge
wab commentedon Oct 21, 2026
#109 merged (c3b6458) with the code rename only. The
CONTEXT.mdglossary entry and the ADR 0002 note move to this ticket:CONTEXT.md: the entry Enjeu becomes Challenge, noting that "Enjeu" is the French UI word. Drop "challenge" from its Avoid list. Update the relationships lines (Challenge covers Stages, a Team member is an expert on at most one Challenge, a Challenge cites one Story).docs/adr/0002-enjeu-pages-as-content.md: add a short dated note at the end saying the code term was renamed to challenge. Do not rewrite the decision or rename the file.