Skip to content

docs: constrain verbose Java process output#3

Open
SirEdvin wants to merge 1 commit into
1.20from
docs/agent-java-output-budget
Open

docs: constrain verbose Java process output#3
SirEdvin wants to merge 1 commit into
1.20from
docs/agent-java-output-budget

Conversation

@SirEdvin

Copy link
Copy Markdown
Owner

Summary

  • keep full Java, Minecraft, loader, Gradle, and installer logs on disk
  • return only compact readiness, failure, count, timing, and shutdown evidence to agents
  • prefer completion/readiness notifications over repeated polling
  • batch expensive runtime validation where practical

Why

A recent Minecraft migration audit found about 278k direct tokens of Java-process output across agent sessions. In one OpenCode session, retained Java logs caused about 5.2M cumulative input-token exposures. A truncated 50 KiB log still cost roughly 15k tokens while omitting useful context.

Validation

  • git diff --check
  • documentation-only change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant