flowbrain_core 0.1.2
flowbrain_core: ^0.1.2 copied to clipboard
FlowBrain Core — Judgment & Knowledge core for the MakeMind ecosystem. Two cooperating subsystems: Knowledge (5 facades over a 4-layer Fact/Skill/Profile/Philosophy structure plus Ops) and Agent (work [...]
0.1.2 #
Changed (cascade) #
mcp_bundlecaret bumped from^0.3.2to^0.4.0(mcp_bundle 0.4.0UiSection.pagesspec realignment).mcp_knowledgecaret bumped from^0.2.2to^0.2.3(sibling cascade).
flowbrain_core does not touch UiSection.pages directly — caret-only cascade. Consumers should bump to ^0.1.2.
0.1.1 #
Dependencies #
mcp_bundle: ^0.3.1→^0.3.2— cascade alignment to pick upMcpBundle.factGraphSectionwire (additive — fact instance round-trip slot alongside the existingfactGraphSchematype catalogue).mcp_knowledge: ^0.2.1→^0.2.2— same cascade.
No code changes in flowbrain_core itself.
0.1.0 #
Initial release.
- Knowledge Subsystem — five facades (
facts,skill,profile,philosophy,ops) wrapped frommcp_knowledge0.2.x. Four-layer knowledge structure (L0 FactGraph → L1 Skill → L2 Profile → L3 Philosophy) plus Ops, with default L0 auto-wiring andInfraPorts.inMemory()smoke infrastructure. - Agent Subsystem — flowbrain-native, fully on-package:
- Self-contained agents — own LLM context, own model (
ModelSpec), own forked 4-axis instances. - Three roles via
AgentRole—worker/manager/reviewer. - 4-axis fork assignment from workspace pool or from another already-evolved agent (
PoolForkSource/AgentForkSource) acrossskill·profile·philosophy·facts. agents.ask/agents.streamfor conversation,agents.routefor manager dispatch,agents.reviewfor reviewer evaluation.- Growth Tracker records evolution kinds (variation / adjustment / revision / accretion) per agent.
- Conversation Store with
getHistory(limit).
- Self-contained agents — own LLM context, own model (
- Event bus —
system.eventBus.stream(broadcastStream<KnowledgeEvent>); domain-typed agent events (AgentCreatedEvent,AgentDeletedEvent, …). - Stub LLM —
StubLlmPortauto-wired byKnowledgeSystem.withAgents()when no provider is supplied; deterministic short replies for tests / smoke runs. - Public surface — single barrel import
package:flowbrain_core/flowbrain_core.dartexposes:KnowledgeSystem(defaults / stub / withAgents factories)KnowledgeConfig+ 9 sub-configsInfraPorts+ standard infrastructure port interfacesAgentFacade+Agent/AgentReply/AgentRole/AgentAxis/ModelSpec/RoutingDecision/ReviewResult/ReviewVerdict/GrowthKind/ConversationTurn- Philosophy domain helper exceptions and result types
- Examples —
example/flowbrain_example.dart,example/multi_role.dart,example/lifecycle_events.dart. All run end-to-end against the stub LLM with no external services.