Bound a run's input by the bus's value limit, 256 KiB (issue 1921)

The lead's ruling on milestone 47/B0: each referenced input is bounded
by the value limit the design already uses.

Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i
This commit is contained in:
2026-11-06 22:10:10 +01:00
parent 336fd73b8b
commit 5cd8bf9520
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -58,9 +58,9 @@ type RunInput struct {
Size int `json:"size"`
}
// RunInputBound is the most bytes a run's input may hold: under the bus's message limit, so the asker can keep it as
// one value.
const RunInputBound = 768 << 10
// RunInputBound is the most bytes a run's input may hold: the bus's value limit the design already uses (256 KiB), so
// the asker keeps it as one value (the lead's ruling on milestone 47/B0, 2026-11-06).
const RunInputBound = 256 << 10
// RunHeadsEnv names, for the program, the directory its heads are laid in; RunInputEnv the file its input is written to.
const (