cell_flow 1.0.0-rc.6
cell_flow: ^1.0.0-rc.6 copied to clipboard
Orchestration Layer (Flow) for the Cell Framework — 90+ forensic-grade operators (asyncMap, switchMap, debounce) for reactive signal processing.
Changelog #
All notable changes to cell_flow are documented in this file.
The format follows Keep a Changelog. Version numbers follow SemVer. Mitosis is the release codename; it is not part of the SemVer string.
[Mitosis (1.0.0-rc.6)] - Release Candidate #
Pub.dev WASM-compatibility release. No public API changes.
Fixed #
- WASM compatibility: Removed the unconditional
dart:iodependency from the AI tissue-command domain by movingHttpInterpreter,AiConfig.fromJsonFile, and the live-demo environment lookup behind conditional imports (ai_tissue_command_domain_io.darton native,ai_tissue_command_domain_stub.darton web/WASM). The package now compiles to WebAssembly (dart compile wasm).
[Mitosis (1.0.0-rc.5)] - Release Candidate #
Pub.dev score remediation release. No public API changes.
Fixed #
- Dependency alignment: Tightened the
cellconstraint to^1.0.0-rc.5. - License detection: Replaced the custom dual-license notice with the canonical MIT and Apache-2.0 texts so pub.flutter-io.cn recognizes the OSI-approved license.
- Example detection: Added
example/cell_flow_example.dart— a runnable quick start matching pub.flutter-io.cn's example file conventions.
Mitosis (1.0.0-rc.4) - Release Candidate #
This release introduces the AI Command Infrastructure, establishing a forensic gateway for AI-orchestrated state mutations. It aligns the orchestration topography with machine-driven logic while maintaining strict administrative oversight and causal integrity.
Added #
- AI Command Topography: Materialized the foundational infrastructure for AI-driven state evolution within the flow layer:
ai_tissue_command.dart: The command gateway implementation. It handles the execution of AI-generated instructions through governedapplyanddispatchmechanics, ensuring transactions remain isolated and compensable.ai_tissue_command_domain.dart: Formalized the forensic domain for machine commands. Defines the high-level interfaces for command schemas, authority tiers, and administrative mandates.
- AI Command Verification:
ai_tissue_command_test.dart: Exhaustive test suite for the new command infrastructure. Verifies that AI-generated pulses correctly inheritContextanchors and that the forensicPulse.traceaccurately captures machine-initiated mutations.
- Causal AI Anchoring: Integrated AI commands with the framework's Tiered Resolution Strategy, ensuring that machine-tier operations respect the administrative boundaries defined in the core layer.
Changed #
- Monorepo Synchronization: Aligned
cell_flowwith the corecell(1.0.0-rc.4) release, ensuring all orchestration operators support the refined Lifecycle Governance and Apoptosis (programmed cell death) mechanics. - Orchestration Pedagogy: Updated the operator documentation to explicitly link how AI-orchestrated stimuli flow through terminal sinks and reactive aggregators.
Fixed #
- Dependency Scoping: Resolved linter warnings related to machine-tier examples by refining the
dev_dependenciesmanifest to ensure forensic demos possess local workspace parity.
Tests #
- 1051 unit tests in 45 files, 465 groups (+13 tests for AI Command gateways).
- Last full run: +1051, exit 0.
- Line coverage (
lib/): 96.9% (+0.1% improvement in command gateway edge-cases).
Mitosis (1.0.0-rc.3) - Release Candidate #
This release formalizes Topographical Integrity and Forensic Traceability within the orchestration layer, ensuring that causal anchors are preserved across complex asynchronous transformations and operator chains.
Added #
- Causal Anchor Propagation: Updated
FlowInstructionandFlowHandleto respect the refinedContextsystem. Orchestrators now maintain the forensic lineage of aPulseas it traverses the topography, ensuring downstream observers can verify the original administrative authority.
Changed #
- Workspace Governance: Migrated to
resolution: workspace. Removed manualdependency_overridesfor local package links inpubspec.yaml, aligning with Dart's modern monorepo standards and resolving build conflicts in Melos environments. - Pedagogical KDocs: Regenerated public API documentation for all operators using the forensic standard (
### When to use,### How it works,### Non‑obvious). - Metadata Standardization: Synchronized
pubspec.yamlmetadata, includingrepository,issue_tracker, and platform support declarations, to ensure high-integrity discovery onpub.flutter-io.cn.
Fixed #
- Trace Integrity: Resolved a specialized case where the
Pulse.tracecould be fragmented or lost during high-frequencyDebounceorThrottleoperations. - Documentation Hygiene: Fixed unresolved doc references to generic type parameters
[C]and inherited references to[Tissue]across the operator family.
Tests #
- 1038 unit tests in 44 files, 452 groups (+13 tests covering context propagation and workspace resolution).
- Last full run: +1038, exit 0.
- Line coverage (
lib/): 96.8% (+0.3% improvement in operator edge-cases).
Mitosis (1.0.0-rc.2.0.2) - Release Candidate #
Patch focused on topographical integrity, path hygiene, and guidance expansion.
Fixed #
- Path Hygiene: Repaired a malformed Synapse (import URL) in
test/merge_test.dartthat utilized an invalid double-slash (//) syntax, resolving a terminal ingress error duringpub publish. - Topographical Anchor Resolution: Fixed a
dartdocwarning influent_operator.dartwhere[FlowHandle.cell]failed to resolve; updated documentation to explicitly reference the Anchor Node via thecellrecord field. - Asynchronous Pulse Materialization: Resolved an unresolved
[result]reference in theFlowInstructionBase.futureconstructor by standardizing on the term Evolved Pulse.
Added #
- Pedagogical Guidance: Materialized the
HowTo-Start.mdguide, providing a comprehensive "Transcription Orchestrator" walkthrough for developers to grasp Stimulus, Pulse, and Evolution mechanics. - Blueprint Templates: Expanded the
README.mdwith a structured table of Topographical Walkthroughs, linking clinical and search demos to their respective architectural patterns.
Tests #
- 1025 unit tests in 42 files, 442 groups (+3 tests covering path resolution).
- Last full run: +1025, exit 0.
- Line coverage (
lib/): 96.5% (+0.2% improvement in edge-case error paths).
Mitosis (1.0.0-rc.2.0.1) - Release Candidate #
Patch on the RC2 line. This release focuses on architectural documentation, topographical terminology alignment, and library hygiene.
Changed #
- Pedagogical Alignment: Regenerated all public API documentation across
flow_core.dart,fluent_operator.dart, and theinstruction/family using the Transcription Orchestrator style. - Topographical Terminology: Standardized terminology throughout the library. Documentation now formally refers to the graph as the Topography, inputs as Stimuli, event containers as Pulses, transformations as Evolutions, and results as Materializations.
- Orchestration Roles: Refined documentation for specific logic gates to clarify their role in the topography:
- Bridges: Temporal operators governing shift and cadence (
Delay,Interval). - Gates: Integrity and control operators (
Filter,Debounce,Timeout). - Flatteners: Structural transformation operators (
Map,ConcatMap,SwitchMap). - Anchors: Foundational graph nodes (
Cell).
- Bridges: Temporal operators governing shift and cadence (
Added #
- Quick Start Guide: Introduced
HowTo-Start.md, providing a comprehensive entry point for developers to grasp the Mitosis mental model. - Topographical Walkthroughs: Formally linked clinical and reactive search demos in the
README.mdanddartdoc_options.yamlas Blueprint Templates. fluent_operator_test.dart: Exhaustive test coverage forCellFlowOperatorsandFlowOperatorsensuring chains correctly anchor to theIngressHandle.cell.- Topographical Auditing Tools: Enhanced PowerShell-native auditing scripts for identifying files missing provenance metadata (Copyright headers).
Fixed #
- Documentation Hygiene: Resolved all
dartdocwarnings regarding unresolved references including[result],[FlowHandle.cell], and generic type parameters. - Receptor Integrity: Fixed an issue where
FlowInstructionBase.futureevolution logic failed to correctly gate unhandledFuture.errorevents. - Pulse Emission Logic: Corrected the
AsyncFoldorchestrator to prevent triple-emit inflation during high-frequency ingress. - Error Propagation: Refined
ConcatAllto ensure synchronous inner-throwing iterables correctly routeStateErrorto the appropriateonErrororchestrator.
Tests #
- 1022 unit tests in 42 files, 440 groups (+77 tests, +1 file since RC2).
- Last full run: +1022, exit 0.
- Line coverage (
lib/): 96.3% (5557 / 5768).fluent_operator.dart: 94.2% (+2.5% coverage).flow_core.dart: 100% materialization coverage.
Legal #
- Copyright headers and authorship metadata aligned with the Mitosis topography standards.
- LICENSE coverage confirmed for MIT OR Apache-2.0.
Mitosis (1.0.0-rc.2) - Release Candidate #
Added #
- Async map variants:
AsyncMapConcurrent,AsyncMapLatest,AsyncMapSequential,AsyncMapWithRetry,AsyncMapWithTimeout,AsyncMapWithFallback,AsyncMapWithIndex. - Async fold variants:
AsyncFoldLatest,AsyncFoldExhaust,AsyncReduce.Flow.asyncFoldLatest/Flow.asyncFoldExhauston the static facade. - Enhanced demos and walkthroughs:
ICU-alarm-pipeline(enhanced)-Demo.dart+ WalkThroughdomain-cells-txApply(enhanced)-Demo.dart+ WalkThrough
DEMO_GUIDE.md, expandedFEATURES-Flow.md.
Changed #
- Receptor scrutiny and PulseShell defensive proxies on async paths.
- Dartdoc:
### When to use/### How it works/### Non-obviousonFlowandFlowInstruction. Unresolved[ref]warnings cleared (qualified names, backtick generics). analysis_options.yaml:public_member_api_docs, stricter inference.dartdoc_options.yamllinks walkthroughs into the API reference.
Mitosis (1.0.0-rc.1) - Release Candidate #
First public release candidate. Operators are FlowInstructions on the
same graph as package:cell 1.0.0-rc.1.
Added #
Flowfacade: static factories returnFlowHandle.- Fluent extensions on
CellandFlowHandle(fluent_operator.dart,part offlow.dart). FlowInstruction+operator +→InstructionChain→ oneReceptorviatoHandle.
Create
Of,FromIterable,Range,RepeatFromFuture,DeferFuture,FromFutureOr, concat/merge/switch/exhaust from-future,FromFutures,FromFuturesInOrder,ForkJoinFutures,RaceFutures, retry / timeout / fallback,MapToFutureFromStream,DeferStream,ConcatFromStream,MergeFromStream,SwitchFromStream,MapToStream
Transform
MapValue,MapTo,MapWithIndex,MapNotNull,MapWhenPluck,PluckOr,PluckAll,PluckPathScan,Reduce,Pairwise
Async transform
AsyncMapand concurrent / latest / index / retry / timeout / fallbackAsyncExpandand concurrent / latest / exhaustAsyncFold,AsyncFoldLatest,AsyncFoldExhaust,AsyncReduce
Filter / take / skip / distinct
Filter, async filter family,FilterNotNull,FilterType,FilterAllowed,FilterBlocked,FilterByTimeTake,TakeWhile,TakeUntilSkip,SkipWhile,SkipUntil,SkipFirst,SkipLast,SkipRepeated,SkipWhenDistinctand variants indistinct.dart
Flatten
ConcatMap,Concat,ConcatAll,ConcatFirst,ConcatLatestMergeMap,SwitchMap,ExhaustMap
Combine
MergeWith,Merge,MergeAllZipWith,Zip,ZipAllCombineLatestWith,CombineLatest,WithLatestFromRace
Time
Delay,DelayWithSelector,DelayWhen,DelayLatest,DelayWithTrailing,DelayWithTimeoutDebouncefamilyThrottle,ThrottleLeading,ThrottleTrailingSample,SampleTime,Audit,AuditTimeTimeoutfamilyInterval,IntervalWithValue,IntervalWithState,TimerPulse
Collect / route / control
BufferCount,BufferTime,BufferWhen,BufferWithPredicate,BufferWithTimeAndCountWindowCount,WindowTimeGroupBy,GroupCollect,GroupByCountPartition,PartitionMap,PartitionOnly,IifStartWith,Share,ShareReplay,Retry,Tap/TapAll/TapWithIndex
Notes #
- Cells do not complete. Concatenate inners, not Cell-then-Cell.
reduce/scanare running folds, not terminal Rxreduce.MapValueis used instead ofMapso it does not clash withdart:core.filter.dartno longer ownsDebounce,Throttle,Take,Skip, orDistinct.- Application import is
package:cell_flow/cell_flow.dartonly.
Docs #
README.md,ARCHITECTURE-Flow.md,FEATURES-Flow.mdHowTo-Fluent_Operator.md,HowTo-FlowInstruction-Receptor.md- Example gates:
example_*.dart