Repository navigation
fix(integrations): rebuild the Cindy and DSH pet bundles from current sources - #2637
Merged
Merged
Conversation
… sources Three pull requests merged on 11-13 within four minutes. oceanbase#2608 added the committed DSH pet bundle. oceanbase#2516 added the `X-PowerContext-Resolve-Target` header parameter to `check_context` in the generated operation table. oceanbase#2625 changed `containsSecret` in the DSH plugin's `src/secrets.ts`. The Cindy worker and the DSH pet bundle include those modules, and neither committed bundle was rebuilt for the combination. So `make cindy-test` and `make js-test` fail their freshness checks on master and on every pull request that selects those suites. Only the two bundles are regenerated, with the existing builds. Their credential checks now follow the shared prompt-privacy rule, as their sources have since oceanbase#2625. The pet does not call `check_context`.
Fengzdadi
requested review from
PsiACE,
knqiufan and
yihong0618
as code owners
November 13, 2026 20:55
hidb4ai
approved these changes
Nov 14, 2026
hidb4ai
left a comment
Contributor
There was a problem hiding this comment.
Reviewed 3369f26. No blocking findings. Both bundles reproduce byte-for-byte from the existing sources, restoring generated-artifact freshness and the intended credential detection. No new database tables or public interfaces are introduced; the resolve-target header already exists in the base contract and generated source.
hireview001
approved these changes
Nov 14, 2026
2 tasks done
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.
Which issue or RFC does this PR close?
No issue. This PR repairs two generated bundles that are stale on
master.Rationale for this change
Three pull requests merged on 11-13 within four minutes, each green on its own base:
integrations/dsh/plugins/dsh-pet/lib/index.js.X-PowerContext-Resolve-Targetheader parameter tocheck_contextin the generated operation table.containsSecretin the DSH plugin'ssrc/secrets.ts.The DSH pet bundle and the Cindy worker,
integrations/cindy/plugins/powercontext-hooks/node/worker.cjs, include those modules. Neither committed bundle was rebuilt for the combination, so onmasterboth builds change their output and the freshness checks fail:make cindy-test(cindy-package) on the Cindy worker. fix(dsh): apply the shared prompt-privacy rule to automatic recall and capture #2625's owncindy-packagerun failed this way; it finished after the merge.make js-test(dsh-package) on the DSH pet bundle.Every pull request that selects these suites fails them, including any change under
src/**, which[shared.runtime]maps to both.What changes are included in this PR?
The two bundles, regenerated with the existing builds:
pnpm buildin the DSH plugin, and the Cindytsdownconfig thatmake cindy-testruns. No source, test or documentation changes.containsSecretapplies the shared prompt-privacy rule (tests/fixtures/automatic_prompt_privacy.json) instead of the substringssk-,api_keyandBEGIN PRIVATE. Cindy calls it for tool-call queries and before capture. Its separate checks for the configured credential and forBearerand GitHub token shapes are unchanged.containsSecretchange. The pet uses it to filter recall evidence, captured turns and queued records.check_contextheader parameter. The pet does not callcheck_context.Two open pull requests already contain the same regenerated content, with identical blobs. Whichever of the three merges first, the other two then find the same content already on
master:Are there any user-facing changes?
Yes, for the Cindy adapter and the DSH pet memory adapter: credential detection matches DSH's automatic paths.
task-runner, is no longer treated as a secret.AuthorizationandCookieheaders, bearer and provider tokens, and private keys are.Their sources have had this behavior since #2625; the committed bundles did not include it.
How was this change tested?
master(9924bb4), the DSH plugin build and the Cindy build each change exactly these two files, so both freshness checks fail there.make cindy-test: build, freshness, Node tests, package.make js-test: install, unit tests, build,lib/and pet freshness, pet tests, e2e.make check.check_context, which the pet never calls.AI usage statement
Claude Code (Claude Opus 5.5) found the stale bundles, regenerated them, ran the checks, and wrote this description. It also reviewed the diff before this PR was opened.