EvolutionProposal class

Proposed change to an Ethos based on feedback patterns.

Annotations
  • @immutable

Constructors

EvolutionProposal({required String id, required String ethosId, required EvolutionType type, required String targetComponentId, required String targetComponentType, required String description, required String rationale, List<String> supportingFeedbackIds = const [], required double confidence, ProposedChange? proposedChange, ProposalStatus status = ProposalStatus.pending, DateTime? proposedAt})
EvolutionProposal.fromJson(Map<String, dynamic> json)
factory

Properties

confidence double
Confidence in the proposal (0.0-1.0).
final
description String
What change is proposed.
final
ethosId String
Target Ethos.
final
hashCode int
The hash code for this object.
no setterinherited
hasSufficientConfidence bool
Whether this proposal has sufficient confidence (>= 0.7).
no setter
id String
Unique identifier.
final
isPending bool
Whether this proposal is still pending review.
no setter
proposedAt DateTime
When the proposal was created.
final
proposedChange ProposedChange?
Specific change details.
final
rationale String
Why this change is proposed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ProposalStatus
Current status.
final
supportCount int
Number of supporting feedback events.
no setter
supportingFeedbackIds List<String>
FeedbackEvent IDs supporting this proposal.
final
targetComponentId String
Which ethos component to modify.
final
targetComponentType String
Component type: "valuePriority", "judgmentCriterion", etc.
final
type EvolutionType
Type of evolution.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited