Commit Graph

9 Commits

Author SHA1 Message Date
fa698619b3 feat: Implement actor prompt builder 2026-07-09 01:40:38 +05:30
1b667446dd feat: Wire up intent and architect packages together
- 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.
2026-07-06 23:49:12 +05:30
7412ab48ea refactor: Remove serializer and polymorphed forms from AttributableObject AC in favor of generic helper function
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.
2026-07-06 23:21:04 +05:30
de0510636d feat: Implemented Delta generator for time advancement 2026-07-06 20:11:59 +05:30
8148e7cbbb refactor: Use a generic serializer for attributableObject and use polymorphism for world 2026-07-06 12:42:43 +05:30
0a227d8046 feat: Add architect along with llmValidator 2026-07-06 12:31:04 +05:30
41f72b19e0 refactor: use package imports over relative imports for cross package ref and tests 2026-07-06 12:28:54 +05:30
7d34f4067e chore: Clean out *.tsbuildinfo 2026-07-05 22:45:17 +05:30
e11f18a69a feat: Scaffold Initial monorepo structure (closes #1) 2026-07-04 12:35:27 +05:30