Replace ingest() REST helper (POST /memory/ingest on poimen-memory:8080) with upsertEntity() GraphQL mutation on poimen-graphql:8090 for all structured writes (session create/patch, milestone create)
Remove memoryURL field — all traffic now goes to graphqlURL
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Context
Memory service PR #83 added GraphQL mutations:
Write (direct, no LLM):
Write (via LLM extraction):
Read (unchanged):
Change required
Update
internal/sessions/handler.go:ingest()REST helper (POST /memory/ingest on poimen-memory:8080) withupsertEntity()GraphQL mutation on poimen-graphql:8090 for all structured writes (session create/patch, milestone create)memoryURLfield — all traffic now goes tographqlURLhandleCreate→upsertEntity(entityType: SESSION, ...)handlePatch→upsertEntity(entityType: SESSION, ...)(upsert = idempotent update)handleCreateMilestone→upsertEntity(entityType: MILESTONE, ...){id, name, goal, status, cwd, memory_project, created_at}etc.Benefits
Depends on: memory PR #83 merged
Harness cycle complete — PR
Routes: backend (coder-impl) → testing (coder-tests) → review×2 → patch round → final SIGN-OFF ✅
Changes
upsertEntity()mutation helperfetchEntitySummary()+ read-modify-write in handlePatch (prevents partial-summary data loss)json.Marshalerror surfaced as 500 in handleCreate + handleCreateMilestoneBoth reviewers: SIGN-OFF