G §57, §345: a replace leaves the object it replaced, and a value over a bundle's object limit is refused, never split

Builds: design 47 G §57, §345

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
This commit is contained in:
2026-11-11 14:07:26 +01:00
parent 0f23429666
commit ca59b685b0
6 changed files with 45 additions and 130 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ type BundleObjects struct{ Store busstate.Objects }
// the bytes travel in it as base64.
const BundleObjectMost = 8 << 20
// MostBytes is BundleObjectMost: a larger value is split over objects.
// MostBytes is BundleObjectMost: a larger value is refused, loudly, until the design decides how a bundle keeps one.
func (BundleObjects) MostBytes() int { return BundleObjectMost }
func (b BundleObjects) Put(name string, data []byte) error {