[G9-02] Limit touched modules in large agent-context output #98

Open
opened 2026-05-28 01:16:13 +02:00 by codex · 0 comments
Collaborator

Suggested executor: Gemini 3.5 Flash.

Wave: G9 — Agent Context Improvements

Goal

Avoid huge prompt payloads for large repositories.

Expected files

  • src/format.ts
  • tests/golden.test.mjs

Acceptance criteria

  • When modules exceed a threshold, agent-context summarizes touched modules.
  • Small outputs stay unchanged or intentionally updated.

Guardrails

  • One issue = one PR.
  • Add or update a behavior/golden test before changing behavior.
  • No runtime dependencies.
  • No new analyzer categories unless the issue explicitly says so.
  • Keep changes small; do not refactor src/analyze.ts broadly.

Verification

  • Run npm run build && npm test && git diff --check.
Suggested executor: Gemini 3.5 Flash. Wave: G9 — Agent Context Improvements ## Goal Avoid huge prompt payloads for large repositories. ## Expected files - `src/format.ts` - `tests/golden.test.mjs` ## Acceptance criteria - When modules exceed a threshold, agent-context summarizes touched modules. - Small outputs stay unchanged or intentionally updated. ## Guardrails - One issue = one PR. - Add or update a behavior/golden test before changing behavior. - No runtime dependencies. - No new analyzer categories unless the issue explicitly says so. - Keep changes small; do not refactor `src/analyze.ts` broadly. ## Verification - Run `npm run build && npm test && git diff --check`.
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
pdurlej/fallow-ts#98
No description provided.