Skip to content

Extraction refusal checks include changed-file data - #1747

Open
zlareb1 wants to merge 1 commit into
mainfrom
fix/ci-changed-file-refusal
Open

zlareb1 wants to merge 1 commit into
mainfrom
fix/ci-changed-file-refusal

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Related: #1744

Changelog category

  • CI Fix or Improvement

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

  • Local format, lint and type checks pass. The full format check uses the adoption-page formatter fix from The format, unit and statement-shape regression checks pass #1706 locally.
  • The field-classification assertion fails on clean main and passes with the fix. Main unit job
  • 267 focused tests pass, including the queue, transition and erasure cases for each changed-file field.
  • 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

  • AI-generated. Codex reproduced the CI assertion and verified the intake, queue and fingerprint paths.

Checklist

  • The focused suite passes locally. The hosted workflow runs the full suites.
  • The commit is signed off.

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_files as extraction content for field classification and for the shared transcript refusal path.

EXTRACTION_CONTENT_FIELDS now includes changed_files, and transcript_content pulls each entry’s path and modified_at into 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.

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>
@vercel

vercel Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
loom-docs Ready Ready Preview Nov 29, 2026 8:54am UTC
loom-telemetry Ready Ready Preview Nov 29, 2026 8:54am UTC

Request Review

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant