Skip to content

feat(gateway): persist session goal contracts - #1

Merged
ik-svc-oc merged 2 commits into
mainfrom
feat/session-goal-contract
Apr 30, 2026
Merged

ik-svc-oc merged 2 commits into
mainfrom
feat/session-goal-contract

Conversation

@ik-svc-oc

Copy link
Copy Markdown
Owner

Summary

  • Add SessionGoalContract persistence on session entries
  • Add /goal command support for status/new/lock/unlock/clear
  • Inject goal contract ahead of mutable session context
  • Include stale compaction-summary hardening tests

Test Plan

  • uv run pytest tests/gateway/test_session.py::TestSessionGoalContractRoundtrip tests/gateway/test_session.py::TestBuildSessionContextPrompt::test_prompt_includes_goal_contract_before_transport_context tests/gateway/test_session.py::TestBuildSessionContextPrompt::test_prompt_omits_goal_contract_when_absent tests/gateway/test_goal_command.py tests/hermes_cli/test_commands.py -q

Fork-local PR only; no upstream submission.

@ik-svc-oc
ik-svc-oc merged commit 9611d65 into main Apr 30, 2026
@ik-svc-oc
ik-svc-oc deleted the feat/session-goal-contract branch April 30, 2026 08:27
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.

2 participants