Skip to content

fix(prompt): place scratchpad under session folder#13

Merged
ngoclam9415 merged 1 commit into
developfrom
fix/session-scratchpad-location
May 27, 2026
Merged

fix(prompt): place scratchpad under session folder#13
ngoclam9415 merged 1 commit into
developfrom
fix/session-scratchpad-location

Conversation

@ngoclam9415
Copy link
Copy Markdown
Contributor

Summary

  • resolve scratchpad paths under each agent session folder
  • invalidate cached codec system prompts when session id changes
  • add regression coverage for session scratchpad layout and prompt rerendering

Tests

  • uv run pytest tests/unit/core/star/test_set_session_id.py tests/unit/test_prompt_api_repository.py tests/unit/core/skills/test_dana_skills_prompt_context.py -q
  • uv run ruff check dana/core/prompt/environment_info.py dana/core/runtime/codec/codec_base.py dana/core/agent/star_agent.py tests/unit/core/star/test_set_session_id.py
  • uv run python -m compileall dana/core/prompt/environment_info.py dana/core/runtime/codec/codec_base.py dana/core/agent/star_agent.py tests/unit/core/star/test_set_session_id.py

@ngoclam9415 ngoclam9415 merged commit 183e893 into develop May 27, 2026
1 check failed
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