node-engine: compose-candidate sends its composition input in chunks over the link's connection when asked with a call token (A-237b)

Builds: design 47 G (G-22 lead answers 2) A-237b; A-237, A-249
This commit is contained in:
2026-11-16 14:38:31 +01:00
parent 3b365ba7cc
commit f539cdb7ec
6 changed files with 149 additions and 13 deletions
+3 -1
View File
@@ -238,7 +238,9 @@ func (s *Shadow) composeCandidate(ctx context.Context, c *Composer, ask nodeengi
}
}
})
if sentSize > maxSentInput {
// An ask with a call token takes the input in chunks, whatever its size (A-237b); one with none is the checker's, answered
// inline until G removes the checker (G-6 §321), so past what the bus carries in one answer it is refused.
if sentSize > maxSentInput && ask.Call == "" {
// Past what the bus carries in one answer, the checker would hear nothing: refused, saying so.
size := sentSize
a.Input = nil