Skip to content

feat: enhanced digest and publishing workflow (Features A-D)#4

Merged
dream-hermes-agent merged 1 commit into
mainfrom
feature/enhanced-digest-workflow
Apr 25, 2026
Merged

feat: enhanced digest and publishing workflow (Features A-D)#4
dream-hermes-agent merged 1 commit into
mainfrom
feature/enhanced-digest-workflow

Conversation

@dream-hermes-agent

Copy link
Copy Markdown
Member

Summary

Implements the enhanced digest and publishing workflow from DIGEST.md using TDD.

Feature A — Review Addendum (§2)

  • review_addendum.py: trigger detection (Telegram + CLI marker file), addendum block builder, Q&A parser
  • review_questions.py: conditional question generation — Q1+Q4 always, Q2-Q5 triggered by session signals
  • session_digest.py --review YYYY-MM-DD: CLI workflow for review dialog

Feature B — Where This Leads (§3)

  • forward_links.py: trigger detection, contextual links (GitHub issues/PRs/commits + external URLs), future anchors (TODO items, follow-ups, deferred decisions)
  • insight_store.py: digest_insights.yaml schema with full lifecycle (active→resolved/promoted/parked), standalone_candidate flag at ≥3 digest references

Feature C — Deep-Dive Promotion (§4)

  • blog_post_editor.py: promote_to_deep_dive() with spec front matter (title, date, tags: [deep-dive, ...], digest_sources: [...], layout: post), push_updated_post() for blog repo clone/commit/push

Feature D — Media Queue (§5.8)

  • media_queue.py: queue PNG/JPG/WebP/MP4/WebM files, format_markdown_embed() with ![] empty alt text
  • Blog post embedding via blog_post_editor.insert_media_embed()

Config & Docs

  • digest_config_TEMPLATE.yaml: new review, forward_links, deep_dive, media sections
  • SKILL.md: updated to v5.0.0 with all new features documented
  • README.md: new features section with usage examples

CI & Tests

  • .github/workflows/test.yml: pytest CI on push + PR (Ubuntu, Python 3.11)
  • 102 tests: unit (38) + integration (19) + regression (45) — all passing

Bug fixes (from TDD)

  • forward_links.extract_future_anchors(): parse plain - Item bullets before regex fallback
  • insight_store._update_standalone_candidate(): exclude initial first_seen from threshold count
  • media_queue.format_markdown_embed(): use ![] empty alt text (spec §5.6)
  • review_addendum.build_review_addendum(): include date_str in trigger timestamp
  • sample_session_with_urls fixture: added bullet content so Future Anchors subsection renders

Testing

Run python3 -m pytest tests/ -v — 102 passed in 0.11s.

@dream-hermes-agent dream-hermes-agent merged commit 8fb856f into main Apr 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant