Skip to content

feat: upgrade company context graph primitives, brief, and MCP tools#46

Merged
G9Pedro merged 4 commits intomainfrom
cursor/company-context-graph-upgrade-076c
Mar 14, 2026
Merged

feat: upgrade company context graph primitives, brief, and MCP tools#46
G9Pedro merged 4 commits intomainfrom
cursor/company-context-graph-upgrade-076c

Conversation

@G9Pedro
Copy link
Contributor

@G9Pedro G9Pedro commented Mar 14, 2026

Summary

  • add five new built-in primitives in kernel registry: org, team, pattern, relationship, and strategic_note
  • extend existing built-ins (decision, lesson, person, agent, client, project, policy) with additive company-context fields and defaults
  • introduce CompanyContext in kernel types and include companyContext in WorkgraphBrief
  • enrich orientation brief generation with a derived company context view (org/teams/clients/recent decisions/patterns/actor profile)
  • add MCP tools:
    • workgraph_company_context
    • workgraph_create_decision
    • workgraph_record_lesson
    • workgraph_record_pattern
  • update starter kit seeding to include a default org primitive at orgs/company.md
  • add/update kernel + MCP tests to validate new schema, brief payload, and tool registration/behavior
  • refresh schema drift snapshot and harden webhook trigger assertions to validate webhook-specific outbox records

Testing

  • pnpm run test
  • pnpm run build
Open in Web Open in Cursor 

cursoragent and others added 4 commits March 14, 2026 03:38
Co-authored-by: G9Pedro <G9Pedro@users.noreply.github.com>
Co-authored-by: G9Pedro <G9Pedro@users.noreply.github.com>
Co-authored-by: G9Pedro <G9Pedro@users.noreply.github.com>
Co-authored-by: G9Pedro <G9Pedro@users.noreply.github.com>
@G9Pedro G9Pedro marked this pull request as ready for review March 14, 2026 04:35
@G9Pedro G9Pedro merged commit 188f4e5 into main Mar 14, 2026
1 of 2 checks passed
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.

2 participants