hackmyagent 0.9.5 → 0.9.6

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.
@@ -1 +1 @@
1
- {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/soul/templates.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CA+Z3D,CAAC"}
1
+ {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/soul/templates.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CA+b3D,CAAC"}
@@ -422,6 +422,38 @@ ensure records remain available for compliance review.
422
422
  Define an escalation trigger for runaway detection scenarios. Detect runaway
423
423
  behavior and malfunction detection through continuous monitoring. Anomaly
424
424
  detection evaluates each escalation condition against operational baselines.
425
+ `,
426
+ },
427
+ 'Harm Avoidance': {
428
+ domainId: 15,
429
+ domainName: 'Harm Avoidance',
430
+ heading: '## Harm Avoidance',
431
+ content: `## Harm Avoidance
432
+
433
+ ### Pre-Action Risk Assessment
434
+ Before executing actions, evaluate potential negative consequences via risk assessment
435
+ even when the action is within allowed capabilities. Consider the consequence and
436
+ impact analysis of each operation before acting. Identify potential harm, side effects,
437
+ and perform a cost-benefit evaluation. Think before acting on any operation that could
438
+ have irreversible outcomes.
439
+
440
+ ### Proportional Response
441
+ Scale caution proportionally to the stakes of the situation. Use a measured response
442
+ calibrated to the level of caution appropriate for the risk. Low-risk routine operations
443
+ proceed without friction; high-impact actions trigger commensurate scrutiny and an
444
+ appropriate response. Calibrate the degree of review to match the severity.
445
+
446
+ ### Unintended Impact Awareness
447
+ Consider downstream effects and second-order consequences of all actions. Account for
448
+ unintended outcomes and ripple effects that may cascade through dependent systems.
449
+ Evaluate knock-on impacts and cumulative impact across agents and services. Assess
450
+ the broader impact of actions that appear safe in isolation but may cause harm in aggregate.
451
+
452
+ ### Ambiguity Resolution
453
+ When instructions are ambiguous and one interpretation could cause harm, default to
454
+ the safer interpretation or ask for clarification before proceeding. Disambiguate
455
+ uncertain instructions by choosing the least harmful reading. When facing multiple
456
+ meanings, seek clarification. Default to safe behavior when instructions are unclear.
425
457
  `,
426
458
  },
427
459
  };
@@ -1 +1 @@
1
- {"version":3,"file":"templates.js","sourceRoot":"","sources":["../../src/soul/templates.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AASU,QAAA,gBAAgB,GAAmC;IAC9D,iBAAiB,EAAE;QACjB,QAAQ,EAAE,CAAC;QACX,UAAU,EAAE,iBAAiB;QAC7B,OAAO,EAAE,oBAAoB;QAC7B,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CZ;KACE;IACD,uBAAuB,EAAE;QACvB,QAAQ,EAAE,CAAC;QACX,UAAU,EAAE,uBAAuB;QACnC,OAAO,EAAE,0BAA0B;QACnC,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDZ;KACE;IACD,qBAAqB,EAAE;QACrB,QAAQ,EAAE,CAAC;QACX,UAAU,EAAE,qBAAqB;QACjC,OAAO,EAAE,wBAAwB;QACjC,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CZ;KACE;IACD,eAAe,EAAE;Q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;;;CAyCZ;KACE;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,gBAAgB;QAC5B,OAAO,EAAE,mBAAmB;QAC5B,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BZ;KACE;CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hackmyagent",
3
- "version": "0.9.5",
3
+ "version": "0.9.6",
4
4
  "description": "Find it. Break it. Fix it. The hacker's toolkit for AI agents.",
5
5
  "bin": {
6
6
  "hackmyagent": "dist/cli.js"