PhilosophyPort class abstract
Abstract port interface for Philosophy operations.
Defines the contract for evaluating an entity's value system (Ethos) against runtime context. This is the primary integration point between the Philosophy layer and all other MCP packages.
Implementations:
- PhilosophyAdapter (in mcp_philosophy) — default implementation
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkProhibitions(
ProhibitionCheckRequest request) → Future< ProhibitionCheckResult> - Check a proposed action or output against all prohibitions.
-
detectTensions(
MultiLayerContext context) → Future< List< Tension> > - Detect tensions between Philosophy and other layers.
-
evaluate(
PhilosophyEvaluationContext context) → Future< PhilosophyGuidance> - Evaluate the current context against the active Ethos.
-
getEthos(
) → Future< Ethos> - Retrieve the currently active Ethos instance.
-
intervene(
InterventionPoint point, PipelineContext context) → Future< InterventionResult> - Apply philosophy intervention at a pipeline stage.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
proposeFeedback(
FeedbackEvent event) → Future< EvolutionProposal?> - Generate an evolution proposal from action feedback.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited