- Added "@omnia/intent": "workspace:*" dependency to package.json.
- Referenced ../intent in the project references of tsconfig.json.
- Updated validate in llm-validator.ts to accept intent:Intent instead
of actorId and actionIntent strings
- Promoted the LLM prompt's action details block to include the
structured fields of the intent (type , description , originalText ,
targetIds ), passing this context to the validator.)
- Updated the IDeltaGenerator interface and TimeDeltaGenerator 's
generate signature in delta.ts to accept intent: Intent .
- Refined the LLM prompt's action details block in TimeDeltaGenerator
to utilize the structured structured Intent object.
- Updated all validation and execution mock calls in architect.test.ts
to construct and pass valid Intent objects.
1. Decoupled Attributes Serialization:
• Removed all serialize() methods from AttributableObject
(attribute.ts), WorldState (world.ts), and Entity (entity.ts).
• Implemented a standalone, uncoupled function
serializeAttributes(attributes: Attribute[]): string in attribute.ts.
This function receives an array of attributes and outputs their
formatted
representation.
2. System Objective Serializer:
• Implemented serializeObjectiveWorldState(worldState:
WorldState): string in world.ts for system LLMs that need objective
reality dumps (e.g. validators and intent decoders). It manually
retrieves and formats attributes using serializeAttributes()
alongside class-specific fields like locationId .
3. System prompt updates:
• Updated LLMValidator (llm-validator.ts), TimeDeltaGenerator
(delta.ts), and IntentDecoder (intent-decoder.ts) to use the new
standalone serializeObjectiveWorldState(worldState) helper imported
from @omnia/core .
4. Unit Tests (Tier 1):
• Updated core.test.ts to verify serializeAttributes and
serializeObjectiveWorldState utilities directly.