Skip to content

Update REVIEW.md Imports fact: array columns work as correlation join keys - #216

Merged
clarkd merged 1 commit into
mainfrom
work/dc/review-array-imports-fact
Nov 25, 2026
Merged

clarkd merged 1 commit into
mainfrom
work/dc/review-array-imports-fact

Conversation

@clarkd

@clarkd clarkd commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

📋 Summary

This PR fixes a stale platform fact in REVIEW.md that made reviews flag correlation rules joining on a list property (for example, the Agent → owner rule in #215) as broken when they work.

The fact said array properties are JSON-stringified in the graph and can't be join keys. That stopped being true when imports started writing array-shaped columns as multi-value graph properties, and correlation rules match when any of the values equals the other side. The build-plugin reference (index-defs.md) already describes this correctly, so I've reworded the fact and pointed it there. A list column without the array shape is still stored as one JSON string, and the fact now says so.

🔍 Scope of change

  • Documentation only
  • Repository metadata or configuration
  • CI / automation
  • Other (please describe):

📚 Checklist

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Clarified that columns with the array shape are imported as multi-value properties and can match correlation rules when any value matches.
    • Clarified that other lists are stored as a single JSON string and cannot be used as join keys.

Imports now write array-shaped columns as multi-value graph properties,
and correlation rules match on any value, so the old "JSON-stringified,
not a join key" fact was causing reviews to flag correct correlations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@clarkd
clarkd requested a review from a team November 24, 2026 13:55
@clarkd clarkd added the documentation Improvements or additions to documentation label Nov 24, 2026
@github-actions

Copy link
Copy Markdown

🧩 Plugin PR Summary

ℹ️ No plugins were modified in this PR.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Automatic approval withheld

Automatic approval is disabled by the configured approval policy for this pull request. Review comments and requests for changes continue normally.

Commit: cab5559c0e16.

No actionable comments were generated in the recent review.

Walkthrough

The Imports guidance now explains that array-shaped columns can match correlation rules when any value equals the value on the other side. Unshaped lists remain documented as JSON strings that cannot serve as join keys.

Changes: Imports correlation guidance

Layer / File(s) Summary
Correlation guidance
REVIEW.md
The Imports guidance distinguishes array-shaped columns from unshaped lists and describes their use in correlation rules.
Merge Risk: Minimal · up to cab55

This is a documentation-only clarification of how array-shaped import columns behave in correlation. It does not touch plugin code, imports or authentication, so there is no runtime impact and it is ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the Imports fact in REVIEW.md now says array-shaped columns work as correlation join keys. The raw summary and PR objectives both describe this change, and it is a doc…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Pr Template Passed The PR body matches the "Miscellaneous change" template. The template in .github/PULL_REQUEST_TEMPLATE/Miscellaneous change.md has three headings: "📋 Summary", "🔍 Scope of change" and "📚 Checklist". T…
Full details: Title check

Explanation

The title names the main change: the Imports fact in REVIEW.md now says array-shaped columns work as correlation join keys. The raw summary and PR objectives both describe this change, and it is a documentation-only edit, so the title matches the changeset.

Full details: Pr Template

Explanation

The PR body matches the "Miscellaneous change" template. The template in .github/PULL_REQUEST_TEMPLATE/Miscellaneous change.md has three headings: "📋 Summary", "🔍 Scope of change" and "📚 Checklist". The PR body has the same three headings, with the same emoji. The body is not free text and is not the template picker from .github/pull_request_template.md. The "Miscellaneous change" template has no testing section, so none is required. The changed-file inventory (refs/coderabbit/pre-merge-check/base to head) shows one file, REVIEW.md. No file under plugins/ changed, so the "Miscellaneous change" scope rule holds. The PR is a documentation-only change. The "Scope of change" section ticks "Documentation only", which fits the diff.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Automatic approval policy

Commit: cab5559c0e16.

Setting Effective value Source
Automatic approvals Disabled Override 1
Merge risk Low Global configuration
Security risk Not set Global configuration

Matching overrides (numbered as in the resolved configuration):

  • Override 1 — any author; paths: .coderabbit.yaml, REVIEW.md, AGENTS.md, CLAUDE.md, .claude/**, .github/**; automatic approvals: disabled.

Any matching disabled override withholds approval, regardless of risk. Otherwise, the strictest explicitly set limit wins for each score. Limits omitted by all matching overrides inherit the global configuration.

Not set means no limit was configured after inheritance. Use @coderabbitai configuration to inspect the resolved settings and their sources.

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 05d4005 and cab5559.

Files selected for processing: 1

  • REVIEW.md

Included review availability: This review used your included allowance. 1 included review remains after this review. Your included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.

@clarkd
clarkd merged commit 958e889 into main Nov 25, 2026
2 checks passed
@clarkd
clarkd deleted the work/dc/review-array-imports-fact branch November 25, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Development

Successfully merging this pull request may close these issues.

1 participant