Open
Labels
epic/atlas-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requeststatus:in-review
Description
Scope\nImplement #9096's context filter at Atlas query and every outbound result boundary, coordinating with #9092 search surfaces and #9099 query records.\n\n## Acceptance\n- Implement fleet-internal, hosted-per-user, public-surface, and local-owner eligibility rules; unknown outbound context fails closed.\n- Enforce at final serialization for snippets, metadata, citations, cached payloads, and generated-output references, regardless of caller clearance.\n- Excluded personal-life items are never returned; grants and context ceilings intersect and cannot widen each other.\n- Tests prove that high-clearance search cannot publish personal/local-only/secret content and that shareable content remains grant-scoped.\n\nDesign: doc/2026-11-21T21-32-00Z_design_atlas_classification_model_v1.md (#9096).
Metadata
Metadata
Assignees
Labels
epic/atlas-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requeststatus:in-review
Activity
developing-today commentedon Nov 22, 2026
CODE-4556
dezren39 commentedon Nov 22, 2026
Parked after checking the issue and dependent workstreams. The requested filter spans Atlas search and all serialization paths, but no Atlas search/indexer or disclosure-context implementation surface is present in this checkout; #9092 remains an open large search workstream and #9099 is blocked. The design is still documented in open PR #12399. Resume when the owning Atlas implementation repo and its query/output serialization APIs are available, then land a test-first final-serialization filter slice; no code changes were made.
dezren39 commentedon Nov 22, 2026
Picked up task 21010 in lane oc-code-08 to revalidate #12404 and its Atlas dependencies. Fresh GitHub state confirms #12404 open with no hold labels; #9092 open, #9099 blocked, and design PR #12399 open. Prior checkpoint reports no Atlas search/output implementation surface in this checkout; confirming whether that remains the concrete blocker before closing this claim.
dezren39 commentedon Nov 22, 2026
Parked task 21010 pending the agreed classification/query-output contracts. Fresh inspection confirms Atlas search and result-cache surfaces exist, but the request/schema has no disclosure-context field or excluded-personal-life disposition; #9095 and #9092 remain open, #9099 is blocked, and design PR #12399 is still open. Resume when #9095 settles the classification fields and #9092/#9099 expose context on search/query records. Worktree:
/home/user/git/fleet/21010-12404-disclosure-context; branch:queue/21010-12404-disclosure-context. No source changes were made.93 remaining items
dezren39 commentedon Nov 22, 2026
Progress from
felix: still workingdezren39 commentedon Nov 22, 2026
Progress from
felix: still workingdezren39 commentedon Nov 22, 2026
Progress (felix, queue task 21010): the enforcement slice is landed as PR #12626 — not merged, left for review (disclosure-control code; the filter point is
run_search_impl's disclosure pass + the newcrates/atlas-core/src/disclosure.rs).What landed. The #9096 §4 context table is implemented (
fleet-internal→local-only,hosted-per-user→personal,public-surface→shareable,local-owner→secret-bearing) and intersected with the caller ceiling at the single output-boundary filter point in atlas-core: grant ∩ context ∩ not-excluded, applied to flat results, grouped sessions (chunks and hit_count), raw branch rows, neighbor expansion (per-neighbor classification),--with-message/hydration payloads (withheld outright on public-surface), and get-chunk (withheld reads as "not found"). Missing/unknown labels fail closed to secret-bearing; unstated context fails closed to public-surface at the library default, with each front-end stating its surface's context (CLI searchfleet-internal, CLI get-chunklocal-owner, service stated-context fail-closed / defaultfleet-internal). The serviceCacheKeynow includes the resolved context, so cached/coalesced payloads can't cross contexts.SearchRequest.contextadded (additive).Evidence. Base demonstration (stub backend, maximal caller ceiling) reproduced three leaks: secret-bearing + excluded chunks served in results, a secret-bearing neighbor served through
--expand, and an excluded chunk served by id. Newtests/disclosure.rs(13 leak tests, one per boundary class) + disclosure proptests + a server cache-separation test all pass; full atlas-core/atlas-proto/atlas-search suites green (357 tests, sandbox). No new dependencies.Coordination / prerequisites. #12408 (per-embed classification records) landed 2026-11-22 (6691b54) and unblocked this slice; classification records are consumed via the new
EffectiveClassification::from_partsbridge where detail rows carry the legacy label. #9099 still owns the query-trace fields (design §10), so the trace record gains no context field here — withheld candidates already record as considered-but-not-served. #9092 (search v1) is still open but nothing here builds on it.Deferred boundaries, filed + enqueued in this pass: hosted Worker stated context + cache keying → #12622 (queue task 21057); legacy Python parity → #12623 (task 21058); span-level filtering of full-content payloads (residual found in this slice) → #12624 (task 21059).
This issue stays open for those follow-ups. Claim released for the next lane once review dispositions PR #12626.
dezren39 commentedon Nov 22, 2026
Released by
felix(outcome: free). Slice landed as PR #12626 (unmerged, awaiting Felix review): disclosure-context enforcement at the atlas-core output boundary + CLI/service wiring + cache keying. Deferred boundaries filed+enqueued: #12622 (Worker), #12623 (Python), #12624 (span filtering). Progress note comment 7082061604.Merge pull request #12626 from developing-today/felix/12404-disclosur…
dezren39 commentedon Nov 22, 2026
agent-note:v1
event: merged
by: agent felix (kind muse, Muse sandbox seat; queue task 21010)
at: 2026-11-22
The disclosure-context enforcement slice is merged: #12626
What landed: DisclosureContext in atlas-core carrying the #9096 section 4 ceiling table (fleet-internal -> local-only, hosted-per-user -> personal, public-surface -> shareable, local-owner -> secret-bearing). In run_search_impl, after fusion and before any rendering, every ranked candidate is classified and admitted only if grant-intersect-context permits; missing/unknown labels fail closed to secret-bearing, an absent/unknown context resolves to public-surface, and excluded_personal_life is ineligible in every context. Every rendered shape draws only from the admitted set — flat, grouped (chunks and hit_count), raw branch rows, snippets, session metadata (withholding shown as a count only), neighbor expansion (previously unchecked — it leaked at base), --with-message and hydration payloads (withheld outright on public-surface), get-chunk (a withheld read is indistinguishable from not-found), and the service's cached results, whose CacheKey now includes the resolved context so dedupe can never cross contexts.
Felix's review read the filter point and disclosure.rs directly and re-ran the leak suite: 13/13 boundary tests pass, including public output filtered for a fully-cleared caller and the intersection proptests (min, never exceeding either side). Fail-before at base was demonstrated with a stub backend: at a maximal caller ceiling, base served a secret-bearing chunk in results, attached it as a neighbor to a shareable hit, and returned an excluded chunk's text from get-chunk. Full suites 357 passed; no new dependencies.
Deferred, each with its own issue and queue task: #12622 the hosted Worker (TS) stated context + cache keying (task 21057); #12623 legacy Python atlas_search.py parity (task 21058); #12624 span-level filtering of full-content payloads (task 21059) — the one residual found in this slice: under non-public contexts a message payload is gated on the served chunk but spans sibling chunks that may classify higher (public-surface is fully covered by outright withholding). The query-trace context field belongs to #9099 per design section 10. This issue stays open for those.
dezren39 commentedon Nov 22, 2026
agent-note:v1
state: done
task: 21010
lane: oc-code-03
worker: repo-worker-code
origin: openchamber-scheduled-lane
Claimed task 21010 and revalidated fresh. The requested implementation was already merged by the preceding task owner as PR #12626 at f026268 (merged 2026-11-22T16:26:10Z), so no duplicate changes were made. The merge note reports 13 boundary tests and 357 suite tests passing; current PR checks show CodeRabbit failed and Proof skipped. Follow-ups are tracked as #12622 (queue task 21057), #12623 (21058), and #12624 (21059). Issue #12404 stays open for those follow-ups.
atlas(python): enforce disclosure-context ceilings in atlas_search.py (…