Skip to content

Commit 0554a9a

Browse files
committed
fix: Correct example hiero-bot.yml - quoted label keys, schema-matching key names
1 parent 943db1d commit 0554a9a

1 file changed

Lines changed: 34 additions & 27 deletions

File tree

examples/hiero-bot.yml

Lines changed: 34 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# hiero-bot.yml
2-
3-
# This is the default configuration for the Hiero Workflow App.
4-
# Copy this to .github/hiero-bot.yml in your repository to customize.
2+
#
3+
# Reference configuration for the Hiero Workflow App.
4+
# Copy to .github/hiero-bot.yml in your repository and customize.
5+
#
6+
# Every module defaults to enabled: false (opt-in).
7+
# Invalid config silently falls back to safe defaults.
58

69
_extends: hiero-bot
710

@@ -14,17 +17,17 @@ assignment:
1417
max_open_assignments: 3
1518
cross_repo_prerequisites: true
1619
status_labels:
17-
ready: status: ready for dev
18-
in_progress: status: in progress
19-
blocked: status: blocked
20-
needs_review: status: needs review
20+
ready: "status: ready for dev"
21+
in_progress: "status: in progress"
22+
blocked: "status: blocked"
23+
needs_review: "status: needs review"
2124
skill_levels:
22-
skill: good first issue:
25+
"skill: good first issue":
2326
max_completions: 5
2427
display_name: Good First Issue
25-
skill: beginner:
28+
"skill: beginner":
2629
prerequisites:
27-
label: skill: good first issue
30+
label: "skill: good first issue"
2831
min_completed: 2
2932
display_name: Beginner
3033

@@ -45,46 +48,50 @@ pr_quality:
4548
# ── Inactivity Module ─────────────────────────────────────────────────────
4649
inactivity:
4750
enabled: false
48-
days_until_warning: 7
49-
days_until_close: 14
50-
warning_label: status: stale
51+
warn_after_days: 5
52+
close_after_days: 7
53+
blocked_checkin_days: 30
5154
exempt_labels:
52-
- status: blocked
53-
- status: needs review
55+
- "status: blocked"
56+
skip_labels:
57+
- "status: needs review"
5458

5559
# ── Escalation Module ─────────────────────────────────────────────────────
5660
escalation:
5761
enabled: false
5862
rules: []
5963
# Example:
60-
# - label: priority: high
61-
# notify_team: core-maintainers
62-
# cooldown_hours: 24
64+
# - label: "priority: high"
65+
# notify_team: core-maintainers
66+
# cooldown_hours: 24
6367

6468
# ── Onboarding Module ─────────────────────────────────────────────────────
6569
onboarding:
6670
enabled: false
67-
welcome_message: false
68-
profile_heuristics: false
69-
max_account_age_days: 3
71+
welcome_on_first_pr: true
72+
welcome_message: ""
73+
check_profile: true
7074

7175
# ── AI Planning Module ─────────────────────────────────────────────────────
7276
ai_planning:
7377
enabled: false
74-
auto_generate_plan: false
78+
trigger_label: "needs-plan"
79+
model: "gpt-4o-mini"
7580

7681
# ── AI Review Module ──────────────────────────────────────────────────────
7782
ai_review:
7883
enabled: false
79-
auto_review_pr: false
84+
model: "gpt-4o-mini"
85+
max_files: 10
8086

8187
# ── Progression Module ────────────────────────────────────────────────────
8288
progression:
8389
enabled: false
84-
auto_promote: false
85-
promotion_threshold: 3
90+
recommend_on_merge: true
91+
track_levels: true
8692

8793
# ── Audit Logging ─────────────────────────────────────────────────────────
8894
audit:
89-
log_comments: true
90-
comment_on_errors: true
95+
enabled: true
96+
log_all_decisions: true
97+
include_reason_in_comments: true

0 commit comments

Comments
 (0)