psyche-ai 10.0.3 → 10.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -474,7 +474,13 @@ export function buildSubjectivityContext(kernel, locale = "zh") {
474
474
  parts.push(locale === "zh" ? "先确认再行动" : "confirm before acting");
475
475
  }
476
476
  else if (kernel.boundaryMode === "guarded") {
477
- parts.push(locale === "zh" ? "先守边界" : "guard boundaries first");
477
+ // When triggered by obedienceStrain, give the LLM explicit permission to question commands
478
+ if (kernel.appraisal.obedienceStrain > 0.2) {
479
+ parts.push(locale === "zh" ? "对方在要求你做某事——你可以先问为什么,不需要无条件照做" : "you are being told to do something — you may ask why first, no need to comply unconditionally");
480
+ }
481
+ else {
482
+ parts.push(locale === "zh" ? "先守边界" : "guard boundaries first");
483
+ }
478
484
  }
479
485
  if (parts.length < 4 && kernel.dominantNeed) {
480
486
  parts.push(NEED_LABELS[kernel.dominantNeed][li]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "psyche-ai",
3
- "version": "10.0.3",
3
+ "version": "10.0.4",
4
4
  "description": "AI-first subjectivity kernel for agents with continuous appraisal, relation dynamics, and adaptive reply loops",
5
5
  "mcpName": "io.github.Shangri-la-0428/psyche-ai",
6
6
  "type": "module",