Skip to content

fix: declare system prompt injection - #1

Merged
codingDuan merged 1 commit into
mainfrom
fix/system-prompt-injection
Aug 21, 2026
Merged

codingDuan merged 1 commit into
mainfrom
fix/system-prompt-injection

Conversation

@codingDuan

Copy link
Copy Markdown
Owner

Root cause

dsh-plugin-xquant@0.1.0 accessed ctx.systemPrompt without declaring the Cordis dependency, causing dsh Web profile boot to fail.

Fix

  • export inject = ["systemPrompt"]
  • add a regression test for the injection contract
  • extend the smoke test to start an isolated dsh Web profile after installation
  • bump the package to 0.1.1

Verification

  • pnpm test (10 passing)
  • pnpm run typecheck
  • pnpm run build
  • pnpm run test:smoke (includes real profile boot)

@codingDuan
codingDuan merged commit ec44b56 into main Aug 21, 2026
1 check passed
@codingDuan
codingDuan deleted the fix/system-prompt-injection branch August 21, 2026 02:28
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