Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Keeper triages results with a decision model

Đang mở
#64 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
ai, backend

Hướng nghiên cứu

Start with parent issue #21 and the prerequisite #63, then trace the existing triage flow, Scout registration, run recording, model gate, settings path, and research note handling. The issue specifies unit, handler, client, and TestWiki integration tests; done means the Keeper replaces Scout triage, its calls and verdicts appear in Runs, kept results produce notes with quotes, and the listed documentation and settings are updated.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement ready-for-agent

Parent

#21

What to build

The Keeper, a decision model served by llama-server's /v1/systemone, takes over judging fetched results from the Scout. It keeps or discards each result from probabilities, flags injection attempts and picks exact quotes. Kept results still become one research note per topic. Until the Clerk lands (next ticket), notes carry title, URL, kind and quotes without a summary, and the Scout is no longer run.

Acceptance criteria

  • A Keeper port (e.g. IKeeper) with a /v1/systemone client, configured with the model name on the shared llama-server (router mode) or its own endpoint, and generous timeouts; it is not an AIAgent
  • One call per fetched result: state = topic brief plus delimited fetched content; questions useful (noul), kind (choice with described options: release, announcement, discussion, tutorial, opinion, beginner question, spam, unrelated), injection (noul) and quotes (choice over the content's paragraphs, top three, length-capped in code)
  • Kept when useful ≥ Research:KeepThreshold and injection < Research:InjectionThreshold; the verdict stores the probabilities, kind and quotes; a discard's reason is derived in code
  • A failed or timed-out call leaves the result waiting for the next cycle; a page that could not be fetched is discarded without a call, as today
  • Each call is recorded as a run (Triage trigger, no tool calls) and shows on the Runs page with its probabilities
  • Calls go through the model gate ahead of Pleb runs and count against a per-cycle cap; the cycle is skipped when the model server is unhealthy
  • Research notes hold title, URL, kind and quotes per kept result, never page text; existing header, file naming and awaiting/completed moves unchanged
  • New settings and AppHost parameters (model, thresholds, cap) follow the usual path: AppHost, CD workflow env: with || 'default' fallbacks, scripts/setup-github.ps1
  • The Scout is no longer run by triage (its registration is removed in the Clerk ticket)
  • docs/ubiquitous-language.md gains Keeper; Verdict, Triage and Research note updated; README research section updated
  • Unit tests: threshold and injection rules, quote capping and derived reasons as pure policies; handler tests with a substituted Keeper cover keep, discard, injection, failure/resume and aggregation; the client tested with a substituted HttpMessageHandler
  • Integration test over TestWiki with a scripted Keeper drops the expected note in the inbox

Blocked by

  • #63
Ngôn ngữ chính
C#
Star
0
Fork
0
Merge trung bình
40 phút
Pull request đã merge (30 ngày)
47

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DigiBanks99/knowledge-base

Tất cả issue của DigiBanks99/knowledge-base

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.