From 0392f1062e68edeab555b1e5b446e67bd3c0cd07 Mon Sep 17 00:00:00 2001 From: Kjell Tore Guttormsen Date: Fri, 1 May 2026 18:07:51 +0200 Subject: [PATCH] =?UTF-8?q?chore(ai-psychosis):=20bump=20version=201.0.0?= =?UTF-8?q?=20=E2=86=92=201.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- .../ai-psychosis/.claude-plugin/plugin.json | 2 +- plugins/ai-psychosis/CHANGELOG.md | 43 +++++++++++++++++++ plugins/ai-psychosis/CLAUDE.md | 2 +- plugins/ai-psychosis/README.md | 2 +- 4 files changed, 46 insertions(+), 3 deletions(-) diff --git a/plugins/ai-psychosis/.claude-plugin/plugin.json b/plugins/ai-psychosis/.claude-plugin/plugin.json index 5a070b7..be4d6ee 100644 --- a/plugins/ai-psychosis/.claude-plugin/plugin.json +++ b/plugins/ai-psychosis/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "ai-psychosis", - "version": "1.0.0", + "version": "1.1.0", "description": "Meta-awareness tools for healthy AI interaction patterns. Detects reinforcement loops, scope escalation, narrative crystallization, and other compulsive patterns.", "author": { "name": "Kjell Tore Guttormsen" }, "license": "MIT", diff --git a/plugins/ai-psychosis/CHANGELOG.md b/plugins/ai-psychosis/CHANGELOG.md index 1f87c75..c629486 100644 --- a/plugins/ai-psychosis/CHANGELOG.md +++ b/plugins/ai-psychosis/CHANGELOG.md @@ -2,6 +2,48 @@ All notable changes to this project will be documented in this file. +## [1.1.0] — 2026-05-01 + +### Added + +- **12 pushback patterns** — detects "you're wrong, my way is right" + signals that suggest the user is reinforcing their own position + rather than receiving feedback (e.g. `\b(you'?re|you are) wrong\b`, + `\bdo it my way\b`, `\b(stop|quit) (arguing|pushing back)\b`). +- **4 domain-context patterns** — flags relational/identity framing + (`\b(my|our) relationship\b`, `\b(my|our) (purpose|mission|destiny)\b`) + that, combined with high pushback or validation, signal narrative + crystallization risk. +- **Valence-aware composition** — same-invocation valence guard so a + healthy correction ("you were wrong, here's why") is not counted + as pushback escalation. +- **`/interaction-report` extensions** — pushback metrics + domain + framing distribution; companion `report-reader.mjs` script handles + legacy v1.0.0 records (missing `pushback`/`domain_context`) without + NaN propagation. +- **CC0 Constitution citation** in `SKILL.md` plus 5-publication + research framework (Anthropic, MIT CSAIL, Nature, arXiv, clinical). +- **Performance budget test** — `tests/perf.test.mjs` enforces hook + timing budget (logic <50ms, total <200ms wall-clock). +- **Privacy canary extension** — pattern-phrase leak canary in + `tests/privacy.test.mjs` confirms matched phrases never reach disk. +- **Test count: 73 → 126 cases** across 8 files (added skill-md, + perf, interaction-report tests; extended prompt-analyzer, privacy, + session-end, session-start). + +### Changed + +- Pattern count: 25 → 41 (25 negative + 12 pushback + 4 domain). +- `commands/interaction-report.md` documents v1.0.0 backward + compatibility for legacy JSONL records. + +### Notes + +- **English-only v1.1.0** — Norwegian/multilingual patterns deferred + to v1.2 (see `ROADMAP.md`). +- **First-mover honesty** — domain-precision is "good enough" for + v1.1.0; precision tuning planned for v1.2. + ## [1.0.0] — 2026-04-05 ### Added @@ -123,6 +165,7 @@ All notable changes to this project will be documented in this file. - No CI pipeline - Single-user plugin — no multi-user patterns considered +[1.1.0]: https://git.fromaitochitta.com/open/ai-psychosis/compare/v1.0.0...v1.1.0 [1.0.0]: https://git.fromaitochitta.com/open/ai-psychosis/compare/v0.4.0...v1.0.0 [0.4.0]: https://git.fromaitochitta.com/open/ai-psychosis/compare/v0.3.0...v0.4.0 [0.3.0]: https://git.fromaitochitta.com/open/ai-psychosis/compare/v0.2.0...v0.3.0 diff --git a/plugins/ai-psychosis/CLAUDE.md b/plugins/ai-psychosis/CLAUDE.md index cd2d63c..3457930 100644 --- a/plugins/ai-psychosis/CLAUDE.md +++ b/plugins/ai-psychosis/CLAUDE.md @@ -64,7 +64,7 @@ layer4: false # default off ## Testing -Automated test suite using `node:test` (73 cases, zero npm dependencies): +Automated test suite using `node:test` (126 cases, zero npm dependencies): ```bash node --test tests/*.test.mjs diff --git a/plugins/ai-psychosis/README.md b/plugins/ai-psychosis/README.md index 7edbdf6..aa04b81 100644 --- a/plugins/ai-psychosis/README.md +++ b/plugins/ai-psychosis/README.md @@ -1,5 +1,5 @@ -![version](https://img.shields.io/badge/version-1.0.0-blue) +![version](https://img.shields.io/badge/version-1.1.0-blue) ![platform](https://img.shields.io/badge/platform-Claude_Code-7C3AED) ![layers](https://img.shields.io/badge/layers-4-green) ![hooks](https://img.shields.io/badge/hooks-4-orange)