Skip to content

fix: pass integration agent id per call#1001

Merged
wbugitlab1 merged 10 commits into
mainfrom
issue/528-agentid-per-call
Jun 18, 2026
Merged

fix: pass integration agent id per call#1001
wbugitlab1 merged 10 commits into
mainfrom
issue/528-agentid-per-call

Conversation

@wbugitlab1

Copy link
Copy Markdown
Owner

Summary

  • add AGENTMEMORY_AGENT_ID precedence for integration/client agent identity
  • forward per-call agentId through REST, MCP server, standalone shim, Hermes, and OpenClaw memory calls
  • add regression coverage for distinct agent IDs, malformed REST input, proxy/local fallback behavior, and integration payloads

Closes #528

Verification

  • corepack pnpm exec vitest run test/agent-id-scope.test.ts test/api-boundary-coverage.test.ts test/mcp-server-surface.test.ts test/mcp-standalone.test.ts test/openclaw-plugin.test.ts test/integration-plaintext-http.test.ts
  • corepack pnpm test
  • corepack pnpm run lint
  • gitleaks protect --staged --redact
  • gitleaks detect --source . --redact --no-git
  • semgrep scan --config p/default --error --metrics=off .

OSV was not run because this change does not modify dependencies, lockfiles, container images, vendored code, or third-party package surfaces.

@wbugitlab1 wbugitlab1 merged commit c8c9d08 into main Jun 18, 2026
2 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.

[upstream PR 665] f<!-- -->ix: pass agentId per-call for integration-scoped memory

1 participant