Knowledge Portal · engineering documentation

Skip to content

Federated from workspace · PL-004 · zaixos-intelligence-platform/LEARNING_MODEL.md Do not edit canonical truth here — update the source repo, then re-run npm run docs:sync.


PL-004 Learning Model

Platform: ZIP · Principle: Learning is derived — never overwrites product truth


Purpose

Define how ZIP learns from outcomes — improving signal weights, detection thresholds, reasoning confidence, and intelligence patterns without mutating authoritative business records or auto-executing retries.


Learning inputs

InputSourceDescription
ExecutionOutcomeEventProductActual KPIs after handoff execution
ApprovalDeniedEventZIP + approverRejection reason and context
ApprovalGrantedEventZIPPositive human validation signal
PredictionErrorZIP internalPlanned vs actual comparison
ValidationFailureEventZIPPlan blocked by compliance/feasibility
PL-003 eval signalsPL-003 hooksAgent and prompt performance metrics

Learning pipeline

OutcomeEvent (product)
    → OutcomeNormalizer
    → Link to recommendation bundle + plan revision + reasoning artifact
    → PredictionErrorAnalysis
    → FeedbackRouter
         ├── HeuristicWeightUpdate (ZIP signal/detection weights)
         ├── ConfidenceCalibration (ZIP reasoning runtime)
         ├── PromptPerformanceSignal → PL-003 eval registry
         ├── AgentToolSuccessSignal → PL-003 agent registry
         └── ProductLearningPort (optional — product-owned ML)
    → LearningRecord (append-only, tenant-scoped)
    → KnowledgeEvolutionEngine.evaluate()

Forbidden: Auto-modifying product configuration. Auto-retrying rejected recommendations without new approval cycle.


Learning record schema

FieldDescription
learningIdUUID
tenantIdPlatform tenant
bundleIdSource recommendation
planRevisionPlan version executed
outcomeTypesuccess · partial · failure · rejected · expired
predictedMetricsMap from plan estimate
actualMetricsMap from product outcome event
predictionErrorComputed deltas
feedbackSourceoutcome · approval · validation
recordedAtTimestamp

Knowledge evolution

Intelligence patterns (not domain ontology) evolve from learning records:

ActionCondition
Promote patternSuccess rate ≥ threshold across N cycles; zero policy violations
Demote patternFalse positive rate ≥ threshold; repeated approver rejection
Retire patternObsolete objective or product manifest removal
Version patternPromotion creates new version key — immutable prior versions

Patterns stored in ZIP knowledge store. Playbook content remains product extension; ZIP stores effectiveness metadata only.


Cross-tenant learning

ModeDefaultRequirement
Tenant-isolatedYesNo cross-tenant data in learning
Anonymized aggregateOpt-in enterpriseExecutive Class A + DPA
Federated model trainingFutureNot in scope until Phase 7+

Feedback to PL-003

ZIP emits structured eval signals to PL-003 — never modifies PL-003 runtime directly:

SignalPL-003 consumer
Prompt outcome scoreEval framework
Agent tool success rateAgent registry weighting
Generation cost efficiencyJob orchestration hints

Cross references


Version history

VersionDateChange
1.02026-07-01Initial learning model — bootstrap

ZAIXOS Knowledge Portal — public engineering docs at /docs · Staff operations at /admin