mcp_knowledge 0.2.2
mcp_knowledge: ^0.2.2 copied to clipboard
Unified knowledge management system integrating facts, skills, profiles, and operations with facades, bridges, and event-driven architecture for the MCP ecosystem.
0.2.2 - 2026-05-07 - Cascade mcp_bundle ^0.3.2 #
Dependencies #
mcp_bundle: ^0.3.1→^0.3.2— cascade alignment to pick up the newMcpBundle.factGraphSectionwire (additive — fact instance round-trip slot alongside the existingfactGraphSchematype catalogue). No code changes inmcp_knowledgeitself; downstream consumers that round-trip bundles with embedded fact instance data throughmcp_knowledge's facades / bridges now resolve against the new wire.
0.2.1 - 2026-05-04 - Multi-ethos resolution & graceful profile listing #
Added #
PhilosophyFacade.getEthosById(String? id)— id-based ethos resolution against the wiredEthosStorePortwith a graceful fallback to the active ethos. Multi-ethos workspaces (e.g.ads-corevseditorial-core) can now fork from a specific ethos id without bypassing the facade.
Changed #
ProfileFacade.list()returns an empty list when noProfileRuntimeis wired instead of raisingStateError. Mutating operations (register,unregister,get,apply) still raiseStateError. Read-only enumeration is now safe to call unconditionally.
Dependencies #
mcp_bundle: ^0.3.1— forEthosRecord.fromJsonused bygetEthosByIdto reconstruct ethos payloads round-tripped through persistent stores.mcp_fact_graph: ^0.2.1— propagates the upstreamConsistencyChecker._periodsOverlapbug fix (calendar-day → microsecond precision) so consumers that pinmcp_knowledgeexactly receive the fix transitively.
0.2.0 - 2026-04-28 - Orchestrator-Only Redesign #
Changed (breaking) #
mcp_knowledgeis now orchestrator-only — no port definitions or wrappers; composes runtimes frommcp_fact_graph/mcp_skill/mcp_profile/mcp_philosophy/mcp_knowledge_ops.KnowledgeSystemconstructor accepts five optional runtimes (factGraph,skillRuntime,profileRuntime,philosophyEngine,opsRuntime). Partial orchestration supported vianull.KnowledgePortsis a flat 32-field container ofmcp_bundlestandard ports (legacyCollectionStoragePortremoved).- Facade methods (
SkillFacade.execute,ProfileFacade.apply,FactFacade,PhilosophyFacade) delegate to real runtimes; 0.1.0 stand-ins are gone. - New dependency:
mcp_bundle ^0.3.0.
Added #
OpsFacadewrappingOpsRuntime's workflow / pipeline / runbook ports (replacesBundleFacade).KnowledgeSystem.stub()convenience factory.
Removed #
- Six bridges (
skill_fact,profile_fact,bundle_system,philosophy_skill/profile/fact) and five raw-accessor adapters — replaced by Contract Layer port wiring inside the runtimes. BundleFacade— bundle deployment is now anOpsRuntimeworkflow concern.KnowledgeSystem.runCuration / runSummarization / runPatternMining / loadBundle / executeSkill / applyProfile / executePipeline / executeWorkflow / resumeFromCheckpoint— delegated tosystem.ops.*/system.skill.*/system.profile.*.
0.1.0 Initial Release #
Added #
Core Features
-
KnowledgeSystem
- Unified entry point for all knowledge operations
- Configuration management with
KnowledgeConfig - Port-based dependency injection with
KnowledgePorts - Graceful shutdown and lifecycle management
-
Facades
FactFacadefor simplified fact operationsSkillFacadefor skill executionProfileFacadefor profile renderingBundleFacadefor bundle management
-
Bridges
SkillFactBridgefor connecting skill outputs to fact graphProfileFactBridgefor injecting fact context into profilesBundleSystemBridgefor deploying bundles across subsystems
-
Event System
KnowledgeEventBusfor event distribution- Typed event streams with
on<T>()method - Event subscription with handlers
-
Events
FactConfirmedEvent- when a candidate becomes a factCandidateCreatedEvent- when a new candidate is createdSummaryRefreshedEvent- when a summary is updatedSkillExecutedEvent- when a skill completesClaimsRecordedEvent- when claims are recordedProfileRenderedEvent- when a profile is renderedBundleLoadedEvent- when a bundle is deployedPipelineCompletedEvent- when a pipeline finishesSystemShutdownEvent- when system shuts down
-
Configuration
KnowledgeConfigwith hierarchical settingsFactGraphConfigfor fact graph settingsSkillConfigfor skill execution settingsProfileConfigfor profile rendering settingsSchedulerConfigfor scheduling settingsEventConfigfor event system settingsLoggingConfigfor logging settingsFeatureFlagsfor feature toggles- Preset configurations:
defaults,development,production
-
Ports
KnowledgePortsunified port containerStoragePortfor data persistenceLlmPortfor LLM integrationMcpPortfor MCP communicationEvidencePortfor evidence processingExpressionPortfor template evaluation- Stub implementations for testing
-
Adapters
SkillPortsAdapterfor skill port conversionProfilePortsAdapterfor profile port conversionFactGraphPortsAdapterfor fact graph port conversion
Integration #
- Integrates
mcp_bundlefor bundle management - Integrates
mcp_fact_graphfor knowledge storage - Integrates
mcp_skillfor AI capabilities - Integrates
mcp_profilefor AI personas - Integrates
mcp_knowledge_opsfor operations
Architecture #
- Facade pattern for simplified APIs
- Bridge pattern for cross-package integration
- Event-driven architecture for loose coupling
- Port-based dependency injection