Skip to content

ENG-2119 Document the mapping between CrossApp types and the Concept table - #1290

Merged
maparent merged 5 commits into
mainfrom
eng-2119-document-the-mapping-between-crossapp-types-and-the-concept
Aug 14, 2026
Merged

ENG-2119 Document the mapping between CrossApp types and the Concept table#1290
maparent merged 5 commits into
mainfrom
eng-2119-document-the-mapping-between-crossapp-types-and-the-concept

Conversation

@maparent

@maparent maparent commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

@linear-code

linear-code Bot commented Aug 11, 2026

Copy link
Copy Markdown

ENG-2119

@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
discourse-graph Ready Ready Preview Aug 14, 2026 6:02pm

Request Review

@supabase

supabase Bot commented Aug 11, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project zytfjzqyijgagqxrzbmz because there are no changes detected in packages/database/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

View 2 additional findings in Devin Review.

Open in Devin Review

Comment thread packages/database/doc/concept_design.md Outdated
Comment thread packages/database/doc/concept_design.md Outdated
Comment thread packages/database/doc/concept_design.md Outdated
Comment thread packages/database/doc/concept_design.md Outdated
@maparent
maparent force-pushed the eng-2119-document-the-mapping-between-crossapp-types-and-the-concept branch from 85ccb9f to 5c1d335 Compare August 11, 2026 15:53
Comment thread packages/database/doc/concept_design.md Outdated
With fixes from Claude, Devin and Graphite
@maparent
maparent force-pushed the eng-2119-document-the-mapping-between-crossapp-types-and-the-concept branch from 5c1d335 to 6c633fb Compare August 11, 2026 15:59
@maparent
maparent requested a review from mdroidian August 11, 2026 16:00
@mdroidian

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a20b72b2c4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/database/doc/concept_design.md Outdated
Comment thread packages/database/doc/concept_design.md Outdated
Comment thread packages/database/doc/concept_design.md Outdated

| CrossAppNodeSchema | Content | value |
| ------------------ | ----------------------------------- | ----- |
| `label` | `name`, `literal_content->label` | {} |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove the nonexistent node-schema label mapping

When a CrossAppNodeSchema is converted by crossAppNodeSchemaToDbConcept, label is assigned only to name; its literal_content is built solely from template and template_content. Consequently, group-published schemas converted through this path do not have literal_content->label, so consumers relying on the documented mapping will fail to find it.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread packages/database/doc/concept_design.md Outdated
Comment thread packages/database/doc/concept_design.md Outdated
Comment thread packages/database/doc/concept_design.md Outdated
Comment thread packages/database/doc/concept_design.md Outdated
Comment thread packages/database/doc/concept_design.md Outdated
Comment thread packages/database/doc/concept_design.md Outdated
Comment thread packages/database/doc/concept_design.md Outdated

| CrossAppNodeSchema | Content | value |
| ------------------ | ----------------------------------- | ----- |
| `label` | `name`, `literal_content->label` | {} |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread packages/database/doc/concept_design.md Outdated
Comment thread packages/database/doc/concept_design.md Outdated
Comment thread packages/database/doc/concept_design.md Outdated
Comment thread packages/database/doc/concept_design.md Outdated
@mdroidian
mdroidian self-requested a review August 13, 2026 06:42
Comment thread packages/database/doc/concept_design.md Outdated

@mdroidian mdroidian left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll approve, but there are two changes required still

  • change DiscourseGraph to Discourse Graph
  • address the new graphite comment

Comment thread packages/database/doc/concept_design.md Outdated
Comment thread packages/database/doc/concept_design.md Outdated
Comment thread packages/database/doc/concept_design.md Outdated

### Use cases

Having ObjectProperties makes it possible to represent certain special cases of DiscourseGraphs, such as the necessary relation between Evidence and Source.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's please change this to Discourse Graph

Comment thread packages/database/doc/concept_design.md Outdated
@maparent
maparent merged commit 85f401d into main Aug 14, 2026
10 checks passed
@maparent
maparent deleted the eng-2119-document-the-mapping-between-crossapp-types-and-the-concept branch August 14, 2026 18:03
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