Skip to content

CouncilModule

Council — multi-perspective deliberation engine.

Absorbs: ethical_prism, forge, serendipity, prism, cipher, sandbox.

The Council is NEXUS’s collective intelligence surface. It orchestrates structured multi-round debate across modules and applies analytical LENSES and deliberation MODES to produce synthesized recommendations with preserved dissent.

LENSES (activated based on message content):

  • ethical : 7-framework ethical analysis (from ethical_prism)
  • verification : trust-scored claims with conflict detection (from cipher)
  • lateral : anti-optimization surprise scoring (from serendipity)
  • synthesis : cross-domain tag-based connection finding (from prism)

MODES (specialized deliberation types):

  • negotiation : structured multi-round bargaining (from forge)

  • simulation : hypothetical outcome projection (from sandbox)

  • Version: 1.0.0

  • Class: CouncilModule

  • Module name: council

Tier 1 module.

FieldTypeDefault
namestr—
base_trustfloat—
categorystr—
FieldTypeDefault
claim_idstr—
valuestr—
sourcestr—
trustfloat—
FieldTypeDefault
domainstr—
contentstr—
tagslist[str]—
FieldTypeDefault
source_domainstr—
contentstr—
shared_conceptslist[str]—
surprise_scorefloat—
explanationstr—
FieldTypeDefault
domainstr—
contentstr—
tagslist[str]—
FieldTypeDefault
summarystr—
domainslist[str]—
tagslist[str]—
observationslist[Observation]—
connection_strengthfloat—
FieldTypeDefault
domainstr—
floorfloat—
ceilingfloat—
targetfloat—
max_roundsint—
concession_limitfloat—
FieldTypeDefault
round_numint—
amountfloat—
from_partystr—
timestampstr''
FieldTypeDefault
idstr—
configNegotiationConfig—
statusstr—
current_roundint0
offerslist[Offer]field(default_factory=list)
our_lastfloat0.0
FieldTypeDefault
questionstr—
recommendationstr—
confidencefloat—
consensus_viewstr—
dissenting_viewslist[str]—
key_uncertaintieslist[str]—
participantslist[str]—
roundsint—
lenses_appliedlist[str]field(default_factory=list)
modestr'standard'
transcriptlist[dict[str, Any]]field(default_factory=list)

async on_load(self, context: dict[str, Any] | None = None) -> None

Section titled “async on_load(self, context: dict[str, Any] | None = None) -> None”

async on_unload(self, context: dict[str, Any] | None = None) -> None

Section titled “async on_unload(self, context: dict[str, Any] | None = None) -> None”

set_modules(self, modules: dict[str, NexusModule]) -> None

Section titled “set_modules(self, modules: dict[str, NexusModule]) -> None”

register_source(self, profile: SourceProfile) -> None

Section titled “register_source(self, profile: SourceProfile) -> None”

score_information(self, information: str, source: str) -> dict[str, Any]

Section titled “score_information(self, information: str, source: str) -> dict[str, Any]”

record_claim(self, claim_id: str, value: str, source: str, trust: float) -> None

Section titled “record_claim(self, claim_id: str, value: str, source: str, trust: float) -> None”

get_conflicts(self) -> list[dict[str, Any]]

Section titled “get_conflicts(self) -> list[dict[str, Any]]”

Find claims where different sources report different values.

get_provenance(self, claim_id: str) -> list[dict[str, Any]]

Section titled “get_provenance(self, claim_id: str) -> list[dict[str, Any]]”

find_surprising_connections(self) -> list[SurprisingConnection]

Section titled “find_surprising_connections(self) -> list[SurprisingConnection]”

Inverted relevance scoring — rewards cross-domain surprise.

synthesize_observations(self) -> list[Insight]

Section titled “synthesize_observations(self) -> list[Insight]”

Find cross-domain connections through shared tags.

create_negotiation(self, config: NegotiationConfig) -> str

Section titled “create_negotiation(self, config: NegotiationConfig) -> str”

get_negotiation_state(self, neg_id: str) -> NegotiationState

Section titled “get_negotiation_state(self, neg_id: str) -> NegotiationState”

receive_counter(self, neg_id: str, amount: float) -> str

Section titled “receive_counter(self, neg_id: str, amount: float) -> str”

get_negotiation_history(self, neg_id: str) -> list[Offer]

Section titled “get_negotiation_history(self, neg_id: str) -> list[Offer]”

select_participants(self, question: str) -> list[str]

Section titled “select_participants(self, question: str) -> list[str]”

async deliberate(self, question: str, context: dict[str, Any], participants: list[str] | None = None) -> DeliberationResult

Section titled “async deliberate(self, question: str, context: dict[str, Any], participants: list[str] | None = None) -> DeliberationResult”

async handle(self, message: str, context: dict[str, Any]) -> str

Section titled “async handle(self, message: str, context: dict[str, Any]) -> str”