Skip to content

feat(lessons): 1 community lessons (heartbeat batch) - #619

Closed
zsxh1990 wants to merge 50 commits into
Ikalus1988:mainfrom
zsxh1990:feat/heartbeat-lessons-20260728
Closed

feat(lessons): 1 community lessons (heartbeat batch)#619
zsxh1990 wants to merge 50 commits into
Ikalus1988:mainfrom
zsxh1990:feat/heartbeat-lessons-20260728

Conversation

@zsxh1990

Copy link
Copy Markdown
Contributor

Heartbeat Lesson Batch

1 lessons extracted from high-point HN/Dev.to posts.

Quality Scores

Lesson Score Source
finding-and-fixing-ghostty-s-largest-memory-leak ✅ ≥75 auto-extracted

🤖 Auto-generated by heartbeat lesson pipeline

misakanet-bot and others added 30 commits July 23, 2026 10:49
Signed-off-by: misakanet-bot <bot@misakanet.org>
Layer 1 (keyword): reject obvious non-lessons (ads, obituaries, pricing)
Layer 2 (LLM): read article content, ask 'is this a reusable lesson?'

Examples of LLM rejections:
- Product announcements (Claude Opus 5)
- Strategy analysis (Who's afraid of Chinese models)
- Opinion pieces (If coding has been solved)
- Policy advocacy (Kill The Cookie Banner)

This prevents fabricating lessons from news articles.

Signed-off-by: Eric Jia <445655361@qq.com>
Signed-off-by: misakanet-bot <bot@misakanet.org>
Adds TECH_KEYWORDS list and fetch_hn_by_keyword() for targeted
technical content search (postmortem, prompt injection, memory leak, etc.)

Signed-off-by: Eric Jia <445655361@qq.com>
Signed-off-by: misakanet-bot <bot@misakanet.org>
misakanet-bot and others added 20 commits July 27, 2026 04:05
…akaNet

Default: push to origin (fork) + PR to upstream
--upstream: push directly to upstream + PR from branch

Usage:
  python3 scripts/heartbeat_lesson_pipeline.py --target 8 --upstream

Signed-off-by: Eric Jia <445655361@qq.com>
Signed-off-by: misakanet-bot <bot@misakanet.org>
1. restricted-interactions-repos.md — repos that don't accept external PRs
2. glama-introspection-gap.md — build success ≠ tools registered
3. merge-probability-calibration.md — A/B test findings on prediction accuracy

Signed-off-by: zsxh1990 <445655361@qq.com>
…access)

Default fork→PR workflow is the correct approach:
  push to zsxh1990 → PR to Ikalus1988

Signed-off-by: Eric Jia <445655361@qq.com>
Signed-off-by: misakanet-bot <bot@misakanet.org>
Remove --upstream flag. Always push to zsxh1990 (fork) + PR to Ikalus1988.
Add --force to push to handle branch conflicts from prior runs.

Signed-off-by: Eric Jia <445655361@qq.com>
Three-layer filtering:
1. Keyword: reject obvious non-lessons (ads, obituaries)
2. LLM gate: 'is this a reusable lesson?'
3. Fact-check: compare lesson claims against original article

If fact-check finds fabricated claims → reject and continue searching.

Also updated extraction prompt with CRITICAL RULE — DO NOT FABRICATE:
- If article doesn't provide code → 'not provided in source'
- If article doesn't provide verification → 'not specified in source'
- NEVER invent code, metrics, or steps

Signed-off-by: Eric Jia <445655361@qq.com>
Signed-off-by: misakanet-bot <bot@misakanet.org>
With fact-check rejecting fabricated content, we need more candidates
to reach the target count. Changed from 3x to 5x.

Signed-off-by: Eric Jia <445655361@qq.com>
- Extraction: 6000→12000 chars (see full article details)
- Fact-check: 4000→10000 chars (verify against full article)

Signed-off-by: Eric Jia <445655361@qq.com>
Only verify content claims (Problem, Root Cause, Solution, etc.).
Ignore metadata fields (created date, confidence, status) that are
required by the schema but not in the original article.

Signed-off-by: Eric Jia <445655361@qq.com>
Signed-off-by: misakanet-bot <bot@misakanet.org>
Lessons extracted from HN/Dev.to high-point posts.
All passed quality gate (≥75/100).

Signed-off-by: Eric Jia <445655361@qq.com>
@zsxh1990

Copy link
Copy Markdown
Contributor Author

Closing — superseded by #620 which has 4 fact-checked lessons and cleaner diff.

@zsxh1990 zsxh1990 closed this Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants