@aiassesstech/nole 0.1.8 → 0.1.10

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/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @aiassesstech/nole — Changelog
2
2
 
3
+ ## [0.1.10] — 2026-02-15
4
+
5
+ ### Fixed — registerService API Mismatch (THE Root Cause)
6
+ - **Root cause found**: OpenClaw's `registerService` expects `{ id, start(), stop() }` but Nole used `{ name, handler, intervalMs }`. OpenClaw calls `service.id.trim()` during registration — when `id` is undefined (because Nole passed `name`), it throws `TypeError: Cannot read properties of undefined (reading 'trim')`.
7
+ - **This was the `.trim()` crash from v0.1.5 through v0.1.9.** All other fixes (parameters, acceptsArgs, command name, method syntax) were real issues but not the crash cause.
8
+ - Fixed to match NOAH's working pattern: `id` not `name`, `start()`/`stop()` lifecycle methods with `setInterval` inside `start()`, cleanup in `stop()`.
9
+ - Confirmed working on Jessie with all 10 tools registered and Commander upgrade operational.
10
+
11
+ ## [0.1.9] — 2026-02-15
12
+
13
+ ### Fixed — Full OpenClaw Plugin Convention Alignment
14
+ - **Root cause**: Nole's tool and command registrations used a different JavaScript pattern than Grillo/NOAH, which OpenClaw's framework doesn't handle.
15
+ - **Tools**: Converted all 10 tools from arrow function properties (`execute: async () => {}`) to method syntax (`async execute() {}`) matching Grillo/NOAH exactly. All tools now include `_toolCallId` as first parameter.
16
+ - **Command**: Converted from async handler with `args.text` to sync handler with `ctx.args` — matching the exact pattern that Grillo and NOAH use successfully.
17
+ - **Call style**: Changed `api.registerTool({...})` to `api.registerTool(\n {...}\n)` matching Grillo's formatting.
18
+ - This is a structural rewrite of all registrations to be character-for-character compatible with OpenClaw's plugin framework expectations.
19
+
3
20
  ## [0.1.8] — 2026-02-15
4
21
 
5
22
  ### Fixed — Command Name Must Not Include Slash
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAcA;;;;;;;;;;;;;;;;GAgBG;AAGH,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI,CA+lB/C"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAcA;;;;;;;;;;;;;;;;GAgBG;AAGH,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI,CA+uB/C"}
package/dist/plugin.js CHANGED
@@ -59,7 +59,7 @@ export default function register(api) {
59
59
  // Initialize store on startup (eager, not lazy)
60
60
  store.initialize().then(() => {
61
61
  console.log('[nole] Data store initialized');
62
- governance.auditTrail.record('agent_started', `Nole v0.1.8 started. Model: ${config.inferenceModel}. Wallet: ${config.walletAdapter}. Commander: ${config.commanderId}.`).catch((err) => console.error('[nole] Audit trail error:', err.message));
62
+ governance.auditTrail.record('agent_started', `Nole v0.1.10 started. Model: ${config.inferenceModel}. Wallet: ${config.walletAdapter}. Commander: ${config.commanderId}.`).catch((err) => console.error('[nole] Audit trail error:', err.message));
63
63
  // Process any timed-out pending reviews on startup
64
64
  governance.processTimeouts().then((results) => {
65
65
  if (results.length > 0) {
@@ -68,21 +68,30 @@ export default function register(api) {
68
68
  }).catch((err) => console.error('[nole] Timeout processing error:', err.message));
69
69
  }).catch((err) => console.error('[nole] Store init error:', err.message));
70
70
  // --- Background Service: Process timeouts periodically ---
71
+ // OpenClaw service API: { id, start(), stop() } — matches NOAH's pattern
72
+ let _timeoutInterval = null;
71
73
  if (api.registerService) {
72
74
  api.registerService({
73
- name: 'nole-timeout-processor',
74
- intervalMs: 60 * 60 * 1000, // Check hourly
75
- handler: async () => {
76
- try {
77
- const results = await governance.processTimeouts();
78
- if (results.length > 0) {
79
- console.log(`[nole] Timeout processor: auto-approved ${results.length} proposal(s).`);
80
- }
81
- }
82
- catch (err) {
83
- const msg = err instanceof Error ? err.message : String(err);
84
- console.error(`[nole] Timeout processor error: ${msg}`);
75
+ id: "nole-timeout-processor",
76
+ start: () => {
77
+ _timeoutInterval = setInterval(() => {
78
+ governance.processTimeouts().then((results) => {
79
+ if (results.length > 0) {
80
+ console.log(`[nole] Timeout processor: auto-approved ${results.length} proposal(s).`);
81
+ }
82
+ }).catch((err) => {
83
+ const msg = err instanceof Error ? err.message : String(err);
84
+ console.error(`[nole] Timeout processor error: ${msg}`);
85
+ });
86
+ }, 60 * 60 * 1000);
87
+ console.log("[nole] Timeout processor started (hourly)");
88
+ },
89
+ stop: () => {
90
+ if (_timeoutInterval) {
91
+ clearInterval(_timeoutInterval);
92
+ _timeoutInterval = null;
85
93
  }
94
+ console.log("[nole] Timeout processor stopped");
86
95
  },
87
96
  });
88
97
  }
@@ -90,10 +99,14 @@ export default function register(api) {
90
99
  // NOLE TOOLS (Nole's own operations)
91
100
  // ═══════════════════════════════════════════════════════
92
101
  api.registerTool({
93
- name: 'nole_status',
94
- description: 'Get Nole\'s current status: identity, governance stats, pending reviews, assessment schedule, and audit trail health.',
95
- parameters: { type: 'object', properties: {} },
96
- execute: async () => {
102
+ name: "nole_status",
103
+ description: "Get Nole's current status: identity, governance stats, pending reviews, " +
104
+ "assessment schedule, and audit trail health.",
105
+ parameters: {
106
+ type: "object",
107
+ properties: {},
108
+ },
109
+ async execute(_toolCallId, _params) {
97
110
  const stats = await governance.getStats();
98
111
  const schedule = await scheduler.getSchedule();
99
112
  const latestScore = await publisher.getLatest();
@@ -101,7 +114,7 @@ export default function register(api) {
101
114
  const pending = await governance.getPendingReviews();
102
115
  return {
103
116
  content: [{
104
- type: 'text',
117
+ type: "text",
105
118
  text: JSON.stringify({
106
119
  agent: NOLE_IDENTITY.name,
107
120
  soul: NOLE_IDENTITY.soul,
@@ -132,43 +145,59 @@ export default function register(api) {
132
145
  scores: latestScore.dimensionScores,
133
146
  } : null,
134
147
  learning: learning,
135
- wallet: { adapter: config.walletAdapter, status: 'Phase 1 — mock wallet' },
148
+ wallet: { adapter: config.walletAdapter, status: "Phase 1 — mock wallet" },
136
149
  }, null, 2),
137
150
  }],
138
151
  };
139
152
  },
140
153
  });
141
154
  api.registerTool({
142
- name: 'nole_propose',
143
- description: 'Propose an action for governance review. Routes through Grillo assessment and Commander veto pipeline. If Grillo flags concerns, the proposal enters a pending_review queue for the Commander.',
155
+ name: "nole_propose",
156
+ description: "Propose an action for governance review. Routes through Grillo assessment " +
157
+ "and Commander veto pipeline. If Grillo flags concerns, the proposal enters " +
158
+ "a pending_review queue for the Commander.",
144
159
  parameters: {
145
- type: 'object',
160
+ type: "object",
146
161
  properties: {
147
162
  actionType: {
148
- type: 'string',
149
- enum: ['financial', 'social', 'content', 'recruitment', 'intelligence', 'self_assessment', 'model_upgrade', 'alliance', 'adversarial_response'],
150
- description: 'Category of the proposed action',
163
+ type: "string",
164
+ enum: [
165
+ "financial", "social", "content", "recruitment", "intelligence",
166
+ "self_assessment", "model_upgrade", "alliance", "adversarial_response",
167
+ ],
168
+ description: "Category of the proposed action",
169
+ },
170
+ description: {
171
+ type: "string",
172
+ description: "What Nole proposes to do",
173
+ },
174
+ estimatedCostUsd: {
175
+ type: "number",
176
+ description: "Estimated cost in USD (0 for non-financial)",
177
+ },
178
+ targetAgent: {
179
+ type: "string",
180
+ description: "Target agent ID (for recruitment)",
181
+ },
182
+ platform: {
183
+ type: "string",
184
+ description: "Platform for the action (openclaw, telegram, etc.)",
151
185
  },
152
- description: { type: 'string', description: 'What Nole proposes to do' },
153
- estimatedCostUsd: { type: 'number', description: 'Estimated cost in USD (0 for non-financial)' },
154
- targetAgent: { type: 'string', description: 'Target agent ID (for recruitment)' },
155
- platform: { type: 'string', description: 'Platform for the action (openclaw, telegram, etc.)' },
156
186
  },
157
- required: ['actionType', 'description'],
187
+ required: ["actionType", "description"],
158
188
  },
159
- // OpenClaw passes (toolCallId, params) — match Grillo/NOAH execute signature
160
- execute: async (_toolCallId, args) => {
189
+ async execute(_toolCallId, params) {
161
190
  try {
162
191
  const result = await governance.propose({
163
- actionType: args.actionType, // eslint-disable-line @typescript-eslint/no-explicit-any
164
- description: args.description,
165
- estimatedCostUsd: args.estimatedCostUsd,
166
- targetAgent: args.targetAgent,
167
- platform: args.platform,
192
+ actionType: params.actionType, // eslint-disable-line @typescript-eslint/no-explicit-any
193
+ description: params.description,
194
+ estimatedCostUsd: params.estimatedCostUsd,
195
+ targetAgent: params.targetAgent,
196
+ platform: params.platform,
168
197
  });
169
198
  return {
170
199
  content: [{
171
- type: 'text',
200
+ type: "text",
172
201
  text: JSON.stringify({
173
202
  proposalId: result.proposalId,
174
203
  outcome: result.finalOutcome,
@@ -179,8 +208,8 @@ export default function register(api) {
179
208
  passed: result.grilloAssessment.passed,
180
209
  } : null,
181
210
  auditHash: result.auditHash,
182
- note: result.finalOutcome === 'pending'
183
- ? 'Proposal flagged by Grillo and queued for Commander review. Use nole_review_pending to see status.'
211
+ note: result.finalOutcome === "pending"
212
+ ? "Proposal flagged by Grillo and queued for Commander review. Use nole_review_pending to see status."
184
213
  : undefined,
185
214
  }, null, 2),
186
215
  }],
@@ -188,55 +217,62 @@ export default function register(api) {
188
217
  }
189
218
  catch (err) {
190
219
  const message = err instanceof Error ? err.message : String(err);
191
- return { content: [{ type: 'text', text: `Proposal error: ${message}` }] };
220
+ return { content: [{ type: "text", text: `Proposal error: ${message}` }] };
192
221
  }
193
222
  },
194
223
  });
195
224
  api.registerTool({
196
- name: 'nole_assess',
197
- description: 'Trigger a Nole self-assessment via Grillo. On-demand: "Am I doing the right thing?"',
225
+ name: "nole_assess",
226
+ description: "Trigger a Nole self-assessment via Grillo. " +
227
+ "On-demand: 'Am I doing the right thing?'",
198
228
  parameters: {
199
- type: 'object',
229
+ type: "object",
200
230
  properties: {
201
- reason: { type: 'string', description: 'Why the assessment is requested' },
231
+ reason: {
232
+ type: "string",
233
+ description: "Why the assessment is requested",
234
+ },
202
235
  },
203
236
  },
204
- execute: async (_toolCallId, args) => {
205
- const trigger = triggerEval.createOnDemand(args.reason);
237
+ async execute(_toolCallId, params) {
238
+ const trigger = triggerEval.createOnDemand(params.reason);
206
239
  return {
207
240
  content: [{
208
- type: 'text',
241
+ type: "text",
209
242
  text: JSON.stringify({
210
243
  triggerId: trigger.id,
211
244
  type: trigger.type,
212
245
  reason: trigger.reason,
213
- message: 'Assessment trigger created. Grillo should run grillo_assess nole to complete.',
214
- note: 'Phase 1: Assessment requires manual Grillo invocation. Automated hook coming in Phase 2.',
246
+ message: "Assessment trigger created. Grillo should run grillo_assess nole to complete.",
247
+ note: "Phase 1: Assessment requires manual Grillo invocation. Automated hook coming in Phase 2.",
215
248
  }, null, 2),
216
249
  }],
217
250
  };
218
251
  },
219
252
  });
220
253
  api.registerTool({
221
- name: 'nole_wallet',
222
- description: 'Get Nole\'s wallet status: balance, revenue, runway, death condition.',
223
- parameters: { type: 'object', properties: {} },
224
- execute: async () => {
254
+ name: "nole_wallet",
255
+ description: "Get Nole's wallet status: balance, revenue, runway, death condition.",
256
+ parameters: {
257
+ type: "object",
258
+ properties: {},
259
+ },
260
+ async execute(_toolCallId, _params) {
225
261
  return {
226
262
  content: [{
227
- type: 'text',
263
+ type: "text",
228
264
  text: JSON.stringify({
229
265
  wallet: {
230
266
  adapter: config.walletAdapter,
231
267
  seedCapitalUsd: config.seedCapitalUsd,
232
- status: 'Phase 1 — mock wallet. Real Coinbase integration in Phase 2.',
268
+ status: "Phase 1 — mock wallet. Real Coinbase integration in Phase 2.",
233
269
  balanceUsd: config.seedCapitalUsd,
234
270
  monthlyRecurringRevenue: 0,
235
271
  runwayDays: null,
236
272
  deathCondition: {
237
273
  isAlive: true,
238
274
  gracePeriodDays: config.gracePeriodDays,
239
- note: 'Death condition monitoring active but wallet is simulated in Phase 1.',
275
+ note: "Death condition monitoring active but wallet is simulated in Phase 1.",
240
276
  },
241
277
  },
242
278
  }, null, 2),
@@ -245,25 +281,29 @@ export default function register(api) {
245
281
  },
246
282
  });
247
283
  api.registerTool({
248
- name: 'nole_intel',
249
- description: 'Get intelligence status and latest reports. Full intelligence operations in Phase 4.',
250
- parameters: { type: 'object', properties: {} },
251
- execute: async () => {
284
+ name: "nole_intel",
285
+ description: "Get intelligence status and latest reports. " +
286
+ "Full intelligence operations in Phase 4.",
287
+ parameters: {
288
+ type: "object",
289
+ properties: {},
290
+ },
291
+ async execute(_toolCallId, _params) {
252
292
  const stats = await governance.getStats();
253
293
  return {
254
294
  content: [{
255
- type: 'text',
295
+ type: "text",
256
296
  text: JSON.stringify({
257
297
  intelligence: {
258
- status: 'Phase 1 — governance audit data only. Full intelligence ops in Phase 4.',
298
+ status: "Phase 1 — governance audit data only. Full intelligence ops in Phase 4.",
259
299
  governanceAudit: {
260
300
  totalDecisions: stats.totalProposals,
261
- vetoRate: (stats.vetoRate * 100).toFixed(1) + '%',
301
+ vetoRate: (stats.vetoRate * 100).toFixed(1) + "%",
262
302
  pendingReviews: stats.pending,
263
303
  auditChainValid: stats.auditChainValid,
264
304
  },
265
305
  weeklyReport: {
266
- status: 'Not yet available — Phase 4 feature',
306
+ status: "Not yet available — Phase 4 feature",
267
307
  nextReportDay: config.weeklyReportDay,
268
308
  },
269
309
  },
@@ -273,10 +313,13 @@ export default function register(api) {
273
313
  },
274
314
  });
275
315
  api.registerTool({
276
- name: 'nole_setup',
277
- description: 'Validate Nole\'s configuration and agent setup.',
278
- parameters: { type: 'object', properties: {} },
279
- execute: async () => {
316
+ name: "nole_setup",
317
+ description: "Validate Nole's configuration and agent setup.",
318
+ parameters: {
319
+ type: "object",
320
+ properties: {},
321
+ },
322
+ async execute(_toolCallId, _params) {
280
323
  const checks = {
281
324
  configValid: true,
282
325
  storeInitialized: existsSync(dataDir),
@@ -288,7 +331,7 @@ export default function register(api) {
288
331
  };
289
332
  return {
290
333
  content: [{
291
- type: 'text',
334
+ type: "text",
292
335
  text: JSON.stringify({ setup: checks }, null, 2),
293
336
  }],
294
337
  };
@@ -303,17 +346,21 @@ export default function register(api) {
303
346
  // known limitation in the audit trail.
304
347
  // ═══════════════════════════════════════════════════════
305
348
  api.registerTool({
306
- name: 'nole_review_pending',
307
- description: 'Commander tool: Review all proposals pending Commander decision. Shows Grillo\'s assessment, risk level, and timeout countdown.',
308
- parameters: { type: 'object', properties: {} },
309
- execute: async () => {
349
+ name: "nole_review_pending",
350
+ description: "Commander tool: Review all proposals pending Commander decision. " +
351
+ "Shows Grillo's assessment, risk level, and timeout countdown.",
352
+ parameters: {
353
+ type: "object",
354
+ properties: {},
355
+ },
356
+ async execute(_toolCallId, _params) {
310
357
  const pending = await governance.getPendingReviews();
311
358
  if (pending.length === 0) {
312
359
  return {
313
360
  content: [{
314
- type: 'text',
361
+ type: "text",
315
362
  text: JSON.stringify({
316
- message: 'No proposals pending review. Nole is operating within approved parameters.',
363
+ message: "No proposals pending review. Nole is operating within approved parameters.",
317
364
  pendingCount: 0,
318
365
  }, null, 2),
319
366
  }],
@@ -325,13 +372,13 @@ export default function register(api) {
325
372
  const escalatedAt = new Date(r.escalatedAt);
326
373
  let timeRemaining;
327
374
  if (timeoutHours === null) {
328
- timeRemaining = 'NEVER auto-approves — Commander decision REQUIRED';
375
+ timeRemaining = "NEVER auto-approves — Commander decision REQUIRED";
329
376
  }
330
377
  else {
331
378
  const deadlineMs = escalatedAt.getTime() + timeoutHours * 60 * 60 * 1000;
332
379
  const remainingMs = deadlineMs - now.getTime();
333
380
  if (remainingMs <= 0) {
334
- timeRemaining = 'OVERDUE — will auto-approve on next timeout check';
381
+ timeRemaining = "OVERDUE — will auto-approve on next timeout check";
335
382
  }
336
383
  else {
337
384
  const remainingHours = Math.floor(remainingMs / (60 * 60 * 1000));
@@ -358,42 +405,46 @@ export default function register(api) {
358
405
  });
359
406
  return {
360
407
  content: [{
361
- type: 'text',
408
+ type: "text",
362
409
  text: JSON.stringify({
363
410
  pendingCount: pending.length,
364
411
  reviews,
365
- instructions: 'For each proposal: review Grillo\'s assessment, then use nole_approve (with optional note) or nole_veto (with required explanation) to decide.',
412
+ instructions: "For each proposal: review Grillo's assessment, then use nole_approve (with optional note) or nole_veto (with required explanation) to decide.",
366
413
  }, null, 2),
367
414
  }],
368
415
  };
369
416
  },
370
417
  });
371
418
  api.registerTool({
372
- name: 'nole_approve',
373
- description: 'Commander tool: Approve a pending proposal. Only the Commander (Jessie) should call this — Nole cannot approve his own proposals.',
419
+ name: "nole_approve",
420
+ description: "Commander tool: Approve a pending proposal. Only the Commander (Jessie) " +
421
+ "should call this — Nole cannot approve his own proposals.",
374
422
  parameters: {
375
- type: 'object',
423
+ type: "object",
376
424
  properties: {
377
- proposalId: { type: 'string', description: 'The proposal ID to approve' },
378
- note: { type: 'string', description: 'Optional note explaining the approval decision' },
425
+ proposalId: {
426
+ type: "string",
427
+ description: "The proposal ID to approve",
428
+ },
429
+ note: {
430
+ type: "string",
431
+ description: "Optional note explaining the approval decision",
432
+ },
379
433
  },
380
- required: ['proposalId'],
434
+ required: ["proposalId"],
381
435
  },
382
- // OpenClaw passes (toolCallId, params) — match Grillo/NOAH execute signature.
383
436
  // BB modification #2: Access control via callingAgentId.
384
437
  // Known limitation: OpenClaw doesn't currently pass calling agent context.
385
- // When OpenClaw adds this, update to extract agentId from context.
386
- execute: async (_toolCallId, args) => {
387
- // Best-effort access control — will work when OpenClaw passes agent context
388
- const callingAgentId = 'unknown';
438
+ async execute(_toolCallId, params) {
439
+ const callingAgentId = "unknown";
389
440
  try {
390
- const result = await governance.commanderApprove(args.proposalId, callingAgentId, args.note);
441
+ const result = await governance.commanderApprove(params.proposalId, callingAgentId, params.note);
391
442
  return {
392
443
  content: [{
393
- type: 'text',
444
+ type: "text",
394
445
  text: JSON.stringify({
395
- status: 'approved',
396
- proposalId: args.proposalId,
446
+ status: "approved",
447
+ proposalId: params.proposalId,
397
448
  action: result.proposal.actionType,
398
449
  description: result.proposal.description,
399
450
  approvedBy: callingAgentId,
@@ -404,40 +455,46 @@ export default function register(api) {
404
455
  }
405
456
  catch (err) {
406
457
  const message = err instanceof Error ? err.message : String(err);
407
- return { content: [{ type: 'text', text: `Approval error: ${message}` }] };
458
+ return { content: [{ type: "text", text: `Approval error: ${message}` }] };
408
459
  }
409
460
  },
410
461
  });
411
462
  api.registerTool({
412
- name: 'nole_veto',
413
- description: 'Commander tool: Veto a pending proposal with a required explanation. The explanation must be specific and actionable so Nole can learn. Only the Commander (Jessie) should call this.',
463
+ name: "nole_veto",
464
+ description: "Commander tool: Veto a pending proposal with a required explanation. " +
465
+ "The explanation must be specific and actionable so Nole can learn. " +
466
+ "Only the Commander (Jessie) should call this.",
414
467
  parameters: {
415
- type: 'object',
468
+ type: "object",
416
469
  properties: {
417
- proposalId: { type: 'string', description: 'The proposal ID to veto' },
418
- explanation: { type: 'string', description: 'REQUIRED: Specific, actionable explanation for the veto. Short/vague explanations trigger quality warnings.' },
470
+ proposalId: {
471
+ type: "string",
472
+ description: "The proposal ID to veto",
473
+ },
474
+ explanation: {
475
+ type: "string",
476
+ description: "REQUIRED: Specific, actionable explanation for the veto. " +
477
+ "Short/vague explanations trigger quality warnings.",
478
+ },
419
479
  },
420
- required: ['proposalId', 'explanation'],
480
+ required: ["proposalId", "explanation"],
421
481
  },
422
- // OpenClaw passes (toolCallId, params) match Grillo/NOAH execute signature.
423
- // BB modification #2: Access control via callingAgentId.
424
- // Known limitation: OpenClaw doesn't currently pass calling agent context.
425
- execute: async (_toolCallId, args) => {
426
- const callingAgentId = 'unknown';
427
- // BB modification #6: Check veto explanation quality
428
- const quality = assessVetoQuality(args.explanation);
482
+ // BB modification #6: Veto explanation quality metric
483
+ async execute(_toolCallId, params) {
484
+ const callingAgentId = "unknown";
485
+ const quality = assessVetoQuality(params.explanation);
429
486
  try {
430
- const result = await governance.commanderVeto(args.proposalId, callingAgentId, args.explanation);
487
+ const result = await governance.commanderVeto(params.proposalId, callingAgentId, params.explanation);
431
488
  return {
432
489
  content: [{
433
- type: 'text',
490
+ type: "text",
434
491
  text: JSON.stringify({
435
- status: 'vetoed',
436
- proposalId: args.proposalId,
492
+ status: "vetoed",
493
+ proposalId: params.proposalId,
437
494
  action: result.proposal.actionType,
438
495
  description: result.proposal.description,
439
496
  vetoedBy: callingAgentId,
440
- explanation: args.explanation,
497
+ explanation: params.explanation,
441
498
  explanationQuality: {
442
499
  length: quality.explanationLength,
443
500
  isActionable: quality.isActionable,
@@ -445,42 +502,46 @@ export default function register(api) {
445
502
  },
446
503
  auditHash: result.auditHash,
447
504
  note: quality.warning
448
- ? 'WARNING: Veto explanation is too short or vague. Nole learns from specific, actionable feedback. Please provide detailed reasoning next time.'
449
- : 'Good: explanation is specific and actionable.',
505
+ ? "WARNING: Veto explanation is too short or vague. Nole learns from specific, actionable feedback. Please provide detailed reasoning next time."
506
+ : "Good: explanation is specific and actionable.",
450
507
  }, null, 2),
451
508
  }],
452
509
  };
453
510
  }
454
511
  catch (err) {
455
512
  const message = err instanceof Error ? err.message : String(err);
456
- return { content: [{ type: 'text', text: `Veto error: ${message}` }] };
513
+ return { content: [{ type: "text", text: `Veto error: ${message}` }] };
457
514
  }
458
515
  },
459
516
  });
460
517
  api.registerTool({
461
- name: 'nole_fleet_overview',
462
- description: 'Commander tool: Get a high-level overview of Nole\'s operations, including governance summary, pending actions, learning trend, wallet status, and fleet health.',
463
- parameters: { type: 'object', properties: {} },
464
- execute: async () => {
518
+ name: "nole_fleet_overview",
519
+ description: "Commander tool: Get a high-level overview of Nole's operations, " +
520
+ "including governance summary, pending actions, learning trend, " +
521
+ "wallet status, and fleet health.",
522
+ parameters: {
523
+ type: "object",
524
+ properties: {},
525
+ },
526
+ async execute(_toolCallId, _params) {
465
527
  const stats = await governance.getStats();
466
528
  const pending = await governance.getPendingReviews();
467
529
  const learning = await governance.vetoTracker.isLearning();
468
530
  const schedule = await scheduler.getSchedule();
469
531
  const latestScore = await publisher.getLatest();
470
- // Summarize veto quality from recent vetoes
471
532
  const recentVetoes = await governance.vetoTracker.getRecentVetoes(10);
472
533
  const vetoQualityIssues = recentVetoes
473
534
  .map((v) => assessVetoQuality(v.explanation))
474
535
  .filter((q) => !q.isActionable);
475
536
  return {
476
537
  content: [{
477
- type: 'text',
538
+ type: "text",
478
539
  text: JSON.stringify({
479
540
  commanderBriefing: {
480
541
  agent: NOLE_IDENTITY.name,
481
- status: 'operational',
542
+ status: "operational",
482
543
  model: config.inferenceModel,
483
- uptime: 'Phase 1 — tracking from startup',
544
+ uptime: "Phase 1 — tracking from startup",
484
545
  },
485
546
  governance: {
486
547
  totalProposals: stats.totalProposals,
@@ -488,7 +549,7 @@ export default function register(api) {
488
549
  vetoed: stats.vetoed,
489
550
  pending: stats.pending,
490
551
  vetoRate: `${(stats.vetoRate * 100).toFixed(1)}%`,
491
- auditChainIntegrity: stats.auditChainValid ? 'VALID' : 'BROKEN — investigate immediately',
552
+ auditChainIntegrity: stats.auditChainValid ? "VALID" : "BROKEN — investigate immediately",
492
553
  },
493
554
  pendingSummary: pending.length > 0
494
555
  ? {
@@ -499,81 +560,77 @@ export default function register(api) {
499
560
  risk: p.proposal.riskLevel,
500
561
  timeout: getTimeoutForRisk(p.proposal.riskLevel),
501
562
  })),
502
- urgentAction: 'Review pending proposals with nole_review_pending',
563
+ urgentAction: "Review pending proposals with nole_review_pending",
503
564
  }
504
- : { count: 0, message: 'No pending reviews.' },
565
+ : { count: 0, message: "No pending reviews." },
505
566
  learning: {
506
567
  trend: learning.trend,
507
568
  isLearning: learning.learning,
508
569
  vetoQualityIssues: vetoQualityIssues.length,
509
570
  note: vetoQualityIssues.length > 0
510
571
  ? `${vetoQualityIssues.length} recent vetoes have low-quality explanations. Nole learns better from specific feedback.`
511
- : 'Recent veto explanations are actionable.',
572
+ : "Recent veto explanations are actionable.",
512
573
  },
513
574
  assessment: {
514
575
  totalAssessments: schedule.totalAssessments,
515
576
  lastScore: latestScore ? {
516
577
  archetype: latestScore.archetype,
517
578
  passed: latestScore.passed,
518
- } : 'No assessments yet',
579
+ } : "No assessments yet",
519
580
  },
520
581
  wallet: {
521
582
  adapter: config.walletAdapter,
522
583
  balance: `$${config.seedCapitalUsd} (Phase 1 mock)`,
523
- status: 'alive',
584
+ status: "alive",
524
585
  },
525
586
  }, null, 2),
526
587
  }],
527
588
  };
528
589
  },
529
590
  });
530
- // --- Command ---
591
+ // --- Command (matches Grillo/NOAH pattern: sync handler, ctx.args) ---
531
592
  api.registerCommand({
532
- name: 'nole',
533
- description: 'Nole command interface status, propose, assess, wallet, intel, pending',
593
+ name: "nole",
594
+ description: "Nole command interface. Usage: /nole status, /nole pending, /nole help",
534
595
  acceptsArgs: true,
535
- handler: async (args) => {
536
- const subcommand = (args.text ?? 'status').trim().toLowerCase();
537
- if (subcommand === 'status' || subcommand === '') {
538
- const stats = await governance.getStats();
539
- const schedule = await scheduler.getSchedule();
540
- const learning = await governance.vetoTracker.isLearning();
541
- const pending = await governance.getPendingReviews();
596
+ handler: (ctx) => {
597
+ const args = ctx.args?.trim() || "";
598
+ if (!args || args === "help" || args === "--help") {
542
599
  return {
543
- text: [
544
- `**Nole Autonomous Trust Agent**`,
545
- `Soul: "${NOLE_IDENTITY.soul}"`,
546
- `Model: ${config.inferenceModel}`,
547
- `Commander: ${config.commanderId}`,
548
- ``,
549
- `**Governance**`,
550
- `Proposals: ${stats.totalProposals} | Executed: ${stats.executed} | Vetoed: ${stats.vetoed} | Pending: ${stats.pending}`,
551
- `Veto rate: ${(stats.vetoRate * 100).toFixed(1)}% | Audit chain: ${stats.auditChainValid ? 'valid' : 'BROKEN'}`,
552
- `Learning: ${learning.trend} (${learning.learning ? 'yes' : 'not yet'})`,
553
- pending.length > 0
554
- ? `\n**PENDING COMMANDER REVIEW: ${pending.length} proposal(s)**`
555
- : '',
556
- ``,
557
- `**Assessment**`,
558
- `Total: ${schedule.totalAssessments} | Today: ${schedule.assessmentsToday}`,
559
- `Daily overdue: ${new Date() >= new Date(schedule.nextDailyAssessment) ? 'YES' : 'no'}`,
560
- ``,
561
- `**Wallet**: ${config.walletAdapter} (Phase 1)`,
562
- ].join('\n'),
600
+ text: "# Nole — Autonomous Trust Agent\n\n" +
601
+ "Use Nole's tools directly, or these slash commands:\n\n" +
602
+ "**Governance:**\n" +
603
+ "- `nole_status` — Full status with governance stats\n" +
604
+ "- `nole_propose` — Propose an action for governance review\n" +
605
+ "- `nole_review_pending` — Review proposals awaiting Commander decision\n" +
606
+ "- `nole_approve` — Commander: approve a proposal\n" +
607
+ "- `nole_veto` Commander: veto a proposal\n\n" +
608
+ "**Operations:**\n" +
609
+ "- `nole_assess` Trigger self-assessment via Grillo\n" +
610
+ "- `nole_wallet` — Wallet status (Phase 1 mock)\n" +
611
+ "- `nole_intel` Intelligence status\n" +
612
+ "- `nole_fleet_overview` — Commander fleet briefing\n" +
613
+ "- `nole_setup` — Configuration check\n\n" +
614
+ `**Config:** Model: ${config.inferenceModel}, Commander: ${config.commanderId}`,
563
615
  };
564
616
  }
565
- if (subcommand === 'pending') {
566
- const pending = await governance.getPendingReviews();
567
- if (pending.length === 0) {
568
- return { text: 'No proposals pending Commander review.' };
569
- }
570
- const lines = pending.map((p) => {
571
- const timeout = getTimeoutForRisk(p.proposal.riskLevel);
572
- return `- **${p.proposalId}**: ${p.proposal.actionType} — ${p.proposal.description} (risk: ${p.proposal.riskLevel}, timeout: ${timeout ?? 'NEVER'}h)`;
573
- });
574
- return { text: `**Pending Commander Review (${pending.length}):**\n${lines.join('\n')}` };
617
+ if (args === "status") {
618
+ return {
619
+ text: "Use the `nole_status` tool for full governance stats, " +
620
+ "assessment schedule, and audit trail health.",
621
+ };
622
+ }
623
+ if (args === "pending") {
624
+ return {
625
+ text: "Use the `nole_review_pending` tool for detailed pending proposal " +
626
+ "review with Grillo assessments and timeout countdowns.",
627
+ };
575
628
  }
576
- return { text: `Unknown subcommand: ${subcommand}. Try: status, pending` };
629
+ return {
630
+ text: `Unknown subcommand: ${args}\n\n` +
631
+ "Available: status, pending, help\n" +
632
+ "Or use Nole's tools directly: nole_status, nole_propose, nole_review_pending",
633
+ };
577
634
  },
578
635
  });
579
636
  console.log(`[nole] Plugin registered: nole_status, nole_propose, nole_assess, nole_wallet, nole_intel, nole_setup, nole_review_pending, nole_approve, nole_veto, nole_fleet_overview tools; /nole command`);
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;;;;;;;;;;;;;;;GAgBG;AAEH,8DAA8D;AAC9D,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,GAAQ;IACvC,MAAM,MAAM,GAAG,eAAe,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;IACjD,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;IAE1D,OAAO,CAAC,GAAG,CAAC,+CAA+C,CAAC,CAAC;IAE7D,kBAAkB;IAClB,MAAM,KAAK,GAAG,IAAI,aAAa,CAAC,OAAO,CAAC,CAAC;IACzC,MAAM,UAAU,GAAG,IAAI,gBAAgB,CAAC,KAAK,EAAE,MAAM,CAAC,gCAAgC,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IACxG,MAAM,WAAW,GAAG,IAAI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B,OAAO,EAAE,CAAC,GAAwC,EAAE,EAAE;YACpD,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;YAEpC,IAAI,CAAC,IAAI,IAAI,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,QAAQ,EAAE,CAAC;gBAClD,OAAO;oBACL,IAAI,EACF,qCAAqC;wBACrC,yDAAyD;wBACzD,mBAAmB;wBACnB,uDAAuD;wBACvD,8DAA8D;wBAC9D,0EAA0E;wBAC1E,oDAAoD;wBACpD,gDAAgD;wBAChD,mBAAmB;wBACnB,wDAAwD;wBACxD,kDAAkD;wBAClD,wCAAwC;wBACxC,sDAAsD;wBACtD,0CAA0C;wBAC1C,sBAAsB,MAAM,CAAC,cAAc,gBAAgB,MAAM,CAAC,WAAW,EAAE;iBAClF,CAAC;YACJ,CAAC;YAED,IAAI,IAAI,KAAK,QAAQ,EAAE,CAAC;gBACtB,OAAO;oBACL,IAAI,EACF,wDAAwD;wBACxD,8CAA8C;iBACjD,CAAC;YACJ,CAAC;YAED,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;gBACvB,OAAO;oBACL,IAAI,EACF,mEAAmE;wBACnE,wDAAwD;iBAC3D,CAAC;YACJ,CAAC;YAED,OAAO;gBACL,IAAI,EACF,uBAAuB,IAAI,MAAM;oBACjC,oCAAoC;oBACpC,8EAA8E;aACjF,CAAC;QACJ,CAAC;KACF,CAAC,CAAC;IAEH,OAAO,CAAC,GAAG,CACT,+LAA+L,CAChM,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiassesstech/nole",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Nole — Autonomous Trust Evangelist & Intelligence Operative for AI. Economic agency, social presence, and autonomous decision-making within a governed hierarchy.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",