fix(agent): preserve SOUL identity for delegated children - #79052
Open
tachyon-r wants to merge 2 commits into
Open
fix(agent): preserve SOUL identity for delegated children#79052tachyon-r wants to merge 2 commits into
tachyon-r wants to merge 2 commits into
Conversation
tachyon-r
force-pushed
the
fix/delegate-soul-identity
branch
2 times, most recently
from
August 15, 2026 05:24
701ab1d to
9b55c9b
Compare
Contributor
fix(agent): preserve SOUL identity for delegated children
|
Co-authored-by: Nuriy Gold <hello@nuriy.com>
tachyon-r
force-pushed
the
fix/delegate-soul-identity
branch
from
August 20, 2026 11:13
83cc152 to
093edf5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SOUL.mdidentity for delegated childrenWhy
Delegated children currently set
skip_context_files=Trueandskip_memory=Truewithout settingload_soul_identity=True. Prompt assembly therefore falls back to the generic Hermes identity instead of the user's global operator identity.This is the narrow delegate-only repair extracted from the broader, now-conflicting #28061. It does not change
--ignore-rules, safe mode, batch/eval behavior, curator behavior, or the default meaning ofload_soul_identityfor other callers.Credit to @nuriygold for the original fix in #28061; authorship is preserved in the commit trailer.
Validation
mainwithKeyError: 'load_soul_identity'scripts/run_tests.sh tests/tools/test_delegate.py -q— 63 passedscripts/run_tests.sh tests/run_agent/test_run_agent.py -k 'soul or context_files' -q— 1 passeduv run --no-sync ruff check tools/delegate_tool.py tests/tools/test_delegate.py— passedgit diff --check origin/main...HEAD— passedRisk
Low. The change adds one explicit constructor argument to a single execution path. Children continue to skip project context and memory; only the already-supported global identity layer is restored.