Repository navigation
Conversation
File paths and timestamps come from the caller and can enter the extraction queue. Classify both values as transcript content so intake and erasure use the same refusal checks. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Nov 29, 2026
This branch has not been deployed
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.
Related: #1744
Changelog category
Changelog entry
Why
The extraction field-classification check fails for
changed_files. File paths and timestamps come from the caller and can be written to the extraction queue. Apply the transcript refusal check to both values.Scope and risk
The shared transcript reader supplies the values to inline extraction, queue intake and queue transitions. Erasure captures the same values as fingerprints. Each field follows the existing refusal policy and work limit.
Compatibility, rollout and rollback
The next server build applies the check using the existing request schema. Rollout needs no operator steps. Revert the commit to restore the earlier intake behavior.
Tests
LOOM_ENV_FILE= .venv/bin/python -m pytest -q tests/unit/test_memory_refusals.py tests/unit/test_extraction_queue.py tests/unit/test_fix_record.py -n 4 -p randomly --randomly-seed=462406552181 --cov=server --cov=sdk/python/loom --cov-branch --cov-report=AI assistance in the code
Checklist
Note
Low Risk
Narrow refusal-policy extension for caller-supplied file metadata using the existing extraction intake checks; no new APIs or auth changes.
Overview
Treats
changed_filesas extraction content for field classification and for the shared transcript refusal path.EXTRACTION_CONTENT_FIELDSnow includeschanged_files, andtranscript_contentpulls each entry’spathandmodified_atinto the same fingerprint/refusal scan as messages and tags. Unit tests cover refused text in both fields through queue, transition, and erasure capture paths.Reviewed by Cursor Bugbot for commit 2b23a5a. Bugbot is set up for automated code reviews on this repo. Configure here.