upsert_project_context
Update or create a project's knowledge context by appending and deduplicating facts, conventions, commands, and glossary entries, while overwriting scalar fields. Keeps one record per project ID.
Instructions
v2.1.0 — Merge structured project knowledge into the ProjectContextRecord for projectId. Array fields (facts/conventions/commands/glossary) append + dedup; scalars overwrite. One record per projectId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| facts | No | ||
| commands | No | ||
| glossary | No | ||
| projectId | Yes | Project identifier (unique key). | |
| conventions | No |