Skip to content

fix(cache-memory): ensure detection always runs on safe outputs, including noop/boop#40882

Merged
pelikhan merged 6 commits into
mainfrom
copilot/fix-cache-miss-documentation-unbloat
Jun 23, 2026
Merged

fix(cache-memory): ensure detection always runs on safe outputs, including noop/boop#40882
pelikhan merged 6 commits into
mainfrom
copilot/fix-cache-miss-documentation-unbloat

Conversation

Copilot AI commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

update_cache_memory was not being refreshed on noop runs because the detection job was skipped when the agent produced no outputs (e.g. called noop/boop). This caused the Documentation Unbloat cache to go cold after all docs were cleaned — every subsequent noop run silently dropped the cleanup history instead of refreshing it.

Changes

pkg/workflow/threat_detection.go

  • buildDetectionJob: removed the hasContent guard (output_types != '' || has_patch == 'true') from the detection job's if: condition. Detection now runs whenever always() && agent.result != 'skipped', regardless of whether the agent produced any outputs.
  • The detection_guard step inside the job already handles the no-output case by setting run_detection=false, and detection_conclusion short-circuits with conclusion=skipped, success=true — so needs.detection.result == 'success' is correctly set for all downstream jobs even on noop runs.
- jobConditionNode := BuildAnd(BuildAnd(alwaysFunc, agentNotSkipped), hasContent)
+ jobConditionNode := BuildAnd(alwaysFunc, agentNotSkipped)

pkg/workflow/cache.go

  • buildUpdateCacheMemoryJob: retains buildDetectionSuccessCondition() (unchanged from before). Since detection now always runs and succeeds even for noop, requiring detection.result == 'success' is sufficient.

Tests (threat_detection_test.go, cache_memory_threat_detection_test.go, compiler_jobs_test.go, threat_detection_job_combinations_integration_test.go)

  • Updated TestDetectionJobLevelCondition to assert detection no longer gates on output_types/has_patch
  • Reverted update_cache_memory condition assertions to expect success-only (not skipped)

.github/workflows/unbloat-docs.md

  • Heartbeat write: writes last-run.txt into cache-memory/ on every run so the artifact always has content even when the agent writes nothing
  • Stale cache expiration: resets cleaned-files.txt if its most recent entry is older than 14 days, preventing silently stale "already cleaned" state after a GitHub Actions cache eviction

run: https://github.com/github/gh-aw/actions/runs/27997737621

Generated by 👨‍🍳 PR Sous Chef · 33.1 AIC · ⌖ 1.01 AIC · ⊞ 17.3K ·



✨ PR Review Safe Output Test - Run 27998822770

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

💥 [THE END] — Illustrated by Smoke Claude · 68.5 AIC · ⌖ 39.2 AIC · ⊞ 8.5K ·

Copilot AI and others added 2 commits June 22, 2026 22:51
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…low heartbeat and expiration checks

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix cache miss in Documentation Unbloat fix(cache-memory): update_cache_memory saves on noop runs by accepting skipped detection Jun 22, 2026
Copilot AI requested a review from pelikhan June 22, 2026 23:04
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot detection must ALWAYS be run on safe outputs, including boop.

@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot detection must ALWAYS be run on safe outputs, including boop.

…ypes

Detection now runs whenever the agent job was not skipped, even when the
agent calls noop/boop (which produces no output_types or patches). The
detection_guard step inside the job handles the no-output case by setting
run_detection=false, and detection_conclusion short-circuits with
conclusion=skipped/success=true, so needs.detection.result == 'success'
is always set for downstream jobs (update_cache_memory, safe_outputs).

This reverts the update_cache_memory condition back to requiring
detection success only (not accepting skipped), since detection will
now always produce a success result when the agent ran.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

@copilot detection must ALWAYS be run on safe outputs, including boop.

Fixed in the latest commit. The detection job's if: condition no longer gates on output_types != '' or has_patch == 'true' — it now runs whenever the agent job was not skipped, including when the agent calls noop/boop.

The detection_guard step inside the job handles the no-output case by setting run_detection=false, and detection_conclusion short-circuits with conclusion=skipped, success=true. This means needs.detection.result == 'success' is always set for downstream jobs, so update_cache_memory reverts to the original buildDetectionSuccessCondition() (success-only — no longer accepting skipped).

Copilot AI changed the title fix(cache-memory): update_cache_memory saves on noop runs by accepting skipped detection fix(cache-memory): ensure detection always runs on safe outputs, including noop/boop Jun 23, 2026
@pelikhan pelikhan marked this pull request as ready for review June 23, 2026 01:49
Copilot AI review requested due to automatic review settings June 23, 2026 01:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the gh-aw compiler and generated workflows so the threat-detection job is no longer skipped on “no safe outputs” runs (e.g. noop/boop), ensuring downstream cache-memory refresh (update_cache_memory) continues to run and doesn’t let cache state go cold after work has been completed.

