Skip to content

feat(enterprise): add tenant export bundle#112

Closed
Gracker wants to merge 1 commit intofeature/enterprise-multi-tenant-d5-quota-retentionfrom
feature/enterprise-multi-tenant-d5-tenant-export
Closed

feat(enterprise): add tenant export bundle#112
Gracker wants to merge 1 commit intofeature/enterprise-multi-tenant-d5-quota-retentionfrom
feature/enterprise-multi-tenant-d5-tenant-export

Conversation

@Gracker
Copy link
Copy Markdown
Owner

@Gracker Gracker commented May 8, 2026

Summary

  • add GET /api/export/tenant for tenant-scoped JSON export bundles
  • include tenant identity proof, trace manifests, report HTML/JSON, sessions/runs/turns, memory entries, audit subset, and provider metadata
  • exclude trace file bodies and redact provider secrets / secret-like JSON keys
  • compute stable JSON SHA256 and audit tenant.exported
  • mark enterprise multi-tenant README §0.5.4 complete with implementation notes

Verification

  • cd backend && PATH="$HOME/.nvm/versions/node/v24.15.0/bin:$PATH" npx jest --runInBand --forceExit src/routes/tests/enterpriseTenantExportRoutes.test.ts
  • cd backend && PATH="$HOME/.nvm/versions/node/v24.15.0/bin:$PATH" npx jest --runInBand --forceExit src/routes/tests/enterpriseTenantExportRoutes.test.ts src/routes/tests/enterpriseReportRoutes.test.ts src/services/tests/enterpriseDb.test.ts src/services/tests/enterpriseRepository.test.ts src/services/tests/enterpriseSchema.test.ts
  • cd backend && PATH="$HOME/.nvm/versions/node/v24.15.0/bin:$PATH" npm run typecheck
  • git diff --check
  • cd backend && PATH="$HOME/.nvm/versions/node/v24.15.0/bin:$PATH" npm run test:scene-trace-regression
  • PATH="$HOME/.nvm/versions/node/v24.15.0/bin:$PATH" npm run verify:pr

@Gracker
Copy link
Copy Markdown
Owner Author

Gracker commented May 9, 2026

已通过 commit 67856ec (merge) + 023a84a (frontend rebuild) 合入 main,关闭此 PR。

@Gracker Gracker closed this May 9, 2026
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