# hoen.yaml — HoEN library repo configuration (Notion template)
#
# Ask before creating/committing in a consumer repo. Copy to repo root as hoen.yaml.
# For GitHub Projects, use hoen.example.github.yaml instead (same shared keys;
# only board.* differs).
#
# Validate: node library/skills/work-tracking/scripts/validate-hoen-yaml.mjs
#
# Per-plan linkage lives in each plan's ## Tracking section — not here.
# Optional board.fields.* may be added after field bootstrap.

version: 1

# work-tracking — git ↔ product board linkage
work_tracking:
  backend: notion
  # REPLACE: board "Component type" for this repo (one per codebase)
  component_type: ExampleComponent

  board:
    name: Product Board
    # REPLACE: from Notion MCP fetch or board UI
    url: https://app.notion.com/p/{{NOTION_WORKSPACE}}/{{NOTION_BOARD_ID}}
    data_source_id: "{{NOTION_DATA_SOURCE_UUID}}"
    # fields:            # optional — persist after bootstrap
    #   progress_headline: "{{PROPERTY_ID}}"

  repository:
    host: github.com
    org: "{{GITHUB_ORG}}"
    name: your-repo-name
    default_branch: main
    plan_globs:
      - docs/wip/*.md
      - docs/planning/adr-*.md
      - docs/planning/*.md
