feat: Add specification for anti-hallucination v0#100
Merged
Conversation
33c77c5 to
41d6755
Compare
6210248 to
d1662db
Compare
d1662db to
d8633b4
Compare
Signed-off-by: Romuald <Romuald.priol@protonmail.com>
d8633b4 to
cb73e51
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
0.8.7 — Anti-hallucination program + usage/cost panel + test-coverage push + CI hardening
added
agent surface incl. Ollama), off | warn | enforce mode (Settings + config.toml). Post-output lint with 2 tiers: cheap
unsourced-claim heuristic (EN/FR) + mechanical [src: …] citation verification (path-jailed, line-bounds-checked,
ungameable). Per-message pill (red=fabricated, amber=unsourced, green ✓=verified) + detail panel. Migration 062
(messages.lint_report)
inserts/refreshes a kronn:section block (no LLM call), runtime preambles collapse to pointers, legacy projects adopt
it in 1 click (/anti-hallu/status|inject + ProjectCard badge). Open convention spec served at
/api/conventions/agents-md-format-v1
viewer. "Strict" tagged "(preview · 0.8.8)" with a disclosure toast (behaves like Warn until write-refusal ships)
of detected CLIs from their local logs (replaces the ~6× over-estimating estimate_cost). Daily/weekly/monthly toggle,
per-agent chips, paginated history
terminal status with next_check hint) — completes the mobile remote-control surface
kronn-doc-author skill (provenance grammar cheat-sheet, auto-triggers on AGENTS.md edits)
(Lines 57.76% → 59.16%). New pre-seed handler test pattern (~7× the wrong-id-sweep ratio). 0%-coverage modules now
covered: crypto, auth middleware, db/mcps, reconciliation, error-hint, Settings cards
(DebugSection/OllamaCard/ProfilesSection/Identity/Usage), lib/api.ts (24%→48%)
fixes
queueMicrotask release, 5 tests
perso GitHub key detected"); per-source failures surfaced as amber chips instead of swallowed in logs
(via resolve_host_path) instead of jailed to one project root (broke linked_repos/monorepo citations); relative paths
still jailed
workflow discs showed 400+ instead of ~52
seed row-count diff); create_batch_run FK-violation rollback pinned
lcov writeback); 8 TS build errors in new tests
before fix"
ci
pre-baked, zero cdn.playwright.dev download (that CDN TCP-half-closed after 100% and hung the job to timeout, 3× in
project history)
--fail-under-regions 78, frontend coverage.thresholds {statements 55 / branches 50 / functions 47 / lines 58}
backend/coverage/