Commit Graph
8 Commits
Author SHA1 Message Date
claude-botandClaude Opus 5.5 82d70e4c60 feat(host): house encyclopedia pages with anonymous public view
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 09:27:40 +01:00
claude-botandClaude Fable 5.1 09ec2cf1d9 feat(ui): Facts page deposits a raw source under the signed-in user
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
Same DepositFactUseCase as POST /api/v1/facts, attributed as a human
identity from the Authentik proxy header. Cascading authentication state
carries the principal into the Blazor circuit; without a signed-in user
the form is replaced by a notice. Lists the raw sources awaiting the
nightly distill.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-25 08:24:00 +02:00
claude-botandClaude Fable 5.1 707c5f50a7 Merge branch 'feat/answer-model' into feat/lab
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
Both phases register their use cases and map their endpoints in the same host
files. The lab host test asserted exactly one labelled query, which held only
while no other test in the shared fixture wrote to output/; it now checks the
seeded query is among the rows.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-24 16:53:49 +02:00
claude-botandClaude Fable 5.1 e6f5c80a3a feat(questions): answer questions from wiki evidence with an answer model
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
POST /api/v1/questions runs ask (rank + judge), selects the paragraphs that
carry probability mass, and streams one answer-model call over them. Below
the coverage gate no model is called and the response names the gap. With
save: true (signed-in user or API key) the answer lands in output/ as a
synth-shaped document with sources, confidence and the answering model.

The Answers page streams the same use case and lists saved answers.
Anthropic is the first IAnswerModel adapter; the answer model is chosen per
request or from Wiki:AnswerModels:Active.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-24 16:42:18 +02:00
claude-botandClaude Sonnet 5 23c891db8f feat(lab): rank evaluation use case, API and Lab page
Adds EvaluateUseCase, the C# port of bin/wiki_rank_eval.py: every output/
document with a question and a sources list labels a query, gold is the
cited slugs that still exist as wiki notes, and RankUseCase ranks each
one to report recall@k, hit-rate@k, MRR and a one-hop recall variant that
also credits a gold note reachable from a top-k note by wikilink or
related:. Exposes it as POST /api/v1/lab/eval (write-policy) and a new
/lab page for running it against any registered embedding model and
comparing runs side by side.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-24 16:39:53 +02:00
claude-botandClaude Sonnet 5 123850f975 feat(ui): add MudBlazor read pages for search, notes, browse, raw, reports and maintenance
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
Adds /  (search, with recent notes as default view), /notes/{slug}, /browse,
/raw/{slug}, /reports/{slug} and /maintenance, all InteractiveServer, built on
NoteQueries and IEmbeddingModel injected directly (no HTTP). Moves the former
status page from / to /status and factors its markup into a shared
StatusPanel used by both /status and /maintenance. Adds a MudDrawer/NavMenu
nav in MainLayout.

Wikilinks ([[slug]], [[slug|alias]], [[slug#heading]]) are rewritten to note
links (or a muted "no such note" span when unresolved) by a new
Wiki.Host.Rendering.WikiMarkdown, before the body goes through Markdig with
DisableHtml() so note content can't inject script. Fenced code blocks and
inline code spans are left untouched. Covered by WikiMarkdownTests.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-24 13:57:14 +02:00
claude-botandClaude Fable 5.1 af58249bc5 host: composition root, health/ready/status, /rank and /webhook, auth handlers, MudBlazor status page, Dockerfile, CI pipelines
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-24 11:33:56 +02:00
claude-botandClaude Fable 5.1 30f2dec1f2 chore: solution scaffold (net10.0, ports-and-adapters layout, MudBlazor host, xunit)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-24 11:19:40 +02:00