Skip to content

[deep-report] Remove dead close_discussion instructions from daily-issues-report and daily-secrets-analysis #65396

Description

@github-actions

Description

daily-issues-report.md (Phase 5, line 276) and daily-secrets-analysis.md (Output Instructions, line 303) both instruct the agent to "Use the close_discussion safe output" to close prior discussions before posting a new one — but neither workflow declares a close-discussion (or close_discussion) safe-output. Both only import shared/daily-audit-base.md → shared/daily-audit-discussion.md, which configures create-discussion with close-older-discussions: true — i.e., closing is already handled automatically and declaratively. The agent wastes a turn attempting a nonexistent tool every run; today's Daily Issues Report (#65342, 2026-10-03) explicitly logged this as a failure: "previous '[daily issues]' discussions could not be closed this run, because no close_discussion tool was available."

For comparison, daily-regulatory.md does declare its own top-level close-discussion: safe-output (line 31) in addition to the shared base, so it is not affected by this gap — confirming the fix is to remove the stale instructions from the two affected files, not to add a new safe-output everywhere.

Expected Impact

Removes a recurring no-op/failed tool-call every single run of two daily workflows, and removes confusing instructions that don't match the actual (already-working) closing mechanism.

Suggested Agent

Documentation Unbloat or a direct manual edit — single-file prompt text changes, no compiler/safe-outputs schema changes needed.

Estimated Effort

Quick (< 30 min) — delete/replace "Phase 5: Close Previous Discussions" in daily-issues-report.md:268-276 and item 3 in daily-secrets-analysis.md:303, noting that close-older-discussions: true (via shared/daily-audit-discussion.md) already supersedes prior discussions automatically.

Data Source

DeepReport Intelligence analysis, 2026-10-03 (incremental cycle since briefing #65327), sourced from Daily Issues Report #65342.

Generated by 🔬 Deep Report · claude · agent · 328.5 AIC · ⌖ 8.76 AIC · ⊞ 7.1K · ◷

  • expires on Oct 5, 2026, 11:08 AM UTC-08:00

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions