feat: phase transition independent of response

ref: N25B-429
This commit is contained in:
2026-01-08 13:33:37 +01:00
parent 45719c580b
commit b88758fa76
2 changed files with 9 additions and 1 deletions

View File

@@ -171,7 +171,7 @@ class AgentSpeakGenerator:
self._astify(to_phase) if to_phase else AstLiteral("phase", [AstString("end")])
)
context = [from_phase_ast, ~AstLiteral("responded_this_turn")]
context = [from_phase_ast]
if from_phase and from_phase.goals:
context.append(self._astify(from_phase.goals[-1], achieved=True))