Skip to content

Commit 6fa4b86

Browse files
committed
docs(ledger): define complete shard-set bindings
1 parent 1ea23c8 commit 6fa4b86

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎docs/action-ledger.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ At job finalization, the spool is sorted, deduplicated, and published as one or
1919
more immutable JSONL shards:
2020

2121
```text
22-
ledger/v1/events/YYYY/MM/DD/<producer-repo>/<producer>/<run-id>-<attempt>-<job>-<digest>-part-<index>.jsonl
22+
ledger/v1/events/YYYY/MM/DD/<producer-repo>/<producer>/<run-id>-<attempt>-<job>-<digest>-part-<index>-of-<count>.jsonl
2323
```
2424

2525
Per-job shards avoid a shared append hotspot while preventing one Git commit per
@@ -151,7 +151,10 @@ confidential-identifier checks as every other durable machine-text field.
151151
batch, so duplicates and cycles cannot hide across files. Numbered parts are
152152
grouped by their full producer/run identity, flattened in part order, and
153153
required to reproduce the exact deterministic packing, paths, and bytes that
154-
the canonical writer would emit.
154+
the canonical writer would emit. Immutable destination bindings retain each
155+
producer run's partition date and complete shard-set manifest across later
156+
import batches, so sequential imports cannot move a run or replace a complete
157+
numbered set with a different part count.
155158

156159
## Privacy Boundary
157160

0 commit comments

Comments
 (0)