Skip to content

Fix agentic workflow analysis: add data lookback fallback and template compliance enforcement#1447

Merged
pethers merged 12 commits intomainfrom
copilot/analyze-pull-request-1446-issues
Mar 29, 2026
Merged

Fix agentic workflow analysis: add data lookback fallback and template compliance enforcement#1447
pethers merged 12 commits intomainfrom
copilot/analyze-pull-request-1446-issues

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 29, 2026

  • Data Lookback Fallback: use per-date manifest "Documents Analyzed" count
  • ARTICLE_DATE update: persist to GITHUB_ENV after lookback selection
  • Template compliance: filename preservation rules, template adaptation notes
  • Lookback loop optimization: check manifest BEFORE running pre-article-analysis
  • ARTICLE_DATE overwrite protection: idempotent initialization pattern documented in SHARED_PROMPT_PATTERNS.md
  • Add idempotent guards to ALL downstream ARTICLE_DATE initializations in 6 workflows (prevent overwriting lookback-selected date)
  • Add missing political-style-guide.md to methodology reading lists in 4 type-specific workflows (motions, committee-reports, propositions, interpellations)
  • Add idempotent guard to shared lookback snippet in SHARED_PROMPT_PATTERNS.md (lines 76-79) so it doesn't overwrite a previously resolved ARTICLE_DATE from GITHUB_ENV
  • Use ${ARTICLE_DATE:-} and ${GITHUB_ENV:-} consistently for set -u safety across all 7 workflows
  • Honor workflow_dispatch.inputs.article_date in news-realtime-monitor pipeline init and lookback blocks for manual backfills
  • Fix inline comment in news-realtime-monitor to reflect pipeline filters to resolved $ARTICLE_DATE (not necessarily today)
  • Fix No-Events Early Exit snippet in news-realtime-monitor to honor workflow_dispatch.inputs.article_date with idempotent guard
  • PENDING variable empty-string safety: add [ -z "$PENDING" ] && PENDING=0 after substitution in all 7 workflows to guarantee numeric output
  • Remove unscoped manifest fallback in 4 doc-type workflows (motions, committee-reports, propositions, interpellations) — only use scoped manifests to prevent false positives from other workflow types

⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agentic-workflow Agentic workflow changes ci-cd CI/CD pipeline changes documentation Documentation updates news News articles and content generation size-l Large change (250-1000 lines) size-xs Extra small change (< 10 lines) workflow GitHub Actions workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants