upsert_project_context
Merge structured project knowledge into a single record by project ID, appending array fields with deduplication and overwriting scalars.
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 |