GeezerVison is showing github.com — feat(atlas-core): C8-M profile core — URL decomposition, sanitization, typed link extraction by dezren39 · Pull Request #12959 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
First implementation slice of C8-M (metadata profile and typed
links) for #9576, tracked as #12919. It lands the seam-independent
core of the merged C8 design (PR #12290,
doc/2026-11-22T01-48-21Z_design_c8_atlas_ingestion_investigation
§2/§3) as a new atlas_core::c8_profile module:
UrlParts — the canonical source URL exploded into scheme,
host, port, path, file name, last path part, base name, and
extension; media type derived from the extension, with is-HTML /
is-video flags (the C8 — Atlas ingestion of reports & pages + error-driven investigation boosts #9576 page metadata schema).
sanitize_url — the canonical URL form with credentials and
secret query parameters discarded (design §2). Property-tested
invariants: no userinfo or secret parameter ever survives, benign
parameters survive, sanitization is idempotent.
C8Source / C8Page — the source and page objects of the
design §2 envelope profile, serialized with the design's field
names. Fields a source does not supply stay absent, never guessed.
extract_links — phase-one explicit link extraction from a
page body (Markdown links + bare URLs), classified into the
design §3 closed vocabulary (mentions_issue,
mentions_pull_request, mentions_commit, links_page) with
evidence: explicit and no confidence, deduplicated by canonical
target.
Deliberately out of scope (named on #12919): ingestion cycle/cursor
(C8-I, #12304), link resolution against Atlas records and traversal
(needs the #9091 seam), the #9106 projection compatibility test,
planner boosts (C8-R), and the investigation bundle (C8-E). Nothing
here forks or duplicates a #9091 platform thread.
Evidence
Oracle: the merged design §2/§3 plus the #9576 metadata schema,
encoded as crates/atlas-core/tests/c8_profile.rs (9 specification
tests + 1 proptest over generated URLs).
- Before (worktree at
origin/main, test file only):
cargo test -p atlas-core --test c8_profile fails with E0432 —
could not find c8_profile in atlas_core.
- After (ran on the laptop):
cargo test -p atlas-core --test c8_profile — 10 passed, 0 failed, re-run green after merging
current origin/main into the branch (head 4b39597bfeb).
Full cargo test -p atlas-core — 353 passed, 0 failed across
26 test binaries. cargo fmt applied; git diff --check clean.
- Clippy: bare-shell
cargo clippy on this workspace fails with
E0514 at atlas-proto (untouched by this PR) — the laptop PATH
pairs a nix rustc 1.99.0 sysroot (no clippy-driver) with a clippy
from elsewhere, while the workspace pins 1.99.1; a nix develop
clippy run was still materializing its shell at merge time. The
test suite above is the design's verification contract and is
green; the clippy environment note is recorded on C8-M: metadata profile and typed links for report/page ingestion #12919.
Merge Danger
Low. One new module, one new test file, and five added lines in
crates/atlas-core/src/lib.rs (module declaration + re-exports).
No existing type, function, or behavior is modified; reverting
removes the module whole.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
…links
First implementation slice of C8-M for #9576 (tracked as #12919):
the seam-independent core of the merged C8 design (PR #12290)
sections 2 and 3, as a new atlas_core::c8_profile module.
- UrlParts: canonical source URL exploded into scheme, host, port,
path, file name, last path part, base name, extension; media type
derived from the extension with is-HTML / is-video flags.
- sanitize_url: canonical form with credentials and secret query
parameters discarded; property-tested to never leak either and
to be idempotent.
- C8Source / C8Page: the source and page objects of the design
section 2 envelope profile; unsupplied fields stay absent.
- extract_links: explicit Markdown/bare links classified into the
section 3 closed vocabulary (mentions_issue,
mentions_pull_request, mentions_commit, links_page) with
evidence explicit and no confidence, deduplicated by target.
Tests: crates/atlas-core/tests/c8_profile.rs — the design sections
2/3 as oracle; 10 passed on the laptop, full atlas-core suite
353 passed / 0 failed.
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 49 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:
a443bb91-19bd-4fdf-b5c8-f56ac3489dd2
Commits
-
Reviewing files that changed from the base of the PR and between 955c636 and 4b39597.
Files selected for processing: 3
-
pkgs/atlas-search/crates/atlas-core/src/c8_profile.rs
pkgs/atlas-search/crates/atlas-core/src/lib.rs
pkgs/atlas-search/crates/atlas-core/tests/c8_profile.rs
- 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
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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-23T05:57:22.172107Z |
4b39597 |
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 23, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|