O-5: C-S6: stateobjects.Sender and Receive, a reply or an event over the message limit sent as the reference of an object in the sender's store of sent objects (milestone 47/G, issue 1966, ADR 0666 section 16)

Builds: design 47 G §59, §407

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
This commit is contained in:
2026-11-11 10:51:06 +01:00
parent cb86079051
commit 71f8e548aa
4 changed files with 185 additions and 0 deletions
+4
View File
@@ -192,6 +192,7 @@ func (m *memory) serve(method string, raw json.RawMessage) (any, error) {
Revision uint64 `json:"revision"`
Name string `json:"name"`
Data []byte `json:"data"`
Object string `json:"object"`
}
_ = json.Unmarshal(raw, &p)
switch method {
@@ -214,6 +215,9 @@ func (m *memory) serve(method string, raw json.RawMessage) (any, error) {
case buscalls.ObjectsGet:
d, err := m.Object(p.Name)
return buscalls.ObjectData{Info: buscalls.ObjectInfo{Name: p.Name}, Data: d}, err
case buscalls.ObjectsSentGet:
d, err := m.Object(p.Object)
return buscalls.ObjectData{Info: buscalls.ObjectInfo{Name: p.Object}, Data: d}, err
case buscalls.ObjectsDelete:
return buscalls.Done{}, memObjects{m}.Delete(p.Name)
case buscalls.ObjectsList: