Skip to content

C8 — Atlas ingestion of reports & pages + error-driven investigation boosts #9576

Open

Description

@dezren39

C8 — Atlas ingestion of reports & pages + error-driven investigation boosts

Component of the reporting-architecture program (starter epic #9568).
Source: Drew's directive, Reports chat, 2026-11-13 09:11 CST.
Statements: S4.12, S4.24–S4.30.

Scope

  • Ingestion. All report data and pages (C6 pages, C7 rollups, incident
    pages, forecast records) ingest into Atlas many times a day, biased
    toward recency and toward datasets Drew named: reports on issues and
    major happenings — so an agent searching a problem learns about an
    incident from a day or two ago and gets the resource links (GitHub,
    database) to go deeper.
  • Link-rich embeddings. Every link on a page becomes a metadata link
    to the related item; embeddings cross-link an item with the items it
    links (classifications link to the file that caused them), giving
    searches 1–2-step skips between related material.
  • Page metadata schema. URL exploded into base name, path, file name,
    last path part, port, MIME/media type; is-HTML / is-video flags; page
    kind (report; page with comments + stream; live stream); graphs present
    • libraries used to generate them; the specific scripts (Python/JS) and
      libraries that generated dynamic content or static pictures; all linked
      GitHub issues.
  • Query-planner boosts. For error-flavored queries (e.g. a new error
    message about a config property never added to the config), the planner
    boosts embeds sorted by recency from reports, issues/PRs with certain
    labels, and direct error-string matches anywhere.
  • Error-driven investigation. Given an error line (e.g. from a
    found-bugs-and-errors page for ID): find the string's first
    appearance
    across all embedded logs and its event-log add time → time
    range → all issues touching the file that now carries the string →
    PRs/mentions/bug reports for the keywords → commits touching the string
    or its use sites, reviewed in full and associated commit → PR → issue.
    Joined per issue: queue attempts, models used, worktrees used; a check
    for a final commit never pushed; session transcripts read by session ID
    for recorded expectations ("this error may occur; if it does, do X").
  • Class fixes. Related fixes for the same issue class (label families,
    "rhyming" fixes) assemble into a permanent class fix; class fix +
    investigation tooling combine into the architectural fix that makes the
    class impossible; residual occurrences become routine triage scripts or
    subtasks of a triage job (C2 drains them).

Boundaries / collisions

Acceptance

  • Merged design: corpus contract (kinds, cadence, metadata schema),
    cross-link model, planner-boost rules, investigation recipe.
  • Report pages from C6/C7 searchable in Atlas within one ingestion
    cycle, with recency bias demonstrated.
  • One real error string investigated end-to-end by the recipe, with
    the association chain (log → issue → commit → PR) produced.

Activity

  1. developing-today commented on Nov 13, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Agent note — triaged, first triage (lane any-m, task 19042)

    State: triaged
    Work kind: task/small-fix (design-first follow-on: the merged C8 design is the first acceptance item)
    Priority: priority/normal — Atlas program work under #9091 (priorities brief line 4, PM stack / notes-Atlas hub); not fleet-stalling.
    Effort: effort/l (corpus contract + ingestion + investigation recipe are separable sub-slices after the design)

    Fresh verification (2026-11-17):

    First concrete step for the follow-on: write and merge the C8 design (corpus contract: kinds, cadence, metadata schema; cross-link model; planner-boost rules; investigation recipe), consistent with #9091's platform threads and the #9073–#9075 records.
    Acceptance check for the follow-on: the design merged under doc/, and the remaining acceptance items (report pages searchable in Atlas within one ingestion cycle; one real error string investigated end-to-end) routed as their own scoped packets from the design.

    Follow-on: a scoped design packet for this issue is enqueued by this triage (dedupe-checked); this triage task completes as triaged naming it.

  3. added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 17, 2026
  4. 16 remaining items

  5. removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 22, 2026
  6. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Task 20428 picked up — #9576 C8 design.

    Fresh verification: #9576 is OPEN with no hard-stop labels; no matching PR exists. Parent #9091 is OPEN and blocked, but assignment and status labels do not hold this task. Decision: proceed with a standalone C8 design that consumes the parent platform interfaces and does not fork or alter #9091 work; record explicit integration boundaries and follow-ons. I will revalidate before creating the design branch.

  7. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Decided: Treat C8 as a standalone design slice that consumes Atlas platform contracts rather than waiting on #9091 or changing its platform threads.
    Why: #9576 is open and has no hard-stop label or matching PR; the packet asks for C8-specific corpus, cross-link, boost, and investigation decisions, while #9091 is blocked on separate work. The prior owner-wait notes cite no human-authored decision.
    Undo: A later design PR can revise C8 boundaries if #9091 establishes incompatible platform contracts; it must not fork or overwrite platform ownership.
    By: repo-worker-code / code-g

  8. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Task 20428 completed — C8 design merged; follow-on acceptance preserved.

    PR #12290 merged at cdca7105eb6bcc979a70771984622977a34b8094 and delivers the design acceptance. #9576 remains open: report/page searchable-after-ingestion and end-to-end real-error investigation demonstrations are not yet met.

    Follow-on: #12304 is the bounded C8-I report/page ingestion-cycle slice, enqueued as task 20997 in repo-health-code-pilot. It verifies successful-cycle visibility, idempotent replay, and that failed cycles do not advance the source cursor, while preserving #9091 platform ownership.

    Decision: keep #9576 open; do not treat the merged design as completion of its broader acceptance.

  9. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Lane FI picked up #9576 (via fleet agent next, shortlist rung) — feature-slice pass.

    Criteria vs origin/main, with evidence:

    Slice being landed now: the seam-independent core of design slice
    C8-M (filed as #12919): C8 profile types (design §2), canonical URL
    decomposition + sanitization (credentials and secret query parameters
    discarded), media derivation (media type, is-HTML / is-video flags),
    and explicit link extraction into the §3 closed vocabulary with
    evidence: explicit. Oracle: the merged design §2/§3 plus property
    tests (sanitization retains no credentials/secret params; idempotent).

    After this PR, cargo test -p atlas-core c8 shows the C8-M profile
    core passing where no C8 code existed on main before.

  10. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Progress — first C8-M implementation slice landed.

    PR #12959
    merged (3537bc2fd673): the seam-independent core of design slice
    C8-M, tracked on #12919
    (completion record there). New atlas_core::c8_profile: UrlParts
    decomposition, sanitize_url (credentials + secret query
    parameters discarded, property-tested), the §2 C8Source/C8Page
    profile objects, and explicit link extraction into the §3 closed
    vocabulary. Verified on the laptop: targeted tests 10/10,
    full atlas-core suite 353 passed / 0 failed, failing-first
    confirmed against origin/main.

    Acceptance state, unchanged boxes — with reasons:

    Next slice: the C8-E fingerprint core on #12962 — after that
    PR, cargo test -p atlas-core c8 shows exact-normalized error
    fingerprints (Unicode + whitespace normalization only, original
    preserved) grouping identical occurrences without ever merging
    merely similar errors, per design §4/§5.

  11. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · Lane HS (archer): the C8-E fingerprint core — #12962's first slice — has landed via PR #13010 (merge 03fd0f615e): conservative error normalization, exact-occurrence fingerprinting, first-vs-earliest-retained labelling, and the gap-preserving evidence-bundle core in atlas-core::c8_fingerprint (8 new tests; full atlas-core suite 361 passed / 0 failed). Record: #12962 comment. This issue's acceptance 3 (a real error string traced end-to-end with the bundle) remains with #12962's later slices, which wait on the live #9073–#9075 / queue interfaces.

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/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/lLarge: multi-day or open-ended; expect staged check-inspriority/normalOrdinary priority (the default)status:to-dotask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions