Skip to content

Commit c33b95d

Browse files
committed
fix(spec): the seed-files liveness row names placeSeedFiles; the level-1 description pin counts seed-file.zod.ts
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012eJQ8dtut5bZsnhFE3XGHF
1 parent 976a6ee commit c33b95d

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎packages/spec/liveness/seed.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"status": "live",
6363
"verifiedAt": "2026-10-26",
6464
"evidenceScope": "in-repo",
65-
"evidence": "packages/metadata-protocol/src/seed-files.ts#SeedDatasetFiles (`check`: `Object.prototype.hasOwnProperty.call(this.files, path)` — the bundled bytes a `seedFile(path)` reference is stored from, decoded once per dataset and checked against their recorded size and SHA-256); packages/cli/src/utils/bundle-seed-files.ts#bundleSeedFiles (the producer: `os build` writes each referenced file's bytes here, read relative to the package root)",
65+
"evidence": "packages/metadata-protocol/src/seed-files.ts#SeedDatasetFiles (`check`: `Object.prototype.hasOwnProperty.call(this.files, path)` — the bundled bytes a `seedFile(path)` reference is stored from, decoded once per dataset and checked against their recorded size and SHA-256); packages/cli/src/utils/bundle-seed-files.ts#placeSeedFiles (the producer: `os build` writes each referenced file's bytes here, after `collectSeedFiles` reads them relative to the package root)",
6666
"note": "Seeded 2026-10-26 (#25779, ruled on hotclm#19 letter D). The bytes of the package files the records name with `seedFile(path)`, keyed by that path; written by `os build`, never by an author. The keys are package-relative paths (the `records` walk boundary's rule applies to the records, not to this map), so the ledger drills only the bundled file's own keys.",
6767
"children": {
6868
"contentType": {

‎packages/spec/scripts/file-description.test.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2225,10 +2225,11 @@ describe('corpus — every rendered description is well-formed markdown', () =>
22252225
// level-1 opener among the four modules that moved to `marketplace/`,
22262226
// still counts. 31 -> 30: `kernel/package-upgrade.zod.ts` — a level-1
22272227
// opener (`# Package Upgrade Protocol`) — was removed whole by #25608's
2228-
// ADR-0049 retirement.)
2229-
expect(shifted.length).toBe(30);
2228+
// ADR-0049 retirement. 30 -> 31: `data/seed-file.zod.ts` (#25779) is a new
2229+
// module whose header opens at level 1 (`# Seed files`).)
2230+
expect(shifted.length).toBe(31);
22302231
// …and every one of them was shifted because it opened at level 1.
2231-
expect(shifted.filter(d => /^ {0,3}#(?:[ \t]|$)/m.test(withoutFences(d.untouched)))).toHaveLength(30);
2232+
expect(shifted.filter(d => /^ {0,3}#(?:[ \t]|$)/m.test(withoutFences(d.untouched)))).toHaveLength(31);
22322233
});
22332234

22342235
it('never opens a page on the `@module` marker (#13796)', () => {

0 commit comments

Comments
 (0)