Skip to content

MAG-229 fix Redact agent env#3488

Open
tasu64 wants to merge 1 commit into
multica-ai:mainfrom
tasu64:agent/multica-security-engineer/abb23181
Open

MAG-229 fix Redact agent env#3488
tasu64 wants to merge 1 commit into
multica-ai:mainfrom
tasu64:agent/multica-security-engineer/abb23181

Conversation

@tasu64
Copy link
Copy Markdown

@tasu64 tasu64 commented May 28, 2026

Summary

  • redact agent custom_env values from agent list/get and historical task-message readback
  • preserve routing metadata while exposing only custom_env coarse metadata
  • make the DB-backed historical readback regression execute by updating handler test schema setup

Verification

  • go test ./pkg/redact -count=1
  • go test ./internal/handler -run 'Test(GetAgent_ResponseHasNoCustomEnv|ListAgents_ResponseHasNoCustomEnv|ListTaskMessagesByUser_RedactsHistoricalAgentCustomEnv|ListTaskMessagesByUser_InvalidTaskIDReturnsBadRequest)' -count=1 -v
  • pnpm --dir packages/views exec vitest run common/task-transcript/redact.test.ts common/task-transcript/build-timeline.test.ts
  • pnpm --dir packages/views typecheck
  • git diff --check

Co-authored-by: multica-agent <github@multica.ai>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2026

@tasu64 is attempting to deploy a commit to the IndexLabs Team on Vercel.

A member of the Team first needs to authorize it.

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