Require regression evidence before publishing selected knowledge changes
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 12/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- ai-infra-agents, backend, documentation
Research direction
This is a design-scale feature spanning knowledge revision, evaluation evidence and publication policy; the issue body is the spec, not a pointer to code. Start by reading the existing procedure revision gates in server/memory/app/procedure_evolve.py as the pattern to reuse, then the revision and publication paths for memory claims and documents plus the related issues #1148, #1149 and pull request #1103. Done means the first acceptance scenario — a candidate that fixes one case and breaks another, blocked from publication until both pass on the same revision and a reviewer approves — works end to end across the dashboard, API and SDKs. Expect to spend significant time reading around before any code is written.
Written by the indexing model from the issue text.
Description
Component
Knowledge (documents)
Use case
A correction to a shared revenue definition fixes one agent's report but changes how another report treats refunds. The correction has a citation and a reviewer, yet nobody checks the other cases that depend on the definition before publishing it.
Teams need repeatable checks for important knowledge changes, alongside source review and later outcome measurement.
Describe the solution you'd like
Let maintainers attach a small regression suite to selected knowledge and require passing evidence before publishing a new revision.
Start with maintained memory claims and documents. A suite records representative questions or tasks, expected behavior and cases where the agent should decline to answer. An existing external evaluation runner executes it; Loom stores the suite, results and publication decision.
Acceptance criteria:
- A maintainer can version a suite and associate it with selected knowledge. Each case has a clear expectation or rubric. The suite and its expected answers have their own access controls.
- Evaluation evidence identifies the exact candidate content, suite revision, runner and relevant model/configuration. Results include per-case failures and unavailable checks. Evidence for different content or an older suite cannot satisfy the current requirement.
- Where an owner enables a publication requirement, failed, missing or outdated evidence leaves the candidate unpublished. Apply the requirement across the supported publication paths for that artifact so another write route cannot silently skip it. Disabling the requirement is an explicit, audited policy change.
- Passing checks never grants approval. Existing permissions, independent human review, pins, locks and conflict rules still apply.
- Reviewers can compare the candidate with the published revision on the same cases, inspect regressions and see what the suite does not cover. A passing suite is not displayed as proof of general correctness.
- The first delivery accepts results from an authorized external runner. It does not start paid evaluations, replay production actions or require a new execution service. Drafting and ordinary recall incur no evaluation calls.
- Applying a reviewed candidate rechecks its content, suite and policy revisions. Concurrent changes require fresh evidence. The dashboard, API and SDKs show the same decision and retain authorized audit history.
The first acceptance scenario should contain a candidate that fixes one case and breaks another. Publication remains blocked until both pass on the same candidate revision and the required reviewer approves it.
Describe alternatives you've considered
Human review can judge sources and intent but is difficult to repeat consistently across every affected case.
Procedure revision gates already compare graded runs and costs. Reuse their evidence conventions where appropriate; a procedure graph and a document revision need different checks.
Measuring later outcomes is still necessary. It cannot prevent a known regression from being published.
Where the need comes from
An AI tool suggested this feature
Additional context
Feature proposal based on source and issue review. No evaluation was run and no publication failure was reproduced.
- #1148 prepares reviewed corrections. This issue adds reusable checks before a selected correction is published.
- #1149 records revision-specific exposure and outcomes. Reuse its evidence contract when available; publication checks and later production outcomes remain separate.
- #1143 provides the version contract for skill artifacts. Skill-package checks can follow once that contract exists.
- Preserve the independent human approval implemented in #1103.
- Existing procedure revision gates are a starting point, rather than a second implementation to copy.
- Dominant language
- Python
- Stars
- 221
- Forks
- 35
- Avg merge
- 14h 21m
- Merged PRs (30d)
- 873
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ClickHouse/loom
-
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
ClickHouse/loom#2014 ·
Maintainers usually reply within 1 day
-
Options of loom period-digest, reextract, reconcile-status and demote-activity-narration print no help textPossibly taken @VanshajPoonia claimed this today. Openbug good first issue help wanted up-for-grabs
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/loom#1988 · 1 comment ·
Maintainers usually reply within 1 day
-
A compiler-tier checkout fetch from a shallow mirror never records its headPossibly taken @KaloyanNaumov claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
ClickHouse/loom#2016 ·
Maintainers usually reply within 1 day
-
Delta workers fetch the compiler-tier checkout under a hard-coded 600 s limitPossibly taken @KaloyanNaumov claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 35/100
ClickHouse/loom#2012 ·
Maintainers usually reply within 1 day
-
loom participant retire cannot retire an orphaned participant after container replacement or host rebootPossibly taken @l0K1ngg claimed this today. Openbug help wanted up-for-grabs
Difficulty 4/5 3-5 days Newbie friendliness 48/100
ClickHouse/loom#2007 · 2 comments ·
Maintainers usually reply within 1 day
Similar issues
-
DMB documentation good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ubuntu/ubuntu-project-docs#921 ·
Maintainers usually reply within 1 day
-
⏳ Pending feedback 🐛 Bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
jumpserver/jumpserver#18282 · 1 comment ·
Maintainers usually reply within 1 day
-
accepted
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
future-agi/future-agi#5274 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
GenericMappingTools/pygmt#5014 · 1 comment ·
Maintainers usually reply within 1 day