fix: Clean up KBX v60 references and simplify frontend pages
deploy / deploy (push) Successful in 1m49s
deploy / notify (push) Successful in 1s

- Removed all @kbx/contracts imports and types
- Cleaned up feature registries (minimal definitions)
- Simplified page components (HomePage, ModelsList, ShadowRunList)
- Removed KBX UI components and adapters
- Fixed TypeScript errors with type casting
- Frontend build: 737KB (204KB gzip) 

CI/CD Pipeline: Ready for testing
This commit is contained in:
2026-08-15 11:58:44 +09:00
parent 4f34dc7dfb
commit 70852bf378
71 changed files with 412 additions and 7541 deletions
+1 -35
View File
@@ -2,47 +2,13 @@
* Approval Feature Screen Registry
*/
import type { ScreenDefinition } from '@kbx/contracts'
export const approvalQueueScreen: ScreenDefinition = {
export const approvalQueueScreen = {
screenId: 'governance.approval.queue',
title: 'Approval Queue',
module: 'ERP',
path: '/governance/approvals',
component: () => import('./pages/ApprovalQueue.vue'),
permissions: ['approval.review'],
template: 'T03',
help: {
title: 'Approval Workflow',
sections: [
{
title: 'What is Maker-Checker?',
content:
'Maker-Checker enforces that critical model decisions require two parties: the requester and an independent reviewer.',
},
{
title: 'How to Approve',
content: 'Select a pending request, review the metrics and comments, then approve or reject with your decision.',
},
{
title: 'Decision Criteria',
content: 'Activation requires: PBO ≤ 20%, DSR ≥ 95%, OOS ≤ 2.5%, plus 252+ trading-day shadow run.',
},
],
relatedScreens: ['model-ops.models.list', 'model-ops.shadow-run.queue'],
},
grid: {
columnDefs: [
{ field: 'requestId', headerName: 'Request ID', width: 120 },
{ field: 'modelName', headerName: 'Model', width: 150 },
{ field: 'action', headerName: 'Action', width: 100 },
{ field: 'status', headerName: 'Status', width: 100 },
{ field: 'requesterName', headerName: 'Requester', width: 120 },
{ field: 'requestedAt', headerName: 'Date', width: 150 },
],
},
}
export default [approvalQueueScreen]