Skip to content

Commit 68b2bb9

Browse files
Copilotmrjf
andauthored
Increase repo-memory max-file-size to 30KB and add state file trimming instructions
The autoloop push_repo_memory job was failing because the state file build-tsb-pandas-typescript-migration.md (10695 bytes) exceeded the default 10240 byte limit. Increase limit to 30720 bytes and add agent instructions to collapse older iteration history to keep files compact. Agent-Logs-Url: https://github.com/githubnext/tsessebe/sessions/d3d310d3-fb04-4119-bdaf-f09ae201065d Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com>
1 parent 8c511ee commit 68b2bb9

2 files changed

Lines changed: 22 additions & 20 deletions

File tree

.github/workflows/autoloop.lock.yml

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/autoloop.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ tools:
7777
repo-memory:
7878
branch-name: memory/autoloop
7979
file-glob: ["*.md"]
80+
max-file-size: 30720
8081

8182
imports:
8283
- shared/reporting.md
@@ -1122,6 +1123,7 @@ After each iteration, prepend an entry to the **📊 Iteration History** section
11221123
- **Always** update the state file after each iteration, regardless of outcome.
11231124
- **Update the Machine State table first** — the scheduling pre-step depends on it.
11241125
- **Prepend** iteration history entries (newest first).
1126+
- **Keep the state file compact.** The state file must stay under 30 KB. When prepending a new iteration entry, collapse older iteration entries (beyond the most recent 10) into compressed summary lines (e.g. `### Iters 50–100 — ✅ (metrics 20→55): brief summary`). Also prune Lessons Learned to only the most recent and relevant entries.
11251127
- **Accumulate** Lessons Learned — add new insights, don't overwrite existing ones.
11261128
- **Add to Foreclosed Avenues** only when an approach is conclusively ruled out (not just rejected once).
11271129
- **Respect Current Priorities** — if a maintainer has written priorities, follow them in your next proposal.

0 commit comments

Comments
 (0)