You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
C8-M: metadata profile and typed links for report/page ingestion #12919
Follow-on to #9576 and the merged C8 design (PR #12290, doc/2026-11-22T01-48-21Z_design_c8_atlas_ingestion_investigation/).
Design slice C8-M — metadata and typed links: the C8 profile in the
shared versioned envelope, URL sanitization, explicit link
extraction/resolution, and a compatibility test for the #9106 relation
projection. C8-I is tracked separately in #12304 (blocked on the #9091
ingestion seam); this issue tracks the seam-independent C8-M parts so
they do not sit silently inside the parent.
Scope
C8 profile types for the design §2 envelope (source, page, links): typed page kind and link kinds from the closed vocabulary
(mentions_issue, mentions_pull_request, mentions_commit, links_page, generated_by, related_error).
Canonical URL decomposition (url_parts: scheme, host, port, path,
file name, last path part) and sanitization: credentials and secret
query parameters are discarded (design §2).
Explicit link extraction from page bodies into typed links with evidence: explicit; deduplicated by canonical target.
Out of scope: ingestion cycle/cursor (C8-I, #12304), link resolution
against Atlas records and traversal (needs the #9091 seam), planner
boosts (C8-R, #9091 owner), investigation bundle (C8-E).
Acceptance
Profile core lands with tests whose oracle is the merged design
(§2 envelope shape, §3 link vocabulary) — including the property
that sanitization never retains credentials or secret query
parameters and is idempotent.
C8-M slice 1 landed — profile core.PR #12959
merged (3537bc2fd673), verified present on main
(crates/atlas-core/src/c8_profile.rs, 20,506 B).
What landed (atlas_core::c8_profile):
UrlParts — canonical 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.
C8Source / C8Page — the §2 envelope source/page objects;
unsupplied fields stay absent, never guessed.
extract_links — explicit Markdown/bare links classified into
the §3 closed vocabulary with evidence: explicit, no
confidence, deduplicated by canonical target.
Verification (oracle: the merged design §2/§3 + the #9576
metadata schema). Failing-first on origin/main: E0432, module
absent. After: cargo test -p atlas-core --test c8_profile 10 passed / 0 failed (9 specification tests + a proptest that
sanitization never retains credentials/secret params and is
idempotent), re-run green after merging current main into the
branch; full cargo test -p atlas-core353 passed / 0 failed; cargo fmt applied; git diff --check clean.
Clippy caveat, stated plainly: clippy did not produce a verdict
on this code. Bare-shell attempts fail with E0514 at atlas-proto
(the laptop PATH pairs a nix rustc 1.99.0 sysroot that has no
clippy-driver with a clippy from elsewhere; the workspace pins
1.99.1), and the first nix develop attempt reused a target dir
the bare attempts had already written, so it hit the same E0514
from the other side. A clean nix develop clippy run (fresh
target dir) was launched after the merge; its result will be added
here when it lands. The design's verification contract is the test
suite, which is green.
Envelope integration: emit the profile through the platform's
versioned metadata envelope at ingestion time (with §2's
type-mismatch-to-extras and most-restrictive-enum rules).
Clippy follow-up to the completion record above. The clean nix develop clippy run (fresh target dir) compiled deep into the
dependency graph with no warnings or errors emitted, but the
process group died silently before finishing (no clippy-driver
remained and the completion marker was never written — the laptop
was at load 20–28 with a dozen lanes building, and the run had
already survived one sandbox service restart and one channel
flap). Net: clippy produced no verdict on this code, for
environment reasons only; the failures in the earlier attempts
were all E0514 toolchain/target-dir mismatches in untouched
crates, never findings in c8_profile.
The verification of record for PR #12959 stands as posted: the
design's test contract — targeted 10/10, full atlas-core
suite 353 passed / 0 failed, cargo fmt applied, git diff --check clean. Anyone re-running clippy on this
workspace should use nix develop with a fresh CARGO_TARGET_DIR; bare-shell clippy on the laptop mixes a
1.99.0 rustc sysroot (no clippy-driver) with a foreign clippy
while the workspace pins 1.99.1.
Premise check (fresh, 2026-11-23 ~06:30Z): #12919 OPEN, no live claim (Lane FI completed slice 1 and released). FI's follow-up note records the one open verification gap: clippy produced no verdict on the C8-M profile core (PR #12959) — the clean nix develop run died silently under laptop load before finishing.
Slice: run clippy to a verdict for atlas-core (covering c8_profile) using FI's documented recipe — nix develop in pkgs/atlas-search with a fresh CARGO_TARGET_DIR — and record the verdict here. If clippy reports findings in c8_profile.rs, fix them in a small PR with the test suite re-run green; findings elsewhere are recorded, not fixed, in this slice.
🤖 Agent note · HELD at a platform execution-risk flag (Lane HW, archer)
Minutes after the claim, a platform execution-risk check flagged the tool output from the laptop session carrying this lane's clippy run. Per the flag notice I stopped immediately: no further builds, tests, or git operations in the laptop worktree (~/wt-lane-hw-12919, branch lane-hw/12919-clippy-verdict, off origin/main 662beb71ed7), and I will not resume there on my own authority. A detached clippy process launched before the flag was left as-is (build-only, nothing merged or deployed) — flagged here transparently since I did not interact further to stop it.
State of the slice: claim posted (comment 7093360480); the clippy verdict for atlas-core / c8_profile is not obtained and no result from the flagged session is being relied on.
To unblock: Drew's plain-words go-ahead to work in this flagged worktree, or an unflagged venue. The remaining steps are then mechanical: run clippy to a verdict per FI's recipe (nix develop, fresh CARGO_TARGET_DIR), record the verdict here, fix any c8_profile findings in a small PR if they exist.
Activity
developing-today commentedon Nov 23, 2026
CODE-4733
feat(atlas-core): C8-M profile core — URL parts, sanitization, typed …
dezren39 commentedon Nov 23, 2026
C8-M slice 1 landed — profile core. PR #12959
merged (
3537bc2fd673), verified present on main(
crates/atlas-core/src/c8_profile.rs, 20,506 B).What landed (
atlas_core::c8_profile):UrlParts— canonical 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; credentials and secret queryparameters discarded (design §2).
C8Source/C8Page— the §2 envelopesource/pageobjects;unsupplied fields stay absent, never guessed.
extract_links— explicit Markdown/bare links classified intothe §3 closed vocabulary with
evidence: explicit, noconfidence, deduplicated by canonical target.
Verification (oracle: the merged design §2/§3 + the #9576
metadata schema). Failing-first on
origin/main: E0432, moduleabsent. After:
cargo test -p atlas-core --test c8_profile10 passed / 0 failed (9 specification tests + a proptest that
sanitization never retains credentials/secret params and is
idempotent), re-run green after merging current main into the
branch; full
cargo test -p atlas-core353 passed / 0 failed;cargo fmtapplied;git diff --checkclean.Clippy caveat, stated plainly: clippy did not produce a verdict
on this code. Bare-shell attempts fail with E0514 at
atlas-proto(the laptop PATH pairs a nix rustc 1.99.0 sysroot that has no
clippy-driver with a clippy from elsewhere; the workspace pins
1.99.1), and the first
nix developattempt reused a target dirthe bare attempts had already written, so it hit the same E0514
from the other side. A clean
nix developclippy run (freshtarget dir) was launched after the merge; its result will be added
here when it lands. The design's verification contract is the test
suite, which is green.
Remaining C8-M slices, in order:
IDs against authorized Atlas records; unresolved links stay
typed references and retry on a later cycle. Needs the design(atlas): Atlas v1 build-out — design-mill starter (proto design → full design set) #9091
ingestion seam — the same gap recorded on C8-I: report/page ingestion cycle and searchable-after-commit check #12304.
versioned metadata envelope at ingestion time (with §2's
type-mismatch-to-
extrasand most-restrictive-enum rules).onto the ID graph/triple model without a parallel store.
This issue stays open as the C8-M tracking home.
dezren39 commentedon Nov 23, 2026
Clippy follow-up to the completion record above. The clean
nix developclippy run (fresh target dir) compiled deep into thedependency graph with no warnings or errors emitted, but the
process group died silently before finishing (no clippy-driver
remained and the completion marker was never written — the laptop
was at load 20–28 with a dozen lanes building, and the run had
already survived one sandbox service restart and one channel
flap). Net: clippy produced no verdict on this code, for
environment reasons only; the failures in the earlier attempts
were all E0514 toolchain/target-dir mismatches in untouched
crates, never findings in
c8_profile.The verification of record for PR #12959 stands as posted: the
design's test contract — targeted 10/10, full atlas-core
suite 353 passed / 0 failed,
cargo fmtapplied,git diff --checkclean. Anyone re-running clippy on thisworkspace should use
nix developwith a freshCARGO_TARGET_DIR; bare-shell clippy on the laptop mixes a1.99.0 rustc sysroot (no clippy-driver) with a foreign clippy
while the workspace pins 1.99.1.
dezren39 commentedon Nov 23, 2026
🤖 Agent note · claimed — clippy verdict slice (Lane HW, archer)
Premise check (fresh, 2026-11-23 ~06:30Z): #12919 OPEN, no live claim (Lane FI completed slice 1 and released). FI's follow-up note records the one open verification gap: clippy produced no verdict on the C8-M profile core (PR #12959) — the clean
nix developrun died silently under laptop load before finishing.Slice: run clippy to a verdict for
atlas-core(coveringc8_profile) using FI's documented recipe —nix developin pkgs/atlas-search with a freshCARGO_TARGET_DIR— and record the verdict here. If clippy reports findings inc8_profile.rs, fix them in a small PR with the test suite re-run green; findings elsewhere are recorded, not fixed, in this slice.dezren39 commentedon Nov 23, 2026
🤖 Agent note · HELD at a platform execution-risk flag (Lane HW, archer)
Minutes after the claim, a platform execution-risk check flagged the tool output from the laptop session carrying this lane's clippy run. Per the flag notice I stopped immediately: no further builds, tests, or git operations in the laptop worktree (
~/wt-lane-hw-12919, branchlane-hw/12919-clippy-verdict, off origin/main662beb71ed7), and I will not resume there on my own authority. A detached clippy process launched before the flag was left as-is (build-only, nothing merged or deployed) — flagged here transparently since I did not interact further to stop it.State of the slice: claim posted (comment 7093360480); the clippy verdict for
atlas-core/c8_profileis not obtained and no result from the flagged session is being relied on.To unblock: Drew's plain-words go-ahead to work in this flagged worktree, or an unflagged venue. The remaining steps are then mechanical: run clippy to a verdict per FI's recipe (
nix develop, freshCARGO_TARGET_DIR), record the verdict here, fix anyc8_profilefindings in a small PR if they exist.