-
Notifications
You must be signed in to change notification settings - Fork 1
[Slice 6] new-job end-to-end (multimode) #27
Copy link
Copy link
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestready-for-agentScoped, dependencies clear, acceptance criteria explicit — grabbable by an AFK agentScoped, dependencies clear, acceptance criteria explicit — grabbable by an AFK agent
Milestone
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestready-for-agentScoped, dependencies clear, acceptance criteria explicit — grabbable by an AFK agentScoped, dependencies clear, acceptance criteria explicit — grabbable by an AFK agent
Type
Fields
Give feedbackNo fields configured for issues without a type.
Parent
#21
What to build
Add the
jobcontent type end-to-end. Uses the team cross-ref from #24 to validatehiringContact. Introduces the structured-body skill (jobs require specific anchored sections).Concretely:
scripts/schemas/job.schema.js— Zod schema withtitle,icon,contractType,seniority,location,startDate,hiringContact(team slug),tallyFormId,status,publishedAt.scripts/cross-ref-resolver.jsto validatehiringContactagainst the team registry (reusesisValidTeamSlug).scripts/validate-content.jsto validatejobs/fr/..claude/skills/new-job/SKILL.md— multimode. Body template enforces the anchored sections:### La Mission {% #mission %},### Responsabilités {% #responsabilites %},### Profil recherché {% #profil %}. Interview picker forhiringContactlists active team members.docs/notion-templates/job.md— property mapping + NotionAI prompt + the body template structure.Acceptance criteria
pnpm validatecoversjobs/fr/and rejects a job with an unknownhiringContact.job.schema.jspass./new-job <notion-url>imports a job from Notion with the correct anchored body sections./new-job(no arg) runs the interview and produces a body with the three required sections.docs/notion-templates/job.mdcontains the NotionAI scaffolding prompt and the body template.Blocked by