Self-hosted project management for devs and their clients: tickets, time tracking, docs and meetings, with an AI assistant that cites its sources. AGPL-3.0.
Ruby agplai-assistantdockerdsgvogdprhotwireissue-trackerjira-alternativeknowledge-basellmmcp-servermeeting-notesopen-sourceproject-managementredmine-alternativeruby-on-railsself-hostedticketingtime-tracking
Pin that the people search never reads the notes
Guido Boykefe5b0e14f1a2
diff --git a/spec/services/people/lookup_spec.rb b/spec/services/people/lookup_spec.rbindex 13d254d..69146cf 100644--- a/spec/services/people/lookup_spec.rb+++ b/spec/services/people/lookup_spec.rb@@ -95,6 +95,14 @@ RSpec.describe People::Lookup, :ci_guard doexpect(names(lookup.find(query: 'techn', limit: 10))).to eq(['Doris Dienstleister'])end+ # The notes go out on the REST card only (S3b E2). A search that read them would answer+ # "who has this word in the notes" on every path, MCP and the assistant included. The same+ # person is found by a field first, so the empty answer is not an empty directory.+ it 'never searches the notes' do+ expect(names(lookup.find(query: 'leitung', limit: 10))).to eq(['Doris Dienstleister'])+ expect(lookup.find(query: 'vormittags', limit: 10).total).to eq(0)+ end+it 'filters by kind' doexpect(names(lookup.find(kind: 'members', limit: 10))).to eq(['Carl Kollege', 'Vera Viewer'])expect(names(lookup.find(kind: 'contacts', limit: 10))).to eq(['Doris Dienstleister'])