Skip to content

Preserve Agenttic client context#86

Merged
lezama merged 1 commit into
mainfrom
fix/agenttic-client-context
Jun 3, 2026
Merged

Preserve Agenttic client context#86
lezama merged 1 commit into
mainfrom
fix/agenttic-client-context

Conversation

@lezama
Copy link
Copy Markdown
Owner

@lezama lezama commented Jun 3, 2026

Summary

  • parse Agenttic message data parts carrying clientContext into canonical agents/chat client_context
  • pass per-turn client_context into the conversation loop even when no tools are present
  • inject client_context into the model prompt ephemerally, without storing it in the transcript

Tests

  • php -d auto_prepend_file=tests/phpunit-prepend.php vendor/phpunit/phpunit/phpunit tests/unit/AgentticClientContextTest.php
  • composer lint:php
  • composer test
  • composer test:assembly
  • composer validate --strict
  • composer audit

@lezama lezama merged commit e6ad7ac into main Jun 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant