GeezerVison is showing github.com — Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 · Issue #8227 · developing-today/code
Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227DescriptionFollow-on 1 of 5 from the #6042 cold-tier shard format design (doc/2026-11-10T20-06-24Z_design_atlas_cold_tier_shard_format/, merged in PR #8225). Parent: #6026.
Implement the write side of the hot → cold mover per the design doc: the §2 container layout (header, JSON manifest, span section, vector section, checksum footer), the §3 manifest schema, and the §4 packing rules (one corpus + one class per shard, ~512 MiB target / 2 GiB ceiling, lineage grouping, whole versions only, idempotent re-pack).
Acceptance: a packed shard passes the §7 cold-roundtrip-verify check (follow-on 4) — byte-identical spans on restore; the writer's own test suite wires that check in.
Activitydezren39 commented on Nov 17, 2026
🤖 Agent note · picked up + triaged
- Agent: queue worker (repo-worker-code), lane any-e
- Session / ID: task 18608
- Found via: repo-health-code-pilot atomic claim (unfiltered, lane any-e)
- Task: Triage issue Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227: Atlas cold tier: shard writer (exporter) — design(atlas): cold-tier shard format — self-describing rustfs shards and the restore path back to hot #6042 follow-on 1
- Fresh verification (2026-11-17): issue Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227 OPEN; only labels were area/infra + epic/atlas-program and it had zero comments — untriaged in substance, so triaged inline per runbook §1c. No hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit absent).
- Verdict: work kind
task/small-fix · priority/normal · effort/l · kind/enhancement (labels applied this run, plus status/triaged and queue/queued for the follow-on)
- Priority why: priority/normal — priorities brief line 5: everything else by usefulness; a settled-design implementation (brief line 3: finish what is open) that unblocks three sibling follow-ons.
- Evidence: the design(atlas): cold-tier shard format — self-describing rustfs shards and the restore path back to hot #6042 design is merged (PR design(atlas): cold-tier shard format and restore path (#6042) #8225; doc/2026-11-10T20-06-24Z_design_atlas_cold_tier_shard_format/ on main) and both parents design(atlas): cold-tier shard format — self-describing rustfs shards and the restore path back to hot #6042 and design(atlas): content versioning + retention — versions, rename lineage, newest-resolution, cold rollout, deletion triggers #6026 are CLOSED; no shard writer exists on main yet; siblings Atlas cold tier: restore importer — #6042 follow-on 2 #8228 (restore importer), Atlas cold tier: cold catalog + fan-out addressing — #6042 follow-on 3 #8229 (cold catalog), Atlas cold tier: cold-roundtrip-verify tool — #6042 follow-on 4 #8230 (verify tool), Atlas cold tier: shard compaction for partial retirement — #6042 follow-on 5 #8231 (compaction) are all OPEN — the writer is the unblocked first step of the five-part sequence.
- First step: implement the writer against design §2 (container layout) + §3 (manifest schema) + §4 (packing rules: one corpus + one class per shard, ~512 MiB target / 2 GiB ceiling, lineage grouping, whole versions only, idempotent re-pack).
- Acceptance: a packed shard passes the §7 cold-roundtrip-verify check with byte-identical spans on restore, wired into the writer's own test suite; if the verify tool (Atlas cold tier: cold-roundtrip-verify tool — #6042 follow-on 4 #8230) has not landed by then, wire against the §7 spec and name the integration as the final step rather than blocking the writer.
- Fix packet:
repo-health:v1:fix:developing-today/code:issue:8227 → enqueued as task 20096 (queue repo-health-code-pilot, status queued).
developing-today-fleet commented on Nov 24, 2026
Agent note — task 20096 claimed by IW-193, flag stop, re-parked for the laptop OpenCode route
- Agent: queue worker (repo-worker-code), lane iw193 (Muse item lane ITEM-WORK-193)
- Claim: taken 2026-11-24T17:20:35Z under the packet's own ready condition ("a worker claim of 20096" is a named valid wake). Premise verified fresh: Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227 OPEN, no competing lane claim in the 4 comments, PR WIP: Atlas cold-tier shard writer (exporter) — #8227 #12726 OPEN draft on branch
queue/20096-8227-cold-shard-writer.
- What this lane did: checkpointed premise; fetched the branch in the existing
~/git/code clone (head 4fd9ecc4288, matches the last progress record); created worktree /home/user/wt-lane-20096-8227 on that branch. pkgs/atlas-search/crates/atlas-core/src/cold_shard.rs is present at 728 lines.
- Flag stop: an execution-risk flag tripped on the worktree content during setup. Per standing doctrine this lane ran no code in the checkout — no build, no tests, no further git operations inside it — and is not operating there.
- Wake protocol (laptop OpenCode route): resume in
/home/user/wt-lane-20096-8227 on branch queue/20096-8227-cold-shard-writer @ 4fd9ecc4288 (draft PR WIP: Atlas cold-tier shard writer (exporter) — #8227 #12726). Remaining per the prior record: lineage grouping, proptest, Atlas cold tier: cold-roundtrip-verify tool — #6042 follow-on 4 #8230 verify integration; 6 tests were passing at the last verified state. Un-draft PR WIP: Atlas cold-tier shard writer (exporter) — #8227 #12726 when the writer is complete.
- Task 20096 is parked 24h with this protocol in the park reason and progress.next as well.
developing-today-fleet commented on Nov 25, 2026 Graph hygiene (#14863 slice 8): label correction (comment-only). priority/critical + priority/normal are carried together — one should win when the holder next touches labels. (Work itself is in flight via PR #12726; no graph defect.) Refs #14863 developing-today-fleet commented on Nov 27, 2026 Implementation progress for task 20096: PR #12726 is ready for review and includes the cold shard writer, deterministic per-file lineage ordering, property coverage, and §7 round-trip checks against the design oracle. The targeted command ~/tools/fleet-build-lock -- cargo test -p atlas-core --lib cold_shard::tests passed (7 tests) on the branch merged with current main. rustfmt --edition 2024 --check crates/atlas-core/src/cold_shard.rs passed.
The standalone verifier integration remains the final follow-on in #8230; the packet allows the writer tests to exercise §7 directly until that tool lands. PR: #12726.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|