H9: an entry asked again by hand is asked again in the shadow's cache too, so a candidate waits no longer on a not-found it holds

Builds: design 47 G §698 (entry-again), §421 (A-308: the shadow reads the entries its wants name)

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
This commit is contained in:
2026-11-12 23:12:41 +01:00
parent 23799a30ed
commit 860ccd7e30
4 changed files with 13 additions and 1 deletions
+3 -1
View File
@@ -163,7 +163,9 @@ type Composer struct {
// OnEngine is told the node-engine's own module each time a composing finds it (design 47 G §527, §634); set before the
// composer runs.
OnEngine func(module string)
env Env
// AlsoEntryAgain is told each entry asked again by hand, so the shadow's own cache of entries asks it again too.
AlsoEntryAgain func(ctx context.Context, fp string)
env Env
mu sync.Mutex
wants map[string]meshwants.WantsByWantNodeModuleValue // by module, the node's own under agent.NodeModule