[PR #693] [MERGED] fix: inline commits into nextjs-tracker prompt to stop codebase exploration #776

Closed
opened 2026-05-06 13:10:03 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/693
Author: @southpolesteve
Created: 3/26/2026
Status: Merged
Merged: 3/26/2026
Merged by: @southpolesteve

Base: mainHead: fix/nextjs-tracker-inline-commits


📝 Commits (1)

  • bc71939 fix: inline commits into agent prompt to prevent codebase exploration

📊 Changes

1 file changed (+27 additions, -31 deletions)

View changed files

📝 .github/workflows/nextjs-tracker.yml (+27 -31)

📄 Description

Summary

  • The agent ignores both the task: "*": deny permission and the "Do NOT explore" instruction, spending 28 of 30 minutes on a Task subagent exploring the local codebase before looking at a single commit
  • Fix: embed the commits JSON directly into the prompt so all data is available immediately with no file reads or exploration needed
  • Also adds explicit "do not explore, do not launch subagents" at the end of the prompt

Previous failed runs:

Both timed out because the agent launched an explore subagent that ran for ~28 minutes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/693 **Author:** [@southpolesteve](https://github.com/southpolesteve) **Created:** 3/26/2026 **Status:** ✅ Merged **Merged:** 3/26/2026 **Merged by:** [@southpolesteve](https://github.com/southpolesteve) **Base:** `main` ← **Head:** `fix/nextjs-tracker-inline-commits` --- ### 📝 Commits (1) - [`bc71939`](https://github.com/cloudflare/vinext/commit/bc71939903320f4b134965735d317063b8d0129e) fix: inline commits into agent prompt to prevent codebase exploration ### 📊 Changes **1 file changed** (+27 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/nextjs-tracker.yml` (+27 -31) </details> ### 📄 Description ## Summary - The agent ignores both the `task: "*": deny` permission and the "Do NOT explore" instruction, spending 28 of 30 minutes on a Task subagent exploring the local codebase before looking at a single commit - Fix: embed the commits JSON directly into the prompt so all data is available immediately with no file reads or exploration needed - Also adds explicit "do not explore, do not launch subagents" at the end of the prompt Previous failed runs: - Run 1 (prompt fix): https://github.com/cloudflare/vinext/actions/runs/23609167867 - Run 2 (task deny + instructions): https://github.com/cloudflare/vinext/actions/runs/23610880416 Both timed out because the agent launched an explore subagent that ran for ~28 minutes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 13:10:03 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#776
No description provided.