Portal Update: June 22, 2026
v0.0.3: Facebook Cleanup & Path Refactoring
This update introduces automated Facebook sharing cleanup utilities, fixes Graph API deprecations, aligns auto-share paths, and consolidates the core pipeline documentation.
📲 Facebook Sharing & Ledgers
- Automated Cleaner Tool: Introduced clean_fb.py to recursively match active website articles, clean up orphaned records in local JSON ledgers (
shared.json,pending_shares.json,articles.json), and automatically delete matching posts from the Facebook Page feed and schedule queue. - Graph API Deprecation Fix: Resolved
deprecate_post_aggregated_fields_for_attachementerrors by querying the Graph API’sattachmentsnested fields instead of the deprecatedlinkparameter.
️ Auto-Share Refactoring
- Partitioned News Paths: Aligned facebook_publisher.py and scrape_news.py to read and write articles dynamically from the new partitioned directory structures (
src/content/news/[scope]/) instead of the deprecatedsrc/content/blog/path. - Trigger Alignment: Updated
.github/workflows/facebook_share.ymlto trigger deployments and staggered sharing workflows on changes undersrc/content/news/**.
📚 Documentation & Orchestrator Sync
- Engine Doc Consolidation: Moved detailed phase design guides (
phase_1.mdthroughphase_5.md) andARCHITECTURE.mdto the coreinfraengine repository underdocs/and integrated links in the engine’s main README. - Worker Scope Isolation: Rewrote
SOURCES.mdin each worker repository (theHmars-local,theHmars-national,theHmars-global) to exclusively document feed registries belonging to that worker’s active geographic tier. - Run Schedule Exposure: Documented the central pipeline orchestrator cron run schedule (executing daily at
05:53,13:53, and21:53IST) in both the website and engine README files.