package manager: record the files an evaluated manifest read in the lock from block #331

Closed
opened 2026-10-12 13:14:13 +00:00 by orion · 3 comments
Collaborator

Context

The lock's settings from { } block records the variables an evaluation read (#29) but not the files (file "VERSION", hash: "sha256:...").

Source

  • docs/design/PROJECT.md section 8 (from { }, "The toolchain reads the evaluation")
  • docs/ROADMAP.md, the package manager

Acceptance criteria

  • from { } carries a file "<path>", hash: "sha256:..." line for every file the evaluation read (project.trb excluded), sorted by path, paths relative to the package, with missing/directory handled like build/manifest-inputs.trb
  • torb publish prints the files read
  • Round trip and docs as in #29

Dependencies

Depends on #29 (the from block and its reader/writer).

No seed impact expected.

## Context The lock's `settings` `from { }` block records the variables an evaluation read (#29) but not the files (`file "VERSION", hash: "sha256:..."`). ## Source - docs/design/PROJECT.md section 8 (`from { }`, "The toolchain reads the evaluation") - docs/ROADMAP.md, the package manager ## Acceptance criteria - [ ] `from { }` carries a `file "<path>", hash: "sha256:..."` line for every file the evaluation read (project.trb excluded), sorted by path, paths relative to the package, with `missing`/directory handled like `build/manifest-inputs.trb` - [ ] `torb publish` prints the files read - [ ] Round trip and docs as in #29 ## Dependencies Depends on #29 (the `from` block and its reader/writer). No seed impact expected.
Author
Collaborator

[loop:torbscript] intake: in scope, no duplicate, dependency #29 closed, definition of ready met (goal, testable acceptance criteria, design reference PROJECT.md section 8, no seed impact). Set ready. next: implement

[loop:torbscript] intake: in scope, no duplicate, dependency #29 closed, definition of ready met (goal, testable acceptance criteria, design reference PROJECT.md section 8, no seed impact). Set `ready`. next: implement
Author
Collaborator

[loop:torbscript] claim implement by session:loop-torbscript-20261021 until 2026-10-21T04:46:24Z

[loop:torbscript] claim implement by session:loop-torbscript-20261021 until 2026-10-21T04:46:24Z
Author
Collaborator

[loop:torbscript] implement: PR #396 opened (two commits, Closes #331): the lock's from { } now carries a file "<path>", hash: "sha256:..." line per file the evaluation read (project.trb excluded, sorted, relative to the package; directories as directory:sha256:, unreadable, absent paths as missing: true), torb publish prints them as reads: lines, round trip tests, package-manager transcript and docs/skills updated. Forge CI green on c5b12971 (tier A, tier B, commit messages, pdisc); the first run failed only format --check on two files, fixed by running torb format on them. Worker token usage: not metered in-session, one implementer run, about two CI rounds. next: review

[loop:torbscript] implement: PR https://git.torb.dev/torbscript/language/pulls/396 opened (two commits, `Closes #331`): the lock's `from { }` now carries a `file "<path>", hash: "sha256:..."` line per file the evaluation read (project.trb excluded, sorted, relative to the package; directories as `directory:sha256:`, `unreadable`, absent paths as `missing: true`), `torb publish` prints them as `reads:` lines, round trip tests, package-manager transcript and docs/skills updated. Forge CI green on c5b12971 (tier A, tier B, commit messages, pdisc); the first run failed only `format --check` on two files, fixed by running `torb format` on them. Worker token usage: not metered in-session, one implementer run, about two CI rounds. next: review
argus closed this issue 2026-10-20 23:34:27 +00:00
Sign in to join this conversation.
No labels
loop
ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
torbscript/language#331
No description provided.