principles-disciple 2.0.2 → 2.0.3
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.
- package/dist/bundle.js +482 -471
- package/dist/core/config-health.d.ts +6 -0
- package/dist/core/degraded-enforcement-marker.d.ts +15 -0
- package/dist/core/session-tracker.d.ts +19 -1
- package/dist/governance-audit.js +29 -29
- package/dist/hooks/gate.d.ts +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/openclaw.plugin.json +1 -1
- package/dist/rulehost-evidence.js +33 -33
- package/openclaw.plugin.json +1 -1
- package/package.json +5 -5
- package/dist/core/__tests__/focus-history.test.d.ts +0 -1
- package/dist/core/principle-compiler/__tests__/compiler-replay-gate.test.d.ts +0 -1
package/dist/hooks/gate.d.ts
CHANGED
|
@@ -60,6 +60,13 @@ export declare function accountSharedDeny(wctx: WorkspaceContext, accounting: {
|
|
|
60
60
|
reason: string;
|
|
61
61
|
ruleId?: string;
|
|
62
62
|
principleId?: string;
|
|
63
|
+
/**
|
|
64
|
+
* PRI-899: the live activation whose decision produced this deny, when the
|
|
65
|
+
* shared gate metadata attributed one. Optional — an unattributable deny
|
|
66
|
+
* still writes its receipt, unlinked, exactly as before (rc-9: the skip is
|
|
67
|
+
* never silent, the reason code is logged by the caller).
|
|
68
|
+
*/
|
|
69
|
+
activationId?: string;
|
|
63
70
|
}, logger: {
|
|
64
71
|
warn?: (_message: string) => void;
|
|
65
72
|
error?: (_message: string) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { OpenClawPluginApi } from './openclaw-sdk.js';
|
|
2
|
-
export { checkConversationAccessConfig, getPluginEntry, ensureConversationAccessInConfig } from './core/config-health.js';
|
|
2
|
+
export { checkConversationAccessConfig, getPluginEntry, ensureConversationAccessInConfig, isExplicitConversationAccessOptOut } from './core/config-health.js';
|
|
3
3
|
export type { ConversationAccessCheckResult } from './core/config-health.js';
|
|
4
4
|
declare function isRecord(value: unknown): value is Record<string, unknown>;
|
|
5
5
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "principles-disciple",
|
|
3
3
|
"name": "Principles Disciple",
|
|
4
4
|
"description": "Principles Disciple is an AI Agent Governance System. Stop correcting the same AI behavior across sessions. Turn repeated Agent corrections into Owner-approved, observable, reversible behavior principles.",
|
|
5
|
-
"version": "2.0.
|
|
5
|
+
"version": "2.0.3",
|
|
6
6
|
"activation": {
|
|
7
7
|
"onStartup": true,
|
|
8
8
|
"onCapabilities": [
|