Skip to content

feat: P2 backend completion — 19 endpoints across 5 modules - #155

Closed
ULookup wants to merge 1 commit into
mainfrom
feat/p2-backend-completion
Closed

ULookup wants to merge 1 commit into
mainfrom
feat/p2-backend-completion

Conversation

@ULookup

@ULookup ULookup commented Jun 19, 2026

Copy link
Copy Markdown
Owner

Summary

P2 backend completion: 19 REST endpoints for Inspector panel. All synchronous CRUD, directly calling existing Store methods.

Module Endpoints Key Changes
B. Pipeline 2 PipelineManager::retreat_to_phase with allowed_retreat validation
C. Diary/Memory/Relations/Voice 8 diary get/patch/search, memory summary list/get, relation upsert, voice
D. World Export/Import 2 full JSON snapshot (share-snapshot-v1), import with ID remapping
E. Knowledge Graph 4 entity list, entity relations, search, scene extraction result
F. Timeline 3 timeline list, event get, time advance

Changes

  • libs/http/ — WorldbuildingHttpHandler: 19 new handlers
  • libs/worldbuilding/ — PipelineManager, WorldbuildingService, NarrativeStore: 5 new methods
  • docs/api-reference.md — 5 new API sections, endpoint count 104 → 123

Test plan

  • Build: cmake --build build
  • World export/import ID remapping
  • Timeline forward-only validation
  • KG entity filtering by type

- Pipeline: retreat (with allowed_retreat validation + scene cleanup), clear-error
- Diary/Memory/Relations/Voice: diary get/patch/search, memory summary list/get, relation create/update, voice fingerprint
- World Export/Import: full snapshot export (share-snapshot-v1), import with ID remapping
- Knowledge Graph: entity list, entity relations, search, scene extraction result
- Timeline: timeline list, event get, time advance (Chinese/English/duration formats)
- Docs: 5 new API reference sections, endpoint count 104 → 123
@ULookup ULookup closed this Jun 19, 2026
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.

1 participant