Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/skills/new-content/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ No body for team members.
9. **hiringContact** — show active team slugs, ask to pick.
10. **applyEmail (optional)** — email address for applications.
11. **tallyFormId** — Tally form ID string (e.g. `mK0Q4g`).
12. **status** — `published | draft | closed` (default `published`).
12. **status** — `published | unlisted | draft | closed` (default `published`). `unlisted` = hidden from the jobs list, page still reachable by direct link.
13. **publishedAt** — `YYYY-MM-DD` (default today).
14. **intro (optional)** — introductory paragraph (multi-line OK).
15. **body** — ask for each of the three required sections separately, then assemble:
Expand Down
2 changes: 1 addition & 1 deletion CONTEXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ A third-party software product Ocobo deploys or recommends to clients (e.g. HubS
_Avoid_: software, vendor, product.

**Job**:
An open position in `jobs/<lang>/`. References a `hiringContact` (team member slug).
An open position in `jobs/<lang>/`. References a `hiringContact` (team member slug). Its `status` sets visibility: `published` (listed), `unlisted` (off the list, page reachable by direct link, not indexed), `draft` and `closed` (page redirects to the jobs list).
_Avoid_: role (overloaded, see "Flagged ambiguities"), offer, posting.

**Challenge**:
Expand Down
4 changes: 2 additions & 2 deletions docs/notion-templates/job.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
- Lang → `Language`, `Langue`
- Icon → `Icône`

**Status** — one of `published`, `draft`, `closed`.
**Status** — one of `published`, `unlisted`, `draft`, `closed`. `published` is listed on the jobs page; `unlisted` is hidden from the list but its page stays reachable by direct link (not indexed by search engines); `draft` and `closed` redirect to the jobs page.

**Hiring contact** — must match an active team member slug.

Expand All @@ -56,7 +56,7 @@
> - Start date (date)
> - Hiring contact (select) — add team member slugs as options
> - Tally form ID (text)
> - Status (select) — options: published, draft, closed
> - Status (select) — options: published, unlisted, draft, closed
> - Published at (date)
> - Lang (select) — options: fr, en
> - Icon (text) — a single emoji
Expand Down
2 changes: 1 addition & 1 deletion jobs/fr/founding-sales-business-development-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ startDate: 2026-09-01
hiringContact: benjamin-boileux
applyEmail: recrutement@ocobo.co
tallyFormId: 2EVoOb
status: published
status: unlisted
publishedAt: 2026-06-22
intro: >
La mission du Founding Sales | Business Development Manager est de prendre en
Expand Down
4 changes: 4 additions & 0 deletions scripts/__tests__/schemas.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@ describe('job schema', () => {
).toBe(true);
});

it.each(['published', 'unlisted', 'draft', 'closed'])('accepts status %s', (status) => {
expect(validateJob({ ...validJob, status }).success).toBe(true);
});

it('rejects invalid status', () => {
expect(validateJob({ ...validJob, status: 'active' }).success).toBe(false);
});
Expand Down
2 changes: 1 addition & 1 deletion scripts/schemas/job.schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const jobSchema = z.object({
hiringContact: z.string().min(1),
applyEmail: z.email().optional(),
tallyFormId: z.string().min(1),
status: z.enum(['published', 'draft', 'closed']),
status: z.enum(['published', 'unlisted', 'draft', 'closed']),
publishedAt: isoDate,
intro: z.string().optional(),
});
Expand Down
Loading