Skip to content

fix: NOR2-194: set_document_governance posts its step to Compass's _change [kyle-agent] - #266

Merged
kyleking-cohere merged 1 commit into
data-governancefrom
kyle/nor2-194-sdk-change-path
Nov 29, 2026
Merged

kyleking-cohere merged 1 commit into
data-governancefrom
kyle/nor2-194-sdk-change-path

Conversation

@kyleking-cohere

Copy link
Copy Markdown

Part of NOR2-194.

#265 made set_document_governance send a saved-change step ({actor, change, phase}) but kept the old route, /_governance, which takes the writer-token relabel body. Compass takes steps at POST /v1/indexes/{index}/documents/{id}/_change (cohere-ai/compass#4189). This points the call there. 2.23.1.

Tests: the 68 governance tests pass; ruff and pyright clean.

@kyleking-cohere
kyleking-cohere requested a review from a team as a code owner November 29, 2026 09:56
@kyleking-cohere
kyleking-cohere requested review from CelineWei-cohere and removed request for a team November 29, 2026 09:56
@cla-assistant

cla-assistant Bot commented Nov 29, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@kyleking-cohere
kyleking-cohere merged commit c14ef56 into data-governance Nov 29, 2026
5 of 6 checks passed
@kyleking-cohere
kyleking-cohere deleted the kyle/nor2-194-sdk-change-path branch November 29, 2026 10:00
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