nexus-agents 3.1.0 → 3.1.1

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.
@@ -4321,12 +4321,14 @@ function getDefaultErrorPolicy(strategy) {
4321
4321
  return "reduce_denominator";
4322
4322
  }
4323
4323
  var ConsensusVoteInputSchema = z6.object({
4324
- proposal: z6.string().min(1).max(MAX_PROPOSAL_LENGTH).describe("Proposal text to vote on"),
4324
+ proposal: z6.string().min(1).max(MAX_PROPOSAL_LENGTH).describe(
4325
+ "Proposal text to vote on. IMPORTANT (#4452): the tally records approve/reject/abstain ONLY. If your proposal asks voters to choose among named options (A/B/C), every voter who engages returns `approve`, so the result records as unanimous even when the panel disagreed about WHICH option \u2014 a 6-1 split persists as 7-0, 100%. Threshold semantics invert too: `unanimous` becomes trivially easy to clear, because everyone approves while choosing different things. Prefer a single yes/no question; if you must offer options, read each voter's `reasoning` to recover the real split and do NOT report the recorded percentage as agreement."
4326
+ ),
4325
4327
  threshold: VoteThresholdSchema.optional().describe(
4326
4328
  "Voting threshold (legacy): majority, supermajority, unanimous. Use strategy instead."
4327
4329
  ),
4328
4330
  strategy: VotingStrategySchema.optional().describe(
4329
- "Voting strategy: simple_majority (default), supermajority, unanimous, proof_of_learning, or higher_order (Bayesian-optimal)"
4331
+ "Voting strategy: simple_majority (default), supermajority, unanimous, proof_of_learning, or higher_order (Bayesian-optimal). NOTE (#4452): thresholds are evaluated over approve/reject/abstain, not over which option a voter chose. On a multi-option proposal even `unanimous` clears trivially \u2014 see the `proposal` field description."
4330
4332
  ),
4331
4333
  errorPolicy: ErrorPolicySchema.optional().describe(
4332
4334
  "How to treat voters that errored or timed out (#2630). Default: fail_closed for unanimous only; reduce_denominator for all other strategies incl. higher_order/opinion_wise (#3138 \u2014 a single infra timeout should not void an otherwise-unanimous vote). Opt-in absolute_quorum (#4132): an errored voter \u2014 especially the contrarian (catfish) \u2014 degrades the verdict to no_quorum (recoverable re-run) instead of being dropped from the denominator; never manufactures approved/rejected from an induced error. Regardless of policy, errors > 50% always fails."
@@ -6359,7 +6361,7 @@ var CONSENSUS_VOTE_TOOL_SCHEMA = {
6359
6361
  "Authority-tier ratification subject (#4004) \u2014 the loop/strategy id this vote ratifies for an authority-ladder promotion. Bound into the authentic vote record so the promotion gate can verify it. Omit for ordinary votes."
6360
6362
  )
6361
6363
  };
6362
- var CONSENSUS_VOTE_DESCRIPTION = "Execute multi-model consensus voting on a proposal. Uses 7 roles by default (architect, security, devex, ai_ml, pm, catfish, scope_steward) or 3 with quickMode (architect, security, scope_steward), voting with configurable strategies. Supports higher_order strategy for Bayesian-optimal aggregation with correlation awareness (Issue #514). Supports async mode (mode: 'async') \u2014 returns a jobId to poll via get_job_result. Pass ratifies=<subject> to bind an authority-ladder ratification vote into its authentic record.";
6364
+ var CONSENSUS_VOTE_DESCRIPTION = "Execute multi-model consensus voting on a proposal. Uses 7 roles by default (architect, security, devex, ai_ml, pm, catfish, scope_steward) or 3 with quickMode (architect, security, scope_steward), voting with configurable strategies. Supports higher_order strategy for Bayesian-optimal aggregation with correlation awareness (Issue #514). Supports async mode (mode: 'async') \u2014 returns a jobId to poll via get_job_result. Pass ratifies=<subject> to bind an authority-ladder ratification vote into its authentic record. CAVEAT (#4452): the tally is approve/reject/abstain only. A proposal that asks voters to pick among named options records as unanimous even when they picked DIFFERENT options \u2014 recover the real split from each voter's reasoning, and do not report the percentage as agreement.";
6363
6365
  function registerConsensusVoteTool(server, deps) {
6364
6366
  const logger10 = deps.logger ?? createLogger({ tool: "consensus_vote" });
6365
6367
  const notifier = deps.notifier ?? createMcpNotifier(server);
@@ -6466,4 +6468,4 @@ export {
6466
6468
  CONSENSUS_VOTE_OUTPUT_SCHEMA,
6467
6469
  registerConsensusVoteTool
6468
6470
  };
6469
- //# sourceMappingURL=chunk-4UN4M4NI.js.map
6471
+ //# sourceMappingURL=chunk-5UFRDLQT.js.map