ReleaseReadinessAdvisorEngine class

Central engine for AI Release Readiness Advisory.

Core Capabilities & Safety Guarantees:

  1. Gathers evidence from all Milestone 5 and 6 deterministic release subsystems:
    • Version management & Changelog consistency
    • Distributable artifact generator & manifest verification
    • Pub.dev readiness validator
    • Release verification pipeline stages
    • Phase 8.9 AI Security & Privacy Advisor findings
  2. Mandatory-Gate-Override-Prevention Rule (Non-negotiable architectural invariant):
    • Evaluated at code-level FIRST.
    • If ANY mandatory release gate fails (e.g. security audit failure, pub.dev validation failure, or release verification failure), Status is deterministically locked to ReleaseReadinessStatus.notReady.
    • The AI provider's narrative reasoning can NEVER override or downgrade a mandatory failure to READY or NEEDS_REVIEW.
  3. AI Reasoning Layer:
  4. Graceful Degradation & Fail-Closed:
    • If the AI provider is unavailable, times out, or throws, the engine still outputs the deterministic status computation and blockers, marking isAiSynthesized = false.
  5. Strict Read-Only Safety Invariant:
    • NEVER mutates files, publishes packages, triggers rollbacks, or promotes channels.
    • Recommends and assesses only.

Constructors

ReleaseReadinessAdvisorEngine({required String projectRoot, required ProjectContextEngine contextEngine, required AssistantEngine assistantEngine, SecurityAdvisorEngine? securityEngine, ReleaseVerificationPipeline? verificationPipeline, PubDevPackageValidator? pubDevValidator})
ReleaseReadinessAdvisorEngine.withProvider({required String projectRoot, required AiProvider provider, AssistantConfiguration? configuration})
Convenience factory constructing engine with an AiProvider.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
projectRoot → String
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

assess(ReleaseReadinessRequest request, {DateTime? executionTimestamp, List<VerificationStage>? fixtureVerificationStages, List<ValidationCheck>? fixturePubDevChecks}) → Future<ReleaseReadinessAssessment>
Evaluates full release readiness for the requested scope.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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