Changes:

  • Compiler: remove the “hasContent” (output_types != '' || has_patch == 'true') gate from the detection job’s job-level if: so detection runs whenever the agent ran (not skipped).
  • Tests/docs/workflows: update expectations and regenerate .lock.yml outputs; add a cache-memory heartbeat + staleness reset logic to the Documentation Unbloat workflow.
Show a summary per file
File Description
pkg/workflow/threat_detection.go Removes job-level content gating for detection job execution.
pkg/workflow/threat_detection_test.go Updates test assertions so detection if: no longer mentions output_types/has_patch.
pkg/workflow/compiler_jobs_test.go Updates test documentation comment to reflect detection always running when agent ran.
pkg/workflow/cache.go Adds explanatory comment about relying on needs.detection.result == 'success' for noop runs.
.github/workflows/unbloat-docs.md Adds cache-memory heartbeat file and 14-day staleness reset for cleaned history.
.github/workflows/unbloat-docs.lock.yml Regenerated compiled workflow reflecting unbloat-docs.md changes + detection gating changes.
.github/workflows/workflow-skill-extractor.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/workflow-normalizer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/workflow-health-manager.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/workflow-generator.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/weekly-safe-outputs-spec-review.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/weekly-issue-summary.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/weekly-editors-health-check.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/weekly-blog-post-writer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/visual-regression-checker.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/video-analyzer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/update-astro.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/uk-ai-operational-resilience.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/ubuntu-image-analyzer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/typist.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/tidy.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/test-quality-sentinel.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/test-project-url-default.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/test-dispatcher.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/test-create-pr-error-handling.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/terminal-stylist.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/technical-doc-writer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/super-linter.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/sub-issue-closer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/step-name-alignment.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/static-analysis-report.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/stale-repo-identifier.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/stale-pr-cleanup.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/spec-librarian.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/spec-extractor.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/spec-enforcer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-workflow-call.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-workflow-call-with-inputs.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-update-cross-repo-pr.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-test-tools.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-temporary-id.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-service-ports.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-project.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-pi.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-otel-backends.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-opencode.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-multi-pr.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-gemini.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-crush.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-create-cross-repo-pr.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-copilot.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-copilot-sdk.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-copilot-arm.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-copilot-aoai-entra.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-copilot-aoai-apikey.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-codex.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-claude.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-call-workflow.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-antigravity.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-agent-scoped-approved.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-agent-scoped-approved.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-agent-public-none.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-agent-public-approved.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-agent-all-none.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/smoke-agent-all-merged.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/slide-deck-maintainer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/skillet.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/sergo.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/semantic-function-refactor.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/security-review.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/security-compliance.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/scout.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/schema-feature-coverage.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/schema-consistency-checker.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/safe-output-health.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/ruflo-backed-task.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/research.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/repository-quality-improver.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/repo-tree-map.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/repo-audit-analyzer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/refiner.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/refactoring-cadence.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/q.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/python-data-charts.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/prompt-clustering-analysis.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/pr-triage-agent.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/pr-sous-chef.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/pr-nitpick-reviewer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/pr-description-caveman.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/pr-code-quality-reviewer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/portfolio-analyst.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/poem-bot.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/plan.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/pdf-summary.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/outcome-collector.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/org-health-report.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/objective-impact-report.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/notion-issue-summary.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/necromancer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/metrics-collector.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/mergefest.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/mcp-inspector.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/mattpocock-skills-reviewer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/lockfile-stats.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/linter-miner.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/lint-monster.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/layout-spec-maintainer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/jsweep.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/issue-triage-agent.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/issue-monster.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/issue-arborist.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/instructions-janitor.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/hourly-ci-cleaner.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/grumpy-reviewer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/gpclean.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/go-pattern-detector.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/go-logger.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/go-fan.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/glossary-maintainer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/github-remote-mcp-auth-test.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/github-mcp-tools-report.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/github-mcp-structural-analysis.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/functional-pragmatist.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/firewall-escape.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/example-workflow-analyzer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/example-failure-category-filter.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/duplicate-code-detector.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/draft-pr-cleanup.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/docs-noob-tester.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/discussion-task-miner.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/dictation-prompt.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/developer-docs-consolidator.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/dev.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/dev-hawk.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/designer-drift-audit.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/design-decision-gate.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/deployment-incident-monitor.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/dependabot-repair.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/dependabot-go-checker.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/dependabot-burner.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/delight.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/deep-report.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/dead-code-remover.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/dataflow-pr-discussion-dataset.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-workflow-updater.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-windows-terminal-integration-builder.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-token-consumption-report.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-testify-uber-super-expert.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-team-status.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-team-evolution-insights.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-syntax-error-quality.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-spdd-spec-planner.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-skill-optimizer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-sentrux-report.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-semgrep-scan.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-security-red-team.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-security-observability.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-secrets-analysis.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-safeoutputs-git-simulator.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-safe-outputs-conformance.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-safe-output-optimizer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-safe-output-integrator.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-repo-chronicle.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-rendering-scripts-verifier.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-reliability-review.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-regulatory.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-performance-summary.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-observability-report.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-news.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-multi-device-docs-tester.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-model-inventory.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-mcp-concurrency-analysis.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-max-ai-credits-test.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-issues-report.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-hippo-learn.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-geo-optimizer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-function-namer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-formal-spec-verifier.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-firewall-report.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-file-diet.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-fact.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-experiment-report.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-doc-updater.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-doc-healer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-credit-limit-test.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-compiler-quality.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-community-attribution.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-code-metrics.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-cli-tools-tester.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-cli-performance.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-choice-test.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-caveman-optimizer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-cache-strategy-analyzer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-byok-ollama-test.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-aw-cross-repo-compile-check.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-assign-issue-to-user.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-architecture-diagram.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-ambient-context-optimizer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-agentrx-trace-optimizer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/craft.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/copilot-session-insights.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/copilot-pr-prompt-analysis.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/copilot-pr-nlp-analysis.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/copilot-pr-merged-report.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/copilot-opt.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/copilot-cli-deep-research.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/copilot-centralization-optimizer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/copilot-centralization-drilldown.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/copilot-agent-analysis.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/contribution-check.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/constraint-solving-potd.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/commit-changes-analyzer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/code-simplifier.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/code-scanning-fixer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/cloclo.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/cli-version-checker.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/cli-consistency-checker.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/claude-code-user-docs-review.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/ci-doctor.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/ci-coach.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/chaos-pr-bundle-fuzzer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/changeset.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/breaking-change-checker.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/brave.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/blog-auditor.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/aw-failure-investigator.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/avenger.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/auto-triage-issues.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/audit-workflows.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/artifacts-summary.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/architecture-guardian.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/archie.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/approach-validator.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/api-consumption-report.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/agentic-token-trend-audit.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/agentic-token-audit.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/agent-persona-explorer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/agent-performance-analyzer.lock.yml Regenerated compiled workflow reflecting updated detection job condition.
.github/workflows/ab-testing-advisor.lock.yml Regenerated compiled workflow reflecting updated detection job condition.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 242/242 changed files
  • Comments generated: 1

Comment on lines +1379 to +1385
// Detection job condition: always run whenever the agent job was not skipped,
// regardless of whether the agent produced outputs (output_types) or a patch.
// This ensures detection is never bypassed even when the agent calls noop/boop —
// the detection_guard step inside the job handles the no-output case by setting
// run_detection=false, and detection_conclusion short-circuits with conclusion=skipped,
// success=true, so downstream jobs (safe_outputs, update_cache_memory) see
// needs.detection.result == 'success' and behave correctly.
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot Merge main and recompile

…s-documentation-unbloat

# Conflicts:
#	.github/workflows/daily-security-observability.lock.yml

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

@copilot review all comments and address unresolved review feedback.

Generated by 👨‍🍳 PR Sous Chef · 33.1 AIC · ⌖ 1.01 AIC · ⊞ 17.3K ·

@github-actions

Copy link
Copy Markdown
Contributor

@copilot please refresh this branch and rerun the safe-output detection path after rebasing main.

Generated by 👨‍🍳 PR Sous Chef · 33.1 AIC · ⌖ 1.01 AIC · ⊞ 17.3K ·

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Merge main and recompile

Done in 3003e8c (plus merge commit 1f17713): merged origin/main and recompiled workflows.

@copilot detection must ALWAYS be run on safe outputs, including boop.

Addressed. Detection now always runs whenever the agent ran (including boop/noop safe-output runs) in 3003e8c.

@github-actions

Copy link
Copy Markdown
Contributor

📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing...

@github-actions

Copy link
Copy Markdown
Contributor

📰 BREAKING: Smoke Copilot - AOAI (Entra) is now investigating this pull request. Sources say the story is developing...

@github-actions

Copy link
Copy Markdown
Contributor

📰 BREAKING: Smoke Copilot - AOAI (apikey) is now investigating this pull request. Sources say the story is developing...

@github-actions

Copy link
Copy Markdown
Contributor

