Skip to content

Scene refact4#11

Merged
KudenikovNS merged 12 commits into
devfrom
scene-refact4
May 21, 2026
Merged

Scene refact4#11
KudenikovNS merged 12 commits into
devfrom
scene-refact4

Conversation

@KudenikovNS

Copy link
Copy Markdown
Collaborator

No description provided.

z-hunter added 12 commits May 14, 2026 17:35
Fix inventory-backed scene entity deletion, parser visibility, and LOOK/EXAMINE spatial reveal semantics.

Details:

- Clean up the broken test_room cassette state so the held Compact cassette is represented by the real scene entity instead of a stale phantom entry.

- Remove inventory references when editor deletion removes a scene entity, preventing Inventory/Surface storage from retaining non-existing objects.

- Preserve the distinction between Inventory ownership and generic spatial IN relations, so objects inside world containers such as CityView in Window are not hidden as inventory items.

- Add direct semantic descendant helpers for scene text, collapsing untitled technical intermediates while stopping at titled children.

- Make LOOK and EXAMINE describe and reveal only first-level titled semantic children of the inspected target.

- Keep recursive relation traversal for TAKE FROM and related containment semantics where deeper target discovery is intentional.

- Update parser/game fixture helpers and regression tests for hidden lookable objects under nested titled children.

- Update nested cabinet expectations so LOOK reports only immediate semantic contents while TAKE FROM still reaches nested candidates.

- Include current scene, prompt, llm-cascade, and kitchen asset work already present in the workspace as part of this all-in Fixes commit.

Validation:

- npm test -- tests/integration/parser-game.test.ts -- --runInBand

- npm run typecheck

- npm test -- tests/game/navigation-and-spatial.test.ts tests/game/semantic-api.test.ts tests/integration/parser-game.test.ts -- --runInBand

- npm test

- codex-doctor -Fast
@KudenikovNS KudenikovNS merged commit 9da5602 into dev May 21, 2026
1 check passed
@KudenikovNS KudenikovNS deleted the scene-refact4 branch May 21, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants