Skip to content

fix(integrations): rebuild the Cindy and DSH pet bundles from current sources - #2637

Merged
hidb4ai merged 1 commit into
oceanbase:masterfrom
Fengzdadi:fix/regenerate-dsh-bundles
Nov 14, 2026
Merged

hidb4ai merged 1 commit into
oceanbase:masterfrom
Fengzdadi:fix/regenerate-dsh-bundles

Conversation

@Fengzdadi

Copy link
Copy Markdown
Collaborator

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:

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 on master both builds change their output and the freshness checks fail:

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 build in the DSH plugin, and the Cindy tsdown config that make cindy-test runs. No source, test or documentation changes.

  • Cindy worker: containsSecret applies the shared prompt-privacy rule (tests/fixtures/automatic_prompt_privacy.json) instead of the substrings sk-, api_key and BEGIN PRIVATE. Cindy calls it for tool-call queries and before capture. Its separate checks for the configured credential and for Bearer and GitHub token shapes are unchanged.
  • DSH pet bundle:
    • The same containsSecret change. The pet uses it to filter recall evidence, captured turns and queued records.
    • The check_context header parameter. The pet does not call check_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.

  • Text that only contains a marker inside a word, such as task-runner, is no longer treated as a secret.
  • Credential assignments, Authorization and Cookie headers, 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?

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.

… 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`.

@hidb4ai hidb4ai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@hidb4ai
hidb4ai merged commit 195be9b into oceanbase:master Nov 14, 2026
41 checks passed
@hidb4ai hidb4ai added the 1.5.2 v1.5.2 release tracking label Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.5.2 v1.5.2 release tracking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants