dab430e. Each one is a fact about the repository, not a defect report.
| ID | Area | Finding | Impact | Suggested action |
|---|---|---|---|---|
| R-1 | Authentication | The session cookie value is the constant demo-admin. Anyone who sets that cookie passes the middleware. | No real access control. | Replace the demo auth boundary before any non-local use. |
| R-2 | Authentication | DemoAuthService accepts only admin / admin. | Development-only sign-in. | Supply a CredentialValidator and AuthSessionStore for production. |
| R-3 | Authorization | The web app’s PlatformProvider returns an auth service where hasPermission is always true and the user is always platform.admin. | Declared permissions and requiredPermissions are not enforced in the UI. | Connect the host to the kernel’s PermissionService and the real auth service. |
| R-4 | Kernel usage | apps/web uses only PluginRegistry from the kernel. KcodeKernel and the lifecycle manager are not used at runtime. | Lifecycle hooks such as activate do not run in the web app. | Wire KcodeKernel into the host, or document the registry-only model. |
| R-5 | Runtime duplication | PlatformProvider re-implements the event bus, configuration, and notifications in the browser. | Behavior can drift from the kernel’s implementations. | Reuse kernel and services implementations. |
| R-6 | Persistence | Configuration, notifications, and mock data are in memory. | State resets on reload. | Add persistence behind the existing interfaces when needed. |
| R-7 | Branding | The design-system note says Logo_Generated_V2.png was not supplied. The repo ships logo-v3.webp, and next.config.ts allows one remote logo host. | Documentation and assets disagree. | Update the design-system note. |
| R-8 | Naming | Several names differ: the repository is Kcode-Robot-Suite, the package is kcode-demo-sandbox, and PLATFORM_NAME is Kcode Demo Sandbox. The Engage plugin is named Engage Enjoy in code and Kcode Engage in its route. | Confusing labels. | Pick one name for each product surface. |
| R-9 | CI | CI runs lint, typecheck, and test, but not pnpm build. | A build break can reach master. | Add pnpm build to the verify job. |
| R-10 | Delivery | No deployment target is configured. | The app cannot be released to users from CI. | Add a deployment workflow when a host is chosen. |
