Skip to content

Release/0.2.0#11

Merged
sakurablush merged 14 commits into
mainfrom
release/0.2.0
Jun 18, 2026
Merged

Release/0.2.0#11
sakurablush merged 14 commits into
mainfrom
release/0.2.0

Conversation

@sakurablush

Copy link
Copy Markdown
Owner

[0.2.0] - 2026-06-18

Added

  • normalizeGuardText() — strips zero-width characters and folds common Cyrillic homoglyphs before injection/keyword guards.
  • GitHub Release automation on tag publish (scripts/extract-changelog-section.mjs + softprops/action-gh-release).
  • Extended shieldStreamText tests (strict injection block on stream path, homoglyph block, audit lifecycle).
  • Unit tests for scripts/extract-changelog-section.mjs (release notes extraction).

Changed

  • Security: inj-010 (homoglyph) and inj-011 (zero-width) adversarial fixtures now expect_block in all modes.
  • npm run demo — 9-section tour with 31 automated checks (PASS/FAIL + audit evidence); homoglyph/zero-width/stream evasion blocks.
  • examples/agent-with-tools.ts — Ollama smoke with audit evidence and exit 1 on failure.
  • Publish helpers (scripts/publish.sh, scripts/publish.ps1) — note tag push creates npm release + GitHub Release via CI.
  • Input guardrails documents normalizeGuardText() before pattern matching.
  • Test inventory: 163 tests in merge gate (38 files).
  • README: npm run demo quick start, npm provenance badge.
  • Getting started: full feature demo section.

Security

  • Injection and keyword guards normalize prompt text before pattern matching (PII guards unchanged).

Add normalizeGuardText() before injection/keyword matching. inj-010 and inj-011 now expect_block in adversarial corpus.
Add extract-changelog-section.mjs and softprops/action-gh-release after npm publish. Document automated release in npm-publishing guide.
Assert strict injection blocks stream path via request.blocked audit. Sync docs to 155 tests / 37 files.
Align local-testing, contributing, and onboarding skills with the 31-check demo tour, homoglyph evasion cases, and release changelog extract. Update cursor-skills.md, docs README, and publish workflow README.
Refresh the docs landing page with v0.2.0 highlights, demo CTA, logo, custom theme styling, search, and nav. Add stable anchor for the full feature demo example.
Scope CHANGELOG rule to library files instead of alwaysApply. Make Aether personas manual @-only. Auto-load contributing and docs skills via paths; keep onboarding and local-testing as explicit /slash skills. Document trigger matrix in cursor-skills.md.
Add pre-commit-quality-gate rule and paired skills for CI gate, release versioning, end-to-end ship-release, and review-before-merge (Bugbot). Inspired by banal repo patterns; document in cursor-skills.md.
Clarify normalizeGuardText as internal in CHANGELOG, document VitePress and Cursor DX in 0.2.0 notes, drop pinned version from docs footer, and set GitHub Release title to shieldkit v<tag>.
@sakurablush
sakurablush merged commit 7ea668a into main Jun 18, 2026
8 checks passed
@sakurablush
sakurablush deleted the release/0.2.0 branch June 18, 2026 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant