Repository navigation
Expand file tree
/
Copy pathconfig.yml.example
More file actions
252 lines (203 loc) · 9.68 KB
/
Copy pathconfig.yml.example
File metadata and controls
252 lines (203 loc) · 9.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
# Hedwig Configuration Example
# Copy this file to config.yml and customize for your environment
# ==============================================================================
# PATHS - File and directory locations
# ==============================================================================
paths:
# Git repository where Notion pages are synced
notes_repository: /path/to/notes/repository
# Directory for generated summaries (YYYY/MM/YYYYMMDD-*.md structure)
change_summary_output: /path/to/change-summaries
# Checkpoint file to track last sync time
checkpoint_file: /path/to/notion-checkpoint.txt
# File containing blacklisted Notion page IDs (one per line)
blacklist_file: /path/to/blacklisted-pages.txt
# File to export user list (TSV format with user ID and name)
userlist_file: /path/to/user-list.tsv
# Optional: Override file for user list (TSV with same format)
# Users in this file will override/supplement those from Notion
# userlist_override_file: /path/to/user-override.tsv
# ==============================================================================
# GLOBAL SETTINGS - System-wide configuration
# ==============================================================================
global:
# Timezone for all timestamp operations (except git which uses UTC)
# Used by summaries, health checks, pipeline, and sync operations
timezone: Asia/Seoul
# Logical day start hour (0-23). A "day" runs from this hour to the next day's same hour.
logical_day_start: 4
# ==============================================================================
# STATIC CONTEXT - Lab intro/status and external add-ons for prompts
# ==============================================================================
static_context:
# Lab/team information for context
lab_intro: "Seoul National University's QBioLab, which studies molecular biology using bioinformatics methodologies"
# Optional: Rich lab status text injected into context plugins
lab_status: |
Laboratory: Computational Biology Lab
Research Areas: Genomics, RNA Biology, Bioinformatics
Current Projects:
- Single-cell RNA sequencing analysis
- Alternative splicing in cancer
Team Members:
- Dr. Jane Smith (PI) - Computational genomics
- Dr. John Doe - Machine learning for biology
# External content sources included alongside structured daily logs
external_contents:
- name: "slack_conversations"
file_suffix: "-slack.md"
description: "Team discussions from Slack"
required: false
- name: "meeting_notes"
file_suffix: "-meeting.md"
description: "Meeting minutes and decisions"
required: false
# ==============================================================================
# NOTION SYNC - Synchronize Notion pages to Git repository
# ==============================================================================
sync:
# When checkpoint is missing, how many days to look back
default_lookback_days: 7
# Git commit message template
# Variables: {datetime}
git_commit_template: 'Automated commit: {datetime}'
# Markdown export settings
markdown:
# File path structure for exported pages
# Variables: {dump_dir}, {noteid}, {noteid_0}, {noteid_1}, {noteid_2}
dump_path_template: '{dump_dir}/{noteid_0}/{noteid_1}/{noteid_2}/{noteid}.md'
# Header added to each exported file
# Variables: {note[title]}, {path}, {note[last_edited_by]}, {note[last_edited_time]}
header_template: |
# {note[title]}
- Page Location: {path}
- Last Edited By: {note[last_edited_by]}
- Updated: {note[last_edited_time]}
# ==============================================================================
# LLM API - AI-powered summary generation
# ==============================================================================
api:
notion:
# Get your API key from https://www.notion.so/my-integrations
api_key: 'your-notion-api-key-here'
# API version and pagination settings
api_version: '2022-02-22'
page_size: 100
llm:
# API key (can also use environment variables: GEMINI_API_KEY or OPENAI_API_KEY)
# key: 'your-api-key-here'
# API endpoint (default is Google Gemini)
url: 'https://generativelanguage.googleapis.com/v1beta/openai/'
# Models for different tasks
diff_summarization_model: 'gemini-2.5-flash' # For individual changes
overview_model: 'gemini-2.5-pro' # For team overviews
# Tokenizer for counting text length
tokenizer_encoding: 'o200k_base'
# Custom prompt for analyzing diffs (optional, has sensible default)
# diff_summary_prompt: |
# Your custom prompt for diff analysis...
# Custom template for overview generation (optional, has sensible default)
# Variables: {summary_range}, {forthcoming_range}, {lab_info}, {language_instruction}
# overview_prompt_template: |
# Your custom overview template...
# Weekday-specific overview configurations (optional)
# overview_weekday_config:
# monday:
# summary_range: 'last weekend'
# forthcoming_range: 'this week'
# tuesday:
# summary_range: 'yesterday'
# forthcoming_range: 'today'
# # ... customize other days as needed
# Context information prefix - instructions for how to use context data
# This text appears before any context plugin output in the overview prompt
# overview_context_information_prefix: |
# Use the following context information minimally only at the appropriate places in the summary, and do not repeat the context information verbatim.
# ==============================================================================
# CHANGE SUMMARY - Generate AI summaries from Git diffs
# ==============================================================================
change_summary:
# Maximum characters of diff to process
max_diff_length: 12800
# Automatically sync user list when unknown UUIDs are found
# Set to false to disable automatic user list synchronization
auto_sync_userlist: true
# ==============================================================================
# OVERVIEW - Generate team-focused summary from individual summaries
# ==============================================================================
overview:
# Output language: ko (Korean), en (English), ja (Japanese), zh_CN (Chinese)
language: ko
# Number of structured daily logs to include by weekday (0 disables overview on that weekday)
num_days_by_weekday:
monday: 2 # Covers weekend changes
tuesday: 1
wednesday: 1
thursday: 1
friday: 1
saturday: 1
sunday: 0
# Context plugins provide additional information in the overview prompt
context_plugins:
# Date context plugin - adds current date and weekday
date:
enabled: false # Set to true to enable date context
# Provides today's date in format: "Today: 2025-07-19 (Friday)"
# Static context plugin - adds fixed context information
static:
enabled: false # Static content now sourced from static_context.lab_status
# Weather context plugin - adds weather information
weather:
enabled: false # Set to true to enable weather context
latitude: 37.4582 # Seoul latitude (example)
longitude: 126.9480 # Seoul longitude (example)
city_name: Seoul # City name for display
# Calendar context plugin - adds calendar events information
calendar:
enabled: false # Set to true to enable calendar context
days_before: 0 # Number of days in the past to include (0 = today only, 1 = from yesterday)
days_after: 0 # Number of days in the future to include (0 = today only, 1 = through tomorrow)
calendars: # List of calendars to fetch
- name: Korean Holidays
type: ical # 'ical' or 'caldav'
url: https://calendar.google.com/calendar/ical/ko.south_korea%23holiday%40group.v.calendar.google.com/public/basic.ics
enabled: true
# Add more calendars as needed
# - name: Team Calendar
# type: ical
# url: https://example.com/team-calendar.ics
# enabled: true
# CalDAV example (requires 'pip install caldav')
# - name: Nextcloud Calendar
# type: caldav
# url: https://nextcloud.example.com/remote.php/dav/
# username: your-username # Optional, can use env var CALDAV_USERNAME
# password: your-password # Optional, can use env var CALDAV_PASSWORD
# calendar_url: https://nextcloud.example.com/remote.php/dav/calendars/user/personal/ # Optional
# enabled: true
# Add more context plugins here as they become available
# ==============================================================================
# MESSAGING - Send summaries to team communication platforms
# ==============================================================================
messaging:
# Active platform: slack (more platforms can be added)
active: slack
# Slack configuration
slack:
# Bot token (can also use SLACK_TOKEN environment variable)
# token: 'xoxb-your-slack-bot-token'
# Channel ID for posting
# channel_id: 'C12345678'
# Canvas title length limit
header_max_length: 150
# Whether to create and post a Slack Canvas with the full details
post_details_in_canvas: true
# If set, include this link in the message (used when Canvas posting is disabled)
post_details_link: ''
# ==============================================================================
# PIPELINE - Automated summary generation and posting
# ==============================================================================
pipeline:
# Title format for posted summaries
# Variables: {date} - yesterday's date as YYYY-MM-DD
title_format: 'QBio Research {date}'