Optimize PayLoad and Introduce New WorkSpace Environment Variables#195
Merged
RyanNg1403 merged 6 commits intomainfrom Aug 10, 2025
Merged
Optimize PayLoad and Introduce New WorkSpace Environment Variables#195RyanNg1403 merged 6 commits intomainfrom
RyanNg1403 merged 6 commits intomainfrom
Conversation
…n memory. Optimize the tool paramters for both cipher_workspace_store and cipher_extract_and_operate_memory
…and SEARCH_MEMORY_TYPE in the docs
Ptah-CT
pushed a commit
to DerAuctor/ct-cipher
that referenced
this pull request
Oct 2, 2025
Optimize PayLoad and Introduce New WorkSpace Environment Variables
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.
Optimize Payload and Introduce New Workspace Environment Variables
Overview
This PR optimizes the workspace memory system by cleaning up unused parameters and introducing new environment variables for better cross-tool memory sharing and workspace configuration.
🧹 Payload Optimization
Removed Unused Parameters
conversationTopic- Was defined in schema but never used in processing logic or stored in payloadworkEnvironment- Dead code parameter that wasn't actually utilizedteamId- Legacy parameter that wasn't included in any storage payloadsCleaner Context Schema
The
cipher_workspace_storetool now has a more focused context schema with only the parameters that are actually used:sessionId- Current session identifierprojectId- Project identifier for scoped workspace memoryuserId- User identifier🔧 New Workspace Environment Variables
Cross-Tool Memory Sharing
CIPHER_USER_ID- User identifier for cross-tool memory sharingCIPHER_PROJECT_NAME- Project identifier for scoped memory operationsCIPHER_WORKSPACE_MODE- Workspace mode (shared|isolated, default:isolated)🔄 Enhanced Payload Structure
Environment Variable Precedence
Environment variables now take precedence over agent-provided parameters for security:
Hybrid Information Extraction
The workspace store tool now supports hybrid extraction with LLM precedence:
mergeWorkspaceInfo()function ensures LLM data always wins🧪 Testing
�� Impact
🔗 Related
cipher_workspace_storefor hybrid extraction