fuli-context 0.23.0-beta.8 → 0.23.0
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.
- package/dist/web/assets/{AboutPage-BHbNacTY.js → AboutPage-S8QFfzpA.js} +1 -1
- package/dist/web/assets/AboutSectionHeading-B5CzH4Zs.js +1 -0
- package/dist/web/assets/AboutSectionHeading-DjXpIV27.css +1 -0
- package/dist/web/assets/AgentAppsPage-BYXraPFM.js +1 -0
- package/dist/web/assets/{AgentHand-BGzGOjzl.js → AgentHand-BGGdVdd9.js} +1 -1
- package/dist/web/assets/AgentManagement-Bza8k5ra.js +7 -0
- package/dist/web/assets/AgentManagement-CeF4mjtg.css +1 -0
- package/dist/web/assets/AgentMentionCopy-C72hY2QL.js +1 -0
- package/dist/web/assets/{AgentName-C5HzUHaA.js → AgentName-CUjBNQ8j.js} +1 -1
- package/dist/web/assets/AgentProfilePage-D5QUzw5N.css +1 -0
- package/dist/web/assets/AgentProfilePage-kp7-gRRx.js +5 -0
- package/dist/web/assets/AgentServicesPage-IsGaz7FY.js +1 -0
- package/dist/web/assets/{AppViewerPage-N5C_6WLz.css → AppViewerPage-CJ0Zy6LA.css} +1 -1
- package/dist/web/assets/AppViewerPage-CcOlwxck.js +1 -0
- package/dist/web/assets/{BackToTop-SL4ai3_g.js → BackToTop-C3KYEoCW.js} +1 -1
- package/dist/web/assets/BoardCardFieldsMenu-BlBWT1j7.js +1 -0
- package/dist/web/assets/BoardMoveMenu-Bc7xC1Uh.js +1 -0
- package/dist/web/assets/Breadcrumb-BbwBNrG2.css +1 -0
- package/dist/web/assets/Breadcrumb-C_xMiD-Z.js +1 -0
- package/dist/web/assets/CaptureChangePage-Bekp1aWg.js +1 -0
- package/dist/web/assets/ConnectionsPage-BpvecWXD.js +1 -0
- package/dist/web/assets/{CopyFixPrompt-CCrPxN5x.js → CopyFixPrompt-Bp-UX4Hq.js} +1 -1
- package/dist/web/assets/DataFormatPage-dsy8d3oA.js +2 -0
- package/dist/web/assets/DataFormatPage-sSnjjUY4.css +1 -0
- package/dist/web/assets/DebugTurnPage-HdFAyc2D.css +1 -0
- package/dist/web/assets/DebugTurnPage-cIJV7xDW.js +1 -0
- package/dist/web/assets/DebugTurnsPage-B6Te_Alp.js +1 -0
- package/dist/web/assets/DebugTurnsPage-BFuOzyWR.css +1 -0
- package/dist/web/assets/{DialogTitle-CTKjDGQc.js → DialogTitle-Lj5s6nwG.js} +1 -1
- package/dist/web/assets/EmployeeRedirectPage-DnvwJeCN.js +1 -0
- package/dist/web/assets/EmployeeScopeDialog-CXNZ62Ab.js +1 -0
- package/dist/web/assets/EmployeeWorkbench-BhReI8l6.css +1 -0
- package/dist/web/assets/EmployeeWorkbench-DALIO-cM.js +4 -0
- package/dist/web/assets/FieldRoot-DRnAC66O.js +1 -0
- package/dist/web/assets/FlaGrowth-7wlv31Tl.js +1 -0
- package/dist/web/assets/FlaGrowth-BzXY8pcx.css +1 -0
- package/dist/web/assets/FlaTaskSheets-CNdaBy1P.js +1 -0
- package/dist/web/assets/FlasPage-BCs1Ffpf.js +1 -0
- package/dist/web/assets/{FlasPage-Cb6Q5lge.css → FlasPage-SLQDMv47.css} +1 -1
- package/dist/web/assets/{button-CaCh3Iim.css → GrowthLoading-CigPij0N.css} +1 -1
- package/dist/web/assets/GrowthLoading-Cr8xZwwO.js +1 -0
- package/dist/web/assets/HowtoPage-Cv1YQy1s.js +1 -0
- package/dist/web/assets/{HowtoPage-BRV2W1Go.css → HowtoPage-t12tDDpS.css} +1 -1
- package/dist/web/assets/{InboxPage-DSOmt6VL.js → InboxPage-CgJnymOY.js} +2 -2
- package/dist/web/assets/KnowledgeDeleteButton-FEyEvhlR.js +1 -0
- package/dist/web/assets/KnowledgeHardDeleteSection-CVwTeMEJ.js +1 -0
- package/dist/web/assets/KnowledgeItemEditPage-rwpM8cF1.js +1 -0
- package/dist/web/assets/{KnowledgeItemSummaryCard-D1h0e1Hn.js → KnowledgeItemSummaryCard-49EADY_Z.js} +1 -1
- package/dist/web/assets/KnowledgeOrganizerPage-7IdnjM3L.js +1 -0
- package/dist/web/assets/KnowledgePage-gxqOIZxf.js +1 -0
- package/dist/web/assets/KnowledgePeek-Bm5jRVA9.css +1 -0
- package/dist/web/assets/KnowledgePeek-CQyCxHFj.js +1 -0
- package/dist/web/assets/KnowledgeTurnReceiptPage-BOz7IpaK.js +1 -0
- package/dist/web/assets/KnowledgeWorkspace-A7zVb26p.js +4 -0
- package/dist/web/assets/KnowledgeWorkspace-DCoVFyf0.css +1 -0
- package/dist/web/assets/{MeAvatar-DHJA3h2E.js → MeAvatar-CYVcRiuW.js} +1 -1
- package/dist/web/assets/{MeLink-CU7zuYgD.js → MeLink-BdqkzhT6.js} +1 -1
- package/dist/web/assets/{MenuSeparator-DV3U0Y8_.js → MenuSeparator-quqkZZXY.js} +1 -1
- package/dist/web/assets/ModelSettingsPage-B8jC_uew.js +3 -0
- package/dist/web/assets/ModelSettingsPage-DhCn_SF6.css +1 -0
- package/dist/web/assets/{NotFoundPage-BMWxdf6r.js → NotFoundPage-Dmn32VWo.js} +1 -1
- package/dist/web/assets/OccupationsPage-BVREfX_R.js +1 -0
- package/dist/web/assets/OverviewPage-CHyEbdP4.js +1 -0
- package/dist/web/assets/OverviewPage-xdF5g6bZ.css +1 -0
- package/dist/web/assets/{PageColumns-D7jIeVv6.js → PageColumns-DpfaPeu7.js} +1 -1
- package/dist/web/assets/PageOutline-BKBQ1T4d.js +1 -0
- package/dist/web/assets/PageOutline-BqVgnlos.css +1 -0
- package/dist/web/assets/PersonalProfilePage-Cxp2gn6J.js +1 -0
- package/dist/web/assets/PersonalProjectsPage-821imOxR.js +1 -0
- package/dist/web/assets/{PinIcon-DzYhXU_p.js → PinIcon-B7dvh7ld.js} +1 -1
- package/dist/web/assets/{PopperContent-BnejG-fO.js → PopperContent-DNqbLkNa.js} +1 -1
- package/dist/web/assets/{Presence-o9BoSyBV.js → Presence-D3HKb5Hb.js} +1 -1
- package/dist/web/assets/ProfileAuthorChip-7HSHODdR.js +1 -0
- package/dist/web/assets/ProfileAuthorChip-C_0hzDoP.css +1 -0
- package/dist/web/assets/ProjectAgentsPage-DBsXS6Xa.js +5 -0
- package/dist/web/assets/{ProjectAgentsPage-Dt37ogX1.css → ProjectAgentsPage-RpfiV2Fm.css} +1 -1
- package/dist/web/assets/ProjectJudgmentPolicy-GA33aSRi.js +2 -0
- package/dist/web/assets/PublicProjectsPage-PJlBI8IE.js +1 -0
- package/dist/web/assets/{RoundtablesPage-C6vo4kl6.css → RoundtablesPage-DK9A9J-y.css} +1 -1
- package/dist/web/assets/{RoundtablesPage-B2mqkwwR.js → RoundtablesPage-DT5DUXsa.js} +2 -2
- package/dist/web/assets/{RovingFocusGroup-CKxT5j44.js → RovingFocusGroup-BB0d3k17.js} +1 -1
- package/dist/web/assets/{RovingFocusItem-Cr-XrVve.js → RovingFocusItem-CFd7tXzD.js} +1 -1
- package/dist/web/assets/SessionMigrationPage-BZ1lEDQr.js +1 -0
- package/dist/web/assets/SessionRecordsPage-BMAAtIAt.js +1 -0
- package/dist/web/assets/SettingsPage-BYNEk6BM.js +1 -0
- package/dist/web/assets/SettingsPage-Uj1IpZpS.css +1 -0
- package/dist/web/assets/SharedJefaReportPage-g35o6jUb.js +1 -0
- package/dist/web/assets/TagVocabularyPage-COubNJXz.js +1 -0
- package/dist/web/assets/{TaskBlockerClear-38qdj0bl.js → TaskBlockerClear-B5MpHdlh.js} +1 -1
- package/dist/web/assets/{TaskBlockerNotice--X8TtCGj.js → TaskBlockerNotice-CIN0HRiE.js} +1 -1
- package/dist/web/assets/{TaskReason-COiuiZVd.js → TaskReason-LQ0CFiKu.js} +1 -1
- package/dist/web/assets/{TeamCard-Bl4riuQt.css → TeamCard-CsmWDw2Q.css} +1 -1
- package/dist/web/assets/TeamCard-D-kLa5rT.js +1 -0
- package/dist/web/assets/TeamCardsWidget-DGX9k0S6.js +1 -0
- package/dist/web/assets/{TeamIsland-D8ycFpkZ.js → TeamIsland-BIo-l49b.js} +2 -2
- package/dist/web/assets/{Teleport-BAIkXp2z.js → Teleport-C1upABpY.js} +1 -1
- package/dist/web/assets/{TextField-BFGv0VA5.js → TextField-ZnmRqG0h.js} +1 -1
- package/dist/web/assets/{UiChip-h_SUumBM.js → UiChip-CizeOu1Q.js} +1 -1
- package/dist/web/assets/UiDialog-CGTzxn3-.js +1 -0
- package/dist/web/assets/{UiDisclosure-BO5EAYyS.js → UiDisclosure-ueMA4jl0.js} +1 -1
- package/dist/web/assets/UiIcon-sD1hUsOF.js +1 -0
- package/dist/web/assets/{UiIconButton-C0WP-F-p.js → UiIconButton-CCo4NPYv.js} +1 -1
- package/dist/web/assets/{UiNotice-NCEwjNQR.js → UiNotice-DGPFbVo7.js} +1 -1
- package/dist/web/assets/{UiSegmented-B49yYjJ3.js → UiSegmented-BZ-jqnPE.js} +1 -1
- package/dist/web/assets/{UiWeight-DRIwuLUX.js → UiWeight-BRO3oVMZ.js} +1 -1
- package/dist/web/assets/{VirtualDirectoryList-Dieq64pn.js → VirtualDirectoryList-BkV3gj5E.js} +1 -1
- package/dist/web/assets/{VisuallyHidden-DIWFV5lV.js → VisuallyHidden-B8wfJ_mU.js} +1 -1
- package/dist/web/assets/{VisuallyHiddenInput-WxcAZDj2.js → VisuallyHiddenInput-Bdcr9CwC.js} +1 -1
- package/dist/web/assets/WidgetSlot-DFojQaSo.js +2 -0
- package/dist/web/assets/_plugin-vue_export-helper-B9AJmZbc.js +9 -0
- package/dist/web/assets/{agent-apps-CXhZLNMa.js → agent-apps-CKGFfySp.js} +1 -1
- package/dist/web/assets/{agent-avatar-xTnj6P4n.js → agent-avatar-V6M_DF3r.js} +1 -1
- package/dist/web/assets/agent-occupation-PZ2YAIM8.js +1 -0
- package/dist/web/assets/{agent-pins-CMBM9w6b.js → agent-pins-8KX0ynzy.js} +1 -1
- package/dist/web/assets/agent-profile-Clb-gYu-.css +1 -0
- package/dist/web/assets/{agent-roster-records-pCYzR1as.js → agent-roster-records-PfAgndHp.js} +1 -1
- package/dist/web/assets/{agent-workflows-IeF737kp.js → agent-workflows-DQlqVOoA.js} +1 -1
- package/dist/web/assets/{attach-closest-edge-B34lttZK.js → attach-closest-edge-D2qlayPy.js} +1 -1
- package/dist/web/assets/{attention-store-BTKBC8TZ.js → attention-store-BnZ8l3kk.js} +1 -1
- package/dist/web/assets/{badge-Bnc2nVhV.js → badge-DX_xrLV6.js} +1 -1
- package/dist/web/assets/button-CEkPBC1E.js +1 -0
- package/dist/web/assets/button-CoXXgtY5.css +1 -0
- package/dist/web/assets/{card-B2JIXyum.js → card-DNQ0_6vT.js} +1 -1
- package/dist/web/assets/{catalog-C8eUDXUx.js → catalog-KnpBkv5t.js} +1 -1
- package/dist/web/assets/{checkbox-Blw3CguI.js → checkbox-DPyLHneg.js} +1 -1
- package/dist/web/assets/{client-AaxCWoEF.js → client-CSQcWFRh.js} +2 -2
- package/dist/web/assets/client-connection-model-vO2cap6a.js +1 -0
- package/dist/web/assets/{client-links-store-CmP5Qsfa.js → client-links-store-DMqe0MbK.js} +1 -1
- package/dist/web/assets/combobox-zUq9bkyM.js +1 -0
- package/dist/web/assets/{console-DtxpKdVW.js → console-DaoAO-EO.js} +1 -1
- package/dist/web/assets/{context-menu-DSGaOBX2.js → context-menu-CcGDnF_k.js} +1 -1
- package/dist/web/assets/{conversation-launcher-settings-DAL9Kf4y.js → conversation-launcher-settings-CXFE-q_A.js} +1 -1
- package/dist/web/assets/{dialog-CwFuZvhM.js → dialog-CxhKMo0D.js} +1 -1
- package/dist/web/assets/dist-B9GqMC5C.js +1 -0
- package/dist/web/assets/dist-DIJqkL4O.js +1 -0
- package/dist/web/assets/dropdown-menu-CXmMnCBh.js +1 -0
- package/dist/web/assets/field-LNsBZqam.js +1 -0
- package/dist/web/assets/{format-bytes-N7zRFzUD.js → format-bytes-Bqefdt37.js} +1 -1
- package/dist/web/assets/{identity-BUFzZs1s.js → identity-DRfhWjty.js} +1 -1
- package/dist/web/assets/index-B4AMPpl_.css +1 -0
- package/dist/web/assets/index-BYIOAXnn.js +2 -0
- package/dist/web/assets/{input-Db1wVnd4.js → input-UoZ-0Xne.js} +1 -1
- package/dist/web/assets/{label--RjFNYxb.js → label-DpjbTOxt.js} +1 -1
- package/dist/web/assets/label-table-BnWNYfyk.js +1 -0
- package/dist/web/assets/{model-crzN3PVX.js → model-13BQndfF.js} +1 -1
- package/dist/web/assets/{model-KuA63FiT.js → model-B5g0CFcM.js} +1 -1
- package/dist/web/assets/model-BYKHVgJr.js +1 -0
- package/dist/web/assets/{model-B5f68kqL.js → model-CDevUwUw.js} +1 -1
- package/dist/web/assets/model-CpuIG8Du.js +4 -0
- package/dist/web/assets/{model-B5dQs6Zt.js → model-P5fSGsiJ.js} +1 -1
- package/dist/web/assets/{model-DOf6QDiY.js → model-pJ6k3zYD.js} +1 -1
- package/dist/web/assets/{motion-CeLn8y1x.js → motion-C-ZimCUS.js} +1 -1
- package/dist/web/assets/{motion-wEp9RlID.js → motion-QY5FKKko.js} +1 -1
- package/dist/web/assets/{motion-preference-DfUreaML.js → motion-preference-BQiiwhab.js} +1 -1
- package/dist/web/assets/{occupation-catalog-Crs_Zc8R.js → occupation-catalog-uDDhZwKK.js} +1 -1
- package/dist/web/assets/{option-DCSIgajR.js → option-CcHPBOo6.js} +1 -1
- package/dist/web/assets/{orchestration-filters-Cu9KEzWE.js → orchestration-filters-DmF4Qs8E.js} +1 -1
- package/dist/web/assets/{page-title-Bvm24KbY.js → page-title-NXphgeQI.js} +1 -1
- package/dist/web/assets/{person-profile-Cf0Sytyw.js → person-profile-DXXfpvta.js} +1 -1
- package/dist/web/assets/popover-xSRzcSmY.js +1 -0
- package/dist/web/assets/popup-host-Bmvrf-2t.js +1 -0
- package/dist/web/assets/{profile-model-DkDH6Qth.js → profile-model-6gTmScHC.js} +1 -1
- package/dist/web/assets/{project-board-layout-OeuzohUI.js → project-board-layout-DBQeP_QP.js} +1 -1
- package/dist/web/assets/{project-capture-BQAqeAJf.js → project-capture-BhYsDWwJ.js} +1 -1
- package/dist/web/assets/{project-origin-CENDtRuK.js → project-origin-D8jy8EF_.js} +1 -1
- package/dist/web/assets/{quick-edit-api-Qndjqk1h.js → quick-edit-api-WLh_88w6.js} +1 -1
- package/dist/web/assets/{radio-group-pfWejLFt.js → radio-group-B4r78nDh.js} +1 -1
- package/dist/web/assets/{role-names-aIXV-sMx.js → role-names-PECaMfQo.js} +1 -1
- package/dist/web/assets/{roundtable-live-D7Asm_GB.js → roundtable-live-DFeDF56c.js} +1 -1
- package/dist/web/assets/{runtime-dom.esm-bundler-BS2lpl87.js → runtime-dom.esm-bundler-f39i44Mt.js} +1 -1
- package/dist/web/assets/save-file-rPduHi2f.js +1 -0
- package/dist/web/assets/select-_JO3Mxdp.js +1 -0
- package/dist/web/assets/{session-launch-offers-kLW-dRsW.js → session-launch-offers-X9b0DwF1.js} +1 -1
- package/dist/web/assets/settings-restart-BnwcTv3i.js +1 -0
- package/dist/web/assets/shared-report-BxNVLalR.js +3 -0
- package/dist/web/assets/shared-report-mYIyRY9C.css +1 -0
- package/dist/web/assets/{source-adapters-CUxqZHz7.js → source-adapters-aupsL146.js} +1 -1
- package/dist/web/assets/{switch-Cdz4-JcE.js → switch-B3Y3oE_n.js} +1 -1
- package/dist/web/assets/{tabs-C3w1-eMu.js → tabs-BlcZiEMY.js} +1 -1
- package/dist/web/assets/{task-board-model-DSr4P56O.js → task-board-model-CmMKsWdY.js} +1 -1
- package/dist/web/assets/task-card-fields-DAx6zMLz.js +1 -0
- package/dist/web/assets/task-labels-BdDFvSAy.js +1 -0
- package/dist/web/assets/{task-reason-BywD_kfi.js → task-reason-7WnPreht.js} +1 -1
- package/dist/web/assets/{team-sheets-D8Y--CP4.js → team-sheets-Cr0ZTPw3.js} +1 -1
- package/dist/web/assets/{textarea-C228nxbD.js → textarea-CRzFqL9a.js} +1 -1
- package/dist/web/assets/{ui-BM8jZcP6.js → ui-BopQuQfc.js} +1 -1
- package/dist/web/assets/{useAgentRecords-D7x4xQ9O.js → useAgentRecords-CMtpd3Fj.js} +1 -1
- package/dist/web/assets/{useAgentWorkSummary-pc1i6nr0.js → useAgentWorkSummary-BQbhaHov.js} +1 -1
- package/dist/web/assets/{useApi-CROJJdhE-DZtkWJZv.js → useApi-CROJJdhE-CRCgNOqq.js} +1 -1
- package/dist/web/assets/{useClipboardCopy-sTthF_MD.js → useClipboardCopy-DkqKK3wY.js} +1 -1
- package/dist/web/assets/{useFocusReturn-BoyUh5y3.js → useFocusReturn-BZpVmQnM.js} +1 -1
- package/dist/web/assets/{useForwardExpose-CqXuqZvd.js → useForwardExpose-Di-MnbTz.js} +1 -1
- package/dist/web/assets/{useForwardPropsEmits-0F_e7unJ.js → useForwardPropsEmits-L9XcB5DG.js} +1 -1
- package/dist/web/assets/useForwardScopeId-CUQFIAIj.js +1 -0
- package/dist/web/assets/useKnowledgeItemPeek-PmQJixw5.js +1 -0
- package/dist/web/assets/{useMinimumLoadingDisplay-CzfqbQPs.js → useMinimumLoadingDisplay-CWPiOaDl.js} +1 -1
- package/dist/web/assets/useProjectAgentRoster-CWVpSsQ3.js +1 -0
- package/dist/web/assets/{useRoutePeek-BDgll9Fy.js → useRoutePeek-DxLVksbJ.js} +1 -1
- package/dist/web/assets/useTeamPeople-CDISP0PM.js +1 -0
- package/dist/web/assets/{useTeamWork-BSFi27vj.js → useTeamWork-BTZd_wKs.js} +1 -1
- package/dist/web/assets/{useTypeahead-D_g4j3Xp.js → useTypeahead-pEZNpBls.js} +1 -1
- package/dist/web/assets/{utils-C6vsxGrE.js → utils-B4pBTmyh.js} +1 -1
- package/dist/web/assets/utils-BsxOjD1Q.js +1 -0
- package/dist/web/assets/version-db3QWWjt.js +1 -0
- package/dist/web/assets/{vue-router-BPhQ0Qow.js → vue-router-B79HWW1l.js} +1 -1
- package/dist/web/assets/website-YgovUEcN.js +1 -0
- package/dist/web/index.html +71 -66
- package/docs/agent-interface-architecture.md +13 -4
- package/docs/client-connections.md +3 -2
- package/docs/employee-agents.md +11 -9
- package/docs/judgment-and-autonomy.md +4 -4
- package/graph-provider/fuli_graph/app.py +4 -0
- package/graph-provider/fuli_graph/collaboration_context.py +3 -7
- package/graph-provider/fuli_graph/graph_field_contract.py +10 -2
- package/graph-provider/fuli_graph/graph_format_builtin_occupations.py +33 -1
- package/graph-provider/fuli_graph/graph_format_migrations.py +18 -0
- package/graph-provider/fuli_graph/graph_query.py +3 -12
- package/graph-provider/fuli_graph/knowledge_index_scan.py +120 -0
- package/graph-provider/fuli_graph/knowledge_outdated.py +9 -1
- package/graph-provider/fuli_graph/knowledge_retrieval_models.py +95 -0
- package/graph-provider/fuli_graph/knowledge_retrieval_terms.py +116 -0
- package/graph-provider/fuli_graph/knowledge_search.py +220 -39
- package/graph-provider/fuli_graph/knowledge_semantic.py +87 -0
- package/graph-provider/fuli_graph/knowledge_semantic_index.py +98 -0
- package/graph-provider/fuli_graph/knowledge_semantic_models.py +72 -0
- package/graph-provider/fuli_graph/knowledge_semantic_query.py +19 -0
- package/graph-provider/fuli_graph/knowledge_versions.py +14 -7
- package/graph-provider/fuli_graph/models.py +4 -0
- package/graph-provider/fuli_graph/occupation_catalog.py +6 -3
- package/graph-provider/fuli_graph/personal_global_preferences.py +3 -7
- package/graph-provider/fuli_graph/preference_versions.py +110 -0
- package/graph-provider/fuli_graph/project_agent_models.py +3 -0
- package/graph-provider/fuli_graph/project_agent_recruitment_occupation.py +1 -1
- package/graph-provider/fuli_graph/provider_values.py +7 -0
- package/graph-provider/fuli_graph/search_projection.py +2 -6
- package/graph-provider/fuli_graph/store_knowledge.py +10 -1
- package/graph-provider/fuli_graph/task_context_routes.py +1 -1
- package/graph-provider/pyproject.toml +1 -1
- package/native/win32/fuli-win-helper.exe +0 -0
- package/npm-shrinkwrap.json +3 -4
- package/package.json +2 -1
- package/skills/capturing-session-knowledge/SKILL.md +14 -7
- package/skills/capturing-session-knowledge/references/capture.md +12 -2
- package/skills/capturing-session-knowledge/references/retrieval.md +13 -4
- package/skills/grilling-project/SKILL.md +2 -0
- package/skills/operating-fuli/SKILL.md +36 -8
- package/skills/operating-fuli/references/workflow-recipes.md +10 -9
- package/src/agent-apps/host-tools/catalog.js +3 -0
- package/src/agent-delegation/agent-tool.js +12 -2
- package/src/agent-delegation/delegation-header.js +32 -8
- package/src/agent-delegation/entry-prompts.js +54 -0
- package/src/agent-delegation/operation-log.js +17 -7
- package/src/agent-delegation/person-words.js +38 -0
- package/src/agent-delegation/port.js +6 -4
- package/src/agent-delegation/refusals.js +14 -0
- package/src/agent-kits/client-detection.js +7 -0
- package/src/agent-kits/client-installer.js +13 -0
- package/src/agent-tools/delegation-definitions.js +5 -3
- package/src/agent-tools/diagnostic-definitions.js +23 -0
- package/src/agent-tools/graph-definitions.js +4 -0
- package/src/agent-tools/graph-handlers.js +6 -1
- package/src/agent-tools/interface-catalog.js +47 -17
- package/src/agent-tools/model-backend-definitions.js +1 -1
- package/src/agent-tools/old-data-definitions.js +16 -0
- package/src/agent-tools/task-entry-definitions.js +1 -1
- package/src/agent-tools/work-surface-definitions.js +1 -1
- package/src/agents/claude-code/lifecycle-hook.js +19 -5
- package/src/agents/claude-code/transcript-format-probe.js +31 -0
- package/src/agents/codex/lifecycle-hook.js +27 -7
- package/src/agents/codex/transcript-format-probe.js +29 -0
- package/src/agents/cursor/lifecycle-hook.js +4 -1
- package/src/agents/lifecycle-failure.js +27 -0
- package/src/agents/lifecycle-message.js +10 -0
- package/src/agents/opencode/lifecycle-hook.js +18 -2
- package/src/agents/transcript-format-registry.js +34 -0
- package/src/agents/transcript-format-scan.js +71 -0
- package/src/cli/command-registry.js +3 -0
- package/src/cli/diagnostics-command.js +59 -0
- package/src/cli/setup-command.js +3 -0
- package/src/cli.js +5 -0
- package/src/conversations/entry-budget.js +1 -1
- package/src/conversations/entry-detail-readers.js +22 -0
- package/src/conversations/entry-inline-budget.js +24 -12
- package/src/conversations/entry-skeleton.js +27 -9
- package/src/conversations/preference-lifecycle.js +2 -1
- package/src/conversations/preference-session.js +5 -2
- package/src/conversations/preference-snapshot.js +4 -1
- package/src/conversations/preference-view.js +5 -1
- package/src/conversations/reply-citations.js +21 -0
- package/src/conversations/stop-auto-close.js +21 -9
- package/src/conversations/task-context-view.js +31 -0
- package/src/data-format/backup-retention.js +8 -0
- package/src/data-format/local-stores.js +24 -2
- package/src/debug-turns/fuli-surface.js +23 -0
- package/src/debug-turns/model-capture.js +84 -0
- package/src/debug-turns/model-request.js +97 -0
- package/src/debug-turns/record.js +178 -0
- package/src/debug-turns/recorder.js +53 -0
- package/src/debug-turns/store.js +91 -0
- package/src/debug-turns/transcript-reader.js +64 -0
- package/src/debug-turns/trigger.js +25 -0
- package/src/diagnostics/agent-tool.js +14 -0
- package/src/diagnostics/event-log.js +133 -0
- package/src/diagnostics/failure-records.js +43 -0
- package/src/diagnostics/query.js +114 -0
- package/src/diagnostics/safe-event.js +83 -0
- package/src/dreaming/run.js +310 -0
- package/src/dreaming/scheduler.js +58 -0
- package/src/employees/builtin/jefa/board-store.js +78 -19
- package/src/employees/builtin/jefa/http.js +8 -5
- package/src/employees/builtin/jefa/project-board.js +2 -0
- package/src/employees/builtin/jefa/tools.js +7 -6
- package/src/employees/recruitment.js +20 -2
- package/src/employees/service.js +11 -1
- package/src/graphiti/agent-growth.js +64 -0
- package/src/graphiti/collaboration-preference-projection.js +7 -0
- package/src/graphiti/collaboration-preference-workflow.js +3 -3
- package/src/graphiti/current-project-knowledge-search.js +24 -1
- package/src/graphiti/federated-application.js +19 -1
- package/src/graphiti/federated-search.js +8 -1
- package/src/graphiti/local-runtimes.js +13 -0
- package/src/graphiti/personal-projects.js +11 -0
- package/src/graphiti/project-agent-mapping.js +1 -0
- package/src/graphiti/project-agent-task-sheets.js +6 -2
- package/src/graphiti/project-agent-workflows.js +22 -4
- package/src/graphiti/project-profile-authors.js +14 -7
- package/src/graphiti/provider-client.js +36 -0
- package/src/graphiti/session-knowledge-migration.js +103 -3
- package/src/graphiti/session-migration-notices.js +65 -0
- package/src/graphiti/session-records.js +22 -4
- package/src/graphiti/task-context-entry.js +5 -1
- package/src/graphiti/task-entry-preferences.js +31 -2
- package/src/graphiti/task-entry-read-only.js +28 -0
- package/src/graphiti/task-knowledge-checkpoint.js +2 -0
- package/src/graphiti/task-knowledge-recall.js +96 -19
- package/src/graphiti/task-remember.js +7 -2
- package/src/graphiti/task-update-request.js +13 -0
- package/src/graphiti/temporary-project-scope.js +7 -1
- package/src/graphiti/turn-receipt-delivery.js +5 -3
- package/src/http/agent-delegation-gate.js +5 -4
- package/src/http/agent-growth-api-router.js +17 -0
- package/src/http/api-router.js +18 -2
- package/src/http/capture-onboarding-api-router.js +3 -2
- package/src/http/debug-turns-api-router.js +70 -0
- package/src/http/diagnostic-events-api-router.js +27 -0
- package/src/http/dreaming-api-router.js +32 -0
- package/src/http/graph-api-router.js +35 -1
- package/src/http/knowledge-item-api-router.js +19 -2
- package/src/http/knowledge-scope-api-router.js +3 -2
- package/src/http/old-data-api-router.js +47 -0
- package/src/http/person-profile-api-router.js +3 -2
- package/src/http/retrieval-terms-api-router.js +37 -0
- package/src/http/semantic-api-router.js +26 -0
- package/src/judgment/agent-view.js +1 -1
- package/src/judgment/backend.js +30 -0
- package/src/judgment/http.js +2 -1
- package/src/judgment/review-prompt.js +2 -0
- package/src/judgment/routing.js +10 -2
- package/src/judgment/service.js +8 -2
- package/src/judgment/store.js +17 -7
- package/src/local-runtime/lifecycle.js +3 -0
- package/src/local-runtime/windows-process-handle.js +9 -3
- package/src/mcp/create-mcp-server.js +42 -25
- package/src/mcp/process-registry.js +45 -3
- package/src/mcp/runtime.js +2 -1
- package/src/mcp/stdio-relay.js +4 -1
- package/src/mcp/tool-annotations.js +2 -0
- package/src/model-backends/adapters/anthropic-messages.js +1 -1
- package/src/model-backends/adapters/exchange.js +2 -2
- package/src/model-backends/adapters/openai-chat.js +1 -1
- package/src/model-backends/adapters/openai-embeddings.js +60 -0
- package/src/model-backends/adapters/registry.js +3 -1
- package/src/model-backends/adapters/typesafe-systemone.js +1 -1
- package/src/model-backends/budget.js +14 -8
- package/src/model-backends/config.js +49 -15
- package/src/model-backends/decision-contract.js +2 -1
- package/src/model-backends/http.js +19 -1
- package/src/model-backends/model-fetch.js +37 -0
- package/src/model-backends/port.js +165 -67
- package/src/model-backends/prompt.js +4 -3
- package/src/model-backends/request.js +42 -3
- package/src/native-runtime/runtime.js +28 -4
- package/src/old-data/agent-tools.js +17 -0
- package/src/old-data/backup-reader.js +78 -0
- package/src/old-data/console-actions.js +53 -0
- package/src/old-data/guarded-stores.js +18 -0
- package/src/old-data/inventory.js +142 -0
- package/src/old-data/port.js +53 -0
- package/src/person-profile/port.js +2 -1
- package/src/presence/windows-helper-pin.js +1 -1
- package/src/project-change-log/port.js +65 -0
- package/src/project-change-log/store.js +60 -0
- package/src/retrieval-terms/fill.js +102 -0
- package/src/retrieval-terms/runner.js +50 -0
- package/src/retrieval-terms/terms-model.js +99 -0
- package/src/security/sensitive-content.js +11 -0
- package/src/semantic/scheduler.js +50 -0
- package/src/semantic/semantic-index.js +94 -0
- package/src/server.js +20 -1
- package/src/setup/paths.js +1 -1
- package/src/setup/setup.js +7 -0
- package/src/system/client-connection-status.js +6 -4
- package/src/system/doctor-repair.js +16 -4
- package/src/system/doctor.js +75 -3
- package/src/system/log-paths.js +11 -0
- package/src/system/log-retention.js +2 -8
- package/src/system/mcp-process-scan.js +55 -0
- package/src/system/resource-monitor.js +18 -2
- package/src/system/system-service.js +39 -7
- package/src/system/windows-data-acl.js +109 -0
- package/src/work-surfaces/port.js +17 -11
- package/src/work-surfaces/sources.js +4 -3
- package/dist/web/assets/AboutSectionHeading-BOXKE5Le.js +0 -1
- package/dist/web/assets/AboutSectionHeading-CiD3M3eG.css +0 -1
- package/dist/web/assets/AgentAppsPage-DS2X485q.js +0 -1
- package/dist/web/assets/AgentConversations-D7QJVFIo.js +0 -2
- package/dist/web/assets/AgentConversations-oZFXZE1X.css +0 -1
- package/dist/web/assets/AgentMentionCopy-O6pAjjYE.js +0 -1
- package/dist/web/assets/AgentProfilePage-CKCTcTzc.js +0 -2
- package/dist/web/assets/AgentProfilePage-D1ha8O3z.css +0 -1
- package/dist/web/assets/AgentServicesPage-C3npKkHp.js +0 -1
- package/dist/web/assets/AgentWorkbench-CJ4TYQA1.css +0 -1
- package/dist/web/assets/AgentWorkbench-D9HGRW-n.js +0 -2
- package/dist/web/assets/AppViewerPage-Al4TzYJF.js +0 -1
- package/dist/web/assets/BoardMoveMenu-ncWgEitd.js +0 -1
- package/dist/web/assets/Breadcrumb-QzjzIJdS.js +0 -1
- package/dist/web/assets/Breadcrumb-bsc0JKtG.css +0 -1
- package/dist/web/assets/CaptureChangePage-BQdqH2qC.js +0 -1
- package/dist/web/assets/ConnectionsPage-Be8jIb93.js +0 -1
- package/dist/web/assets/DataFormatPage-0Ne27K6I.css +0 -1
- package/dist/web/assets/DataFormatPage-C92rwzHa.js +0 -2
- package/dist/web/assets/EmployeeScopeDialog-DdR2DzcW.js +0 -1
- package/dist/web/assets/EmployeeTaskBoard-Bo8JT36K.js +0 -3
- package/dist/web/assets/EmployeeTaskBoard-Dljjy_L7.css +0 -1
- package/dist/web/assets/EmployeeWorkbenchPage-B249Mgle.js +0 -3
- package/dist/web/assets/EmployeeWorkbenchPage-BBjZJ6Od.css +0 -1
- package/dist/web/assets/FieldRoot-YdKVCBhW.js +0 -1
- package/dist/web/assets/FlaTaskSheets-Cm5SLq7J.js +0 -1
- package/dist/web/assets/FlasPage-C57gTN5X.js +0 -1
- package/dist/web/assets/HowtoPage-CDJScY6b.js +0 -1
- package/dist/web/assets/KnowledgeDeleteButton-5EtCPPl4.js +0 -1
- package/dist/web/assets/KnowledgeHardDeleteSection-r0lZ7ijb.js +0 -1
- package/dist/web/assets/KnowledgeItemEditPage-BStIRllM.js +0 -1
- package/dist/web/assets/KnowledgeOrganizerPage-BByk8hbw.js +0 -1
- package/dist/web/assets/KnowledgePage-DuWS3bRP.js +0 -1
- package/dist/web/assets/KnowledgePeek-BycBJ2xR.js +0 -1
- package/dist/web/assets/KnowledgePeek-EvumfJER.css +0 -1
- package/dist/web/assets/KnowledgeTurnReceiptPage-DTcDN-pG.js +0 -1
- package/dist/web/assets/KnowledgeWorkspace-CJo-6xdn.js +0 -4
- package/dist/web/assets/KnowledgeWorkspace-DPBq-At0.css +0 -1
- package/dist/web/assets/ModelSettingsPage-C1ghraAh.js +0 -1
- package/dist/web/assets/ModelSettingsPage-ConWy_ec.css +0 -1
- package/dist/web/assets/OccupationsPage-BY1jej7i.js +0 -1
- package/dist/web/assets/OverviewPage-C7YJf-Cq.css +0 -1
- package/dist/web/assets/OverviewPage-Dl-H0EBe.js +0 -1
- package/dist/web/assets/PersonalProfilePage-BcaVzKM6.js +0 -1
- package/dist/web/assets/PersonalProjectsPage-CO4ZYVAI.js +0 -1
- package/dist/web/assets/ProjectAgentDetailPage-Bgh78Mr5.js +0 -8
- package/dist/web/assets/ProjectAgentDetailPage-h7hr9iee.css +0 -1
- package/dist/web/assets/ProjectAgentDialog--T6mU-FW.css +0 -1
- package/dist/web/assets/ProjectAgentDialog-DzTor5ky.js +0 -5
- package/dist/web/assets/ProjectAgentsPage-CzN183pa.js +0 -1
- package/dist/web/assets/ProjectJudgmentPolicy-BMlEBJM3.js +0 -2
- package/dist/web/assets/PublicProjectsPage-DAHT31B8.js +0 -1
- package/dist/web/assets/SessionMigrationPage-IW07XhmD.js +0 -1
- package/dist/web/assets/SessionRecordsPage-Du76tewc.js +0 -1
- package/dist/web/assets/SettingsPage-CJNXe313.js +0 -1
- package/dist/web/assets/SettingsPage-D3AYCNTC.css +0 -1
- package/dist/web/assets/SharedJefaReportPage-dzHSSGhu.js +0 -1
- package/dist/web/assets/TagVocabularyPage-C_oV6GFs.js +0 -1
- package/dist/web/assets/TeamCard-CdO0RiNB.js +0 -1
- package/dist/web/assets/TeamCardsWidget-Cg_kJmb-.js +0 -1
- package/dist/web/assets/UiDialog-CUgrU6SQ.js +0 -1
- package/dist/web/assets/UiIcon-DPv0eZIU.js +0 -1
- package/dist/web/assets/WidgetSlot-BSU_-l_4.js +0 -2
- package/dist/web/assets/_plugin-vue_export-helper-DQENg-QE.js +0 -9
- package/dist/web/assets/agent-occupation-BvOgDW-q.js +0 -1
- package/dist/web/assets/agent-profile-BBqkfac0.css +0 -1
- package/dist/web/assets/agent-task-board-Cf9il_1i.js +0 -1
- package/dist/web/assets/button-N4FjuQuJ.js +0 -1
- package/dist/web/assets/client-connection-model-C3gpYYl7.js +0 -1
- package/dist/web/assets/combobox-DHwWXUpj.js +0 -1
- package/dist/web/assets/desktop-client-DnfjyLBX.js +0 -1
- package/dist/web/assets/dist-BInsvNsv.js +0 -1
- package/dist/web/assets/dist-Dc8jFf8M.js +0 -1
- package/dist/web/assets/field-BQLn7Hfw.js +0 -1
- package/dist/web/assets/index-CXPYDcyq.js +0 -2
- package/dist/web/assets/index-x95VDmzK.css +0 -1
- package/dist/web/assets/judgment-api-CK9yqrpU.js +0 -1
- package/dist/web/assets/label-table-KdyaCTvK.js +0 -1
- package/dist/web/assets/model-D4kKYvpj.js +0 -1
- package/dist/web/assets/popover-D4YFkL_5.js +0 -1
- package/dist/web/assets/project-board-settings-DPP6xKLz.js +0 -1
- package/dist/web/assets/project-team-api-7ybLH-uJ.js +0 -1
- package/dist/web/assets/save-file-CRxAsski.js +0 -1
- package/dist/web/assets/select-CUy1AIwE.js +0 -1
- package/dist/web/assets/settings-restart-JYH81qB-.js +0 -1
- package/dist/web/assets/shared-report-8p3nBKr-.js +0 -1
- package/dist/web/assets/source-coverage-4PsHC9TK.js +0 -1
- package/dist/web/assets/task-labels-CXBG2chm.js +0 -1
- package/dist/web/assets/useForwardScopeId-DVUFcuwO.js +0 -1
- package/dist/web/assets/useKnowledgeItemPeek-KZveY8Wz.js +0 -1
- package/dist/web/assets/useTeamPeople-Dna3Yrm3.js +0 -1
- package/dist/web/assets/utils-BX1QI2N6.js +0 -1
- package/dist/web/assets/version-CBPeq5nI.js +0 -1
package/dist/web/index.html
CHANGED
|
@@ -9,81 +9,86 @@
|
|
|
9
9
|
/>
|
|
10
10
|
<link rel="icon" href="/favicon.ico" sizes="any" />
|
|
11
11
|
<title>复利 · Context Graph</title>
|
|
12
|
-
<script type="module" crossorigin src="/assets/index-
|
|
13
|
-
<link rel="modulepreload" crossorigin href="/assets/_plugin-vue_export-helper-
|
|
14
|
-
<link rel="modulepreload" crossorigin href="/assets/runtime-dom.esm-bundler-
|
|
15
|
-
<link rel="modulepreload" crossorigin href="/assets/client-
|
|
16
|
-
<link rel="modulepreload" crossorigin href="/assets/console-
|
|
17
|
-
<link rel="modulepreload" crossorigin href="/assets/motion-
|
|
18
|
-
<link rel="modulepreload" crossorigin href="/assets/dist-
|
|
19
|
-
<link rel="modulepreload" crossorigin href="/assets/dist-
|
|
20
|
-
<link rel="modulepreload" crossorigin href="/assets/useApi-CROJJdhE-
|
|
21
|
-
<link rel="modulepreload" crossorigin href="/assets/vue-router-
|
|
12
|
+
<script type="module" crossorigin src="/assets/index-BYIOAXnn.js"></script>
|
|
13
|
+
<link rel="modulepreload" crossorigin href="/assets/_plugin-vue_export-helper-B9AJmZbc.js">
|
|
14
|
+
<link rel="modulepreload" crossorigin href="/assets/runtime-dom.esm-bundler-f39i44Mt.js">
|
|
15
|
+
<link rel="modulepreload" crossorigin href="/assets/client-CSQcWFRh.js">
|
|
16
|
+
<link rel="modulepreload" crossorigin href="/assets/console-DaoAO-EO.js">
|
|
17
|
+
<link rel="modulepreload" crossorigin href="/assets/motion-C-ZimCUS.js">
|
|
18
|
+
<link rel="modulepreload" crossorigin href="/assets/dist-B9GqMC5C.js">
|
|
19
|
+
<link rel="modulepreload" crossorigin href="/assets/dist-DIJqkL4O.js">
|
|
20
|
+
<link rel="modulepreload" crossorigin href="/assets/useApi-CROJJdhE-CRCgNOqq.js">
|
|
21
|
+
<link rel="modulepreload" crossorigin href="/assets/vue-router-B79HWW1l.js">
|
|
22
22
|
<link rel="modulepreload" crossorigin href="/assets/fuli-mark-color-D7GcUwLK.js">
|
|
23
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
24
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
25
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
26
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
27
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
28
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
29
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
30
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
31
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
32
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
33
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
34
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
35
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
23
|
+
<link rel="modulepreload" crossorigin href="/assets/GrowthLoading-Cr8xZwwO.js">
|
|
24
|
+
<link rel="modulepreload" crossorigin href="/assets/button-CEkPBC1E.js">
|
|
25
|
+
<link rel="modulepreload" crossorigin href="/assets/Presence-D3HKb5Hb.js">
|
|
26
|
+
<link rel="modulepreload" crossorigin href="/assets/utils-B4pBTmyh.js">
|
|
27
|
+
<link rel="modulepreload" crossorigin href="/assets/VisuallyHidden-B8wfJ_mU.js">
|
|
28
|
+
<link rel="modulepreload" crossorigin href="/assets/VisuallyHiddenInput-Bdcr9CwC.js">
|
|
29
|
+
<link rel="modulepreload" crossorigin href="/assets/FieldRoot-DRnAC66O.js">
|
|
30
|
+
<link rel="modulepreload" crossorigin href="/assets/useForwardExpose-Di-MnbTz.js">
|
|
31
|
+
<link rel="modulepreload" crossorigin href="/assets/useForwardPropsEmits-L9XcB5DG.js">
|
|
32
|
+
<link rel="modulepreload" crossorigin href="/assets/useForwardScopeId-CUQFIAIj.js">
|
|
33
|
+
<link rel="modulepreload" crossorigin href="/assets/RovingFocusGroup-BB0d3k17.js">
|
|
34
|
+
<link rel="modulepreload" crossorigin href="/assets/RovingFocusItem-CFd7tXzD.js">
|
|
35
|
+
<link rel="modulepreload" crossorigin href="/assets/UiIcon-sD1hUsOF.js">
|
|
36
|
+
<link rel="modulepreload" crossorigin href="/assets/checkbox-DPyLHneg.js">
|
|
36
37
|
<link rel="modulepreload" crossorigin href="/assets/handleAndDispatchCustomEvent-Bng2rRDf.js">
|
|
37
|
-
<link rel="modulepreload" crossorigin href="/assets/Teleport-
|
|
38
|
-
<link rel="modulepreload" crossorigin href="/assets/utils-
|
|
39
|
-
<link rel="modulepreload" crossorigin href="/assets/DialogTitle-
|
|
40
|
-
<link rel="modulepreload" crossorigin href="/assets/dialog-
|
|
38
|
+
<link rel="modulepreload" crossorigin href="/assets/Teleport-C1upABpY.js">
|
|
39
|
+
<link rel="modulepreload" crossorigin href="/assets/utils-BsxOjD1Q.js">
|
|
40
|
+
<link rel="modulepreload" crossorigin href="/assets/DialogTitle-Lj5s6nwG.js">
|
|
41
|
+
<link rel="modulepreload" crossorigin href="/assets/dialog-CxhKMo0D.js">
|
|
41
42
|
<link rel="modulepreload" crossorigin href="/assets/useArrowNavigation-LczgkNfS.js">
|
|
42
|
-
<link rel="modulepreload" crossorigin href="/assets/PopperContent-
|
|
43
|
-
<link rel="modulepreload" crossorigin href="/assets/useTypeahead-
|
|
44
|
-
<link rel="modulepreload" crossorigin href="/assets/MenuSeparator-
|
|
45
|
-
<link rel="modulepreload" crossorigin href="/assets/context-menu-
|
|
46
|
-
<link rel="modulepreload" crossorigin href="/assets/radio-group-
|
|
47
|
-
<link rel="modulepreload" crossorigin href="/assets/switch-
|
|
48
|
-
<link rel="modulepreload" crossorigin href="/assets/client-connection-model-
|
|
49
|
-
<link rel="modulepreload" crossorigin href="/assets/version-
|
|
50
|
-
<link rel="modulepreload" crossorigin href="/assets/motion-preference-
|
|
51
|
-
<link rel="modulepreload" crossorigin href="/assets/agent-avatar-
|
|
52
|
-
<link rel="modulepreload" crossorigin href="/assets/person-profile-
|
|
43
|
+
<link rel="modulepreload" crossorigin href="/assets/PopperContent-DNqbLkNa.js">
|
|
44
|
+
<link rel="modulepreload" crossorigin href="/assets/useTypeahead-pEZNpBls.js">
|
|
45
|
+
<link rel="modulepreload" crossorigin href="/assets/MenuSeparator-quqkZZXY.js">
|
|
46
|
+
<link rel="modulepreload" crossorigin href="/assets/context-menu-CcGDnF_k.js">
|
|
47
|
+
<link rel="modulepreload" crossorigin href="/assets/radio-group-B4r78nDh.js">
|
|
48
|
+
<link rel="modulepreload" crossorigin href="/assets/switch-B3Y3oE_n.js">
|
|
49
|
+
<link rel="modulepreload" crossorigin href="/assets/client-connection-model-vO2cap6a.js">
|
|
50
|
+
<link rel="modulepreload" crossorigin href="/assets/version-db3QWWjt.js">
|
|
51
|
+
<link rel="modulepreload" crossorigin href="/assets/motion-preference-BQiiwhab.js">
|
|
52
|
+
<link rel="modulepreload" crossorigin href="/assets/agent-avatar-V6M_DF3r.js">
|
|
53
|
+
<link rel="modulepreload" crossorigin href="/assets/person-profile-DXXfpvta.js">
|
|
53
54
|
<link rel="modulepreload" crossorigin href="/assets/fla-mention-D_Qb7VeY.js">
|
|
54
|
-
<link rel="modulepreload" crossorigin href="/assets/profile-model-
|
|
55
|
-
<link rel="modulepreload" crossorigin href="/assets/role-names-
|
|
56
|
-
<link rel="modulepreload" crossorigin href="/assets/agent-pins-
|
|
57
|
-
<link rel="modulepreload" crossorigin href="/assets/UiNotice-
|
|
58
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
59
|
-
<link rel="modulepreload" crossorigin href="/assets/project-origin-
|
|
60
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
61
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
55
|
+
<link rel="modulepreload" crossorigin href="/assets/profile-model-6gTmScHC.js">
|
|
56
|
+
<link rel="modulepreload" crossorigin href="/assets/role-names-PECaMfQo.js">
|
|
57
|
+
<link rel="modulepreload" crossorigin href="/assets/agent-pins-8KX0ynzy.js">
|
|
58
|
+
<link rel="modulepreload" crossorigin href="/assets/UiNotice-DGPFbVo7.js">
|
|
59
|
+
<link rel="modulepreload" crossorigin href="/assets/save-file-rPduHi2f.js">
|
|
60
|
+
<link rel="modulepreload" crossorigin href="/assets/project-origin-D8jy8EF_.js">
|
|
61
|
+
<link rel="modulepreload" crossorigin href="/assets/UiChip-CizeOu1Q.js">
|
|
62
|
+
<link rel="modulepreload" crossorigin href="/assets/popup-host-Bmvrf-2t.js">
|
|
63
|
+
<link rel="modulepreload" crossorigin href="/assets/UiDialog-CGTzxn3-.js">
|
|
64
|
+
<link rel="modulepreload" crossorigin href="/assets/UiIconButton-CCo4NPYv.js">
|
|
65
|
+
<link rel="modulepreload" crossorigin href="/assets/UiSegmented-BZ-jqnPE.js">
|
|
66
|
+
<link rel="modulepreload" crossorigin href="/assets/UiWeight-BRO3oVMZ.js">
|
|
67
|
+
<link rel="modulepreload" crossorigin href="/assets/ui-BopQuQfc.js">
|
|
68
|
+
<link rel="modulepreload" crossorigin href="/assets/source-adapters-aupsL146.js">
|
|
69
|
+
<link rel="modulepreload" crossorigin href="/assets/label-table-BnWNYfyk.js">
|
|
62
70
|
<link rel="modulepreload" crossorigin href="/assets/date-time-Clwafva-.js">
|
|
63
|
-
<link rel="modulepreload" crossorigin href="/assets/session-launch-offers-
|
|
64
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
65
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
66
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
67
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
68
|
-
<link rel="modulepreload" crossorigin href="/assets/UiWeight-DRIwuLUX.js">
|
|
69
|
-
<link rel="modulepreload" crossorigin href="/assets/ui-BM8jZcP6.js">
|
|
70
|
-
<link rel="modulepreload" crossorigin href="/assets/attention-store-BTKBC8TZ.js">
|
|
71
|
-
<link rel="modulepreload" crossorigin href="/assets/roundtable-live-D7Asm_GB.js">
|
|
72
|
-
<link rel="modulepreload" crossorigin href="/assets/motion-wEp9RlID.js">
|
|
73
|
-
<link rel="modulepreload" crossorigin href="/assets/CopyFixPrompt-CCrPxN5x.js">
|
|
71
|
+
<link rel="modulepreload" crossorigin href="/assets/session-launch-offers-X9b0DwF1.js">
|
|
72
|
+
<link rel="modulepreload" crossorigin href="/assets/attention-store-BnZ8l3kk.js">
|
|
73
|
+
<link rel="modulepreload" crossorigin href="/assets/roundtable-live-DFeDF56c.js">
|
|
74
|
+
<link rel="modulepreload" crossorigin href="/assets/motion-QY5FKKko.js">
|
|
75
|
+
<link rel="modulepreload" crossorigin href="/assets/CopyFixPrompt-Bp-UX4Hq.js">
|
|
74
76
|
<link rel="modulepreload" crossorigin href="/assets/agent-identity-color-RqpT7gtx.js">
|
|
75
77
|
<link rel="modulepreload" crossorigin href="/assets/task-evidence-DIbw2U42.js">
|
|
76
|
-
<link rel="modulepreload" crossorigin href="/assets/useAgentRecords-
|
|
77
|
-
<link rel="modulepreload" crossorigin href="/assets/agent-
|
|
78
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
79
|
-
<link rel="modulepreload" crossorigin href="/assets/catalog-C8eUDXUx.js">
|
|
80
|
-
<link rel="modulepreload" crossorigin href="/assets/agent-work-summary-bzTwEUaA.js">
|
|
78
|
+
<link rel="modulepreload" crossorigin href="/assets/useAgentRecords-CMtpd3Fj.js">
|
|
79
|
+
<link rel="modulepreload" crossorigin href="/assets/agent-workflows-DQlqVOoA.js">
|
|
80
|
+
<link rel="modulepreload" crossorigin href="/assets/catalog-KnpBkv5t.js">
|
|
81
81
|
<link rel="modulepreload" crossorigin href="/assets/preload-helper-BLdHbfdN.js">
|
|
82
|
-
<link rel="modulepreload" crossorigin href="/assets/WidgetSlot-
|
|
82
|
+
<link rel="modulepreload" crossorigin href="/assets/WidgetSlot-DFojQaSo.js">
|
|
83
83
|
<link rel="modulepreload" crossorigin href="/assets/paths-CDREouhi.js">
|
|
84
|
-
<link rel="modulepreload" crossorigin href="/assets/page-title-
|
|
84
|
+
<link rel="modulepreload" crossorigin href="/assets/page-title-NXphgeQI.js">
|
|
85
|
+
<link rel="modulepreload" crossorigin href="/assets/model-CpuIG8Du.js">
|
|
86
|
+
<link rel="modulepreload" crossorigin href="/assets/agent-work-summary-bzTwEUaA.js">
|
|
87
|
+
<link rel="modulepreload" crossorigin href="/assets/agent-roster-records-PfAgndHp.js">
|
|
88
|
+
<link rel="modulepreload" crossorigin href="/assets/orchestration-filters-DmF4Qs8E.js">
|
|
85
89
|
<link rel="stylesheet" crossorigin href="/assets/_plugin-vue_export-helper-CX218uN7.css">
|
|
86
|
-
<link rel="stylesheet" crossorigin href="/assets/
|
|
90
|
+
<link rel="stylesheet" crossorigin href="/assets/GrowthLoading-CigPij0N.css">
|
|
91
|
+
<link rel="stylesheet" crossorigin href="/assets/button-CoXXgtY5.css">
|
|
87
92
|
<link rel="stylesheet" crossorigin href="/assets/UiIcon-EWCwhyKc.css">
|
|
88
93
|
<link rel="stylesheet" crossorigin href="/assets/client-connection-model-DVwA-GIu.css">
|
|
89
94
|
<link rel="stylesheet" crossorigin href="/assets/UiNotice-ZCBdABdM.css">
|
|
@@ -91,7 +96,7 @@
|
|
|
91
96
|
<link rel="stylesheet" crossorigin href="/assets/UiWeight-qaDd9Wax.css">
|
|
92
97
|
<link rel="stylesheet" crossorigin href="/assets/ui-CoUaCzmO.css">
|
|
93
98
|
<link rel="stylesheet" crossorigin href="/assets/CopyFixPrompt-TGm4ejH6.css">
|
|
94
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
99
|
+
<link rel="stylesheet" crossorigin href="/assets/index-B4AMPpl_.css">
|
|
95
100
|
</head>
|
|
96
101
|
<body>
|
|
97
102
|
<div id="app"></div>
|
|
@@ -125,12 +125,21 @@ The following operations intentionally remain local-user-only:
|
|
|
125
125
|
|
|
126
126
|
- enabling or disabling Agent access;
|
|
127
127
|
- device-level runtime settings;
|
|
128
|
-
- completing a preference conflict as a human decision;
|
|
129
|
-
- confirming preference visibility scope;
|
|
130
|
-
- batch confirmation of knowledge.
|
|
131
|
-
- Jefa task completion that records explicit human acceptance (other task updates remain available through the employee tools).
|
|
132
128
|
- confirming, rejecting or retiring an Agent's workflow (`POST /api/agent-workflows/:workflowId/decision`).
|
|
133
129
|
|
|
130
|
+
The person's own decisions are `agent_relayed` (rec#80, category `decisions`): completing a
|
|
131
|
+
preference conflict, confirming preference visibility, batch confirmation, Jefa acceptance,
|
|
132
|
+
attention replies, Tonborg votes and review undo, the 「我」 profile, the first-run guide and
|
|
133
|
+
capture onboarding, dismissing finished-migration reminders and showing an app export folder.
|
|
134
|
+
The person decides in chat; an FLA passes their exact words as `personWords` to
|
|
135
|
+
`run_delegated_action`, which runs the change only when the words are in the prompt that began the calling
|
|
136
|
+
task (kept locally by a hook entry until its checkpoint, `entry-prompts/`) or in one of the
|
|
137
|
+
person's last 20 saved messages of the calling session (session records, the task's own reader). The
|
|
138
|
+
delegation record keeps the words and the message they were found in; judgment feedback and
|
|
139
|
+
Jefa revisions also keep `relayedBy` and `personWords`, and a relayed batch confirmation's
|
|
140
|
+
confirmer is the person (`user`, labelled with the relaying FLA). Other task updates remain
|
|
141
|
+
available through the employee tools.
|
|
142
|
+
|
|
134
143
|
## Agent workflows and the Agent home (rec#60 D-78)
|
|
135
144
|
|
|
136
145
|
An Agent's home page (`/agents/:spaceId/:agentId`) opens on its 「工作台 / Workbench」 tab when it
|
|
@@ -49,7 +49,7 @@ clients are on this computer, and whether FULI is in each, is
|
|
|
49
49
|
[agent-installer](https://github.com/JevonsCode/agent-installer)'s `status` for FULI's product manifest
|
|
50
50
|
(see [Shared client components](#shared-client-components)); FULI no longer probes clients itself. The
|
|
51
51
|
list shows each detected client and whether its Fuli integration configuration is still in place: **Connected** (`connected`, current Fuli entry in
|
|
52
|
-
config), **
|
|
52
|
+
config), **Update needed** (`changed`, Fuli entry present but differs from this version),
|
|
53
53
|
**Skills only** (`skills_left`, Fuli MCP entry gone and only skill files remain), **Removed**
|
|
54
54
|
(`removed` after an earlier connection), **Not connected** (`not_connected`), **Not found**
|
|
55
55
|
(`not_detected`), or **Cannot confirm** (`unknown`) when FULI's MCP entry cannot be read, parsed,
|
|
@@ -247,7 +247,8 @@ in `test/fixtures/installer-manifest-snapshot.json` (`test/agent-kits/installer-
|
|
|
247
247
|
| Port busy or setup stops early | Resolve the reported port or runtime conflict; setup stops before modifying Agent configs |
|
|
248
248
|
| Settings shows **Connected** (`connected`), but tools are missing or a call fails | Reload and trust the MCP server in the client; quit and reopen apps that read config only at launch; open a new task |
|
|
249
249
|
| Codex Hooks not running or exit with untrusted notice | Review and trust the Hooks in Codex with `/hooks` (setup never bypasses host trust) |
|
|
250
|
-
| Settings shows **
|
|
250
|
+
| Settings shows **Update needed** (`changed`) or **Connected** (`connected`) after an upgrade | Run `fuli setup --yes --connected-only` to refresh clients that still have a Fuli MCP entry in their config |
|
|
251
|
+
| A client row says open sessions need a restart | FULI changed that client's Skills or hooks after those sessions started. Restart them; the prompt clears by itself. **Connected** only means the files are current, and a Skill's receipt keeps the version that last changed it, so Skills of one client can show different versions while all are current |
|
|
251
252
|
| Settings shows **Skills only** (`skills_left`), **Removed** (`removed`), **Not connected** (`not_connected`), or client is newly installed | Run a full `fuli setup`. `--connected-only` skips clients without a Fuli MCP entry and leaves existing Skills unchanged |
|
|
252
253
|
| Unsure whether local UI / graph services are running | Run `fuli status` (and `fuli start` or `fuli restart` if stopped) |
|
|
253
254
|
|
package/docs/employee-agents.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
An employee template is a reusable role with an optional FULI-hosted or native workbench. Recruitment reuses the existing durable Project Agent identity and assignment model. Four roles are fixed: **Jefa**, the project manager and project-attribution triager, **Bole**, the AR (Agent Resources) Agent, **Tonborg**, the judgment Agent, and **Assistant** (`employee.assistant`), the unassigned-conversation receptionist. They exist in every personal space from the start and are never offered for hire; Jefa, Bole, and Tonborg span all projects by default while Assistant belongs to no project and receives conversations that do not yet match a formal project. They require no separate runtime package. See [judgment and autonomy](judgment-and-autonomy.md) for Tonborg's review, feedback, and execution-choice workflow.
|
|
4
4
|
|
|
5
|
-
Every Project Agent requires a primary occupation (`occupation.role`, from `product`, `engineering`, `design`, `operations`, `testing`, `research`, `data`, `writing`, `management`, `lead`, or `assistant`) plus up to five optional secondary tags. Bole writes the primary occupation at recruitment with an audit trail, and the user can change it at any time as final authority. Each formal project has one project **lead** (`lead`) who breaks down work, dispatches tasks by occupation (`new_session → sub_agent → phased`), integrates results, and signs off to the user without performing specialist implementation work directly. When a project needs a given occupation, Bole reuses an existing same-occupation Agent across projects before recruiting a new specialist.
|
|
5
|
+
Every Project Agent requires a primary occupation (`occupation.role`, from `product`, `engineering`, `design`, `operations`, `testing`, `research`, `data`, `writing`, `management`, `project_manager`, `decision_maker`, `lead`, or `assistant`) plus up to five optional secondary tags. Bole writes the primary occupation at recruitment with an audit trail, and the user can change it at any time as final authority. Each formal project has one project **lead** (`lead`) who breaks down work, dispatches tasks by occupation (`new_session → sub_agent → phased`), integrates results, and signs off to the user without performing specialist implementation work directly. When a project needs a given occupation, Bole reuses an existing same-occupation Agent across projects before recruiting a new specialist.
|
|
6
6
|
|
|
7
7
|
## User flow
|
|
8
8
|
|
|
@@ -106,9 +106,9 @@ The reserved identity is `employee.<template-id>`, recognized by the generic `fu
|
|
|
106
106
|
|
|
107
107
|
### Dismissal
|
|
108
108
|
|
|
109
|
-
Bole also handles an Agent leaving ("dismissal"). The user starts it or approves it; Bole never picks whom to dismiss. In a client session, ask Bole to dismiss an Agent and it first asks why: `dismiss_project_agent` refuses a missing or placeholder reason. Project leads (hand off first), Agents with open tasks and the fixed roles are refused as before. A dismissal archives the identity, ends its assignments and stores, in the same write, the reason, up to three short lessons and a Markdown handoff of the Agent's working memory. Tasks, recruitment and routing history stay readable, the employee number stays with the archived identity and is never reused, and the profile shows why the Agent left.
|
|
109
|
+
Bole also handles an Agent leaving ("dismissal"). The user starts it or approves it; Bole never picks whom to dismiss. In a client session, ask Bole to dismiss an Agent and it first asks why: `dismiss_project_agent` refuses a missing or placeholder reason. In the console, 团队成员 on Bole's workbench has a 开除 action on each card: its dialog asks for the reason and optional lessons, and the written reason is the confirmation. It calls `POST /api/project-agents/:agentId/dismissal`, the same dismissal as the tool. Project leads (hand off first), Agents with open tasks and the fixed roles are refused as before; the console offers no action to a fixed role and turns it off for an Agent it can see is busy or leading, while the Provider stays the authority. A dismissal archives the identity, ends its assignments and stores, in the same write, the reason, up to three short lessons and a Markdown handoff of the Agent's working memory. Tasks, recruitment and routing history stay readable, the employee number stays with the archived identity and is never reused, and the profile shows why the Agent left.
|
|
110
110
|
|
|
111
|
-
Lessons are not loaded into anyone's context. Task entry and a pending recruitment only report how many lessons exist for the same occupation or project and the `list_agent_dismissal_lessons` query to read them; `get_agent_handoff` returns the stored handoff. Setting `archived` through a profile update is rejected; only test-marked roles can still be archived directly, for test cleanup.
|
|
111
|
+
Lessons are not loaded into anyone's context. Task entry and a pending recruitment only report how many lessons exist for the same occupation or project and the `list_agent_dismissal_lessons` query to read them; `get_agent_handoff` returns the stored handoff. Setting `archived` through a profile update is rejected; only test-marked roles can still be archived directly, for test cleanup.
|
|
112
112
|
|
|
113
113
|
## HTTP and MCP
|
|
114
114
|
|
|
@@ -147,10 +147,10 @@ The nine tools, each limited by the permission it declares:
|
|
|
147
147
|
|
|
148
148
|
| Tool | Permission | Contract |
|
|
149
149
|
| --- | --- | --- |
|
|
150
|
-
| `read_board` | `board.read` | Tasks ordered by status (active, blocked, review, planned, done), priority and recency. `limit` 1–200 (default 50), optional `statuses`. `version` changes on every board write; `truncated` says more tasks exist. `projectBoard` is the project's own board (below). |
|
|
150
|
+
| `read_board` | `board.read` | Tasks ordered by status (active, blocked, review, planned, done), priority and recency. `doneSince` keeps finished tasks from that time on and `doneBefore` reads older ones, newest first; both answer `doneOlder`, the finished tasks left out. `limit` 1–200 (default 50), optional `statuses`. `version` changes on every board write; `truncated` says more tasks exist. `projectBoard` is the project's own board (below). `times: true` adds each task's `startedAt` and `columnSince`, read from its revisions; the console asks for them, Agents normally do not need them. |
|
|
151
151
|
| `get_task` | `board.read` | One task with acceptance criteria, tags and its last 20 revisions. |
|
|
152
|
-
| `create_tasks` | `board.write` | Up to 20 tasks. `messageId` makes a retry return the same tasks; the same ID with other content is `request_conflict`. New tasks are private and start `planned` unless a status other than `done` is given. |
|
|
153
|
-
| `update_tasks` | `board.write` | Up to 50 updates, each with the `expectedUpdatedAt` it read. One stale update refuses the whole request with `version_conflict` and nothing is written. `requestId` makes a retry return the first answer. `done` is never accepted. |
|
|
152
|
+
| `create_tasks` | `board.write` | Up to 20 tasks. `messageId` makes a retry return the same tasks; the same ID with other content is `request_conflict`. New tasks are private and start `planned` unless a status other than `done` is given. `dueDate` is a calendar day, `YYYY-MM-DD`. |
|
|
153
|
+
| `update_tasks` | `board.write` | Up to 50 updates, each with the `expectedUpdatedAt` it read. One stale update refuses the whole request with `version_conflict` and nothing is written. `requestId` makes a retry return the first answer. `done` is never accepted. `dueDate` sets a calendar day; `null` clears it. |
|
|
154
154
|
| `configure_project_board` | `board.write` | On the person's request only: `managerAgentId` (the project's own project manager, or `null` for Jefa itself) and/or `board`. `requestId` makes a retry return the first answer; `expectedRevision` refuses a stale edit with `version_conflict`. |
|
|
155
155
|
| `answer_status_question` | `board.read` | Counts per status, tasks waiting for the person's acceptance (`review`), blocked tasks and the named tasks, from the board alone. |
|
|
156
156
|
| `prepare_session_title` | `session.title` | A title from only the session's linked tasks. `execution` is `client_required` (auto mode and `canRename`: the action the current client performs natively), `suggestion`, `unchanged`, `locked` (the title is locked or the person changed it after Jefa's last applied one) or `off`. A verified caller can prepare only its own session. |
|
|
@@ -175,7 +175,7 @@ The three person-only routes answer 403 `local_user_only` from another device, l
|
|
|
175
175
|
|
|
176
176
|
Jefa is the global lead of every project and its own flow does not change: five built-in statuses, and only the person accepts `done`. A project can still get its own project manager and its own board (Notion 「更好的项目管理」):
|
|
177
177
|
|
|
178
|
-
- **Project manager.** One of the project's Agents, usually a durable Agent with occupation `
|
|
178
|
+
- **Project manager.** One of the project's Agents, usually a durable Agent with occupation `project_manager` (项目经理), named in the board's `managerAgentId`. The host checks it is active and holds an active assignment in that exact project; Jefa, Bole, Tonborg and AR are peers and are refused. `null` means Jefa manages the project directly. If the Agent's assignment ends later, the board keeps the name and the project page says the manager is no longer in the project.
|
|
179
179
|
- **Built-in board with the person's columns.** `board: { kind: "builtin", columns: [{ id, label, mapsTo }] }`, at most 12, in order. Each column stands for one built-in status (`mapsTo`), and several may stand for the same one (发布到测试环境 and 上线 both `active`). A task moved to a column keeps its `boardColumn`; a status change alone leaves it in the first column for its new status. A column keeps its `id` across renames and reorders. A column standing for `done` is the person's acceptance: an Agent is refused with `human_acceptance_required`. No columns means the built-in board.
|
|
180
180
|
- **External board.** `board: { kind: "external", external: { url, label? } }`, an `http(s)` link without credentials. FULI does not manage its tasks; Jefa's board shows the project as a link card.
|
|
181
181
|
|
|
@@ -185,6 +185,8 @@ The console board shows the project's own columns when the filter shows that pro
|
|
|
185
185
|
|
|
186
186
|
## Verification and release boundary
|
|
187
187
|
|
|
188
|
+
A built-in role's workbench is the first tab of its one FLA page (`/agents/<space>/employee.<role>`); `/employees/<role>` stays a link that lands there. The task board is Jefa's own: no other FLA has one, and an FLA's former 编排 management page is that page's 高级管理 tab.
|
|
189
|
+
|
|
188
190
|
Jefa uses one native `EmployeeTaskBoard` for every project scope. `/employees/jefa` and
|
|
189
191
|
`?project=all` show the current managed projects; legacy `__all__` is normalized. A single
|
|
190
192
|
project query or repeated `project` query parameters filter the same board, without changing
|
|
@@ -253,10 +255,10 @@ clear or seed an existing user's graph.
|
|
|
253
255
|
|
|
254
256
|
Bole keeps a score card for every Agent from facts FULI already records; the card itself calls no model and has no switch. The executor-learning buckets supply completion (the latest completed or failed run of each task), first pass (completed with no rework request and no earlier failed run) and user feedback (praise, negative feedback, ratings of 4–5 or 1–2). Completion and first pass count each task once across every executor, so a task that failed on one executor and was finished on another is completed but not a first pass. Test and user-acceptance results and Tonborg's acceptance verdicts supply review. A Tonborg verdict counts only when Tonborg judged another Agent's passed verification for a task this Agent worked on, and only while that artifact and verification are still the task's current ones. A verdict on a superseded artifact or verification is shown as stale, and one the user thumbed down as disputed; neither counts either way.
|
|
255
257
|
|
|
256
|
-
The dimensions are shown separately with their sample and never combined into a total. Below three samples a dimension says 数据不足 and draws no conclusion, so unreported or idle work never counts against an Agent. The S/A/B/C tier is only a display label shown with its evidence count; nothing acts on it. When an Agent does poorly on one executor and well on another, a tool flag suggests changing the model or client rather than the Agent; this per-executor view is a separate diagnosis and never changes the Agent's dimensions. The card carries counts only; `get_agent_score_card` with a `dimension` (and optionally `executorId`) returns the task IDs behind it, newest first. The local API serves the same reads at `GET /api/project-agents/:agentId/score-card` and `…/score-card/evidence`. Ignoring or resetting learning evidence changes the card the same way it changes routing.
|
|
258
|
+
The dimensions are shown separately with their sample and never combined into a total. Below three samples a dimension says 数据不足 and draws no conclusion, so unreported or idle work never counts against an Agent. The S/A/B/C tier is only a display label shown with its evidence count; nothing acts on it. When an Agent does poorly on one executor and well on another, a tool flag suggests changing the model or client rather than the Agent; this per-executor view is a separate diagnosis and never changes the Agent's dimensions. The card carries counts only; `get_agent_score_card` with a `dimension` (and optionally `executorId`) returns the task IDs behind it, newest first. The local API serves the same reads at `GET /api/project-agents/:agentId/score-card` and `…/score-card/evidence`. Each card under 团队成员 on Bole's workbench shows the scored dimensions with their evidence count, and its 绩效 action opens all four with their rate and sample. Ignoring or resetting learning evidence changes the card the same way it changes routing.
|
|
257
259
|
|
|
258
260
|
With `review: true`, a card for one project also carries Bole's suggested next step: `observe`, `coach`, `switch_model`, `reassign` or `dismissal_interview`. When Bole has its own model in `model-backends.json` (rec#8, operation `performance_review`), that model picks one of these host-listed actions from the card's dimensions, within its budget and data-sharing approval for that project; it gets no tools and can name no task, project or Agent. A dimension with 数据不足 never counts against the Agent, and any action other than `observe` must cite a scored dimension, or the answer is rejected as `invalid_output`. The result is a suggestion for the person only, with the gate `suggestion_only`: it writes nothing, and a reassignment or dismissal still goes through its own tools and confirmations. Without Bole's model the card comes back unchanged and the current session judges it as before, with no work package. A card across several projects, or one where every dimension lacks data, is not sent to a model. Every model result keeps its reason and a compact model receipt. Only a failure Bole's settings allow to fall back (`fallbackToSession`) hands the review to the current session; a refusal, unapproved data sharing, an exhausted budget or a failure without fallback suggests nothing and says what would let Bole review again (approve the project, raise the budget, enable fallback). FULI never starts a CLI, a session or another model for it.
|
|
259
261
|
|
|
260
262
|
Every result Bole's `performance_review`, the Assistant's `project_candidate` and Jefa's `board_match` returned after asking their own model (suggested, superseded, stopped or handed back to the session) is also recorded, as the session received it then but without the session guidance, in `role-suggestions.sqlite`, and only while recording is on for that call: the capture decision for the task's (or, for Bole, this client's and the project's) scope is read after the model answered, and anything that cannot be read records nothing. Turning recording off never changes what the role returns. Settings → 模型与用量 lists them under 「建议记录」, together with the knowledge reviews Tonborg left to the person (docs/judgment-and-autonomy.md, 「Suggestions in the console」), with the model, the time each was made, the readable evidence (Bole's cited dimensions) and, for a stop or a supersession, the reason in plain words. These are records of what was said at the time, never a to-do: a suggestion followed by a newer one for the same Agent or conversation reads 「已有更新」, and whether anything is still to do is answered by the page each action opens (the Assistant's unclaimed conversations, the task on Jefa's board, Bole's score card read-only), which says when it cannot tell. Nothing there applies a suggestion or treats it as permission. The console reads them at `GET /api/model-backends/suggestions`, like its other full reads: loopback only, a LAN device with its LAN code included, and only after the console server confirmed its own human-review proof (rec#11 D-60, docs/judgment-and-autonomy.md, 「Console trust boundary」); no Agent tool reads them. The server attaches that proof itself, so a local process can still read the list over loopback HTTP; FULI is a local tool and has no console login (rec#11 D-70). The list shows the last 90 days; rows older than that or beyond the newest 300 are deleted when the next record is written, not on expiry, and a plain delete is not an erasure of the disk. A record names Agents, conversations, projects and board tasks, never a knowledge item, so FULI cannot tell which model reason quoted knowledge a person permanently deletes. A permanent delete therefore clears the words of every record of that space written up to the delete's own recorded time (the hint, the model's reason and uncertainty, and the project and task names it showed), keeping only its time, role, status and target IDs; the section shows such a record as 「内容已因彻底删除清除」. Every later cleanup run of the same delete (a retry, recovery at console start, an old link's status page) uses that same time, so it never reaches a record written after the delete. A new record is stored without words while a delete in the space is still open, and also when a delete was open or began after its role read its evidence, since the model may have answered from knowledge that is gone since. FULI has no personal-project or conversation deletion today (projects are archived), so no such deletion clears these records yet.
|
|
261
263
|
|
|
262
|
-
Each
|
|
264
|
+
Each use's 「查看详情 / Details」 under Settings → 模型与用量 also has a collapsed 「变更记录 / Change history」: every change saved from the console to the role's effective model settings (each changed field, before and after, for the role and the connection it names; a role sharing a saved connection gets its own entry marked as changed through the other role's settings) and to its 「只给建议」 switch or warning acknowledgement, newest first with its time (rec#11 D-42). A key reference is shown only as replaced, never by its value; keys never reach the record. The rows are kept in `model-settings-history.sqlite`, cannot be edited or deleted and are never pruned; Agents read them at `GET /api/model-backends/history?role=&limit=`. A save that changes nothing records nothing. If a change cannot be recorded it still stays saved, and the save answers `history: "not_recorded"`. Without naming a cause, the list notes 「这里有修改没有记录下来」 where a record does not start from what the one before it left, and 「当前设置与最后一条记录不一致」 on top when `model-backends.json` or a role's execution mode is newer than the latest record; a role whose settings existed before the first recorded save, or whose execution mode changed before recording began, ends with 「更早的改动没有记录」.
|
|
@@ -4,13 +4,13 @@ Tonborg is the built-in judgment Agent, alongside Jefa and Bole. It has a persis
|
|
|
4
4
|
|
|
5
5
|
## Choose the amount of autonomy
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
The 判断标准 / Standards tab of Tonborg's workbench says in plain words what it reviews knowledge by, and offers three choices, saved immediately with Undo:
|
|
8
8
|
|
|
9
9
|
- **I decide**: Tonborg analyzes and records suggestions.
|
|
10
10
|
- **Shared decisions**: Tonborg applies routine knowledge reviews backed by existing confirmation and accepts verified FULI tasks.
|
|
11
11
|
- **Autonomous**: Tonborg may also review ordinary pending knowledge. Conflicts, sensitive preferences, uncertain evidence, and actions outside existing authority remain for the user.
|
|
12
12
|
|
|
13
|
-
Projects inherit the global policy unless the user sets an exception. Updating FULI does not silently expand existing authority.
|
|
13
|
+
Projects inherit the global policy unless the user sets an exception, on the same tab or on the project page. Settings only links to this tab. Updating FULI does not silently expand existing authority.
|
|
14
14
|
|
|
15
15
|
## Who answers a judgment
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ A model the person configured for a role is trusted by default (rec#10 D-36). To
|
|
|
25
25
|
A review approval is written back without the person only when all of these hold at the moment of the write:
|
|
26
26
|
|
|
27
27
|
- **Tonborg's configured model answered it.** The role is enabled in `model-backends.json`, `knowledge_review` is in its allowed operations, and the role still names the same connection that answered: the same connection id, protocol, endpoint and model. An answer from the current session (no model, a disabled role, or a fallback after the model failed) or from an opted-in legacy CLI is a suggestion, as before this change (`session_answer`). An answer from a connection the role no longer names is not trusted (`connection_changed`), including the same model name on another connection and the same connection with its endpoint changed in place.
|
|
28
|
-
- **The role is not set to 「只给建议 / Suggestions only」.** Each role
|
|
28
|
+
- **The role is not set to 「只给建议 / Suggestions only」.** Each role's 「查看详情」 on the model settings page has this switch; it is off by default. When it is on, every answer is a suggestion (`suggestions_only`).
|
|
29
29
|
- **The person has read the warning.** Next to the switch the card says: 「模型可能判断错,它的判断会直接生效;你可以随时改成「只给建议」,部分写入可在回执里撤回。」 It counts as read only when the person presses 「我已看过 / I have read this」 on the settings page. Opening the page, rendering a receipt or any background read never sets it. Until then the configured model's approval is a suggestion (`warning_not_seen`), and that receipt shows the same warning with a link to the settings page. The item stays a suggestion for the person; it is not asked again while its evidence is unchanged.
|
|
30
30
|
- **Every rule that applied before still allows it.** Trust relaxes none of them: the autonomy choice (**I decide** keeps every approval a suggestion), items that need attention or have negative or conflicting evidence, the confidence floor, Tonborg's permission for the scope, the role's data-sharing approval for the review's project as it is now (`egress_not_approved`), the capture switch for the scope, globally and for the project (`capture_off`), the hard-delete fence, injection isolation of the evidence, the injection pattern pre-check below, and the Provider's evidence snapshot check. These checks govern what passes through FULI's host; they are not a sandbox.
|
|
31
31
|
|
|
@@ -93,4 +93,4 @@ Each answers only a loopback request. A request from another device is refused w
|
|
|
93
93
|
|
|
94
94
|
Agents keep their own tools (`list_judgments`, `review_with_tonborg`, `assess_agent_action`, `assess_task_completion`), and no MCP or Agent tool module imports these routes or the proof check (`test/judgment-console-owner.test.js`). `GET /api/agent-pins` and `GET /api/judgment/policy` hold no history and stay as they were; the undo keeps its own check, since only the human-review channel can send it.
|
|
95
95
|
|
|
96
|
-
**Known limit: local HTTP callers are trusted.** The console server trusts every local HTTP caller and attaches the proof itself. The proof shows only that the console server holds the token; it shows nothing about who sent the request. So any local process, including an Agent with a shell, can still read the full history over loopback HTTP (for example `GET /api/judgment/records` with only a `Host` header) without reading any token. D-60 makes these routes consistent with the console's other full reads and refuses LAN requests; it does not close that local HTTP path. FULI is a local tool for one person, so the console has no login and none is planned (rec#11 D-70, which drops D-61's console session).
|
|
96
|
+
**Known limit: local HTTP callers are trusted.** The console server trusts every local HTTP caller and attaches the proof itself. The proof shows only that the console server holds the token; it shows nothing about who sent the request. So any local process, including an Agent with a shell, can still read the full history over loopback HTTP (for example `GET /api/judgment/records` with only a `Host` header) without reading any token. D-60 makes these routes consistent with the console's other full reads and refuses LAN requests; it does not close that local HTTP path. FULI is a local tool for one person, so the console has no login and none is planned (rec#11 D-70, which drops D-61's console session). The same holds for every person-only route and for `personWords`: they stop an Agent going through its tools, and they do not stop a process on this computer. An Agent with a shell can call the console, or run `fuli session stop`, as the person could. They prevent mistakes and keep an honest record; they are not a security boundary against a local program.
|
|
@@ -151,6 +151,8 @@ from .project_agent_routes import register_project_agent_routes
|
|
|
151
151
|
from .knowledge_item_routes import register_knowledge_item_routes
|
|
152
152
|
from .knowledge_hard_delete_routes import register_knowledge_hard_delete_routes
|
|
153
153
|
from .knowledge_deletion_watermark import register_knowledge_deletion_watermark_route
|
|
154
|
+
from .knowledge_semantic_index import register_knowledge_semantic_routes
|
|
155
|
+
from .knowledge_retrieval_terms import register_knowledge_retrieval_routes
|
|
154
156
|
from .knowledge_tag_routes import register_knowledge_tag_routes
|
|
155
157
|
from .preference_conflicts import (
|
|
156
158
|
complete_preference_conflict,
|
|
@@ -374,6 +376,8 @@ def create_app(settings: Settings | None = None) -> FastAPI:
|
|
|
374
376
|
register_knowledge_item_routes(application, store, Actor, ReviewAwareActor, HumanReviewer)
|
|
375
377
|
register_knowledge_hard_delete_routes(application, store, HumanReviewer)
|
|
376
378
|
register_knowledge_deletion_watermark_route(application, store, Actor)
|
|
379
|
+
register_knowledge_semantic_routes(application, store, Actor)
|
|
380
|
+
register_knowledge_retrieval_routes(application, store, Actor)
|
|
377
381
|
|
|
378
382
|
@application.post('/v1/publication-drafts', response_model=PublicationDraftRecord)
|
|
379
383
|
async def create_publication_draft(
|
|
@@ -14,7 +14,7 @@ from .models import (
|
|
|
14
14
|
from .personal_project_access import authorize_personal_project
|
|
15
15
|
from .project_agent_access import authorize_project_agent
|
|
16
16
|
from .preference_conflicts import read_active_preference_conflicts
|
|
17
|
-
from .provider_values import json_object, native_datetime as _native_datetime, preference_qualifiers
|
|
17
|
+
from .provider_values import json_object, native_datetime as _native_datetime, preference_key, preference_qualifiers
|
|
18
18
|
from .preference_task_scope import (
|
|
19
19
|
APPLIES, SCOPE_UNKNOWN, item_qualifiers, preference_task_applicability,
|
|
20
20
|
)
|
|
@@ -453,11 +453,7 @@ def _preference_item(
|
|
|
453
453
|
return None
|
|
454
454
|
attributes = json_object(record.get('attributes_json'))
|
|
455
455
|
key = str(record.get('key') or record.get('id'))
|
|
456
|
-
|
|
457
|
-
attributes.get('preferenceKey')
|
|
458
|
-
or attributes.get('preference_key')
|
|
459
|
-
or key
|
|
460
|
-
)
|
|
456
|
+
stated_key = str(preference_key(attributes, key, None))
|
|
461
457
|
project_id = record.get('preference_project_id')
|
|
462
458
|
agent_id = record.get('preference_agent_id')
|
|
463
459
|
scope = project_scopes.get(project_id, {
|
|
@@ -498,7 +494,7 @@ def _preference_item(
|
|
|
498
494
|
id=str(record['id']),
|
|
499
495
|
item_kind=item_kind,
|
|
500
496
|
key=key,
|
|
501
|
-
preference_key=
|
|
497
|
+
preference_key=stated_key,
|
|
502
498
|
title=str(title),
|
|
503
499
|
instruction=str(instruction),
|
|
504
500
|
profile_aspect=record['profile_aspect'],
|
|
@@ -45,7 +45,11 @@ NODE_FIELDS = {
|
|
|
45
45
|
'fuli_profile_aspect': 'profile_aspect?', 'fuli_project_agent_id': 'string?',
|
|
46
46
|
'fuli_qualified_use_count': 'integer?', 'fuli_reasoning_summary': 'string?',
|
|
47
47
|
'fuli_replaced_by_item_id': 'string?', 'fuli_replaced_by_item_kind': 'item_kind?',
|
|
48
|
-
'fuli_requires_attention': 'boolean?', '
|
|
48
|
+
'fuli_requires_attention': 'boolean?', 'fuli_retrieval_context': 'string?',
|
|
49
|
+
'fuli_retrieval_hash': 'string?', 'fuli_retrieval_terms': 'string[]?',
|
|
50
|
+
'fuli_scope_status': 'string?',
|
|
51
|
+
'fuli_semantic_hash': 'string?', 'fuli_semantic_model': 'string?',
|
|
52
|
+
'fuli_semantic_vector': 'float[]?',
|
|
49
53
|
'fuli_type': 'string?', 'fuli_unresolved_bases': 'string[]?',
|
|
50
54
|
'fuli_usage_generation': 'integer?', 'fuli_utility_score': 'float?', 'group_id': 'string',
|
|
51
55
|
'hr_identity_original_agent_id': 'string?', 'name': 'string?', 'name_embedding': 'float[]?',
|
|
@@ -689,7 +693,11 @@ RELATIONSHIP_FIELDS = {
|
|
|
689
693
|
'fuli_profile_aspect': 'profile_aspect?', 'fuli_qualified_use_count': 'integer?',
|
|
690
694
|
'fuli_reasoning_summary': 'string?', 'fuli_replaced_by_item_id': 'string?',
|
|
691
695
|
'fuli_replaced_by_item_kind': 'item_kind?', 'fuli_requires_attention': 'boolean?',
|
|
692
|
-
'
|
|
696
|
+
'fuli_retrieval_context': 'string?', 'fuli_retrieval_hash': 'string?',
|
|
697
|
+
'fuli_retrieval_terms': 'string[]?',
|
|
698
|
+
'fuli_scope_status': 'string?', 'fuli_semantic_hash': 'string?',
|
|
699
|
+
'fuli_semantic_model': 'string?', 'fuli_semantic_vector': 'float[]?',
|
|
700
|
+
'fuli_unresolved_bases': 'string[]?',
|
|
693
701
|
'fuli_usage_generation': 'integer?', 'fuli_utility_score': 'float?',
|
|
694
702
|
'fuli_workflow_condition_json': 'string?',
|
|
695
703
|
'fuli_workflow_confirmation_authority': 'workflow_confirmation_authority?',
|
|
@@ -6,14 +6,22 @@ Earlier FULI shipped Bole with the `management` occupation and named `hr`
|
|
|
6
6
|
migration changes them, and only where the stored value is still exactly
|
|
7
7
|
what FULI shipped: a role or a text a person changed stays as they left it.
|
|
8
8
|
The key stays `hr`, so roles, tags and staffing history keep pointing at it.
|
|
9
|
+
|
|
10
|
+
graph/16: Jefa and Tonborg, who also shipped with `management`, hold their own
|
|
11
|
+
built-in occupations, `project_manager` and `decision_maker`. Only an identity
|
|
12
|
+
still on exactly the shipped role moves. `management` itself stays in the
|
|
13
|
+
catalog, and an Agent of a person's that holds it keeps it. The two new rows
|
|
14
|
+
need no step: `_ensure_occupation_catalog` adds a missing built-in to a space
|
|
15
|
+
on its next read, and until then the role is accepted as a built-in key.
|
|
9
16
|
"""
|
|
10
17
|
|
|
11
18
|
from .graph_format_journal import RecordJournal, RecordTouch
|
|
12
19
|
from .occupation_catalog import BUILTIN_AGENT_OCCUPATIONS, BUILTIN_OCCUPATIONS, TEXT_FIELDS
|
|
13
20
|
from .provider_values import now_utc
|
|
14
|
-
from .system_agents import SYSTEM_HR_AGENT_ID
|
|
21
|
+
from .system_agents import SYSTEM_COORDINATOR_AGENT_ID, SYSTEM_HR_AGENT_ID, SYSTEM_JUDGMENT_AGENT_ID
|
|
15
22
|
|
|
16
23
|
SHIPPED_BOLE_ROLE = 'management'
|
|
24
|
+
SHIPPED_JEFA_TONBORG_ROLE = 'management'
|
|
17
25
|
SHIPPED_HR_TEXT = {
|
|
18
26
|
'name_zh': '人力资源',
|
|
19
27
|
'name_en': 'Human resources',
|
|
@@ -42,6 +50,11 @@ _SHIPPED_HR = (
|
|
|
42
50
|
+ ' OR '.join(f'item.{field} = {_literal(text)}' for field, text in SHIPPED_HR_TEXT.items())
|
|
43
51
|
+ ') '
|
|
44
52
|
)
|
|
53
|
+
_SHIPPED_ROLES = (
|
|
54
|
+
'MATCH (item:FuliProjectAgent) WHERE item.agent_id IN ['
|
|
55
|
+
+ ', '.join(_literal(agent_id) for agent_id in (SYSTEM_COORDINATOR_AGENT_ID, SYSTEM_JUDGMENT_AGENT_ID))
|
|
56
|
+
+ f'] AND item.occupation_role = {_literal(SHIPPED_JEFA_TONBORG_ROLE)} '
|
|
57
|
+
)
|
|
45
58
|
_HR_FIELDS = ',\n'.join(
|
|
46
59
|
f'item.{field} = CASE WHEN item.{field} = $shipped.{field} THEN $current.{field} ELSE item.{field} END'
|
|
47
60
|
for field in TEXT_FIELDS
|
|
@@ -78,3 +91,22 @@ BUILTIN_OCCUPATION_JOURNAL = RecordJournal(touches=(
|
|
|
78
91
|
RecordTouch('node', _SHIPPED_BOLE, ('occupation_role', 'occupation_updated_at')),
|
|
79
92
|
RecordTouch('node', _SHIPPED_HR, (*TEXT_FIELDS, 'revision', 'updated_at')),
|
|
80
93
|
))
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
async def pending_role_occupations(driver, _settings) -> list[str]:
|
|
97
|
+
"""Jefa and Tonborg identities still on the shipped role."""
|
|
98
|
+
records, _, _ = await driver.execute_query(_SHIPPED_ROLES + 'RETURN item.id AS key', routing_='r')
|
|
99
|
+
return sorted(str(record['key']) for record in records)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
async def apply_role_occupations(driver, _settings, *, apply_id=None) -> None:
|
|
103
|
+
# A new occupation time, as for Bole: staffing demand counts only the work since it.
|
|
104
|
+
await driver.execute_query(
|
|
105
|
+
_SHIPPED_ROLES + 'SET item.occupation_role = $roles[item.agent_id], item.occupation_updated_at = $now',
|
|
106
|
+
roles=BUILTIN_AGENT_OCCUPATIONS, now=now_utc(),
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
ROLE_OCCUPATION_JOURNAL = RecordJournal(touches=(
|
|
111
|
+
RecordTouch('node', _SHIPPED_ROLES, ('occupation_role', 'occupation_updated_at')),
|
|
112
|
+
))
|
|
@@ -152,6 +152,24 @@ GRAPH_MIGRATIONS = (
|
|
|
152
152
|
"knowledge newer knowledge may replace, queued for a person (revision action 'possibly_outdated')",
|
|
153
153
|
fields_only=True,
|
|
154
154
|
),
|
|
155
|
+
_records(
|
|
156
|
+
'graph/16-builtin-role-occupations', 16, 'rewrite',
|
|
157
|
+
"Jefa's built-in occupation becomes Project manager and Tonborg's Decision maker; "
|
|
158
|
+
'a role a person changed stays',
|
|
159
|
+
builtin_occupations.pending_role_occupations,
|
|
160
|
+
builtin_occupations.apply_role_occupations,
|
|
161
|
+
builtin_occupations.ROLE_OCCUPATION_JOURNAL,
|
|
162
|
+
),
|
|
163
|
+
GraphMigration(
|
|
164
|
+
'graph/17-semantic-vectors', 17, 'schema',
|
|
165
|
+
'an optional meaning vector on entities and relationships, with its model and text hash',
|
|
166
|
+
fields_only=True,
|
|
167
|
+
),
|
|
168
|
+
GraphMigration(
|
|
169
|
+
'graph/18-retrieval-terms', 18, 'schema',
|
|
170
|
+
'optional retrieval terms and context on entities and relationships, with the hash of the words they came from',
|
|
171
|
+
fields_only=True,
|
|
172
|
+
),
|
|
155
173
|
)
|
|
156
174
|
|
|
157
175
|
GRAPH_FORMAT_VERSION = GRAPH_MIGRATIONS[-1].to_version
|
|
@@ -21,6 +21,7 @@ from .personal_project_access import authorize_personal_project
|
|
|
21
21
|
from .provider_values import (
|
|
22
22
|
json_object,
|
|
23
23
|
native_datetime as _native_datetime,
|
|
24
|
+
preference_key,
|
|
24
25
|
preference_qualifiers,
|
|
25
26
|
)
|
|
26
27
|
from .project_knowledge import (
|
|
@@ -600,12 +601,7 @@ def _graph_node(
|
|
|
600
601
|
group_id=record['group_id'],
|
|
601
602
|
summary=record['summary'],
|
|
602
603
|
key=record.get('key') or record['id'],
|
|
603
|
-
preference_key=(
|
|
604
|
-
attributes.get('preferenceKey')
|
|
605
|
-
or attributes.get('preference_key')
|
|
606
|
-
or record.get('key')
|
|
607
|
-
or record['id']
|
|
608
|
-
),
|
|
604
|
+
preference_key=preference_key(attributes, record.get('key'), record['id']),
|
|
609
605
|
preference_qualifiers=preference_qualifiers(attributes),
|
|
610
606
|
origin_quadrant=record.get('origin_quadrant') or 'known_known',
|
|
611
607
|
current_quadrant=record.get('current_quadrant') or 'known_known',
|
|
@@ -720,12 +716,7 @@ def _graph_edge(
|
|
|
720
716
|
type=record['type'],
|
|
721
717
|
fact=record['fact'],
|
|
722
718
|
key=record.get('key') or record['id'],
|
|
723
|
-
preference_key=(
|
|
724
|
-
attributes.get('preferenceKey')
|
|
725
|
-
or attributes.get('preference_key')
|
|
726
|
-
or record.get('key')
|
|
727
|
-
or record['id']
|
|
728
|
-
),
|
|
719
|
+
preference_key=preference_key(attributes, record.get('key'), record['id']),
|
|
729
720
|
preference_qualifiers=preference_qualifiers(attributes),
|
|
730
721
|
origin_quadrant=record.get('origin_quadrant') or 'known_known',
|
|
731
722
|
current_quadrant=record.get('current_quadrant') or 'known_known',
|