Skip to content

Trim 05-analysis-gate.md to fit 550-line prompt-module cap#2535

Merged
pethers merged 1 commit into
mainfrom
copilot/improve-architecture
May 17, 2026
Merged

Trim 05-analysis-gate.md to fit 550-line prompt-module cap#2535
pethers merged 1 commit into
mainfrom
copilot/improve-architecture

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 17, 2026

compile-agentic-workflows failed the prompt-module architecture check: .github/prompts/05-analysis-gate.md was 575 lines, over the ≤550-line cap.

Changes

  • Compressed redundant multi-line comments in the inline bash gate (Check 2, Check 7 H1 date/uniqueness/fallback paths, Check 9b, Check 10, Check 12, Check 13, Check 11 supplementary block) down to single-line summaries.
  • No changes to gate logic, regexes, file lists, exit codes, or error messages — bash -n on every fenced block still parses clean.
  • File now sits at 550 lines (at the cap, with ~25 lines of headroom reclaimed from the previous overshoot).

@pethers pethers marked this pull request as ready for review May 17, 2026 06:00
Copilot AI review requested due to automatic review settings May 17, 2026 06:00
@github-actions github-actions Bot added documentation Documentation updates size-m Medium change (50-250 lines) labels May 17, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🏷️ Automatic Labeling Summary

This PR has been automatically labeled based on the files changed and PR metadata.

Applied Labels: documentation,size-m

Label Categories

  • 🗳️ Content: news, dashboard, visualization, intelligence
  • 💻 Technology: html-css, javascript, workflow, security
  • 📊 Data: cia-data, riksdag-data, data-pipeline, schema
  • 🌍 I18n: i18n, translation, rtl
  • 🔒 ISMS: isms, iso-27001, nist-csf, cis-controls
  • 🏗️ Infrastructure: ci-cd, deployment, performance, monitoring
  • 🔄 Quality: testing, accessibility, documentation, refactor
  • 🤖 AI: agent, skill, agentic-workflow

For more information, see .github/labeler.yml.

@github-actions
Copy link
Copy Markdown
Contributor

🔍 Lighthouse Performance Audit

Category Score Status
Performance 85/100 🟡
Accessibility 95/100 🟢
Best Practices 90/100 🟢
SEO 95/100 🟢

📥 Download full Lighthouse report

Budget Compliance: Performance budgets enforced via budget.json

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pure comment compression in .github/prompts/05-analysis-gate.md to bring file from 575 → 550 lines, satisfying the prompt-module architecture cap. No logic, regex, file list, or message changes.

Changes:

  • Collapsed multi-line explanatory comments to single-line summaries across Checks 2, 7, 9b, 10, 11, 12, 13.
  • Preserved all citations to safety/contract docs in compressed form.

@pethers pethers merged commit 13fb01d into main May 17, 2026
12 checks passed
@pethers pethers deleted the copilot/improve-architecture branch May 17, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation updates size-m Medium change (50-250 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants