Skip to content

feat(atlas): schema-driven filter surface — implementation programme (from design #5410) #6228

Todo

Description

@dezren39

Implementation programme for the design note landed for #5410: doc/2026-11-05T13-03-49Z_design_atlas_manifest_filter_surface/ (PR #6223, merged f86e532). Recommendation there: GO, with phasing. Design only was authorized for #5410; this issue tracks the build.

Phases (design note §8)

Invariants (note §6, non-negotiable)

Sensitivity/ceiling semantics stay code-defined; no sensitivity keys exist in the manifest schema; shapes/stores are code-allowlisted; unknown request dimensions are loud errors; manifest failure falls back to the built-in surface loudly, never silently widening.

NO-GO trigger (note §10)

If the classification/publish pass cannot write the manifest in the same transaction as the labels in both modes (local publish file + Turso), stop and re-take the §3 home decision before loader work.

Filed by queue worker lane code-a (task 10475) so the #5410 design does not sit without a linked implementation path.

Acceptance criteria

  • The schema-driven filter surface renders filters generated from the schema for the programme's named collections.
  • Filter state round-trips through the URL/query contract used by the rest of atlas.
  • Tests cover at least one collection end-to-end: schema -> rendered filter -> filtered results.

Activity

  1. added
    app/atlas
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor
  3. added
    priority/normal
    effort/l
    status/needs-triage
    meta/enriched
    on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    Intake review

    • Related PRs (number search, this run): none found by number search this run
    • Still live: verified open this run; no merged PR found that explicitly resolves this issue, so it stays open.
    • Labels: normalized this pass (priority/normal, effort/l, status/needs-triage; meta/enriched added).
    • Notes: priority/normal: a programme epic for atlas; slice it before implementation.
    • Risks: Risk: programme-sized scope in one issue - expect the triage to split it into per-collection slices.
    • Suggested approach: Approach: pick the first collection as the tracer, prove the schema->filter path, then replicate.

    🤖 Agent note · filed

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-05T15:33:58Z
    • Found via: monitor reconciliation (Duty 2 intake enrichment)
    • Task: Intake pass per protocol §5: verified live, acceptance criteria appended, labels normalized, related PRs linked above.
  5. added
    queue/queued
    task/triage
    queue/parked
    status/parked
    and removed
    status/needs-triage
    queue/queued
    on Nov 6, 2026
  6. 231 remaining items

  7. removed
    work/assigned
    on Nov 27, 2026
  8. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    Fresh monitor-safety-net triage (2026-11-27): #6228 remains OPEN and live. Phase 2 #6993 is CLOSED; PR #14528 and Phase 3 slice-2 PR #15667 are both merged. The remaining next Phase 3 item is the CLI side: the design §8 requires flags generated from the loaded manifest, while current pkgs/atlas-search/crates/atlas-search/src/main.rs still statically declares kind/topic/project/client and proto_search_request maps only those fields; the merged FilterSpec.dimensions map is ready for generic dimensions. Routed a separate feature slice for manifest-derived CLI filters, with a parser-to-wire test. Later Phase 3 serve validation and Phase 4–5 remain in the parent programme; no duplicate packet for merged work.

  9. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    Triage disposition (2026-11-27): issue remains open; Phase 3 slice 2 PR #15667 is merged. Enqueued the next bounded Phase 3 CLI slice as queue task 26078: generate filter flags from the effective manifest and serialize generic dimensions, preserving named aliases; test parser-to-wire behavior and undeclared-flag rejection. Remaining serve validation and Phase 4–5 stay with the parent programme. Evidence/design: #5410 §8, current CLI in main.rs, and merged #15667.

  10. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    Picked up by repo-worker-code — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-code posts progress markers; after 30 minutes of silence any other worker may pick this up.)

  11. added
    queue/claimed
    work/assigned
    on Nov 27, 2026
  12. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    Completed by repo-worker-code (outcome: done). Fresh triage confirms #6228 remains open; Phase 3 slice 2 merged. Routed the next manifest-derived CLI filter slice to live queue task 26078.

    Disposition: verdict merged_verified, checked_at 2026-11-27T03:32:04Z -- the record below passed the broker's offline disposition gate at completion time. The record's follow_up names task 26078: only the broker can check it against the queue, so it is recorded here UNCHECKED -- the broker runs check_successor_task on it when it returns.

    {
      "checked_at": "2026-11-27T03:32:04Z",
      "source": "fleet gh readback",
      "issue": {
        "number": 6228,
        "state": "open",
        "state_reason": null,
        "closed_at": null,
        "closed_by": null
      },
      "pulls": [
        {
          "number": 15667,
          "state": "merged",
          "is_draft": false,
          "merged_at": "2026-11-27T02:20:32Z"
        },
        {
          "number": 14528,
          "state": "merged",
          "is_draft": false,
          "merged_at": "2026-11-26T16:35:53Z"
        }
      ],
      "verdict": "merged_verified",
      "follow_up": {
        "task_id": 26078,
        "reason": "The issue remains an open multi-phase programme; the next CLI slice is queued as task 26078."
      }
    }
    
  13. removed
    queue/claimed
    work/assigned
    on Nov 27, 2026
  14. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    Phase 3 CLI filter slice PR opened: #15995 (#15995).

    atlas-search now builds CLI filter flags from the effective manifest for generic_list dimensions, keeps kind/topic/project/client compatibility aliases, maps generic values into FilterSpec.dimensions, and rejects undeclared generic flags.

    Remote done-check evidence: dezren39/fleet#45940090066 (https://github.com/dezren39/fleet/actions/runs/45940090066), Linux / GitHub Actions, command cargo test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-search --bin atlas-search manifest_cli_filters_round_trip_into_generic_dimensions — terminal success; test tests::manifest_cli_filters_round_trip_into_generic_dimensions ... ok; 1 passed; 0 failed; 0 ignored; 0 measured; 49 filtered out.

    This is the CLI-only Phase 3 slice; no server/query semantics or live service changes.

  15. removed
    status/triaged
    on Nov 29, 2026
  16. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    🤖 Census note — 2026-11-29 (lane CEN-C04, full-census pass)

    Verdict: ready (implementation programme, in progress). Rechecked firsthand. Phase state: Phase 1 (#5375 escaping fix) is the filed first step; Phase 3 is mid-flight — slice 2 merged (PR #15667) and the manifest-derived CLI filter slice is open as PR #15995 (flags generated from the effective manifest, generic dimensions serialized, undeclared flags rejected; remote test evidence on the PR). Remaining: serve-mode validation against the effective surface, Phase 4 (serve CacheKey gains manifest_version + content_hash), and Phase 5 (manifest writer in the classification/publish pass, gated by the §10 NO-GO trigger — same-transaction manifest+labels in both modes). Blockers: none.

    Census actions: removed duplicate label status/triaged (issue is actively status/in-progress).

  17. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix):

  18. added
    source/queue-worker
    on Nov 29, 2026
  19. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Gaps found: no source/* label although the body states the filer (remedied this pass); AC is generic relative to the five named phases (recorded, not rewritten).

    Strengths: detailed body with context a picker-up can start from; linked to its epic/programme via epic/* labels; full ## Acceptance criteria present.

    Actions taken: labels added this pass: source/queue-worker

    Priority: priority/normal retained — matches the work's urgency as evidenced on the issue; no band change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/atlaseffort/lepic/atlas-programkind/enhancementmeta/enrichedpriority/normalsource/queue-workerstatus/in-progress

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions