# team-profile.yaml - Job Application Team
# Roles for the job-application package (OpenViking + ShareLaTeX).

schema: corentic.team-profile/v1

id: acme.job-applications
description: >
  Human-in-the-loop team for researching, preparing and reviewing
  individual job application documents.

roles:
  - id: orchestrator
    purpose: >-
      Decomposes tasks, delegates to specialists and integrates results.
    model_class: strong-generalist
    capabilities:
      mcps: []
      skills: [job-application]

  - id: researcher
    purpose: >-
      Searches and evaluates job openings against the candidate profile.
    runtime_agent: librarian        # uses the oh-my-opencode-slim builtin with an alias
    model_class: fast-research
    capabilities:
      mcps: [websearch, webfetch, openviking]
      skills: [job-application]

  - id: writer
    purpose: >-
      Creates fact-based cover letters and CVs in ShareLaTeX.
      Only use approved profile facts. Never invent experience.
      Never submit an application autonomously.
    runtime_agent: custom           # dedicated custom agent 'writer'
    model_class: strong-writing
    capabilities:
      mcps: [openviking, sharelatex]
      skills: []

  - id: checker
    purpose: >-
      Reviews facts, tone and completeness against the candidate profile.
      Every claim requires a verifiable source.
    runtime_agent: oracle           # uses the oh-my-opencode-slim builtin with an alias
    model_class: high-reasoning
    capabilities:
      mcps: [openviking]
      skills: []

  - id: notifier
    purpose: >-
      Informs the user about finished drafts.
      Never send anything without explicit user approval.
    runtime_agent: custom           # dedicated custom agent 'notifier'
    model_class: cheap-reliable
    capabilities:
      mcps: []
      skills: []
