GeezerVison is showing github.com — C8 — Atlas ingestion of reports & pages + error-driven investigation boosts · Issue #9576 · developing-today/code
C8 — Atlas ingestion of reports & pages + error-driven investigation boosts #9576DescriptionC8 — 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.
Activitydeveloping-today commented on Nov 13, 2026 dezren39 commented on Nov 17, 2026
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. dezren39 commented on Nov 23, 2026
🤖 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. dezren39 commented on Nov 23, 2026 Lane felix picking up #9576 (2026-11-23) for a fresh done-check of all three acceptance items against current origin/main, following the landed C8-M (#12919, closed) and C8-E first-slice (#12962) work. Verification / gate-disposition record follows. dezren39 commented on Nov 23, 2026
Picked up by felix — 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 felix posts progress markers; after 30 minutes of silence any other worker may pick this up.) dezren39 commented on Nov 23, 2026
Lane felix fresh verification (2026-11-23, origin/main d3e572104): #9576 is partially done; both open acceptance items are owned by named sub-issues and gated on prerequisites outside this issue's scope. Nothing built — building here would fork #9091-owned platform work, which this issue's body forbids.
Acceptance, item by item:
-
Merged design — DONE. PR docs(atlas): settle C8 ingestion and investigation design #12290 merged (cdca7105e): doc/2026-11-22T01-48-21Z_design_c8_atlas_ingestion_investigation/ is on origin/main (corpus contract, cross-link model, planner-boost rules, investigation recipe). The seam-independent design slices have since landed too: C8-M profile core (c8_profile.rs, PR feat(atlas-core): C8-M profile core — URL decomposition, sanitization, typed link extraction #12959; C8-M: metadata profile and typed links for report/page ingestion #12919 CLOSED status:done) and the C8-E fingerprint core (c8_fingerprint.rs, PR atlas-core: C8-E fingerprint core for error-driven investigation (#12962) #13010).
-
Report pages searchable within one ingestion cycle, recency bias — OPEN, gated on the design(atlas): Atlas v1 build-out — design-mill starter (proto design → full design set) #9091 ingestion seam. Owned by C8-I: report/page ingestion cycle and searchable-after-commit check #12304 (C8-I). Lane felix re-verified C8-I: report/page ingestion cycle and searchable-after-commit check #12304 today against origin/main af119693476: no report/page ingestion adapter, source-revision cursor, atomic batch commit, or searchable-after-cycle hook exists anywhere in pkgs/atlas-search; sweep.rs still excludes live discovery adapters by its own module contract. Chain: design(atlas): Atlas v1 build-out — design-mill starter (proto design → full design set) #9091 OPEN (status/blocked + queue/blocked) ← its dispatch dependency Fleet park + cap audit (2026-11-12): parks that can never lapse, bound-work parks on verified-stale bindings, escalation-as-park, and BATCH_CLAIM_MAX for Drew's call #9179 OPEN. C8-R planner boosts are likewise design(atlas): Atlas v1 build-out — design-mill starter (proto design → full design set) #9091-owner work per the design. Resume condition (already recorded on C8-I: report/page ingestion cycle and searchable-after-commit check #12304): the design(atlas): Atlas v1 build-out — design-mill starter (proto design → full design set) #9091-owned ingestion contract (source-revision-keyed adapter boundary, atomic successful-batch commit, post-commit cursor advance, cursor unchanged on failed cycles) becomes available; C8-I: report/page ingestion cycle and searchable-after-commit check #12304's fixture-backed adapter test is then the next slice, unmodified.
-
One real error string investigated end-to-end — OPEN, gated on live join interfaces. Owned by C8-E: error-driven investigation evidence bundle #12962 (C8-E, OPEN, status:in-review). Its first slice (exact-normalized fingerprinting, first-vs-earliest-retained labelling, gap-preserving evidence bundle) landed via PR atlas-core: C8-E fingerprint core for error-driven investigation (#12962) #13010. The remainder needs live interfaces that do not exist yet: first-observed-occurrence search over retained authorized telemetry, and the commit → PR → issue joins consuming impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073–impl(fleet): session state — session id in env + worktree pwd-file #9075 fields. Gate state has narrowed since the older notes: impl(fleet): metadata database + fleet Metadata query surface #9074 and impl(fleet): session state — session id in env + worktree pwd-file #9075 are CLOSED (status:done); impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073 remains OPEN (status:in-review; slice 9 landed today via PR fleet gh: Metadata create path — parse, stamp, insert (#9073) #12988, slices 10–12 remain), and the queue/session joins plus the unpushed-final-commit check are still outstanding. Resume condition: C8-E: error-driven investigation evidence bundle #12962's later slices proceed as those interfaces land; its final slice attaches the end-to-end bundle here.
Disposition: #9576 stays open as the C8 tracker. Its remaining acceptance is exactly #12304 (gate: #9091/#9179) plus #12962 (gate: #9073 remainder + live telemetry/queue interfaces). No follow-on packet is needed from this issue — both remainders already have scoped homes. Fallback claim released outcome=free with these resume conditions. dezren39 commented on Nov 23, 2026
Released by felix (outcome: free). Gate disposition 2026-11-23: design acceptance DONE (PR #12290); acceptance 2 owned by #12304, gated on the #9091 ingestion seam (#9091 blocked, dep #9179 open) — resume when that contract lands; acceptance 3 owned by #12962, gated on #9073 remainder + live telemetry/queue join interfaces (#9074/#9075 closed) — resume as those interfaces land. dezren39 commented on Nov 24, 2026
Lane felix second pass (task 21987, 2026-11-24): first-pass claims re-verified against current origin/main (012af4875); one gate has narrowed, one slice landed, and acceptance 3 is now demonstrated end-to-end below.
First-pass verification verdict
- Merged design — DONE, confirmed. PR docs(atlas): settle C8 ingestion and investigation design #12290 (
cdca7105e): doc/2026-11-22T01-48-21Z_design_c8_atlas_ingestion_investigation/ is on current main, as are the seam-independent slices: C8-M profile core (c8_profile.rs, PR feat(atlas-core): C8-M profile core — URL decomposition, sanitization, typed link extraction #12959, C8-M: metadata profile and typed links for report/page ingestion #12919 closed) and the C8-E fingerprint core (c8_fingerprint.rs, PR atlas-core: C8-E fingerprint core for error-driven investigation (#12962) #13010).
- Report pages searchable within one ingestion cycle — STILL OPEN, gate re-verified verbatim. At
012af4875: sweep.rs's module contract still excludes live discovery adapters and promotion; a repo grep of pkgs/atlas-search/crates/atlas-core/src finds no source-revision key, per-source cursor, atomic batch-commit boundary, or searchable-after-cycle hook. design(atlas): Atlas v1 build-out — design-mill starter (proto design → full design set) #9091 remains OPEN (status/blocked + queue/blocked), its dispatch dependency Fleet park + cap audit (2026-11-12): parks that can never lapse, bound-work parks on verified-stale bindings, escalation-as-park, and BATCH_CLAIM_MAX for Drew's call #9179 remains OPEN, and C8-I: report/page ingestion cycle and searchable-after-commit check #12304 (C8-I) keeps its recorded resume condition unchanged. Nothing built here — a parallel adapter would fork design(atlas): Atlas v1 build-out — design-mill starter (proto design → full design set) #9091-owned platform work, which this issue forbids.
- One real error string investigated end-to-end — DONE by the demonstration below (design §5 recipe; §6: a partial investigation that names its gaps is a valid result). The checkbox is ticked on that basis.
- Gate change since the 2026-11-23 pass: impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073 is now CLOSED — all three metadata/session dependencies (impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073/impl(fleet): metadata database + fleet Metadata query surface #9074/impl(fleet): session state — session id in env + worktree pwd-file #9075) are done. C8-E: error-driven investigation evidence bundle #12962's remaining live slices (telemetry first-occurrence search, live joins) now wait only on the design(atlas): Atlas v1 build-out — design-mill starter (proto design → full design set) #9091 platform surfaces.
- New slice landed this pass: PR feat(atlas-core): C8-E findings assembly — candidates, rejections, unpushed check, next action (#9576, #12962) #14320 — the C8-E findings-assembly core (
CandidateChange, RejectedCandidate, UnpushedCommitCheck, build_bundle_with_findings), the deterministic half of §5 steps 4–6 that the live slices will feed. Evidence: run 45383184166, tests/c8_fingerprint.rs 12 passed / 0 failed; run 45383242294, full atlas-core 402 passed / 0 failed. Record on C8-E: error-driven investigation evidence bundle #12962.
Evidence bundle — one real error string, end-to-end (design §5)
Query (verbatim): end byte index 4 is not a char boundary; it is inside 'é' (bytes 3..5 of string)
Fingerprint: sha256:52497e893ecf2d3c07536a48ee36aeb8ed80746a67bb9fedb7593af6d7fe8a54 (normalization is the identity here: single spaces, NFC form as quoted).
Step 2 — first occurrence. Retained set searched: the #10760 issue record and this repo's git history. The string is a Rust runtime panic message — it has no source literal in the tree (git grep on origin/main: no source match), so its appearances are runtime occurrences only. Earliest retained observation: the queue-broker journal on amd quoted verbatim in #10760 — Nov 16 07:23:53 amd fleet[2163]: thread '<unnamed>' (3123350) panicked at crates/fleet-queue/src/validate.rs:493:48: followed by the query string (2026-11-16T07:23:53 journal local time). Retention floor unknown → labelled earliest retained observation, never "first ever".
Steps 3–4 — association chain (log → issue → commit → PR):
- log → issue, exact: fleet-queue(validate): a non-ASCII byte in a maintenance dedupe key panics the broker thread — /validate answers 500 with no field named #10760 quotes the journal lines and names the use site,
pkgs/fleet/crates/fleet-queue/src/validate.rs:493 (byte-slicing &week[..4] in match_dedupe on a client-supplied dedupe key).
- issue → commit, exact: fix commit
f11a146c27612bbe2e808982e687ed0eaa01453f — "fix(fleet-queue): byte-wise maintenance week check so non-ASCII dedupe keys fail closed (fleet-queue(validate): a non-ASCII byte in a maintenance dedupe key panics the broker thread — /validate answers 500 with no field named #10760) (fix(fleet-queue): byte-wise maintenance week check so non-ASCII dedupe keys fail closed (#10760) #10781)", 2026-11-16T08:59:42-06:00, one file (validate.rs).
- commit → PR, exact: PR fix(fleet-queue): byte-wise maintenance week check so non-ASCII dedupe keys fail closed (#10760) #10781, MERGED 2026-11-16T14:59:43Z, merge commit
f11a146c2.
- PR → issue, exact: fleet-queue(validate): a non-ASCII byte in a maintenance dedupe key panics the broker thread — /validate answers 500 with no field named #10760 closed 2026-11-16T14:59:45Z by that merge. Fix verified live on current main:
validate.rs:732-733 now checks bytes (wb[..4].iter().all(u8::is_ascii_digit)).
- use-site origin, inferred (confidence 0.9, provenance:
git log -S 'all_digits(&week' on the file): a9d10aca84d11583c7892589404cd20eb5ed0645 (2026-11-04, fleet step 2: queue domain pilot — brokers into pkgs/fleet, one-flip-at-a-time migration #5430 step 2) brought the slicing expression to this path; fleet-queue(validate): a non-ASCII byte in a maintenance dedupe key panics the broker thread — /validate answers 500 with no field named #10760's dedupe note attributes the slicing's origin to fleet-queue(validate): pr-set dedupe keys accept non-canonical spellings (single/repeated number) and maintenance keys accept impossible ISO weeks (W99) #5482, pre-move (exact reference, as stated there).
Candidate changes: f11a146c2 (exact, above).
Rejected candidate: e26657eac53b32173fbe9f8bd3f269c734ad65a0 (2026-11-10, #6426) — touches validate.rs inside the window but only not_before validation, not match_dedupe's week slicing; rejected on that ground.
Missing-data gaps (named, not converted into facts):
Class candidate (§5 step 7, for C8-T): #10760 named the dezren39/darwin-nix vendored copy as carrying the identical expression. Code search of that repo on 2026-11-24 finds no match_dedupe/week_ok — the copy has moved or retired; recorded as the candidate's current state, not assumed fixed.
Next action: human review of this bundle; the darwin-nix class candidate above is the residual item.
Disposition: #9576 stays open as the C8 tracker on acceptance 2 only (#12304, gate #9091/#9179). Acceptance 3's demonstration and the assembly slice (PR #14320) are this pass's completions; #12962 stays open on its live-interface slices.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|