Skip to content

atlas: publish verified AMD census and repeatable aggregate reader #13552

Open

Description

@dezren39

Atlas program #13241 needs a repeatable census that distinguishes the canonical laptop database, dated publication inputs, scan shards and hydration databases. On AMD the canonical database and the dated publication input returned different message and chunk counts on November 23. The service health endpoint provides no source watermark. The operator chapter still describes its last available complete census as October 31.

Deliver a bounded, read-only aggregate counter, synthetic WAL and role tests, and dated census and backup receipts in the existing book. No source text, hashes or personal identifiers belong in the output.

Ownership: active Atlas program census lane. This narrow work is already in progress in an isolated worktree and is deliberately not queued for a duplicate implementation. The parent program and existing backup issue #10304 retain their independent scopes.

Activity

  1. developing-today commented on Nov 23, 2026

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

    @dezren39
    MemberAuthor

    I independently reproduced the canonical tuple in the 17:57 program receipt and checked the dated publish source separately. The two files explain how both tuples can be observed on the same laptop.

    AMD read-only observation on 2026-11-23 (UTC) Sessions Messages Chunks Main file bytes
    Canonical ~/atlas/turso-atlas/data/atlas.db, 17:59:22 18,325 122,115 107,439 1,492,127,744
    Dated atlas-publish-v2-2026-10-31.db, 18:00:25 18,325 122,124 107,639 1,704,194,048

    SQLite 3.53.3 counted the three base tables in one read transaction per file using mode=ro and PRAGMA query_only=ON. A subsequent canonical check at 18:02:29 UTC found zero messages lacking a parent session and zero chunks lacking a parent message. The canonical DB also returned 24,184 rows in cas_registry. That count has a different unit from the physical CAS-object count. The Snowflake vector table, atlas_manifest and chunk_occurrences names were absent from this canonical file's schema. PR #13216 describes an occurrence writer for newly promoted shards.

    The dated file still contains nine more messages and 200 more chunks. This two-file check does not establish why, the release served by the Worker or the generation of the 29 reported topic shards. A new pass over the shard set should compare each permitted manifest's expected_chunks against its base-table count and report skew/missing coverage separately. Data-store reference

    For a per-source freshness receipt, carry separate connector observation, classified promotion and verified publication watermarks. The existing RunReportRow supplies run ID, batch ID, timings and processing counts. Join an accepted batch to its gate's publish manifest and verify the serving generation for the requesting ceiling. A completed empty sweep can refresh observation time while leaving all content generations unchanged. If either source watermark or publication generation is unavailable, mark the corresponding lag unknown. Return only authorized source classes and aggregate status. This preserves the scope and ownership of the existing reader work.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions