@lucern/pack-host 0.3.0-alpha.9 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/domain-pack/authoring.core.d.ts +161 -0
  2. package/dist/domain-pack/authoring.core.js +411 -0
  3. package/dist/domain-pack/authoring.core.js.map +1 -0
  4. package/dist/domain-pack/authoring.d.ts +12 -170
  5. package/dist/domain-pack/authoring.js +1155 -1098
  6. package/dist/domain-pack/authoring.js.map +1 -1
  7. package/dist/domain-pack/authoring.validation.d.ts +28 -0
  8. package/dist/domain-pack/authoring.validation.js +1944 -0
  9. package/dist/domain-pack/authoring.validation.js.map +1 -0
  10. package/dist/domain-pack/index.d.ts +2 -1
  11. package/dist/domain-pack/index.js +1979 -1917
  12. package/dist/domain-pack/index.js.map +1 -1
  13. package/dist/domain-pack/packs/engineering-accelerator-tail.d.ts +256 -0
  14. package/dist/domain-pack/packs/engineering-accelerator-tail.js +716 -0
  15. package/dist/domain-pack/packs/engineering-accelerator-tail.js.map +1 -0
  16. package/dist/domain-pack/packs/engineering-accelerator.js +790 -785
  17. package/dist/domain-pack/packs/engineering-accelerator.js.map +1 -1
  18. package/dist/domain-pack/packs/index.js +790 -785
  19. package/dist/domain-pack/packs/index.js.map +1 -1
  20. package/dist/domain-pack.d.ts +2 -1
  21. package/dist/domain-pack.js +1979 -1917
  22. package/dist/domain-pack.js.map +1 -1
  23. package/dist/index.d.ts +3 -1
  24. package/dist/index.js +1843 -1661
  25. package/dist/index.js.map +1 -1
  26. package/dist/manifests/chat-v1.js +17 -6
  27. package/dist/manifests/chat-v1.js.map +1 -1
  28. package/dist/manifests/deals-v1.js +10 -7
  29. package/dist/manifests/deals-v1.js.map +1 -1
  30. package/dist/manifests/decisions-v1.js +11 -4
  31. package/dist/manifests/decisions-v1.js.map +1 -1
  32. package/dist/manifests/documents-v1.js +12 -12
  33. package/dist/manifests/documents-v1.js.map +1 -1
  34. package/dist/manifests/epistemic-algorithms-v1.js +11 -6
  35. package/dist/manifests/epistemic-algorithms-v1.js.map +1 -1
  36. package/dist/manifests/graph-visualization-v1.js +9 -5
  37. package/dist/manifests/graph-visualization-v1.js.map +1 -1
  38. package/dist/manifests/index.d.ts +1 -0
  39. package/dist/manifests/index.js +230 -110
  40. package/dist/manifests/index.js.map +1 -1
  41. package/dist/manifests/news-v1.js +12 -13
  42. package/dist/manifests/news-v1.js.map +1 -1
  43. package/dist/manifests/philosophy-mode-v1.js +10 -12
  44. package/dist/manifests/philosophy-mode-v1.js.map +1 -1
  45. package/dist/manifests/sprints-v1.d.ts +10 -0
  46. package/dist/manifests/sprints-v1.js +106 -0
  47. package/dist/manifests/sprints-v1.js.map +1 -0
  48. package/dist/manifests/task-management-v1.js +18 -6
  49. package/dist/manifests/task-management-v1.js.map +1 -1
  50. package/dist/manifests/team-analysis-v1.js +12 -9
  51. package/dist/manifests/team-analysis-v1.js.map +1 -1
  52. package/dist/manifests/themes-v1.js +12 -16
  53. package/dist/manifests/themes-v1.js.map +1 -1
  54. package/dist/manifests/user-profiles-v1.js +9 -13
  55. package/dist/manifests/user-profiles-v1.js.map +1 -1
  56. package/dist/manifests.d.ts +1 -0
  57. package/dist/manifests.js +230 -110
  58. package/dist/manifests.js.map +1 -1
  59. package/dist/proof-attestation.json +1 -1
  60. package/dist/registry.js +229 -109
  61. package/dist/registry.js.map +1 -1
  62. package/package.json +2 -1
