TASK-3909cbf6-10c6-44ce-b82e-5bfb62cf34c8 harden artifact target guard

This commit is contained in:
thePR0M3TH3AN committed 2026-10-01 05:45:12 -04:00
1 parent 014bdb4f97
commit 0fdfcb3b68
4 files changed
+92 -24

No files matched your search

+3 -3
View File
@@ -2541,11 +2541,11 @@ test_integrity_note:
- id: SCN-dashboard-artifacts
given: "The dashboard test runs without an artifact environment, with an external runner directory, or with a repository/worktree target"
when: "It chooses the screenshot output boundary before the browser or screenshot writer starts"
then: "The default is a retained fresh external directory with provenance and hashes; explicit external output is honored; repository and symlink-resolved worktree targets fail before protected bytes change"
then: "The default is a retained fresh external directory with provenance and hashes; explicit external output is honored; repository, temporary-root, pre-existing and symlink-resolved targets fail before protected bytes change"
observable_outcomes:
- "Printed artifact directory, provenance, relative names, byte counts and SHA-256 hashes"
- "Refusal code for direct and symlink-resolved tracked-worktree destinations"
- "Unchanged tracked baseline bytes after refusal"
- "Refusal code for direct, temporary-root, existing-file and symlink-resolved tracked-worktree destinations"
- "Unchanged tracked baseline and external user bytes after refusal"
determinism_controls:
- "Disposable Git worktrees and temporary directories"
- "Fixed fixture bytes and SHA-256 assertions; no browser, network, sleep or retry is needed for the boundary scenarios"