Skip to content

design(id): related path links in hash.metadata — syntax, target kinds, dangling behaviour (#9114) - #11418

Merged
dezren39 merged 1 commit into
mainfrom
queue/20307-9114-sidecar-schema
Nov 18, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/20307-9114-sidecar-schema

Conversation

@dezren39

@dezren39 dezren39 commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Summary

Settles the acceptance items of #9114 that the summit sidecar design did not cover: related path links (S3.21, S3.22). The sidecar envelope, versioning form and migration are already settled in `doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-addressing/versioned-design.md` (A-9114.1–.3) and are not reopened here.

New record: `doc/2026-11-17T22-00-00Z_design_id9114_related_path_links.md`

  • Link record: typed entry in the sidecar payload; never part of subject bytes (S3.11/S3.12). Canonical ordering so the same link set yields the same snapshot ID.
  • Path-reference syntax: UTF-8, `/` separator, NFC, relative to namespace root, no empty/`.`/`..` segments (write-time `invalid_path_ref`), 4096-byte cap.
  • Target kinds: ContentRef, SnapshotRef, PathRef, LocationRef. External URLs rejected in v1 (`unsupported_target_kind`).
  • Dangling links: storable; resolve to `Dangling{target}` (never silent substitution); readers preserve them; never pruned; no cascade on target deletion.
  • Open questions recorded with chosen defaults (§6, Q1–Q5).

Test plan

Refs #9114, #9107


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…s, dangling behaviour (#9114)

Settles S3.21-S3.22, the acceptance items the summit sidecar design
(A-9114.1-.3) did not cover. Versioning form and schema are unchanged.
Refs #9114, #9107.
@dezren39
dezren39 requested a review from a team as a code owner November 17, 2026 21:49
@coderabbitai

coderabbitai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 58 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d9193a7b-9ed0-45f3-b3e5-0e7d507a51f9
Commits

Reviewing files that changed from the base of the PR and between 04a078b and a9211dd.

Files selected for processing: 1

  • doc/2026-11-17T22-00-00Z_design_id9114_related_path_links.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T21:51:42.457631Z a9211dd PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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: a9211ddc65

ℹ️ 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 on lines +50 to +51
- Encoded as UTF-8 text with `/` as the only separator. Stored in
Unicode NFC; a non-NFC input is normalised at write, never rejected.

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 Preserve path spelling under the namespace comparison policy

In a namespace with Unicode normalization disabled, names such as é and e\u0301 can identify different targets. Unconditionally NFC-normalizing a link to the latter silently redirects it to the former or makes it dangling. This conflicts with A-9121.1 in doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-addressing/versioned-design.md:139, which preserves original spelling and makes normalization an opt-in namespace comparison policy. Preserve the entered path components and defer normalization/comparison to that policy.

Useful? React with 👍 / 👎.

@dezren39
dezren39 merged commit aaaa680 into main Nov 18, 2026
1 check passed
@dezren39
dezren39 deleted the queue/20307-9114-sidecar-schema branch November 18, 2026 05: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.

1 participant