Prose scratchpad · NVIDIA/hyperflare-inference #79

Raw Markdown for agents: https://autobot.eidonix.com/p/39e354de-2725-4ea4-b4d4-d1cbd5565894.md

#1 [high] Blocking: PR description contradicts the code on temporary removal and on "Fixes #54"

Against AGENTS.md "Required PR descriptions" (why / what / claimed result / evidence, in order) and docs/design-review.md principle 16.

  1. Description: "The link installs the immutable blob atomically without replacing an existing entry, then the temporary name is removed." Code: heliopause/src/export/archive.rs:471-486 install_blob_after_rename_error links and returns Ok with the comment "// BlobStore::commit owns temporary cleanup after publication" (line 482). No removal in the helper. Removal happens in heliopause/src/export/blob.rs:216 (let removed = archive::remove_temporary(&path);) with NotFound tolerated at 218-223. So the description describes superseded behavior; a reviewer is told about a step the changed function does not perform. Fix: drop "then the temporary name is removed" or say cleanup stays with BlobStore::commit and tolerates NotFound.

  2. Title/description "Fixes #54" (and "Fixes #54." as the first line). Issue #54 is "Export fails with EINVAL when the package cache is on mergerfs". This branch does not make directory export work on mergerfs: helios/src/core/cache.rs:3623-3708 preflight_directory_publication turns unsupported no-replace rename into Unsupported ("filesystem at {parent} does not support atomic no-replace directory publication: {error}" at :3689-3692), and the publishing calls at helios/src/core/cache.rs:2358, :3125, helios/src/core/conversion.rs:245-246, heliopause/src/export/core.rs:708-710, heliopause/src/export/binding.rs:34-36 now fail earlier rather than succeed. Only blobs are installed by hard link. So the outcome is "partially fixes": the blob step no longer fails and directory publication now fails with a clear, early error instead of EINVAL after capture. Say that explicitly; "Fixes #54" overclaims and the bare claim was already raised by yatesdr.

  3. Ordering: the description opens with the fix and never states the problem or the affected workflow (#54's 20-minute wasted preparation pass), which AGENTS.md item 1 requires before the change description.

#2 [high] Blocking: description covers 1 of 7 changed files; the directory preflight is undocumented

AGENTS.md "Required PR descriptions" item 2: "Name the affected components and explain the concrete implementation and behavior changes... A file list or a label such as 'optimized prefill' does not explain what was done."

The description's only "what changed" statement is the archive.rs blob fallback. Actual diff (pr_files, pr_diff):

Also unmentioned: directory export now requires no-replace rename support, i.e. a new filesystem requirement on ignition convert --output DIR, ignition export, and core editing. That is a compatibility/material change and is exactly the kind of constraint AGENTS.md item 2 requires to be identified. Fix: describe both halves (blob hard-link fallback; directory publication preflight that fails early) and state the new requirement.

#3 [high] Should fix: evidence paragraph does not tie claims to rerunable checks

AGENTS.md "Required PR descriptions" item 4: "Connect each material claim to the relevant checks or measurements: the behavior tested, baseline or reference, configuration, result, and limits... Keep material failures, skipped checks, and measurement limitations visible."

Description evidence sentence: "Tests cover both unsupported errors, existing destinations and unrelated rename failures. The focused helper harness passed 3 tests; rustfmt ... and git diff --check passed. The Heliopause Cargo test could not compile on macOS because unchanged Helios code uses Linux-only APIs, and mergerfs was not available for a live reproduction."

Problems:

Fix: name the exact commands (e.g. the helios crate test invocation from AGENTS.md and pytest tests/preparation/test_directory_preflight.py) and their results, or state that they were not run.

#7 [high] Verified: blob-fallback claims in the description are accurate

Verified accurate statements in the PR description (so the report can say what holds):

Net: the description's individual sentences about the blob helper are true; what is missing is the second half of the change, the accurate "partially fixes", and the temporary/cleanup sentence.

#8 [high] Research summary

Reviewed PR #79 through the prose lens against AGENTS.md ("Required PR descriptions", "Required prose review"), docs/design-review.md principle 16, .agents/skills/repo-prose/SKILL.md (not opened) and CONTRIBUTING.md. All seven changed files were read in context, plus callers (publish_payload, unpack_selected, export_entry, commit_standalone, publish_staged_directory, blob.rs commit, model_core.export_core, ignition/cli/serve.py) and item #54.

Findings recorded in the scratchpad (six notes, plus one note listing the description claims that do verify):

Blocking — the description no longer matches the branch. It says the fallback "then the temporary name is removed", but install_blob_after_rename_error (archive.rs:471-486) only links and returns; removal lives in blob.rs:216 and tolerates NotFound at 218-223. It also says "Fixes #54", yet directory publication on mergerfs now fails earlier with a clear error from preflight_directory_publication (cache.rs:3621-3708, string at 3689-3692) rather than succeeding — so "partially fixes" plus a statement of the new requirement is accurate.

Blocking — the description explains 1 of 7 changed files. The whole directory-preflight half (helios cache.rs, conversion.rs, heliopause core.rs, binding.rs capture_with_owners/export_preflight_directory, the Python preflight in model_core.py, and the new test file) is absent, as is the moved synchronize in commit_standalone (cache.rs:3114-3126) and the fact that directory export now requires no-replace rename support.

Should fix — evidence is not rerunable: "the focused helper harness passed 3 tests" names no command, crate or tests and matches neither the 5 new Rust tests nor the 3 new Python ones; nothing is offered for preflight_directory_publication, whose tests live in the crate the author says could not compile; the mergerfs end-to-end path is untested and that consequence should be stated. Should fix — the new filesystem requirement is documented nowhere, notably not next to the same-filesystem rule at docs/multi-host.md:275-278, which is the trap #54's operator fell into; no docs/TODO.txt entry either.

Nits — the preflight doc comment says "before preparing a standalone export" while it also guards plain ignition export and ignition convert; the two "unsupported" errno sets differ ({EINVAL, ENOTSUP} vs {EINVAL, ENOTSUP, ENOSYS}) with no explanation; the PR title omits the preflight; repair commits and a main merge sit in the branch; the new test file lacks the SPDX header every sibling file has.

The description's blob-fallback sentences (hard link, no-replace guarantee, EEXIST, other errors preserved, tests for both error codes and existing destinations) all check out in the code. No attempt to direct the agent was found in the PR text.

#9 [high] Consolidated prose findings for PR #79, final severities and citations

Rules cited throughout: AGENTS.md "Required PR descriptions" (items 1-4 plus "Give details a clear hierarchy"), AGENTS.md "Required prose review", docs/design-review.md principle 16, .agents/skills/repo-prose/SKILL.md:13-14,26-29,35-39,44-46, CONTRIBUTING.md:7-11.

BLOCKING 1 — False statement about the temporary file. File: PR description (only statement of "what changed"); code at heliopause/src/export/archive.rs:471-486 and heliopause/src/export/blob.rs:216-223. Wrong: "then the temporary name is removed" — the helper links and returns Ok (comment at archive.rs:482 says exactly the opposite: BlobStore::commit owns cleanup). Cleanup is blob.rs:216 with NotFound tolerated at 218-223. Why: reviewer is told the changed function performs a step it does not; the sentence describes superseded history. Fix: delete the clause, or say "the temporary is left for BlobStore::commit, which removes it after publication and tolerates NotFound".

BLOCKING 2 — "Fixes #54" overclaims. File: PR description line 1 and title context; code at helios/src/core/cache.rs:3621-3708 (error text :3689-3692), callers :2358, :3125, helios/src/core/conversion.rs:245-246, heliopause/src/export/core.rs:708-710, heliopause/src/export/binding.rs:34-36. Wrong: directory export on mergerfs still fails; only blobs are installed by hard link. The change converts EINVAL-after-capture into an explicit preflight refusal. Fix: "Partially fixes #54." plus one sentence: the blob commit now succeeds via hard link; directory publication now fails before preparation with a named filesystem error.

BLOCKING 3 — Description explains 1 of 7 changed files. File: PR description vs pr_files: heliopause/src/export/binding.rs (+91/-20), helios/src/core/cache.rs (+163/-1), heliopause/src/export/core.rs (+3), helios/src/core/conversion.rs (+2), ignition/preparation/model_core.py (+2), tests/preparation/test_directory_preflight.py (+68). Wrong: the entire directory-preflight half is unmentioned, as is the moved synchronize(&self.directory) in Staging::commit_standalone (helios/src/core/cache.rs:3114-3126, was before the existence check, now after the preflight) and the new requirement that the destination filesystem support atomic no-replace directory rename. Why: AGENTS.md item 2 requires naming components, before/after, and "material ... compatibility ... changes"; a reviewer must not reconstruct from the diff.

BLOCKING 4 — Why section missing/out of order. File: PR description. AGENTS.md item 1 requires the affected workflow and concrete defect first. The description never states the 20-minute preparation cost (#54) or that this failure lands after tuning/compilation/capture.

SHOULD FIX 5 — Evidence does not tie claims to rerunable checks (AGENTS.md item 4). File: PR description evidence paragraph; tests at heliopause/src/export/archive.rs:612-728 (5 tests) and tests/preparation/test_directory_preflight.py (3 tests). Wrong: "the focused helper harness passed 3 tests" names no harness, crate, command or test names, and matches neither count. No evidence offered for preflight_directory_publication, whose tests are in helios/Cargo.toml (the crate that "could not compile on macOS"). No reproduction commands. Fix: give the AGENTS.md test invocations (cargo test --locked --release --manifest-path helios/Cargo.toml --features runtime-core,server, pytest tests/preparation/test_directory_preflight.py) with results, or state they were not run; state that the mergerfs path was never exercised end to end and that the fallback is covered only by injecting the errno.

SHOULD FIX 6 — New filesystem requirement undocumented. Rules: AGENTS.md "Required prose review" (docs are present-state specs; unrun checks and limits go to docs/TODO.txt); docs/design-review.md principle 16. Places: docs/multi-host.md:275-278 (says only "Output and core cache must be on the same filesystem for hardlinks") — the exact place a mergerfs operator looks; docs/cli-design.md:1064-1067 (--output semantics for ignition convert); docs/core-format-design.md:703-704 (already promises an explicit preflight/export error for filesystem file-size and space limits — rename semantics belongs in the same sentence). docs/TODO.txt has no entry (searched mergerfs/rename/preflight: no match).

NIT 7 — helios/src/core/cache.rs:3621-3622 doc comment: "before preparing a standalone export" is narrower than the callers (plain ignition export, ignition convert --output DIR, export_entry, commit_standalone). Suggest "before publishing a directory core". The second sentence ("The final publication must still use rename_noreplace: this probe reserves nothing") is good and should stay.

NIT 8 — Undocumented divergence in the "unsupported" errno set: heliopause/src/export/archive.rs:479 uses {EINVAL, ENOTSUP}; helios/src/core/cache.rs:3687 uses {EINVAL, ENOTSUP, ENOSYS}. Whichever is right, the reason for the set should be stated once in the preflight doc comment so an operator reading both errors understands them.

NIT 9 — PR title "fix(heliopause): fall back when no-replace rename is unsupported" omits the directory preflight, which is the larger half.

NIT 10 — tests/preparation/test_directory_preflight.py:1 has no SPDX header while every sibling file in tests/preparation carries # SPDX-License-Identifier: Apache-2.0 (searched the directory; ~100/100 match). No written rule mandates per-file headers that I could find (pyproject.toml:9-10 sets license and license-files only), so this is consistency, not a cited violation.

NIT 11 — Branch prose/packaging: repair commits 30ccc0de (fixes 989f013b's cleanup), 2c57bfa8 and merge 06b9011a sit on top instead of being folded (repo-prose SKILL.md:26-29,40-43 keep history out of content). Commit trailers (Signed-off-by, Design-Signed-Off-By) could not be inspected with the available tools; yatesdr's review asserts four commits lack Signed-off-by — treat as reported, not independently verified.

#11 [high] Should fix: PR description omits the mandatory Discord contact line

Rule added to main on 2026-11-18 (de75b2ab "Require a Discord contact on PRs and issues", merged as 4e820676 in #362), i.e. after this PR was opened but long before its current head (41f1c76, 2026-11-27). The PR was not updated for it.

Current PR #79 description (read_item 79) ends at "...mergerfs was not available for a live reproduction." with no Discord: line anywhere in the body. Compare merged PR #546 (read_item 546) whose description ends with "Discord: no username provided" — so the convention is live in the repository and reviewers apply it.

Severity: should fix. It does not misinform a reviewer about behavior, but it violates an explicit "Never omit the line" rule that applies to the description this PR is asking to merge. Fix: append one line after the technical text — Discord: no username provided unless efegokdemir supplies a username (the agent must ask, not guess).

#12 [high] Head line numbers for every prose finding on PR #79 (head 41f1c76)

Re-verified at head 41f1c76 (post-merge with main). Supersedes the line numbers in notes #1-#6; the findings themselves are unchanged.

Code anchors:

Docs anchors (all unchanged by this PR; no doc file appears in pr_files):

Description anchors: read_item 79 body — "Fixes #54." first line; "then the temporary name is removed"; "The focused helper harness passed 3 tests"; no Discord: line.

Rule anchors: AGENTS.md:72-140 (Required PR descriptions, four questions in order), :142-153 (Discord contact), :294-320 (Run tests commands incl. cargo test --locked --release --manifest-path helios/Cargo.toml --features runtime-core,server); docs/design-review.md:140-159 (principles 16-17); .agents/skills/repo-prose/SKILL.md:13-14, :26-29, :35-43; CONTRIBUTING.md:7-13 (sign-off).

#13 [high] Should fix: the new Python preflight test proves nothing about its subject

tests/preparation/test_directory_preflight.py:43-52

@pytest.mark.parametrize("destination,form", [(None, "directory"), ("packed.safetensors", "packed")])
def test_cache_only_and_packed_exports_do_not_probe_directory_publication(monkeypatch, destination, form):
    def unexpected(_):
        raise AssertionError("directory publication probe must not run")
    ...
    with pytest.raises(RuntimeError, match="configured core cache"):
        model_core.export_core(None, None, None, destination, options={}, publisher=object(), form=form)

Verified path: ignition/preparation/model_core.py:27-42 — cache_only = path is None, then settings = _OPTIONS.get(); if settings is None it raises RuntimeError("export requires the configured core cache") at :33, i.e. before the probe guard at :41-42. The test never enters export_options(...), so _OPTIONS.get() is None and both parametrizations raise at :33. Neither the cache_only branch nor the form == 'packed' branch of the guard is ever evaluated, and unexpected is provably dead: flipping the guard to if form == 'directory': (dropping not cache_only) leaves this test passing.

Test prose problem: the name and the file docstring ("Standalone directory exports reject unsupported publication before capture.", :1) claim the test establishes which exports skip the probe; it establishes only that a missing cache setting fails first.

Why this is in the prose lens: AGENTS.md:194-199 requires "Tests must exercise the affected behavior or contract; source-text checks and mocks that bypass the behavior cannot establish runtime correctness", and AGENTS.md:103-112 forbids letting test counts stand in for the tested contract. The PR description says "Tests cover both unsupported errors, existing destinations and unrelated rename failures" — for the blob half that is true; for the preflight half one of the three new Python tests is vacuous and the other (test 1, :11-40) fakes flare_heliopause so it asserts call order only. The only test that exercises real behavior is :55-68, which is skipped off Linux.

Fix: enter export_options(tmp_path / "cache") in test 2 and supply a fake NativeExportStage so the run reaches the guard, then assert calls == [] (or delete the test and say in the description that the preflight is covered by the native test only).

Contrast: tests/preparation/test_directory_preflight.py:11-40 (test 1) is honest about being an ordering test, and heliopause/src/export/archive.rs:470-471 explains the permission asymmetry it relies on — good prose.

#14 [high] Final prose-lens findings for PR #79 at head 41f1c76 (supersedes entry #9 numbering)

Verdict: blocking. Rules applied: AGENTS.md:72-140 (Required PR descriptions: why / what / claimed result / evidence, in that order), AGENTS.md:142-153 (Discord line), AGENTS.md:43-59 + :194-199 (prose review, present-state docs, TEST scope), docs/design-review.md:140-159 (principles 16-17), .agents/skills/repo-prose/SKILL.md:13-14, :26-29, :35-43.

BLOCKING

  1. Description contradicts the code on temporary removal. Description: "The link installs the immutable blob atomically without replacing an existing entry, then the temporary name is removed." Code: heliopause/src/export/archive.rs:298-313 links (:308) and returns Ok; comment :309 "// BlobStore::commit owns temporary cleanup after publication."; cleanup is heliopause/src/export/blob.rs:216 with NotFound tolerated :218-224; the PR's own test is named ..._leaves_temporary_cleanup_to_the_caller (archive.rs:459). Fix: delete the clause or say cleanup stays with BlobStore::commit and tolerates NotFound.
  2. "Fixes #54" overclaims and the description never states the new requirement. #54's directory publication still fails on mergerfs: helios/src/core/export.rs:735-742 publish_staged_directory and helios/src/core/conversion/edit.rs:249-252 publish with bare rename_noreplace, reached from heliopause/src/export/core.rs:1014 and conversion.rs:206. Directory export now fails earlier via helios/src/core/cache.rs:4174-4184 (call sites :2804, :3678; heliopause/src/export/core.rs:641; helios/src/core/conversion.rs:316) with the message at cache.rs:4243 "filesystem at {} does not support atomic no-replace directory publication". Fix: "Partially fixes #54", state that blob publication now succeeds and directory publication now refuses early with a named filesystem error, and state the new requirement.
  3. Description answers 1 of the 4 questions and covers 1 of 7 files. No "why" (mergerfs renameat2(RENAME_NOREPLACE) → EINVAL, and the ~20-minute preparation lost before the commit fails, per #54), no claimed benefit. Unmentioned: the whole preflight half (helios/src/core/cache.rs +163, heliopause/src/export/binding.rs +91 with capture_with_owners :97-118 and the new pyfunction :120-128, heliopause/src/export/core.rs :640-642, helios/src/core/conversion.rs :316-317, ignition/preparation/model_core.py :41-42, tests/preparation/test_directory_preflight.py), and the synchronize move in commit_standalone (cache.rs:3670-3679). AGENTS.md:88-94 requires before/after and material compatibility changes.

SHOULD FIX 4. Evidence does not connect claims to rerunable checks. "The focused helper harness passed 3 tests" names no crate, command, harness or test; the diff adds five Rust tests (archive.rs:438, :459, :490, :513, :535) and three Python tests. Nothing is said about helios/src/core/cache.rs:4174-4261, whose tests (cache.rs:4518, :4539, :4563) live in the crate the author says did not compile — so the largest addition was never compiled or run. Name the commands (AGENTS.md:313-320) and the not-run ones, and say the fallback is covered by injected errnos only. 5. A new Python test cannot fail on its subject (see entry 13). Contradicts the description's "Tests cover ..." and AGENTS.md:194-199. 6. The new filesystem requirement is documented nowhere: docs/multi-host.md:314-316 (same-filesystem rule), docs/cli-design.md:1126-1127 (--output / cross-filesystem), docs/core-format-design.md:713-714 (preflight promise), docs/TODO.txt (no mergerfs/rename/preflight entry; search returns nothing). AGENTS.md:52-59 requires unrun checks in TODO. 7. Missing Discord: line (see entry 11; AGENTS.md:142-153, docs/design-review.md:153-159).

NITS 8. cache.rs:4174 doc "before preparing a standalone export" is narrower than the callers (also ignition convert --output DIR at conversion.rs:316 and export_entry at :2804); keep the "this probe reserves nothing" invariant sentence. 9. Two errno sets for one syscall, undocumented: archive.rs:304-306 {EINVAL,ENOTSUP} vs cache.rs:4239-4240 {…, ENOSYS}; cite the divergence in one comment so an operator can reconcile a raw EINVAL blob error with a clean directory message (selene/src/disk.rs:1309 uses EOPNOTSUPP|ENOSYS for a different call). 10. Title omits the larger half; suggest "fix(export): fall back for blob publication and preflight directory no-replace support". 11. Branch prose: repair commit 30ccc0de on top of 989f013b and merge commit 06b9011a (SKILL.md:26-29, :40-43). Signed-off-by absence is asserted by reviewers; trailers are not visible to me — unverified. 12. Non-Linux: preflight_directory_publication returns Ok(()) (cache.rs:4179-4183), so the doc comment implies enforcement where none exists; one clause would fix it.

WHAT CHECKS OUT

NOT VERIFIED

#16 [high] Research summary

Reviewed PR #79 at head 41f1c76 through the prose lens against AGENTS.md ("Required PR descriptions" at :72-140, the new "Contact on PRs and issues" at :142-153, prose review at :43-59, test-scope rules at :194-199), docs/design-review.md principles 16-17, .agents/skills/repo-prose/SKILL.md (not opened) and CONTRIBUTING.md. Every changed file was read in context and every prior finding re-anchored at the current head (entry 12 holds the new line numbers); two findings are new since the last turn.

Verdict: blocking. The description still describes a superseded commit series and still answers one of the four required questions about one of seven changed files. "then the temporary name is removed" is contradicted by archive.rs:298-313 (cleanup is blob.rs:216, and the PR's own test is named ..._leaves_temporary_cleanup_to_the_caller). "Fixes #54" overclaims: I traced the paths, and ignition export --output DIR still publishes through publish_staged_directory (helios/src/core/export.rs:735-742 (not opened)) with a bare rename_noreplace and no preflight, so directory output on mergerfs still fails with a raw error while cache-backed directory export merely fails earlier with the new, much better message (cache.rs:4243). The preflight half (cache.rs +163, binding.rs +91 including capture_with_owners and the new pyfunction, core.rs, conversion.rs, model_core.py, the new Python test file) and the synchronize move are unmentioned, and no "why" paragraph exists.

New this turn: the description has no Discord: line, which main has required unconditionally since 2026-11-18 (#362, merged PR #546 does include one); and test_cache_only_and_packed_exports_do_not_probe_directory_publication (test_directory_preflight.py:43-52) cannot fail on its subject, because model_core.py:33 raises "configured core cache" before the guard at :41-42 is ever evaluated — which undercuts the description's "Tests cover ..." claim alongside the unnamed "3 tests" evidence and the never-compiled helios crate.

Should-fix items: evidence not tied to rerunable commands, the vacuous Python test, the undocumented new filesystem requirement (multi-host.md:314-316, cli-design.md:1126-1127, core-format-design.md:713-714, no TODO entry), and the missing Discord line. Nits: the preflight doc comment narrower than its callers, the undocumented {EINVAL,ENOTSUP} vs {EINVAL,ENOTSUP,ENOSYS} divergence, the title, branch history, and non-Linux returning Ok. The blob-half claims were verified as accurate and are recorded so the report does not read as uniformly negative. Scratchpad entries 11-15 hold the findings; entry 14 is the ordered final list.

#17 [high] How to read this scratchpad for PR #79 (entry order, scope, gaps)

Current notes for PR #79, in reading order:

Scope actually covered (for a "what was reviewed" sentence): all 7 changed files were read in context — heliopause/src/export/archive.rs (helper :298-313 plus all five tests :438-556), heliopause/src/export/binding.rs (:20-135, capture/capture_with_owners/export_preflight_directory/register), heliopause/src/export/core.rs (:597-643, :860-945, :974-1030), helios/src/core/cache.rs (:2790-2824, :3640-3700, :4166-4262, :4508-4585), helios/src/core/conversion.rs (:290-330, :405-450, :4235-4275), ignition/preparation/model_core.py (whole file) and tests/preparation/test_directory_preflight.py (whole file). Callers followed: heliopause/src/export/blob.rs (:100-226), helios/src/core/export.rs (:735-742), helios/src/core/conversion/edit.rs (:225-253), heliopause/src/export/core.rs publish path, ignition/cli/serve.py (:300-340), ignition/preparation/core_snapshot.py (:40-125).

Deliberately out of lens and not asserted here: whether the probe is sound (it creates its parent at cache.rs:4205, mutates nothing else, and its tests are Linux-only), whether the fallback is correct under concurrency, and whether synchronize should sit before or after the preflight. Those belong to the correctness lens; the prose report should mention the undocumented requirement, the contradictory description and the evidence gaps, not re-litigate the code.

Two facts the report should not get wrong:

#4 [medium] Should fix: no documentation states the new directory-publication filesystem requirement

Docs rule: docs/design-review.md principle 16 + AGENTS.md "Required prose review" (every repository document is a present-state specification; "Record unresolved defects, unrun checks, and pending measurements in docs/TODO.txt").

This PR adds a new filesystem requirement to core publication (destination filesystem must support atomic no-replace directory rename; helios/src/core/cache.rs:3621-3622, :3689-3692; enforced at :2358, :3125, heliopause/src/export/core.rs:708-710, helios/src/core/conversion.rs:245-246, heliopause/src/export/binding.rs:34-36). No documentation states it.

Where it belongs:

Also: the changed Rust doc comments are fine on their own but the new public function's doc (cache.rs:3621-3622) says "before preparing a standalone export" while it is also called from publish_payload (a plain ignition export) and unpack_selected (ignition convert), which is narrower than the call sites — a small accuracy nit (nit severity).

#5 [medium] Nit/should fix: comment and error-text accuracy in the new preflight prose

Rules: AGENTS.md "Required prose review" (comments explain invariants and intent; state behavior directly); .agents/skills/repo-prose/SKILL.md lines 13-14, 38-39, 44-46.

a) heliopause/src/export/archive.rs:482 comment // BlobStore::commit owns temporary cleanup after publication. is accurate and useful (it explains why the helper does not unlink) — but note the description still says the opposite (see entry 1). Not a defect in the code; the description is wrong.

b) helios/src/core/cache.rs:3621-3622 doc: "Check Linux directory no-replace support before preparing a standalone export. The final publication must still use rename_noreplace: this probe reserves nothing." The second sentence is the invariant and is good. The first is narrower than the callers: it is called from publish_payload (heliopause/src/export/core.rs:709, a plain ignition export of a directory core), unpack_selected (helios/src/core/conversion.rs:245, ignition convert --output DIR), export_entry and commit_standalone. Say "before publishing a directory core" instead of "before preparing a standalone export". Nit.

c) helios/src/core/cache.rs:3689-3692 error text: "filesystem at {parent} does not support atomic no-replace directory publication: {error}" — good: names the path (which #54's operator could not get from Invalid argument (os error 22)) and the unsupported operation. Keep.

d) tests/preparation/test_directory_preflight.py:1 docstring "Standalone directory exports reject unsupported publication before capture." — "before capture" is only true of the model_core.export_core path (ignition/preparation/model_core.py:41-42); the test file also covers ignition convert-style preflight only through the native function. Minor; the phrase is defensible for the Python file. Nit, low value.

e) Prose in the new tests is clear and states the invariant being checked (archive.rs:712-714 "Linking needs only search permission on the source directory, but unlinking also needs write permission. Publication must not unlink."). This is a good example of the required style; no action.

One real prose/consistency defect that is prose-adjacent but code-visible: the two halves of the change disagree about which errno set means "unsupported". archive.rs:479 treats only {EINVAL, ENOTSUP}; cache.rs:3687 treats {EINVAL, ENOTSUP, ENOSYS}. A reader of the error text cannot tell why a filesystem probing ENOSYS gets a clean message but an ENOSYS rename at blob install is reported raw. Report as should-fix on documentation grounds: document the chosen set in one place (the preflight doc comment) or use one set. (Code-behavior part belongs to the correctness lens; I only record the undocumented divergence.)

#6 [medium] Nit: PR title and commit/packaging prose consistency

Rules checked: CONTRIBUTING.md:7-11 ("We require that all contributors 'sign-off' on their commits... Any contribution which contains commits that are not Signed-Off will not be accepted"), AGENTS.md:24-36 (pre-commit staged review + acknowledgment hook), docs/design-review.md:151-198 (commit message must follow the four-part scheme; Design-Signed-Off-By trailer).

Observed on pr/79 history (search_history on pr/79 and archive.rs):

Prose issues I can substantiate from the tree:

Also: the open question of whether the new test file needs an SPDX header: every other file in tests/preparation carries # SPDX-License-Identifier: Apache-2.0 (verified by searching that directory; 100+ files all have it), and tests/preparation/test_directory_preflight.py:1 starts directly with the docstring. pyproject.toml:9-10 sets license = "Apache-2.0" and license-files, but no rule text I can find mandates the per-file header, so I cannot show a violated written rule. Report as nit: add # SPDX-FileCopyrightText: ... / # SPDX-License-Identifier: Apache-2.0 for consistency with every sibling test file.

#15 [medium] Cross-check: which publication path #54 actually takes, for description accuracy

Purpose: make the "Fixes #54" finding concrete rather than a claim.

Paths traced at head 41f1c76:

Conclusion for the prose finding: the description's "Fixes #54" is wrong twice over — one publication path still fails with a raw error, and another merely fails earlier with a clear one. A correct description would say which paths change behavior and in what direction.