cell_tissue 1.0.0-rc.7
cell_tissue: ^1.0.0-rc.7 copied to clipboard
Application Layer (Tissue) for the Cell Framework — Reactive collections (List, Set, Map, Queue) with granular signaling and forensic traceability.
Mitosis (1.0.0-rc.7) - Release Candidate #
Changed #
- Unified tissue event classification: Replaced the specialised
ElementAdded,ElementRemoved, andElementUpdatedevent classes with theTissueEventenum carried onTissuePulse.type.TissueEvent.elementAdded— elements appended or inserted into a collection.TissueEvent.elementRemoved— elements purged or popped from a collection.TissueEvent.elementUpdated— a scalar value or property change.TissueEvent.entryUpdated— a key-value pair within aTissueMapmutates.
- Collection mutation signals:
TissueList,TissueSet, andTissueQueuemutations now emitTissuePulse<T>instances classified with the relevantTissueEventinstead of specialised event subclasses. - Value mutation signals:
TissueValuechanges now emitTissuePulse<ElementUpdatedRecord<V, TissueValue<V>>>classified asTissueEvent.elementUpdated. - Map mutation signals:
TissueMapadditions and removals now emitMapEntry<K, V>payloads, and map updates emitEntryUpdatedRecord<K, V>payloads classified asTissueEvent.entryUpdated.
Fixed #
- Event classification storage: Resolved a regression where
TissueEventenum values could not be stored through the underlying pulse record machinery, which caused silent mutation failures across all collection types. - Map mutation casts: Restored
TissueMapadd/update/remove operations against identity-keyed stores by using the store's map-like interface instead of an incompatibleMap<K, V>cast. - Queue removals: Corrected
removeFirst/removeLastto return the removed element again, and fixedremoveLastvalidating the wrong element. - Set batch removals: Materialized lazy removal iterables in
clear,removeAll,removeWhere,retainAll, andretainWhereso elements are no longer skipped during iteration.
Tests #
- Event API coverage: Updated
tissue_pulse_test.dartandtissue_receptor_test.dartto assert the newTissueEventclassification API and record payloads. - Full suite: All
cell_tissuetests pass against the unified event model.
Docs #
- Mitose pipeline: Added a prominent README callout for the umbrella Mitose pipeline — the AI-executable orchestration in the root
guide/that turns a business requirement into a Cell + Flow + Tissue solution with its BRD, WalkThrough, Demo, ARCHITECTURE, and FEATURES documents. This package contributes the Tissue-layer rules viaguide/HowTo-Mitose-Tissue.md.
Mitosis (1.0.0-rc.6) - Release Candidate #
Pub.dev hygiene release. No public API changes.
Changed #
- TestTissue constructor formatting: Reformatted the
TestTissueandTestTissue.chainconstructor signatures for consistency and analyzer hygiene.
Mitosis (1.0.0-rc.5) - Release Candidate #
Pub.dev score remediation release. No public API changes.
Fixed #
- Dependency alignment: Tightened
cellconstraint to^1.0.0-rc.4so the package analyzes against the current core release line (previously^1.0.0-rc.2could resolve tocell1.0.0-rc.3, whose stricterReceptorinterface broke static analysis on pub.flutter-io.cn). - Static analysis hygiene: Resolved remaining
unrelated_type_equality_checkslints intissue_value_test.dartand reformatted the package withdart format. - 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_tissue_example.dart— a runnable quick start matching pub.flutter-io.cn's example file conventions. - Dev dependency: Replaced the local
cell_flowpath dev-dependency with a version constraint (^1.0.0-rc.4).
Mitosis (1.0.0-rc.4) - Release Candidate #
This release formalizes the Application Layer Governance and introduces the AI Command Infrastructure, establishing a forensic gateway for machine-orchestrated state mutations within reactive collections.
Added #
- AI Command Infrastructure: Materialized the foundational gateway for AI-driven state evolution:
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, defining interfaces for command schemas, authority tiers, and administrative mandates.
- AI Command Verification:
ai_tissue_command_test.dart: Exhaustive test suite verifying that machine-initiated pulses correctly inheritContextanchors and that the forensicPulse.tracecaptures mutation provenance.
- High-Integrity Domain Demos: Materialized four real-world application scenarios demonstrating collection integrity, atomic transactions, and AI-orchestrated commands:
- Card Auth Pipeline:
card-auth-pipeline(tissue)-Demo.dart: Showscell_tissuecollections acting as forensic sinks for auth-request pulses routed viacell_flow.card-auth-pipeline(tissue)-WalkThrough.md: Pedagogical guide on mapping stream-based pulses into persistent reactive lists.
- Hotel Front Desk:
hotel-front-desk-checkin-Demo.dart: Demonstrates multi-tier reactive synchronization and authority-based check-in logic usingTissueMap.hotel-front-desk-checkin-WalkThrough.md: Analysis of howContextanchors protect asynchronous state boundaries.
- Aircraft Gate Turnaround:
aircraft-gate-turnaround-Demo.dart: Simulates complex orchestration of ground crew, refueling, and flight deck state transitions.aircraft-gate-turnaround-WalkThrough.md: Analytical walkthrough of atomic state evolution under strict timing and safety constraints.
- Warehouse Inventory Integrity:
warehouse-inventory-Demo.dart: ShowcasesTissuecollection resilience during high-frequency stock updates and AI-driven restocking commands.warehouse-inventory-WalkThrough.md: Explains the use ofisGovernedandtestRuleto prevent inventory glitches.
- Card Auth Pipeline:
Changed #
- Async Facade Documentation: Batch-documented 18+ asynchronous collection methods (e.g.,
ModifiableListAsync) to ensureFuturelifecycles are explicitly linked to the forensic causal chain. - Biological Metaphor Alignment: Updated the
README.mdand public API documentation to position Tissue as the "Connective Fabric" that binds granular Cell state into usable application models. - Workspace Governance: Migrated to
resolution: workspace. Addedcell_flowtodev_dependenciesto support high-integrity examples while maintaining monorepo governance. - Instruction DNA: Integrated the
instruction/layer into the public library, re-exporting stateless transformation logic for forensic-grade mutation blueprints.
Fixed #
- Linter Hygiene: Resolved
public_member_api_docsanddepend_on_referenced_packageswarnings across the internal implementation files. - Documentation Reference Resolution: Fixed unresolved doc references to
[Tissue],[C], and[principal]by adopting standardized architectural language.
Tests #
- Integrity Verified: Confirmed that
TissueCommandevolution preservesPulse.tracemetadata from the core layer across asynchronous boundaries. - Coverage: Maintained 95%+ coverage on reactive collection mutation logic and the new AI command infrastructure.