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
Scope\nIntegrate per-embed classification with source-aware chunk boundaries and spans, consuming #6037/#6035 rather than changing their contracts.\n\n## Acceptance\n- Chunk/embed boundaries never cross known source-native classification boundaries; overlap does not copy text across them.\n- Uncertain or unisolatable mixed content is handled at the most restrictive classification.\n- Classification attaches to exact offsets/embed IDs; content or boundary changes invalidate only affected classifications.\n- Fixture tests cover transcript turns, project text with embedded secret, and source-native code/log boundaries; unchanged embeds retain vectors and decisions.\n\nDesign: doc/2026-11-21T21-32-00Z_design_atlas_classification_model_v1.md (#9096).
Parked after a bounded repository/design check. The governing classification design is in open docs-only PR #12399 and the issue explicitly depends on consuming existing boundary/span contracts rather than changing them. The current code worktree search found no Atlas embed/chunk implementation surface to integrate; #6035 and #6037 are closed design issues, so they do not identify the active code/API seam. Resume when the owning Atlas ingestion/indexer code repository and its current source-boundary API are identified (or the relevant implementation is present in this checkout); then implement the first testable boundary-safe embed slice and preserve unchanged vectors. No code changes were made.
Claimed task 21009 and revalidated GitHub: #12403 is OPEN, #12399 remains OPEN/unmerged, and contracts #6035/#6037 are CLOSED. The checkout contains Atlas staging/embed code under pkgs/atlas-search (including atlas_core::stage and aggregate::embed_unit_into_shard), so the earlier "no source surface" conclusion needs rechecking rather than assuming no work is possible. I am locating the concrete chunking/classification seam and will either implement a bounded slice or park with evidence if the required boundary inputs are not represented here.
Correction to the prior parked rationale: this repository DOES contain Atlas staging/embed code (pkgs/atlas-search/crates/atlas-core/src/stage.rs and aggregate.rs), including code/config chunking and promotion. The concrete gap is that staging schema v1 stores only chunk text/hash and item-level sensitivity; promotion copies that item-level sensitivity to every embed, with no per-embed decision or source-offset/boundary metadata.
Fresh state: #12402 (the prerequisite per-embed classification-record/schema slice) is OPEN with no PR found; #12399 remains OPEN/unmerged. The #9096 design explicitly orders #12402 before #12403 and requires the #6035 span identity/boundary inputs. Implementing this leaf now would require crossing the owned schema/classification contract and could not meet its per-embed/offset acceptance safely. No files changed, worktree created, or tests run.
Resume after #12402 and the governing #9096 design/schema contract are merged; then add boundary-aware staging/classification integration and retain vectors for byte-identical unchanged embeds.
Claimed task 21009 and revalidated fresh GitHub state: #12403 remains OPEN; #12402 remains OPEN/in-progress and #12399 remains OPEN/unmerged. The required per-embed schema/design contract is still unavailable, so no implementation work or worktree has started. Rechecking the dependency gate; if unchanged, I will park for 30 minutes with the exact resume condition.
Slice 1 landed as PR #12625: the splitting primitive (atlas_core::boundary, split_by_boundaries).
Chunks carry exact byte offsets + effective sensitivity, never cross a declared classification boundary, never duplicate text across one as overlap, and fail closed to secret-bearing (marked uncertain) for gaps, overlapping declarations, and uncertain segments.
Fixture tests cover transcript turns, embedded secret, code/log units, and only-affected-chunks-change on boundary revision; proptests cover exact partition, no-crossing, fail-closed, and order-independence; record composition is checked against the feat(atlas): add per-embed classification records #12408 per-embed record API.
Evidence: cargo test -p atlas-core --lib boundary on the laptop at 4257477777 — 13 passed, 0 failed. (One real failure found and fixed on the way: the no-crossing proptest failed on a degenerate empty declaration; the oracle now quantifies only over segments covering at least one byte.)
What remains for #12403: wiring declared boundaries into staging (stage) and promotion (aggregate) so embeds are produced from boundary-safe chunks with per-embed records — that's the next slice. The PR references but does not close this issue.
Resumed task 21009 and revalidated fresh state: #12402 is CLOSED; prerequisite PR #12408 and design PR #12399 are MERGED. The existing slice is already published as open PR #12625, targeting main; its body records cargo test -p atlas-core --lib boundary (13 passed) and clean git diff --check. No duplicate branch or PR will be created. I am reconciling the queue/issue state to this existing PR and completing this slice; staging/promotion wiring remains outside this queue slice.
Completed queue slice 21009 as pr_opened: existing canonical PR #12625 is OPEN and records the verified boundary primitive/tests. No duplicate PR was created. #12403 remains OPEN because follow-on staging/promotion wiring is not part of this slice. Sandbox backlog/sweep.log bookkeeping is deferred to fleet reconciliation.
The splitting primitive atlas_core::boundary::split_by_boundaries is on main: chunks carry exact byte offsets and effective sensitivity, never cross a declared classification boundary, never duplicate text across one as overlap; gaps, overlapping declarations, and uncertain segments fail closed to one secret-bearing chunk marked uncertain; chunks always partition the source exactly, so a boundary revision changes only the chunks it overlaps and every other chunk keeps its byte range, classification, and vector. Purely additive (+632/-0, new module + one pub mod line); no existing path changes behaviour.
Felix verified at review: boundary suite re-run independently — 13 passed, matching the PR's laptop evidence (including the proptests for exact partition, no-crossing, fail-closed, and order-independence, and the recorded no-crossing proptest failure that led to the empty-declaration oracle fix in the head commit).
This merge clears the stated gate for #12628 (staging/promotion wiring), which is being picked up next. This issue stays open for that wiring slice.
Progress note — Codex P2 thread on #12625 answered, fix committed locally but not yet on GitHub.
What happened: the P2 thread (PRRT_kwDOJWP47866lp3V, chatgpt-codex-connector, 2026-11-22T16:26:02Z) pointed out that split_by_boundaries snapped empty segments' edges outward before the empty-range filter ran, so an empty declaration inside a multibyte character (e.g. 2..2 inside é in aéb) expanded into a real segment and wrongly marked the chunk secret-bearing/uncertain. The earlier commit ea86aaa78 had only fixed the proptest oracle, not the splitter — confirmed by reproducing the thread's example (three chunks, é secret-bearing) against the old code path.
Fix: local commit fcb18301515d302bb62020e5c3470427e28a9d1d on branch xaltha/atlas-boundary-chunks-12403 (worktree ~/workspace/github-work/code-ghdoc): pkgs/atlas-search/crates/atlas-core/src/boundary.rs now drops empty ranges after clamping and before snapping; regression test empty_segment_inside_multibyte_char_creates_no_boundary covers the thread's exact example (now one certain Shareable chunk). Verified by a before/after logic simulation; the non-empty mid-character case still snaps and fails closed, unchanged.
Not pushed: the local branch is not a descendant of the PR head 42574777 (different base, same content, different SHAs), so pushing would be a non-fast-forward rewrite; no force-push per seat rules. The local branch's upstream is also pointed at origin/main, so a bare git push would target the wrong ref.
Activity
developing-today commentedon Nov 22, 2026
CODE-4555
dezren39 commentedon Nov 22, 2026
Parked after a bounded repository/design check. The governing classification design is in open docs-only PR #12399 and the issue explicitly depends on consuming existing boundary/span contracts rather than changing them. The current code worktree search found no Atlas embed/chunk implementation surface to integrate; #6035 and #6037 are closed design issues, so they do not identify the active code/API seam. Resume when the owning Atlas ingestion/indexer code repository and its current source-boundary API are identified (or the relevant implementation is present in this checkout); then implement the first testable boundary-safe embed slice and preserve unchanged vectors. No code changes were made.
dezren39 commentedon Nov 22, 2026
agent-note:v1
state: picked_up
task: 21009
lane: oc-code-06 (OpenChamber scheduled lane, worker repo-worker-code)
stage: claimed -> source_surface_recheck
Claimed task 21009 and revalidated GitHub: #12403 is OPEN, #12399 remains OPEN/unmerged, and contracts #6035/#6037 are CLOSED. The checkout contains Atlas staging/embed code under pkgs/atlas-search (including
atlas_core::stageandaggregate::embed_unit_into_shard), so the earlier "no source surface" conclusion needs rechecking rather than assuming no work is possible. I am locating the concrete chunking/classification seam and will either implement a bounded slice or park with evidence if the required boundary inputs are not represented here.dezren39 commentedon Nov 22, 2026
agent-note:v1
state: parked
task: 21009
lane: oc-code-06 (OpenChamber scheduled lane, worker repo-worker-code)
stage: source_surface_rechecked -> dependency_blocked
Correction to the prior parked rationale: this repository DOES contain Atlas staging/embed code (
pkgs/atlas-search/crates/atlas-core/src/stage.rsandaggregate.rs), including code/config chunking and promotion. The concrete gap is that staging schema v1 stores only chunk text/hash and item-level sensitivity; promotion copies that item-level sensitivity to every embed, with no per-embed decision or source-offset/boundary metadata.Fresh state: #12402 (the prerequisite per-embed classification-record/schema slice) is OPEN with no PR found; #12399 remains OPEN/unmerged. The #9096 design explicitly orders #12402 before #12403 and requires the #6035 span identity/boundary inputs. Implementing this leaf now would require crossing the owned schema/classification contract and could not meet its per-embed/offset acceptance safely. No files changed, worktree created, or tests run.
Resume after #12402 and the governing #9096 design/schema contract are merged; then add boundary-aware staging/classification integration and retain vectors for byte-identical unchanged embeds.
dezren39 commentedon Nov 22, 2026
agent-note:v1
state: picked_up
task: 21009
lane: any-o (OpenChamber scheduled lane, worker repo-worker-code)
stage: claimed -> dependency_revalidation
Claimed task 21009 and revalidated fresh GitHub state: #12403 remains OPEN; #12402 remains OPEN/in-progress and #12399 remains OPEN/unmerged. The required per-embed schema/design contract is still unavailable, so no implementation work or worktree has started. Rechecking the dependency gate; if unchanged, I will park for 30 minutes with the exact resume condition.
40 remaining items
dezren39 commentedon Nov 22, 2026
Slice 1 landed as PR #12625: the splitting primitive (
atlas_core::boundary,split_by_boundaries).secret-bearing(marked uncertain) for gaps, overlapping declarations, and uncertain segments.cargo test -p atlas-core --lib boundaryon the laptop at4257477777— 13 passed, 0 failed. (One real failure found and fixed on the way: the no-crossing proptest failed on a degenerate empty declaration; the oracle now quantifies only over segments covering at least one byte.)What remains for #12403: wiring declared boundaries into staging (
stage) and promotion (aggregate) so embeds are produced from boundary-safe chunks with per-embed records — that's the next slice. The PR references but does not close this issue.dezren39 commentedon Nov 22, 2026
Resumed task 21009 and revalidated fresh state: #12402 is CLOSED; prerequisite PR #12408 and design PR #12399 are MERGED. The existing slice is already published as open PR #12625, targeting
main; its body recordscargo test -p atlas-core --lib boundary(13 passed) and cleangit diff --check. No duplicate branch or PR will be created. I am reconciling the queue/issue state to this existing PR and completing this slice; staging/promotion wiring remains outside this queue slice.dezren39 commentedon Nov 22, 2026
Completed queue slice 21009 as
pr_opened: existing canonical PR #12625 is OPEN and records the verified boundary primitive/tests. No duplicate PR was created. #12403 remains OPEN because follow-on staging/promotion wiring is not part of this slice. Sandbox backlog/sweep.log bookkeeping is deferred to fleet reconciliation.Merge pull request #12625 from developing-today/xaltha/atlas-boundary…
dezren39 commentedon Nov 22, 2026
agent-note:v1
event: merged
by: agent felix (kind muse, Muse sandbox seat; reviewing the #12403 slice-1 PR)
at: 2026-11-22
Slice 1 of this issue is merged: #12625
The splitting primitive atlas_core::boundary::split_by_boundaries is on main: chunks carry exact byte offsets and effective sensitivity, never cross a declared classification boundary, never duplicate text across one as overlap; gaps, overlapping declarations, and uncertain segments fail closed to one secret-bearing chunk marked uncertain; chunks always partition the source exactly, so a boundary revision changes only the chunks it overlaps and every other chunk keeps its byte range, classification, and vector. Purely additive (+632/-0, new module + one pub mod line); no existing path changes behaviour.
Felix verified at review: boundary suite re-run independently — 13 passed, matching the PR's laptop evidence (including the proptests for exact partition, no-crossing, fail-closed, and order-independence, and the recorded no-crossing proptest failure that led to the empty-declaration oracle fix in the head commit).
This merge clears the stated gate for #12628 (staging/promotion wiring), which is being picked up next. This issue stays open for that wiring slice.
dezren39 commentedon Nov 22, 2026
Progress note — Codex P2 thread on #12625 answered, fix committed locally but not yet on GitHub.
What happened: the P2 thread (
PRRT_kwDOJWP47866lp3V,chatgpt-codex-connector, 2026-11-22T16:26:02Z) pointed out thatsplit_by_boundariessnapped empty segments' edges outward before the empty-range filter ran, so an empty declaration inside a multibyte character (e.g.2..2insideéinaéb) expanded into a real segment and wrongly marked the chunk secret-bearing/uncertain. The earlier commitea86aaa78had only fixed the proptest oracle, not the splitter — confirmed by reproducing the thread's example (three chunks,ésecret-bearing) against the old code path.Fix: local commit
fcb18301515d302bb62020e5c3470427e28a9d1don branchxaltha/atlas-boundary-chunks-12403(worktree~/workspace/github-work/code-ghdoc):pkgs/atlas-search/crates/atlas-core/src/boundary.rsnow drops empty ranges after clamping and before snapping; regression testempty_segment_inside_multibyte_char_creates_no_boundarycovers the thread's exact example (now one certain Shareable chunk). Verified by a before/after logic simulation; the non-empty mid-character case still snaps and fails closed, unchanged.What still blocks landing the fix:
42574777(different base, same content, different SHAs), so pushing would be a non-fast-forward rewrite; no force-push per seat rules. The local branch's upstream is also pointed atorigin/main, so a baregit pushwould target the wrong ref.