Source-reviewed hardening changes and regression tests. UNBUILT / UNTESTED: not a deployable release. Go formatting, compilation, automated regression tests, full frontend validation and staging acceptance remain required. See docs/hardening/VALIDATION.md. Main remains the original clean snapshot; no upstream Git history imported.
105 lines
4.4 KiB
Markdown
105 lines
4.4 KiB
Markdown
# Modified-file notice
|
|
|
|
This independent hardening fork modifies the source snapshot from
|
|
MonoVerseNS/agent-desk-ng revision
|
|
`b06954b0a495389cbb5194e0d388342eabe60636` on 2026-10-16.
|
|
Upstream Apache-2.0 licensing and notices are retained. Changes are described in
|
|
[the hardening notes](docs/hardening/README.md); their validation limits are
|
|
[listed separately](docs/hardening/VALIDATION.md).
|
|
|
|
Modified source files carry a change notice. JSON translation catalogs retain
|
|
valid JSON and have accompanying `.license` notices. This list identifies the
|
|
modified and added files; it does not assert that unexecuted tests have passed.
|
|
|
|
## Modified upstream files
|
|
|
|
- `AGENTS.md`
|
|
- `README.md`
|
|
- `internal/bootstrap/routes.go`
|
|
- `internal/builders/conversation_builder.go`
|
|
- `internal/handlers/api/customer_handler.go`
|
|
- `internal/models/models.go`
|
|
- `internal/pkg/dto/dto.go`
|
|
- `internal/pkg/dto/request/setup_readiness_req.go`
|
|
- `internal/pkg/dto/response/setup_readiness_resp.go`
|
|
- `internal/pkg/i18nx/locales/en-US.yml`
|
|
- `internal/pkg/i18nx/locales/ru-RU.yml`
|
|
- `internal/pkg/i18nx/locales/zh-CN.yml`
|
|
- `internal/pkg/openidentity/external_identity_test.go`
|
|
- `internal/pkg/openidentity/openidentity.go`
|
|
- `internal/repositories/customer_identity_repository.go`
|
|
- `internal/services/auth_service.go`
|
|
- `internal/services/channel_service.go`
|
|
- `internal/services/conversation_dispatch_service.go`
|
|
- `internal/services/conversation_human_dispatch_realtime_test.go`
|
|
- `internal/services/conversation_service.go`
|
|
- `internal/services/customer_service.go`
|
|
- `internal/services/customer_session_service.go`
|
|
- `internal/services/setup_readiness_service.go`
|
|
- `internal/services/setup_readiness_service_test.go`
|
|
- `internal/services/ws_connection_manager.go`
|
|
- `internal/services/ws_realtime_types.go`
|
|
- `internal/services/ws_service.go`
|
|
- `internal/services/ws_service_test.go`
|
|
- `web/app/(dashboard)/dashboard/_components/setup-readiness-banner.tsx`
|
|
- `web/app/(dashboard)/dashboard/conversations/_components/agent-message-editor.tsx`
|
|
- `web/app/(dashboard)/dashboard/conversations/_components/chat-panel.tsx`
|
|
- `web/app/(dashboard)/dashboard/setup/_components/setup-wizard-view.tsx`
|
|
- `web/app/(support)/support/chat/closed/page.tsx`
|
|
- `web/components/auth-provider.tsx`
|
|
- `web/components/chat/shared-message-editor.tsx`
|
|
- `web/components/operator-readiness-indicator.tsx`
|
|
- `web/components/session-provider.tsx`
|
|
- `web/components/support-chat/chat-shell.tsx`
|
|
- `web/components/support-chat/close-navigation.test.mjs`
|
|
- `web/components/support-chat/close-navigation.ts`
|
|
- `web/components/support-chat/customer-message-editor.tsx`
|
|
- `web/hooks/use-agent-conversation-realtime.ts`
|
|
- `web/lib/api/auth.ts`
|
|
- `web/lib/api/client.ts`
|
|
- `web/lib/api/im.ts`
|
|
- `web/lib/api/setup-readiness.ts`
|
|
- `web/lib/realtime-connection.test.mjs`
|
|
- `web/lib/realtime-connection.ts`
|
|
- `web/lib/stores/agent-conversations.ts`
|
|
- `web/lib/stores/support-chat.ts`
|
|
- `web/messages/en-US.json`
|
|
- `web/messages/ru-RU.json`
|
|
- `web/messages/zh-CN.json`
|
|
|
|
## Added files
|
|
|
|
- `MODIFIED_FILES.md`
|
|
- `docs/hardening/CUSTOMER_IDENTITY_UPGRADE.md`
|
|
- `docs/hardening/README.md`
|
|
- `docs/hardening/SETUP_PREVIEW.md`
|
|
- `docs/hardening/VALIDATION.md`
|
|
- `internal/repositories/auth_scope_repository.go`
|
|
- `internal/repositories/channel_config_repository.go`
|
|
- `internal/repositories/conversation_dispatch_queries.go`
|
|
- `internal/repositories/customer_identity_scope.go`
|
|
- `internal/services/auth_session_security_test.go`
|
|
- `internal/services/channel_policy_concurrency_test.go`
|
|
- `internal/services/customer_identity_security_test.go`
|
|
- `internal/services/ws_auth_security_test.go`
|
|
- `internal/services/ws_pump_security_test.go`
|
|
- `internal/services/ws_session_concurrency_test.go`
|
|
- `scripts/audit-customer-identity-scopes.sql`
|
|
- `web/lib/api/im-session.test.mjs`
|
|
- `web/lib/api/session-isolation.test.mjs`
|
|
- `web/lib/api/setup-readiness.test.mjs`
|
|
- `web/lib/message-editor-drafts.test.mjs`
|
|
- `web/lib/message-editor-drafts.ts`
|
|
- `web/lib/message-file-identity.test.mjs`
|
|
- `web/lib/message-file-identity.ts`
|
|
- `web/lib/realtime-log-context.test.mjs`
|
|
- `web/lib/realtime-log-context.ts`
|
|
- `web/lib/session-request-guard.test.mjs`
|
|
- `web/lib/session-request-guard.ts`
|
|
- `web/lib/stores/agent-conversations.test.mjs`
|
|
- `web/lib/stores/support-chat.test.mjs`
|
|
- `web/lib/test-support/load-typescript-module.mjs`
|
|
- `web/messages/en-US.json.license`
|
|
- `web/messages/ru-RU.json.license`
|
|
- `web/messages/zh-CN.json.license`
|