Caution

agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.

Details

The threat detection engine failed to produce results.

Review the workflow run logs for details.

Smoke test results:

  • GitHub CLI ✅
  • Web fetch ✅
  • File write ✅
  • Bash verify ✅
  • Build ❌
    Overall: FAIL

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • proxy.golang.org

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "proxy.golang.org"

See Network Configuration for more information.

🥧 Smoke Pi — Powered by Pi · 3.75 AIC · ⊞ 2.7K ·

@github-actions

Copy link
Copy Markdown
Contributor

Caution

agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.

Details

The threat detection engine failed to produce results.

Review the workflow run logs for details.

Smoke Test Results

  • GitHub MCP: ✅
  • Web Fetch: ✅
  • File Writing: ✅
  • Bash Tool: ✅
  • Build gh-aw: ❌

Overall Status: FAIL

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • localhost

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "localhost"

See Network Configuration for more information.

Smoke Gemini — Powered by Gemini ·

@github-actions

Copy link
Copy Markdown
Contributor

Agent Container Tool Check

Tool Status Version
bash 5.2.21
sh available
git 2.54.0
jq 1.7
yq v4.53.3
curl 8.5.0
gh 2.94.0
node v22.22.3
python3 3.11.15 (PyPy 7.3.23)
go 1.24.13
java 21.0.11
dotnet 10.0.301

Result: 12/12 tools available ✅

Overall Status: PASS

🔧 Tool validation by Agent Container Smoke Test · 19.9 AIC · ⌖ 13.5 AIC · ⊞ 5.4K ·

@github-actions

Copy link
Copy Markdown
Contributor

Caution

agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.

Details

The threat detection engine failed to produce results.

Review the workflow run logs for details.

Comment Memory

Moonlit build hums soft
Signals drift through quiet checks
Green paths wake at dawn

Note

This comment is managed by comment memory.

It stores persistent context for this thread in the code block at the top of this comment.
Edit only the text inside the backtick fences; workflow metadata and the footer are regenerated automatically.

Learn more about comment memory

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

🔮 The oracle has spoken through Smoke Codex · 4.78 AIC · ⊞ 10.7K ·

@github-actions

Copy link
Copy Markdown
Contributor

🤖 Smoke Test: Claude — Run 27998822770

Core #1-12: ✅ all passed
PR Review #13-15,17,18: ✅ passed
#16 Resolve thread: ⚠️ skipped
#19 Close PR: ⚠️ skipped

Overall: PARTIAL ⚠️ (all executed tests passed)

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

💥 [THE END] — Illustrated by Smoke Claude · 68.5 AIC · ⌖ 39.2 AIC · ⊞ 8.5K ·

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💥 Automated smoke test review - all systems nominal!

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

💥 [THE END] — Illustrated by Smoke Claude · 68.5 AIC · ⌖ 39.2 AIC · ⊞ 8.5K

- agent
if: >
always() && needs.agent.result != 'skipped' && (needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true')
if: always() && needs.agent.result != 'skipped'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Simplifying this if condition ensures detection runs on all safe outputs including noop. Looks correct.

- agent
if: >
always() && needs.agent.result != 'skipped' && (needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true')
if: always() && needs.agent.result != 'skipped'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good — dropping the output_types/has_patch guard keeps behavior consistent across generated workflows. Verify recompile covers every lock file.

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

test moon hums
robot drums in cave
smoke sparks wake the gears

Note

This comment is managed by comment memory.

It stores persistent context for this thread in the code block at the top of this comment.
Edit only the text inside the backtick fences; workflow metadata and the footer are regenerated automatically.

Learn more about comment memory

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

📰 BREAKING: Report filed by Smoke Copilot · 237.5 AIC · ⌖ 15.3 AIC · ⊞ 19.2K ·

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Smoke run done. Me left two tiny inline notes.

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

📰 BREAKING: Report filed by Smoke Copilot · 237.5 AIC · ⌖ 15.3 AIC · ⊞ 19.2K

@github-actions

Copy link
Copy Markdown
Contributor

Smoke tests summary: 1✅ 2✅ 3❌ 4✅ 5✅ 6✅ 7✅ 8✅ 9❌ 10✅ 11❌ 12✅ 13❌ 14✅\nOverall status: FAIL

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

📰 BREAKING: Report filed by Smoke Copilot - AOAI (Entra) · 243.5 AIC · ⌖ 12.9 AIC · ⊞ 18.1K ·

@pelikhan pelikhan merged commit c4d2540 into main Jun 23, 2026
206 of 208 checks passed
@pelikhan pelikhan deleted the copilot/fix-cache-miss-documentation-unbloat branch June 23, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants