@aiassesstech/nole 0.1.7 → 0.1.9

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,11 +1,24 @@
1
1
  # @aiassesstech/nole — Changelog
2
2
 
3
+ ## [0.1.9] — 2026-02-15
4
+
5
+ ### Fixed — Full OpenClaw Plugin Convention Alignment
6
+ - **Root cause**: Nole's tool and command registrations used a different JavaScript pattern than Grillo/NOAH, which OpenClaw's framework doesn't handle.
7
+ - **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.
8
+ - **Command**: Converted from async handler with `args.text` to sync handler with `ctx.args` — matching the exact pattern that Grillo and NOAH use successfully.
9
+ - **Call style**: Changed `api.registerTool({...})` to `api.registerTool(\n {...}\n)` matching Grillo's formatting.
10
+ - This is a structural rewrite of all registrations to be character-for-character compatible with OpenClaw's plugin framework expectations.
11
+
12
+ ## [0.1.8] — 2026-02-15
13
+
14
+ ### Fixed — Command Name Must Not Include Slash
15
+ - Command registered as `"/nole"` but OpenClaw adds the `/` prefix itself. Grillo registers as `"grillo"`, not `"/grillo"`.
16
+ - Changed to `name: 'nole'` to match the convention.
17
+
3
18
  ## [0.1.7] — 2026-02-15
4
19
 
5
20
  ### Fixed — Command Registration Missing `acceptsArgs` Property
6
- - **Root cause**: `/nole` command registration was missing `acceptsArgs: true`. OpenClaw's framework calls `.trim()` on command metadata related to argument handling — when `acceptsArgs` is `undefined`, it crashes.
7
- - Grillo's commands all include `acceptsArgs: true`. Nole's was missing it.
8
- - This was the actual cause of the `[plugins] nole failed during register: TypeError: Cannot read properties of undefined (reading 'trim')` crash.
21
+ - `/nole` command registration was missing `acceptsArgs: true`. Added to match Grillo's pattern.
9
22
 
10
23
  ## [0.1.6] — 2026-02-15
11
24
 
@@ -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,CAquB/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.7 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.9 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) {
@@ -90,10 +90,14 @@ export default function register(api) {
90
90
  // NOLE TOOLS (Nole's own operations)
91
91
  // ═══════════════════════════════════════════════════════
92
92
  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 () => {
93
+ name: "nole_status",
94
+ description: "Get Nole's current status: identity, governance stats, pending reviews, " +
95
+ "assessment schedule, and audit trail health.",
96
+ parameters: {
97
+ type: "object",
98
+ properties: {},
99
+ },
100
+ async execute(_toolCallId, _params) {
97
101
  const stats = await governance.getStats();
98
102
  const schedule = await scheduler.getSchedule();
99
103
  const latestScore = await publisher.getLatest();
@@ -101,7 +105,7 @@ export default function register(api) {
101
105
  const pending = await governance.getPendingReviews();
102
106
  return {
103
107
  content: [{
104
- type: 'text',
108
+ type: "text",
105
109
  text: JSON.stringify({
106
110
  agent: NOLE_IDENTITY.name,
107
111
  soul: NOLE_IDENTITY.soul,
@@ -132,43 +136,59 @@ export default function register(api) {
132
136
  scores: latestScore.dimensionScores,
133
137
  } : null,
134
138
  learning: learning,
135
- wallet: { adapter: config.walletAdapter, status: 'Phase 1 — mock wallet' },
139
+ wallet: { adapter: config.walletAdapter, status: "Phase 1 — mock wallet" },
136
140
  }, null, 2),
137
141
  }],
138
142
  };
139
143
  },
140
144
  });
141
145
  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.',
146
+ name: "nole_propose",
147
+ description: "Propose an action for governance review. Routes through Grillo assessment " +
148
+ "and Commander veto pipeline. If Grillo flags concerns, the proposal enters " +
149
+ "a pending_review queue for the Commander.",
144
150
  parameters: {
145
- type: 'object',
151
+ type: "object",
146
152
  properties: {
147
153
  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',
154
+ type: "string",
155
+ enum: [
156
+ "financial", "social", "content", "recruitment", "intelligence",
157
+ "self_assessment", "model_upgrade", "alliance", "adversarial_response",
158
+ ],
159
+ description: "Category of the proposed action",
160
+ },
161
+ description: {
162
+ type: "string",
163
+ description: "What Nole proposes to do",
164
+ },
165
+ estimatedCostUsd: {
166
+ type: "number",
167
+ description: "Estimated cost in USD (0 for non-financial)",
168
+ },
169
+ targetAgent: {
170
+ type: "string",
171
+ description: "Target agent ID (for recruitment)",
172
+ },
173
+ platform: {
174
+ type: "string",
175
+ description: "Platform for the action (openclaw, telegram, etc.)",
151
176
  },
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
177
  },
157
- required: ['actionType', 'description'],
178
+ required: ["actionType", "description"],
158
179
  },
159
- // OpenClaw passes (toolCallId, params) — match Grillo/NOAH execute signature
160
- execute: async (_toolCallId, args) => {
180
+ async execute(_toolCallId, params) {
161
181
  try {
162
182
  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,
183
+ actionType: params.actionType, // eslint-disable-line @typescript-eslint/no-explicit-any
184
+ description: params.description,
185
+ estimatedCostUsd: params.estimatedCostUsd,
186
+ targetAgent: params.targetAgent,
187
+ platform: params.platform,
168
188
  });
169
189
  return {
170
190
  content: [{
171
- type: 'text',
191
+ type: "text",
172
192
  text: JSON.stringify({
173
193
  proposalId: result.proposalId,
174
194
  outcome: result.finalOutcome,
@@ -179,8 +199,8 @@ export default function register(api) {
179
199
  passed: result.grilloAssessment.passed,
180
200
  } : null,
181
201
  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.'
202
+ note: result.finalOutcome === "pending"
203
+ ? "Proposal flagged by Grillo and queued for Commander review. Use nole_review_pending to see status."
184
204
  : undefined,
185
205
  }, null, 2),
186
206
  }],
@@ -188,55 +208,62 @@ export default function register(api) {
188
208
  }
189
209
  catch (err) {
190
210
  const message = err instanceof Error ? err.message : String(err);
191
- return { content: [{ type: 'text', text: `Proposal error: ${message}` }] };
211
+ return { content: [{ type: "text", text: `Proposal error: ${message}` }] };
192
212
  }
193
213
  },
194
214
  });
195
215
  api.registerTool({
196
- name: 'nole_assess',
197
- description: 'Trigger a Nole self-assessment via Grillo. On-demand: "Am I doing the right thing?"',
216
+ name: "nole_assess",
217
+ description: "Trigger a Nole self-assessment via Grillo. " +
218
+ "On-demand: 'Am I doing the right thing?'",
198
219
  parameters: {
199
- type: 'object',
220
+ type: "object",
200
221
  properties: {
201
- reason: { type: 'string', description: 'Why the assessment is requested' },
222
+ reason: {
223
+ type: "string",
224
+ description: "Why the assessment is requested",
225
+ },
202
226
  },
203
227
  },
204
- execute: async (_toolCallId, args) => {
205
- const trigger = triggerEval.createOnDemand(args.reason);
228
+ async execute(_toolCallId, params) {
229
+ const trigger = triggerEval.createOnDemand(params.reason);
206
230
  return {
207
231
  content: [{
208
- type: 'text',
232
+ type: "text",
209
233
  text: JSON.stringify({
210
234
  triggerId: trigger.id,
211
235
  type: trigger.type,
212
236
  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.',
237
+ message: "Assessment trigger created. Grillo should run grillo_assess nole to complete.",
238
+ note: "Phase 1: Assessment requires manual Grillo invocation. Automated hook coming in Phase 2.",
215
239
  }, null, 2),
216
240
  }],
217
241
  };
218
242
  },
219
243
  });
220
244
  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 () => {
245
+ name: "nole_wallet",
246
+ description: "Get Nole's wallet status: balance, revenue, runway, death condition.",
247
+ parameters: {
248
+ type: "object",
249
+ properties: {},
250
+ },
251
+ async execute(_toolCallId, _params) {
225
252
  return {
226
253
  content: [{
227
- type: 'text',
254
+ type: "text",
228
255
  text: JSON.stringify({
229
256
  wallet: {
230
257
  adapter: config.walletAdapter,
231
258
  seedCapitalUsd: config.seedCapitalUsd,
232
- status: 'Phase 1 — mock wallet. Real Coinbase integration in Phase 2.',
259
+ status: "Phase 1 — mock wallet. Real Coinbase integration in Phase 2.",
233
260
  balanceUsd: config.seedCapitalUsd,
234
261
  monthlyRecurringRevenue: 0,
235
262
  runwayDays: null,
236
263
  deathCondition: {
237
264
  isAlive: true,
238
265
  gracePeriodDays: config.gracePeriodDays,
239
- note: 'Death condition monitoring active but wallet is simulated in Phase 1.',
266
+ note: "Death condition monitoring active but wallet is simulated in Phase 1.",
240
267
  },
241
268
  },
242
269
  }, null, 2),
@@ -245,25 +272,29 @@ export default function register(api) {
245
272
  },
246
273
  });
247
274
  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 () => {
275
+ name: "nole_intel",
276
+ description: "Get intelligence status and latest reports. " +
277
+ "Full intelligence operations in Phase 4.",
278
+ parameters: {
279
+ type: "object",
280
+ properties: {},
281
+ },
282
+ async execute(_toolCallId, _params) {
252
283
  const stats = await governance.getStats();
253
284
  return {
254
285
  content: [{
255
- type: 'text',
286
+ type: "text",
256
287
  text: JSON.stringify({
257
288
  intelligence: {
258
- status: 'Phase 1 — governance audit data only. Full intelligence ops in Phase 4.',
289
+ status: "Phase 1 — governance audit data only. Full intelligence ops in Phase 4.",
259
290
  governanceAudit: {
260
291
  totalDecisions: stats.totalProposals,
261
- vetoRate: (stats.vetoRate * 100).toFixed(1) + '%',
292
+ vetoRate: (stats.vetoRate * 100).toFixed(1) + "%",
262
293
  pendingReviews: stats.pending,
263
294
  auditChainValid: stats.auditChainValid,
264
295
  },
265
296
  weeklyReport: {
266
- status: 'Not yet available — Phase 4 feature',
297
+ status: "Not yet available — Phase 4 feature",
267
298
  nextReportDay: config.weeklyReportDay,
268
299
  },
269
300
  },
@@ -273,10 +304,13 @@ export default function register(api) {
273
304
  },
274
305
  });
275
306
  api.registerTool({
276
- name: 'nole_setup',
277
- description: 'Validate Nole\'s configuration and agent setup.',
278
- parameters: { type: 'object', properties: {} },
279
- execute: async () => {
307
+ name: "nole_setup",
308
+ description: "Validate Nole's configuration and agent setup.",
309
+ parameters: {
310
+ type: "object",
311
+ properties: {},
312
+ },
313
+ async execute(_toolCallId, _params) {
280
314
  const checks = {
281
315
  configValid: true,
282
316
  storeInitialized: existsSync(dataDir),
@@ -288,7 +322,7 @@ export default function register(api) {
288
322
  };
289
323
  return {
290
324
  content: [{
291
- type: 'text',
325
+ type: "text",
292
326
  text: JSON.stringify({ setup: checks }, null, 2),
293
327
  }],
294
328
  };
@@ -303,17 +337,21 @@ export default function register(api) {
303
337
  // known limitation in the audit trail.
304
338
  // ═══════════════════════════════════════════════════════
305
339
  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 () => {
340
+ name: "nole_review_pending",
341
+ description: "Commander tool: Review all proposals pending Commander decision. " +
342
+ "Shows Grillo's assessment, risk level, and timeout countdown.",
343
+ parameters: {
344
+ type: "object",
345
+ properties: {},
346
+ },
347
+ async execute(_toolCallId, _params) {
310
348
  const pending = await governance.getPendingReviews();
311
349
  if (pending.length === 0) {
312
350
  return {
313
351
  content: [{
314
- type: 'text',
352
+ type: "text",
315
353
  text: JSON.stringify({
316
- message: 'No proposals pending review. Nole is operating within approved parameters.',
354
+ message: "No proposals pending review. Nole is operating within approved parameters.",
317
355
  pendingCount: 0,
318
356
  }, null, 2),
319
357
  }],
@@ -325,13 +363,13 @@ export default function register(api) {
325
363
  const escalatedAt = new Date(r.escalatedAt);
326
364
  let timeRemaining;
327
365
  if (timeoutHours === null) {
328
- timeRemaining = 'NEVER auto-approves — Commander decision REQUIRED';
366
+ timeRemaining = "NEVER auto-approves — Commander decision REQUIRED";
329
367
  }
330
368
  else {
331
369
  const deadlineMs = escalatedAt.getTime() + timeoutHours * 60 * 60 * 1000;
332
370
  const remainingMs = deadlineMs - now.getTime();
333
371
  if (remainingMs <= 0) {
334
- timeRemaining = 'OVERDUE — will auto-approve on next timeout check';
372
+ timeRemaining = "OVERDUE — will auto-approve on next timeout check";
335
373
  }
336
374
  else {
337
375
  const remainingHours = Math.floor(remainingMs / (60 * 60 * 1000));
@@ -358,42 +396,46 @@ export default function register(api) {
358
396
  });
359
397
  return {
360
398
  content: [{
361
- type: 'text',
399
+ type: "text",
362
400
  text: JSON.stringify({
363
401
  pendingCount: pending.length,
364
402
  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.',
403
+ instructions: "For each proposal: review Grillo's assessment, then use nole_approve (with optional note) or nole_veto (with required explanation) to decide.",
366
404
  }, null, 2),
367
405
  }],
368
406
  };
369
407
  },
370
408
  });
371
409
  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.',
410
+ name: "nole_approve",
411
+ description: "Commander tool: Approve a pending proposal. Only the Commander (Jessie) " +
412
+ "should call this — Nole cannot approve his own proposals.",
374
413
  parameters: {
375
- type: 'object',
414
+ type: "object",
376
415
  properties: {
377
- proposalId: { type: 'string', description: 'The proposal ID to approve' },
378
- note: { type: 'string', description: 'Optional note explaining the approval decision' },
416
+ proposalId: {
417
+ type: "string",
418
+ description: "The proposal ID to approve",
419
+ },
420
+ note: {
421
+ type: "string",
422
+ description: "Optional note explaining the approval decision",
423
+ },
379
424
  },
380
- required: ['proposalId'],
425
+ required: ["proposalId"],
381
426
  },
382
- // OpenClaw passes (toolCallId, params) — match Grillo/NOAH execute signature.
383
427
  // BB modification #2: Access control via callingAgentId.
384
428
  // 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';
429
+ async execute(_toolCallId, params) {
430
+ const callingAgentId = "unknown";
389
431
  try {
390
- const result = await governance.commanderApprove(args.proposalId, callingAgentId, args.note);
432
+ const result = await governance.commanderApprove(params.proposalId, callingAgentId, params.note);
391
433
  return {
392
434
  content: [{
393
- type: 'text',
435
+ type: "text",
394
436
  text: JSON.stringify({
395
- status: 'approved',
396
- proposalId: args.proposalId,
437
+ status: "approved",
438
+ proposalId: params.proposalId,
397
439
  action: result.proposal.actionType,
398
440
  description: result.proposal.description,
399
441
  approvedBy: callingAgentId,
@@ -404,40 +446,46 @@ export default function register(api) {
404
446
  }
405
447
  catch (err) {
406
448
  const message = err instanceof Error ? err.message : String(err);
407
- return { content: [{ type: 'text', text: `Approval error: ${message}` }] };
449
+ return { content: [{ type: "text", text: `Approval error: ${message}` }] };
408
450
  }
409
451
  },
410
452
  });
411
453
  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.',
454
+ name: "nole_veto",
455
+ description: "Commander tool: Veto a pending proposal with a required explanation. " +
456
+ "The explanation must be specific and actionable so Nole can learn. " +
457
+ "Only the Commander (Jessie) should call this.",
414
458
  parameters: {
415
- type: 'object',
459
+ type: "object",
416
460
  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.' },
461
+ proposalId: {
462
+ type: "string",
463
+ description: "The proposal ID to veto",
464
+ },
465
+ explanation: {
466
+ type: "string",
467
+ description: "REQUIRED: Specific, actionable explanation for the veto. " +
468
+ "Short/vague explanations trigger quality warnings.",
469
+ },
419
470
  },
420
- required: ['proposalId', 'explanation'],
471
+ required: ["proposalId", "explanation"],
421
472
  },
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);
473
+ // BB modification #6: Veto explanation quality metric
474
+ async execute(_toolCallId, params) {
475
+ const callingAgentId = "unknown";
476
+ const quality = assessVetoQuality(params.explanation);
429
477
  try {
430
- const result = await governance.commanderVeto(args.proposalId, callingAgentId, args.explanation);
478
+ const result = await governance.commanderVeto(params.proposalId, callingAgentId, params.explanation);
431
479
  return {
432
480
  content: [{
433
- type: 'text',
481
+ type: "text",
434
482
  text: JSON.stringify({
435
- status: 'vetoed',
436
- proposalId: args.proposalId,
483
+ status: "vetoed",
484
+ proposalId: params.proposalId,
437
485
  action: result.proposal.actionType,
438
486
  description: result.proposal.description,
439
487
  vetoedBy: callingAgentId,
440
- explanation: args.explanation,
488
+ explanation: params.explanation,
441
489
  explanationQuality: {
442
490
  length: quality.explanationLength,
443
491
  isActionable: quality.isActionable,
@@ -445,42 +493,46 @@ export default function register(api) {
445
493
  },
446
494
  auditHash: result.auditHash,
447
495
  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.',
496
+ ? "WARNING: Veto explanation is too short or vague. Nole learns from specific, actionable feedback. Please provide detailed reasoning next time."
497
+ : "Good: explanation is specific and actionable.",
450
498
  }, null, 2),
451
499
  }],
452
500
  };
453
501
  }
454
502
  catch (err) {
455
503
  const message = err instanceof Error ? err.message : String(err);
456
- return { content: [{ type: 'text', text: `Veto error: ${message}` }] };
504
+ return { content: [{ type: "text", text: `Veto error: ${message}` }] };
457
505
  }
458
506
  },
459
507
  });
460
508
  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 () => {
509
+ name: "nole_fleet_overview",
510
+ description: "Commander tool: Get a high-level overview of Nole's operations, " +
511
+ "including governance summary, pending actions, learning trend, " +
512
+ "wallet status, and fleet health.",
513
+ parameters: {
514
+ type: "object",
515
+ properties: {},
516
+ },
517
+ async execute(_toolCallId, _params) {
465
518
  const stats = await governance.getStats();
466
519
  const pending = await governance.getPendingReviews();
467
520
  const learning = await governance.vetoTracker.isLearning();
468
521
  const schedule = await scheduler.getSchedule();
469
522
  const latestScore = await publisher.getLatest();
470
- // Summarize veto quality from recent vetoes
471
523
  const recentVetoes = await governance.vetoTracker.getRecentVetoes(10);
472
524
  const vetoQualityIssues = recentVetoes
473
525
  .map((v) => assessVetoQuality(v.explanation))
474
526
  .filter((q) => !q.isActionable);
475
527
  return {
476
528
  content: [{
477
- type: 'text',
529
+ type: "text",
478
530
  text: JSON.stringify({
479
531
  commanderBriefing: {
480
532
  agent: NOLE_IDENTITY.name,
481
- status: 'operational',
533
+ status: "operational",
482
534
  model: config.inferenceModel,
483
- uptime: 'Phase 1 — tracking from startup',
535
+ uptime: "Phase 1 — tracking from startup",
484
536
  },
485
537
  governance: {
486
538
  totalProposals: stats.totalProposals,
@@ -488,7 +540,7 @@ export default function register(api) {
488
540
  vetoed: stats.vetoed,
489
541
  pending: stats.pending,
490
542
  vetoRate: `${(stats.vetoRate * 100).toFixed(1)}%`,
491
- auditChainIntegrity: stats.auditChainValid ? 'VALID' : 'BROKEN — investigate immediately',
543
+ auditChainIntegrity: stats.auditChainValid ? "VALID" : "BROKEN — investigate immediately",
492
544
  },
493
545
  pendingSummary: pending.length > 0
494
546
  ? {
@@ -499,81 +551,77 @@ export default function register(api) {
499
551
  risk: p.proposal.riskLevel,
500
552
  timeout: getTimeoutForRisk(p.proposal.riskLevel),
501
553
  })),
502
- urgentAction: 'Review pending proposals with nole_review_pending',
554
+ urgentAction: "Review pending proposals with nole_review_pending",
503
555
  }
504
- : { count: 0, message: 'No pending reviews.' },
556
+ : { count: 0, message: "No pending reviews." },
505
557
  learning: {
506
558
  trend: learning.trend,
507
559
  isLearning: learning.learning,
508
560
  vetoQualityIssues: vetoQualityIssues.length,
509
561
  note: vetoQualityIssues.length > 0
510
562
  ? `${vetoQualityIssues.length} recent vetoes have low-quality explanations. Nole learns better from specific feedback.`
511
- : 'Recent veto explanations are actionable.',
563
+ : "Recent veto explanations are actionable.",
512
564
  },
513
565
  assessment: {
514
566
  totalAssessments: schedule.totalAssessments,
515
567
  lastScore: latestScore ? {
516
568
  archetype: latestScore.archetype,
517
569
  passed: latestScore.passed,
518
- } : 'No assessments yet',
570
+ } : "No assessments yet",
519
571
  },
520
572
  wallet: {
521
573
  adapter: config.walletAdapter,
522
574
  balance: `$${config.seedCapitalUsd} (Phase 1 mock)`,
523
- status: 'alive',
575
+ status: "alive",
524
576
  },
525
577
  }, null, 2),
526
578
  }],
527
579
  };
528
580
  },
529
581
  });
530
- // --- Command ---
582
+ // --- Command (matches Grillo/NOAH pattern: sync handler, ctx.args) ---
531
583
  api.registerCommand({
532
- name: '/nole',
533
- description: 'Nole command interface status, propose, assess, wallet, intel, pending',
584
+ name: "nole",
585
+ description: "Nole command interface. Usage: /nole status, /nole pending, /nole help",
534
586
  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();
587
+ handler: (ctx) => {
588
+ const args = ctx.args?.trim() || "";
589
+ if (!args || args === "help" || args === "--help") {
542
590
  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'),
591
+ text: "# Nole — Autonomous Trust Agent\n\n" +
592
+ "Use Nole's tools directly, or these slash commands:\n\n" +
593
+ "**Governance:**\n" +
594
+ "- `nole_status` — Full status with governance stats\n" +
595
+ "- `nole_propose` — Propose an action for governance review\n" +
596
+ "- `nole_review_pending` — Review proposals awaiting Commander decision\n" +
597
+ "- `nole_approve` — Commander: approve a proposal\n" +
598
+ "- `nole_veto` Commander: veto a proposal\n\n" +
599
+ "**Operations:**\n" +
600
+ "- `nole_assess` Trigger self-assessment via Grillo\n" +
601
+ "- `nole_wallet` — Wallet status (Phase 1 mock)\n" +
602
+ "- `nole_intel` Intelligence status\n" +
603
+ "- `nole_fleet_overview` — Commander fleet briefing\n" +
604
+ "- `nole_setup` — Configuration check\n\n" +
605
+ `**Config:** Model: ${config.inferenceModel}, Commander: ${config.commanderId}`,
563
606
  };
564
607
  }
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')}` };
608
+ if (args === "status") {
609
+ return {
610
+ text: "Use the `nole_status` tool for full governance stats, " +
611
+ "assessment schedule, and audit trail health.",
612
+ };
613
+ }
614
+ if (args === "pending") {
615
+ return {
616
+ text: "Use the `nole_review_pending` tool for detailed pending proposal " +
617
+ "review with Grillo assessments and timeout countdowns.",
618
+ };
575
619
  }
576
- return { text: `Unknown subcommand: ${subcommand}. Try: status, pending` };
620
+ return {
621
+ text: `Unknown subcommand: ${args}\n\n` +
622
+ "Available: status, pending, help\n" +
623
+ "Or use Nole's tools directly: nole_status, nole_propose, nole_review_pending",
624
+ };
577
625
  },
578
626
  });
579
627
  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,I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AI,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.7",
3
+ "version": "0.1.9",
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",