[PR #692] [MERGED] fix: nextjs-tracker agent wastes entire timeout exploring codebase #775

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

📋 Pull Request Information

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

Base: mainHead: fix/nextjs-tracker-no-explore


📝 Commits (1)

  • 3df9be1 fix: prevent nextjs-tracker agent from wasting time exploring codebase

📊 Changes

1 file changed (+52 additions, -6 deletions)

View changed files

📝 .opencode/agents/nextjs-tracker.md (+52 -6)

📄 Description

Summary

  • The agent's first action was launching a Task subagent to "explore the vinext codebase structure", which ran for 28 minutes and consumed the entire 30-minute timeout before ever reading a single commit
  • Three fixes:
    1. Deny task permission so the agent cannot launch subagents
    2. Add explicit instruction not to explore the codebase or read local files
    3. Inline the full codebase structure in the agent config so it has all context it needs

Failed run: https://github.com/cloudflare/vinext/actions/runs/23609167867


🔄 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/692 **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-no-explore` --- ### 📝 Commits (1) - [`3df9be1`](https://github.com/cloudflare/vinext/commit/3df9be14cb89c536c22b6597fd86fb3807feb9f4) fix: prevent nextjs-tracker agent from wasting time exploring codebase ### 📊 Changes **1 file changed** (+52 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `.opencode/agents/nextjs-tracker.md` (+52 -6) </details> ### 📄 Description ## Summary - The agent's first action was launching a Task subagent to "explore the vinext codebase structure", which ran for 28 minutes and consumed the entire 30-minute timeout before ever reading a single commit - Three fixes: 1. **Deny `task` permission** so the agent cannot launch subagents 2. **Add explicit instruction** not to explore the codebase or read local files 3. **Inline the full codebase structure** in the agent config so it has all context it needs Failed run: https://github.com/cloudflare/vinext/actions/runs/23609167867 --- <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:02 +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#775
No description provided.