package/dist/registry.js CHANGED
@@ -269,12 +269,18 @@ var chatV1Manifest = defineAppPackManifest({
269
269
  },
270
270
  surfaces: {
271
271
  components: [
272
- "components/chat/*",
273
- "components/chat/sidebars/*",
274
- "components/chat/viewers/*"
272
+ "apps/web/components/lucern/dev/chat-debug-panel.tsx",
273
+ "apps/web/app/lucern/packs/_components/pack-try-it-panel.tsx"
275
274
  ],
276
- convex: ["convex/chats.ts", "convex/messages.ts", "convex/chatState.ts"],
277
- tools: ["lib/ai/tools/project-tools.ts"]
275
+ convex: [
276
+ "packages/reasoning-kernel/src/adapters/events.ts",
277
+ "services/master-control/convex/tools.ts",
278
+ "services/master-control/convex/toolAccess.ts"
279
+ ],
280
+ tools: [
281
+ "packages/mcp/src/handlers/functionSurface.ts",
282
+ "packages/server-core/src/mcp-context-tools.ts"
283
+ ]
278
284
  },
279
285
  policyProfile: {
280
286
  audiences: ["internal", "lp", "public"],
@@ -291,7 +297,12 @@ var chatV1Manifest = defineAppPackManifest({
291
297
  dataContract: {
292
298
  requiredNodeTypes: ["belief", "question", "evidence", "theme", "deal"],
293
299
  requiredEdgeTypes: ["informs", "answers", "belongs_to"],
294
- requiredTables: ["chats", "messages", "chatState", "projects"],
300
+ requiredTables: [
301
+ "agentMessages",
302
+ "platformAgentRuns",
303
+ "platformAgentRunToolCalls",
304
+ "epistemicNodes"
305
+ ],
295
306
  projectionBehavior: "inherits_policy"
296
307
  },
297
308
  templates: {
@@ -333,14 +344,17 @@ var dealsV1Manifest = defineAppPackManifest({
333
344
  },
334
345
  surfaces: {
335
346
  components: [
336
- "app/(projects)/projects/page.tsx",
337
- "components/project/*",
338
- "components/workspace/views/*"
347
+ "apps/web/app/lucern/tenant/workspaces/page.tsx",
348
+ "apps/web/app/lucern/tenant/_components/workspaces/*"
349
+ ],
350
+ convex: [
351
+ "packages/reasoning-kernel/src/adapters/topics.ts",
352
+ "packages/reasoning-kernel/src/adapters/decisions.ts",
353
+ "services/master-control/convex/workspaces.ts"
339
354
  ],
340
- convex: ["convex/projects.ts", "convex/epistemicDecisions.ts"],
341
355
  tools: [
342
- "lib/ai/tools/navigation-tools.ts",
343
- "lib/ai/tools/decision-tools.ts"
356
+ "packages/server-core/src/domain/topics.ts",
357
+ "packages/server-core/src/domain/worktrees.ts"
344
358
  ]
345
359
  },
346
360
  policyProfile: {
@@ -361,7 +375,7 @@ var dealsV1Manifest = defineAppPackManifest({
361
375
  "based_on_belief"
362
376
  ],
363
377
  requiredTables: [
364
- "projects",
378
+ "topics",
365
379
  "epistemicNodes",
366
380
  "epistemicEdges",
367
381
  "decisionEvents"
@@ -413,11 +427,18 @@ var decisionsV1Manifest = defineAppPackManifest({
413
427
  api: ["/api/thesis-audit/*", "/api/reports/*"]
414
428
  },
415
429
  surfaces: {
416
- components: ["app/(projects)/projects/[projectId]/decisions/page.tsx"],
417
- convex: ["convex/epistemicDecisions.ts", "convex/convictionEngine.ts"],
430
+ components: [
431
+ "apps/web/app/lucern/tenant/policy/page.tsx",
432
+ "apps/web/app/lucern/mc/policy/page.tsx"
433
+ ],
434
+ convex: [
435
+ "packages/reasoning-kernel/src/adapters/decisions.ts",
436
+ "packages/reasoning-kernel/src/adapters/questionsConvictionMutations.ts",
437
+ "packages/reasoning-kernel/src/adapters/beliefs.confidence.ts"
438
+ ],
418
439
  tools: [
419
- "lib/ai/tools/decision-tools.ts",
420
- "lib/ai/tools/conviction-tools.ts"
440
+ "packages/mcp/src/handlers/judgments.ts",
441
+ "packages/server-core/src/policy/index.ts"
421
442
  ]
422
443
  },
423
444
  policyProfile: {
@@ -498,14 +519,19 @@ var documentsV1Manifest = defineAppPackManifest({
498
519
  api: ["/api/documents/*", "/api/rag/document", "/api/rag/extract-pdf"]
499
520
  },
500
521
  surfaces: {
501
- components: ["components/documents/*", "components/document/*"],
522
+ components: [
523
+ "apps/web/app/lucern/tenant/_components/workspaces/workspace-pack-panel.tsx",
524
+ "apps/web/app/lucern/packs/_components/pack-detail-page.tsx"
525
+ ],
502
526
  convex: [
503
- "convex/projectDocuments.ts",
504
- "convex/documents.ts",
505
- "convex/documentAnnotations.ts",
506
- "convex/projectDocumentsActions.ts"
527
+ "packages/reasoning-kernel/src/adapters/evidence.ts",
528
+ "packages/reasoning-kernel/src/adapters/evidenceCreate.ts",
529
+ "packages/reasoning-kernel/src/adapters/epistemicSources.ts"
507
530
  ],
508
- tools: ["lib/ai/tools/create-document.ts"]
531
+ tools: [
532
+ "packages/server-core/src/domain/sources.ts",
533
+ "packages/mcp/src/handlers/evidence.ts"
534
+ ]
509
535
  },
510
536
  policyProfile: {
511
537
  audiences: ["internal", "lp"],
@@ -518,12 +544,7 @@ var documentsV1Manifest = defineAppPackManifest({
518
544
  dataContract: {
519
545
  requiredNodeTypes: ["source", "excerpt", "evidence", "synthesis"],
520
546
  requiredEdgeTypes: ["derived_from", "based_on", "informs"],
521
- requiredTables: [
522
- "projectDocuments",
523
- "projectDocumentsSyncLog",
524
- "documentAnnotations",
525
- "epistemicNodes"
526
- ],
547
+ requiredTables: ["researchJobs", "epistemicNodes", "epistemicEdges"],
527
548
  projectionBehavior: "inherits_policy"
528
549
  },
529
550
  templates: {
@@ -565,14 +586,19 @@ var epistemicAlgorithmsV1Manifest = defineAppPackManifest({
565
586
  api: ["/api/thesis-audit", "/api/graph-explain", "/api/lucern/*"]
566
587
  },
567
588
  surfaces: {
568
- components: ["components/epistemic/*", "components/contradiction/*"],
589
+ components: [
590
+ "apps/web/app/lucern/tenant/_components/graph/*",
591
+ "apps/web/lib/platform/react/components/ContradictionList.ts"
592
+ ],
569
593
  convex: [
570
- "convex/contradictions.ts",
571
- "convex/convictionEngine.ts",
572
- "convex/graphIntelligence.ts",
573
- "convex/thesisAuditAgents.ts"
594
+ "packages/reasoning-kernel/src/adapters/contradictions.ts",
595
+ "packages/reasoning-kernel/src/adapters/graphIntelligence.ts",
596
+ "packages/reasoning-kernel/src/adapters/graphAnalysisResults.ts"
574
597
  ],
575
- tools: ["lib/ai/tools/graph-intelligence-tools.ts"]
598
+ tools: [
599
+ "packages/mcp/src/handlers/contradictions.ts",
600
+ "packages/server-core/src/graph-analysis.ts"
601
+ ]
576
602
  },
577
603
  policyProfile: {
578
604
  audiences: ["internal", "lp"],
@@ -649,13 +675,17 @@ var graphVisualizationV1Manifest = defineAppPackManifest({
649
675
  },
650
676
  surfaces: {
651
677
  components: [
652
- "app/(projects)/projects/[projectId]/graph/components/*",
653
- "components/workspace/views/ProjectHomeView.tsx"
678
+ "apps/web/app/lucern/tenant/_components/graph/*",
679
+ "apps/web/app/lucern/tenant/graph/page.tsx"
680
+ ],
681
+ convex: [
682
+ "packages/reasoning-kernel/src/adapters/edgesQueries.ts",
683
+ "packages/reasoning-kernel/src/adapters/nodesQueries.ts",
684
+ "packages/reasoning-kernel/src/adapters/neo4jQueries.ts"
654
685
  ],
655
- convex: ["convex/epistemicQueries.ts", "convex/neo4jQueries.ts"],
656
686
  tools: [
657
- "lib/ai/tools/knowledge-graph-tools.ts",
658
- "lib/ai/tools/cypher-tools.ts"
687
+ "packages/mcp/src/handlers/graph.ts",
688
+ "packages/server-core/src/mcp-graph-tools.ts"
659
689
  ]
660
690
  },
661
691
  policyProfile: {
@@ -718,14 +748,19 @@ var newsV1Manifest = defineAppPackManifest({
718
748
  api: ["/api/news/search", "/api/intelligence/smart-news-search"]
719
749
  },
720
750
  surfaces: {
721
- components: ["components/news/*"],
751
+ components: [
752
+ "apps/web/app/lucern/packs/_components/pack-detail-page.tsx",
753
+ "apps/web/app/lucern/packs/_components/pack-catalog-page.tsx"
754
+ ],
722
755
  convex: [
723
- "convex/projectNews.ts",
724
- "convex/newsArticles.ts",
725
- "convex/newsCurationJobs.ts",
726
- "convex/articleCache.ts"
756
+ "packages/reasoning-kernel/src/adapters/evidence.ts",
757
+ "packages/reasoning-kernel/src/adapters/epistemicSources.ts",
758
+ "packages/server-core/src/domain/sources.ts"
727
759
  ],
728
- tools: ["lib/ai/tools/research-tools.ts"]
760
+ tools: [
761
+ "packages/server-core/src/sources.ts",
762
+ "packages/mcp/src/handlers/evidence.ts"
763
+ ]
729
764
  },
730
765
  policyProfile: {
731
766
  audiences: ["internal", "lp", "public"],
@@ -738,13 +773,7 @@ var newsV1Manifest = defineAppPackManifest({
738
773
  dataContract: {
739
774
  requiredNodeTypes: ["source", "evidence", "synthesis", "theme", "deal"],
740
775
  requiredEdgeTypes: ["derived_from", "informs", "belongs_to"],
741
- requiredTables: [
742
- "projectNews",
743
- "savedNewsArticles",
744
- "newsCurationJobs",
745
- "articleCache",
746
- "epistemicNodes"
747
- ],
776
+ requiredTables: ["researchJobs", "epistemicNodes", "epistemicEdges"],
748
777
  projectionBehavior: "inherits_policy"
749
778
  },
750
779
  templates: {
@@ -794,15 +823,18 @@ var philosophyModeV1Manifest = defineAppPackManifest({
794
823
  },
795
824
  surfaces: {
796
825
  components: [
797
- "components/chat/sidebars/PhilosophyModeSidebar.tsx",
798
- "components/philosophy/ArchetypeDisplay.tsx"
826
+ "apps/web/app/lucern/tenant/_components/people/*",
827
+ "apps/web/app/lucern/tenant/people/page.tsx"
799
828
  ],
800
829
  convex: [
801
- "convex/philosophy.ts",
802
- "convex/philosophyQueries.ts",
803
- "convex/projectPhilosophy.ts"
830
+ "services/master-control/convex/userSessions.ts",
831
+ "packages/reasoning-kernel/src/adapters/ontologies.ts",
832
+ "packages/reasoning-kernel/src/adapters/topics.ts"
804
833
  ],
805
- tools: ["lib/ai/tools/philosophy-tools.ts"]
834
+ tools: [
835
+ "packages/server-core/src/domain/ontologies.ts",
836
+ "packages/mcp/src/handlers/observations.ts"
837
+ ]
806
838
  },
807
839
  policyProfile: {
808
840
  audiences: ["internal"],
@@ -815,12 +847,7 @@ var philosophyModeV1Manifest = defineAppPackManifest({
815
847
  dataContract: {
816
848
  requiredNodeTypes: ["belief", "question", "theme"],
817
849
  requiredEdgeTypes: ["belongs_to", "relates_to_thesis"],
818
- requiredTables: [
819
- "marketPhilosophyProfiles",
820
- "marketPhilosophyAtoms",
821
- "marketPhilosophyContent",
822
- "philosophyUploads"
823
- ],
850
+ requiredTables: ["users", "epistemicNodes", "epistemicEdges"],
824
851
  projectionBehavior: "inherits_policy"
825
852
  },
826
853
  templates: {
@@ -846,6 +873,91 @@ var philosophyModeV1Manifest = defineAppPackManifest({
846
873
  }
847
874
  });
848
875
 
876
+ // src/manifests/sprints-v1.ts
877
+ var worktreesV1Manifest = defineAppPackManifest({
878
+ key: "sprints-v1",
879
+ name: "Worktrees",
880
+ version: "1.0.0",
881
+ lifecycle: "active",
882
+ category: "workflow",
883
+ description: "Structured research execution workflow with phases, scoring, and worktree-linked tasks.",
884
+ dependencies: ["chat-v1"],
885
+ capabilityFlags: [
886
+ "worktree.lifecycle",
887
+ "worktree.phase-navigation",
888
+ "worktree.scoring",
889
+ "worktree.workspace"
890
+ ],
891
+ routeNamespace: {
892
+ web: [
893
+ "/(projects)/topics/[topicId]/worktrees",
894
+ "/(projects)/topics/[topicId]/worktrees/[worktreeId]"
895
+ ],
896
+ api: [
897
+ "/api/sprint/assess-beliefs",
898
+ "/api/sprint/generate-thesis",
899
+ "/api/sprint/refine-thesis",
900
+ "/api/sprint/welcome"
901
+ ]
902
+ },
903
+ surfaces: {
904
+ components: [
905
+ "apps/web/app/lucern/tenant/_components/workspaces/*",
906
+ "apps/web/app/lucern/tenant/workspaces/page.tsx"
907
+ ],
908
+ convex: [
909
+ "packages/reasoning-kernel/src/adapters/worktrees.ts",
910
+ "modules/tasks/src/v1/engine/tasks.ts",
911
+ "packages/reasoning-kernel/src/adapters/questions.ts"
912
+ ],
913
+ tools: [
914
+ "packages/mcp/src/handlers/worktrees.ts",
915
+ "packages/server-core/src/worktrees.ts"
916
+ ]
917
+ },
918
+ policyProfile: {
919
+ audiences: ["internal", "lp"],
920
+ rules: [
921
+ { resource: "project", actions: ["read", "summarize", "mutate"] },
922
+ { resource: "task", actions: ["read", "mutate"] },
923
+ { resource: "tool_action", actions: ["read", "mutate"] }
924
+ ]
925
+ },
926
+ dataContract: {
927
+ requiredNodeTypes: ["belief", "question", "evidence", "theme"],
928
+ requiredEdgeTypes: ["tests", "informs", "belongs_to", "depends_on"],
929
+ requiredTables: [
930
+ "worktrees",
931
+ "workflowDefinitions",
932
+ "workflowStages",
933
+ "tasks"
934
+ ],
935
+ projectionBehavior: "inherits_policy"
936
+ },
937
+ templates: {
938
+ workflows: [
939
+ "worktree/hypothesis-formation",
940
+ "worktree/cluster-mapping",
941
+ "worktree/question-validation"
942
+ ],
943
+ prompts: ["worktree/main-system-prompt", "worktree/research-task-planning"],
944
+ reports: ["sprint_thesis"],
945
+ uiLabels: ["worktree", "phase", "conviction", "thesis"]
946
+ },
947
+ testSuite: {
948
+ parity: ["worktree-lifecycle-parity"],
949
+ policy: ["worktree-tool-enforcement"],
950
+ contract: ["worktrees-pack-contract-v1"]
951
+ },
952
+ sharedServices: [
953
+ {
954
+ service: "knowledge-compiler",
955
+ mode: "required",
956
+ contracts: ["knowledge-compiler-v1"]
957
+ }
958
+ ]
959
+ });
960
+
849
961
  // src/manifests/task-management-v1.ts
850
962
  var taskManagementV1Manifest = defineAppPackManifest({
851
963
  key: "task-management-v1",
@@ -871,13 +983,19 @@ var taskManagementV1Manifest = defineAppPackManifest({
871
983
  ]
872
984
  },
873
985
  surfaces: {
874
- components: ["components/task/*"],
986
+ components: [
987
+ "apps/web/app/lucern/tenant/tools/page.tsx",
988
+ "apps/web/app/lucern/tenant/_components/tools/*"
989
+ ],
875
990
  convex: [
876
- "convex/tasks.ts",
877
- "convex/_taskHelpers.ts",
878
- "convex/_taskQueryLogic.ts"
991
+ "modules/tasks/src/v1/engine/tasks.ts",
992
+ "modules/tasks/src/v1/engine/tasks.queries.ts",
993
+ "modules/tasks/src/v1/engine/tasks.mutations.ts"
879
994
  ],
880
- tools: ["lib/ai/tools/task-tools.ts"]
995
+ tools: [
996
+ "packages/mcp/src/handlers/tasks.ts",
997
+ "packages/server-core/src/tasks.ts"
998
+ ]
881
999
  },
882
1000
  policyProfile: {
883
1001
  audiences: ["internal", "lp"],
@@ -891,7 +1009,13 @@ var taskManagementV1Manifest = defineAppPackManifest({
891
1009
  dataContract: {
892
1010
  requiredNodeTypes: ["belief", "question", "evidence", "synthesis"],
893
1011
  requiredEdgeTypes: ["informs", "tests", "belongs_to"],
894
- requiredTables: ["tasks", "projects", "epistemicNodes", "epistemicEdges"],
1012
+ requiredTables: [
1013
+ "tasks",
1014
+ "topics",
1015
+ "worktrees",
1016
+ "epistemicNodes",
1017
+ "epistemicEdges"
1018
+ ],
895
1019
  projectionBehavior: "inherits_policy"
896
1020
  },
897
1021
  templates: {
@@ -931,13 +1055,19 @@ var teamAnalysisV1Manifest = defineAppPackManifest({
931
1055
  api: ["/api/coaching/*"]
932
1056
  },
933
1057
  surfaces: {
934
- components: ["components/charts/*", "components/coaching/*"],
1058
+ components: [
1059
+ "apps/web/app/lucern/mc/analytics/page.tsx",
1060
+ "apps/web/app/lucern/tenant/_components/people/*"
1061
+ ],
935
1062
  convex: [
936
- "convex/users.ts",
937
- "convex/userAnalytics.ts",
938
- "convex/projectCards.ts"
1063
+ "services/master-control/convex/identity.ts",
1064
+ "services/master-control/convex/groups.ts",
1065
+ "packages/reasoning-kernel/src/adapters/telemetry.ts"
939
1066
  ],
940
- tools: []
1067
+ tools: [
1068
+ "packages/server-core/src/identity.ts",
1069
+ "packages/mcp/src/handlers/observations.ts"
1070
+ ]
941
1071
  },
942
1072
  policyProfile: {
943
1073
  audiences: ["internal", "tenant_admin"],
@@ -952,13 +1082,10 @@ var teamAnalysisV1Manifest = defineAppPackManifest({
952
1082
  requiredEdgeTypes: ["informs", "tests"],
953
1083
  requiredTables: [
954
1084
  "users",
955
- "userEpistemicJourney",
956
1085
  "epistemicAudit",
957
- "proposalEvents",
958
- "biSuggestions",
959
1086
  "beliefConfidence",
960
1087
  "contradictions",
961
- "worktrees",
1088
+ "calibrationScores",
962
1089
  "tasks"
963
1090
  ],
964
1091
  projectionBehavior: "none"
@@ -1016,22 +1143,19 @@ var themesV1Manifest = defineAppPackManifest({
1016
1143
  },
1017
1144
  surfaces: {
1018
1145
  components: [
1019
- "components/project/*",
1020
- "components/belief/*",
1021
- "components/question/*",
1022
- "components/research/*",
1023
- "components/reports/*"
1146
+ "apps/web/app/lucern/tenant/_components/graph/*",
1147
+ "apps/web/app/lucern/tenant/_components/workspaces/*"
1024
1148
  ],
1025
1149
  convex: [
1026
- "convex/themes.ts",
1027
- "convex/projects.ts",
1028
- "convex/thematicWorkflow.ts",
1029
- "convex/reports.ts"
1150
+ "packages/reasoning-kernel/src/adapters/topics.ts",
1151
+ "packages/reasoning-kernel/src/adapters/beliefs.ts",
1152
+ "packages/reasoning-kernel/src/adapters/questions.ts",
1153
+ "packages/reasoning-kernel/src/adapters/evidence.ts"
1030
1154
  ],
1031
1155
  tools: [
1032
- "lib/ai/tools/belief-tools.ts",
1033
- "lib/ai/tools/question-tools.ts",
1034
- "lib/ai/tools/navigation-tools.ts"
1156
+ "packages/mcp/src/handlers/beliefs.ts",
1157
+ "packages/mcp/src/handlers/questions.ts",
1158
+ "packages/mcp/src/handlers/evidence.ts"
1035
1159
  ]
1036
1160
  },
1037
1161
  policyProfile: {
@@ -1047,12 +1171,11 @@ var themesV1Manifest = defineAppPackManifest({
1047
1171
  requiredNodeTypes: ["theme", "belief", "question", "evidence", "synthesis"],
1048
1172
  requiredEdgeTypes: ["belongs_to", "relates_to_thesis", "informs", "tests"],
1049
1173
  requiredTables: [
1050
- "projects",
1174
+ "topics",
1051
1175
  "epistemicNodes",
1052
1176
  "epistemicEdges",
1053
- "reports",
1054
- "reportSections",
1055
- "reportTemplates"
1177
+ "workflowDefinitions",
1178
+ "workflowStages"
1056
1179
  ],
1057
1180
  projectionBehavior: "projection_required"
1058
1181
  },
@@ -1101,16 +1224,15 @@ var userProfilesV1Manifest = defineAppPackManifest({
1101
1224
  },
1102
1225
  surfaces: {
1103
1226
  components: [
1104
- "components/user/*",
1105
- "components/philosophy/ArchetypeDisplay.tsx"
1227
+ "apps/web/app/lucern/tenant/_components/people/*",
1228
+ "apps/web/app/lucern/tenant/people/page.tsx"
1106
1229
  ],
1107
1230
  convex: [
1108
- "convex/users.ts",
1109
- "convex/userJourney.ts",
1110
- "convex/userSessions.ts",
1111
- "convex/userAnalytics.ts"
1231
+ "services/master-control/convex/identity.ts",
1232
+ "services/master-control/convex/userSessions.ts",
1233
+ "services/master-control/convex/groups.ts"
1112
1234
  ],
1113
- tools: []
1235
+ tools: ["packages/server-core/src/identity.ts"]
1114
1236
  },
1115
1237
  policyProfile: {
1116
1238
  audiences: ["internal", "tenant_admin"],
@@ -1129,13 +1251,10 @@ var userProfilesV1Manifest = defineAppPackManifest({
1129
1251
  requiredEdgeTypes: [],
1130
1252
  requiredTables: [
1131
1253
  "users",
1132
- "userEpistemicJourney",
1133
1254
  "userSessions",
1134
- "investorProfiles",
1135
- "investorProfileAtoms",
1136
- "voiceProfiles",
1137
- "userVoiceSettings",
1138
- "archetypeHistory"
1255
+ "principals",
1256
+ "principalIdentityAliases",
1257
+ "calibrationScores"
1139
1258
  ],
1140
1259
  projectionBehavior: "none"
1141
1260
  },
@@ -1163,6 +1282,7 @@ var userProfilesV1Manifest = defineAppPackManifest({
1163
1282
  var allAppPackManifests = [
1164
1283
  philosophyModeV1Manifest,
1165
1284
  chatV1Manifest,
1285
+ worktreesV1Manifest,
1166
1286
  graphVisualizationV1Manifest,
1167
1287
  epistemicAlgorithmsV1Manifest,
1168
1288
  themesV1Manifest,