Skip to content

feat: P1+P2 backend completion — 37 endpoints across 9 modules - #157

Merged
ULookup merged 8 commits into
mainfrom
feat/p2-backend-completion
Jun 19, 2026
Merged

ULookup merged 8 commits into
mainfrom
feat/p2-backend-completion

Conversation

@ULookup

@ULookup ULookup commented Jun 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • P1 (18 endpoints): agent-driven generation, agent search/filter, character appearances, workspace file operations
  • P2 (19 endpoints): pipeline control, diary/memory/relations/voice, world export/import, knowledge graph, timeline
  • Store-layer upgrades: generalized agent search, kind-filtered agent listing, timeline store methods, export/import service methods
  • Integration tests for agent search, kind filter, and character appearances
  • Updated SearchAgentTool spec with full-text query and race filter
  • API reference docs for all new endpoints

Fix: previously missing P1 files

The initial P2 squash commit (3cb21a5) omitted 11 files from the P1 branch, causing:

  • Compilation breakage: handlers calling non-existent search_agents(SearchCriteria) and list_agents(wid, optional<kind>)
  • Missing endpoints: 3 workspace file CRUD endpoints (POST/DELETE/POST rename)
  • Missing tests: agent endpoint integration tests
  • Outdated tool spec: SearchAgentTool still using old traits-only schema

These have been restored via cherry-picks from feat/p1-backend-completion.

Test plan

  • Build: cmake --build . passes with zero errors
  • Unit tests: ctest passes all existing tests
  • New integration tests: agent search, kind filter, character appearances
  • Manual smoke: POST/GET /api/worldbuilding/:wid/agents/search with q/traits/race params
  • Manual smoke: POST/DELETE/POST rename /api/workspace/files

ULookup added 8 commits June 19, 2026 12:11
- 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 merged commit 1c5f082 into main Jun 19, 2026
0 of 5 checks passed
@ULookup
ULookup deleted the feat/p2-backend-completion branch June 19, 2026 17:16
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