feat: enhanced digest and publishing workflow (Features A-D)#4
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the enhanced digest and publishing workflow from
DIGEST.mdusing TDD.Feature A — Review Addendum (§2)
review_addendum.py: trigger detection (Telegram + CLI marker file), addendum block builder, Q&A parserreview_questions.py: conditional question generation — Q1+Q4 always, Q2-Q5 triggered by session signalssession_digest.py --review YYYY-MM-DD: CLI workflow for review dialogFeature 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.yamlschema with full lifecycle (active→resolved/promoted/parked),standalone_candidateflag at ≥3 digest referencesFeature 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/pushFeature D — Media Queue (§5.8)
media_queue.py: queue PNG/JPG/WebP/MP4/WebM files,format_markdown_embed()with![]empty alt textblog_post_editor.insert_media_embed()Config & Docs
digest_config_TEMPLATE.yaml: newreview,forward_links,deep_dive,mediasectionsSKILL.md: updated to v5.0.0 with all new features documentedREADME.md: new features section with usage examplesCI & Tests
.github/workflows/test.yml: pytest CI on push + PR (Ubuntu, Python 3.11)Bug fixes (from TDD)
forward_links.extract_future_anchors(): parse plain- Itembullets before regex fallbackinsight_store._update_standalone_candidate(): exclude initialfirst_seenfrom threshold countmedia_queue.format_markdown_embed(): use![]empty alt text (spec §5.6)review_addendum.build_review_addendum(): includedate_strin trigger timestampsample_session_with_urlsfixture: added bullet content so Future Anchors subsection rendersTesting
Run
python3 -m pytest tests/ -v— 102 passed in 0.11s.