jarvis-framework

Explain Jarvis Framework identity, Mongo serialization, and projection concepts.

16|9|Updated Feb 13, 2015
One-click install
npx skills add https://github.com/ProximoSrl/Jarvis.Framework --skill jarvis-framework
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jarvis-framework
Source: https://github.com/ProximoSrl/Jarvis.Framework/tree/main/llm
Command: npx skills add https://github.com/ProximoSrl/Jarvis.Framework --skill jarvis-framework

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides structured guidance for understanding and using Jarvis Framework's identity system, Mongo serialization, and projection engines to accelerate development and troubleshooting.

Core Features & Use Cases

  • Guidance on EventStoreIdentity, IdentityManager, and identity translation.
  • Insight into MongoFlatMapper, discriminator rules, and message registration.
  • Overview of ProjectionEngine, RebuildProjectionEngine, AtomicProjectionEngine, and IProjection for live and atomic reads.

Quick Start

Ask Jarvis to explain how EventStoreIdentity works and how IdentityManager is configured in a new project.

Frequently Asked Questions about jarvis-framework

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does EventStoreIdentity work with IdentityManager in a Jarvis Framework project?

EventStoreIdentity works with IdentityManager by providing a structured identity system for event sourcing. IdentityManager handles identity translation and configuration, ensuring events are correctly mapped to domain entities in Jarvis Framework projects.

What is the difference between ProjectionEngine and AtomicProjectionEngine?

ProjectionEngine handles standard live projections for event streams, while AtomicProjectionEngine manages atomic read models using IAtomicCollectionReader<TModel>. The atomic engine ensures consistent reads during projection rebuilds and live processing.

How do I configure Mongo serialization with MongoFlatMapper and discriminator rules?

MongoFlatMapper configures Mongo serialization by flattening complex domain objects for storage. Discriminator rules are managed through MessagesRegistration, ensuring correct type mapping and polymorphic deserialization of event messages.

Why are my live projections not updating correctly in Jarvis Framework?

Live projections may fail to update due to issues with IProjection implementation, ProjectionEngine configuration, or signal handling. Debugging involves verifying event dispatch, checking IAtomicCollectionReader<TModel> queries, and ensuring atomic read model consistency.

Can I use Jarvis Framework identity translation with an existing MongoDB setup?

Yes, Jarvis Framework's identity translation integrates with existing MongoDB setups. You configure IdentityManager and MongoFlatMapper to map EventStoreIdentity values to your current document structure while maintaining serialization rules.

When should I use RebuildProjectionEngine instead of the standard ProjectionEngine?

RebuildProjectionEngine should be used when you need to reconstruct projection states from the beginning of the event stream. It differs from the standard ProjectionEngine by replaying all historical events to rebuild atomic read models.