Repository navigation
docs(atlas): source-mark grammar spec for composite provenance marks (#6044) - #7629
Conversation
…ct, validation rules (#6044)
|
Caution Review failedThe pull request is closed. Walkthrough
Merge Risk:
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aac41eefd4
ℹ️ 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".
…efine token-char (#8059)
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bd417f29f9
ℹ️ 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".
| host-mark = system "@" host "@" captured-at ( ":" locator )? hash? ; | ||
|
|
||
| revision = 40 hex | 64 hex ; (* full git/object id; no abbreviations *) | ||
| path = locator ; (* relative POSIX path, see V2 *) |
There was a problem hiding this comment.
Define the path production independently of locator
path = locator and the reverse reference in locator = ( path | … | opaque ) create a recursive cycle that consumes no input. An ordinary path such as pkgs/id/src/store.rs therefore has infinitely many derivations through repeated path → locator → path expansions, contradicting §4's exactly-one-parse contract; a straightforward recursive-descent implementation would recurse indefinitely. Define the path syntax independently before referencing it from locator.
Useful? React with 👍 / 👎.
Design record for #6044 — the source-mark grammar the #6029 existing-embed audit consumes, written against the #3125 provenance-registry shape.
Deliverable:
doc/2026-11-08T10-17-00Z_design_source_mark_grammar/repo@<revision>:<path>[#<hash>]and<system>@<host>@<captured-at>[:<locator>][#<hash>], of whichsystem@…andchat@…are instances and the general(system, host, locator, captured-at, content-hash)fallback is the same production with every part present. Content hash rides in the mark as a#sha256:<64 hex>fragment.Cc-Cfhygiene (Design: a value cannot act on the terminal — one format-character (Cf) contract for pkgs/id plain output #3455), RFC 3339 UTC timestamps,sha256in a closed v1 set, span ranges, hash verification against stored content, complete registry tuple, round-trip property.chunk_occurrencestuple;captured-atandobserved_atare distinct; every occurrence carries a verifying hash.Names #6029 as the consumer this un-parks. Design only — implementation of the formatter/parser is a follow-on task.
Refs #6044, #6018, #3125, #6029.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Closes #6044.
Summary by CodeRabbit