| 1 | { |
| 2 | "schema": "zipelo.file-publication.regressions.v1", |
| 3 | "source_head": "10dc446c90d3527437298cff270b26d2e196a748", |
| 4 | "source_manifest_sha256": "cc4e4cc64a8f3b537df554c7d2895ea3722fbfb0906f1ada767d5cf9b5d8bbc6", |
| 5 | "branch": "fix/rust-file-publication-regressions", |
| 6 | "scope": "Source/static candidate. Rust compilation, discovery and runtime have not been performed. Frozen production path dependency; no private access, include!, copied implementation or syscall interposition.", |
| 7 | "declared_test_count": 54, |
| 8 | "test_names": [ |
| 9 | "boundaries::chunk", |
| 10 | "boundaries::chunk_minus_one", |
| 11 | "boundaries::chunk_plus_one", |
| 12 | "boundaries::empty", |
| 13 | "boundaries::exact_io_and_call_budget_includes_eof", |
| 14 | "boundaries::invalid_limits_precede_paths_and_callback", |
| 15 | "boundaries::maximum", |
| 16 | "boundaries::maximum_minus_one", |
| 17 | "boundaries::one", |
| 18 | "boundaries::one_less_call_budget_stops_before_last_eof", |
| 19 | "boundaries::one_less_io_budget_stops_before_last_eof", |
| 20 | "boundaries::oversized_input_rejected_without_io", |
| 21 | "boundaries::zero_byte_limit_accepts_empty_with_exact_eof_budget", |
| 22 | "boundaries::zero_byte_limit_rejects_payload_before_path_validation", |
| 23 | "boundaries::zero_call_budget_is_valid_but_cannot_probe_eof", |
| 24 | "boundaries::zero_io_budget_fails_eof_without_refund", |
| 25 | "concurrency::acknowledged_cancellation_before_commit_prevents_link", |
| 26 | "concurrency::two_prepared_publishers_have_exactly_one_complete_winner", |
| 27 | "control::callback_cancel_precedes_expired_deadline", |
| 28 | "control::callback_error_precedes_expired_deadline", |
| 29 | "control::callback_panic_has_no_report_or_named_output", |
| 30 | "control::callback_preserves_non_send_error_and_wins_over_cancel", |
| 31 | "control::cancel_after_first_chunk_preserves_reservations", |
| 32 | "control::cancel_before_commit_closes_four_handles_without_link", |
| 33 | "control::cancel_before_sync_preserves_written_usage", |
| 34 | "control::cancel_before_write_closes_anonymous_temp", |
| 35 | "control::cancel_first_opening_has_no_handles", |
| 36 | "control::cancel_second_opening_closes_parent", |
| 37 | "control::cancellation_after_return_preserves_committed_output", |
| 38 | "control::checkpoints_keep_output_absent_and_close_owned_descriptors", |
| 39 | "control::dropping_unused_publication_marks_finished_without_io", |
| 40 | "control::natural_elapsed_deadline_stops_before_open", |
| 41 | "control::pre_requested_cancel_is_idempotent_and_stops_before_open", |
| 42 | "models::constructed_cleanup_failures_are_never_all_successful", |
| 43 | "models::public_types_support_transfer_without_forging_receipts", |
| 44 | "namespace::destination_created_at_last_checkpoint_is_preserved", |
| 45 | "namespace::parent_replaced_after_open_commits_to_held_directory", |
| 46 | "namespace::parent_replaced_before_commit_keeps_receipt_on_old_parent", |
| 47 | "namespace::removed_parent_returns_uncertain_original_errno_without_receipt", |
| 48 | "paths::dangling_symlink_preserved", |
| 49 | "paths::existing_directory_and_child_preserved", |
| 50 | "paths::existing_fifo_preserved_without_opening_it", |
| 51 | "paths::existing_hard_links_preserved", |
| 52 | "paths::existing_regular_file_preserved", |
| 53 | "paths::existing_socket_preserved_without_accepting_connections", |
| 54 | "paths::existing_symlink_and_target_preserved", |
| 55 | "paths::invalid_leaf_forms_rejected_before_callback", |
| 56 | "paths::invalid_parent_forms_rejected_before_callback", |
| 57 | "paths::linux_backslash_and_colon_are_leaf_bytes", |
| 58 | "paths::maximum_leaf_length_is_supported", |
| 59 | "paths::missing_and_regular_parent_preserve_errno", |
| 60 | "paths::non_utf8_leaf_and_parent_are_supported", |
| 61 | "paths::parent_and_ancestor_symlinks_rejected", |
| 62 | "paths::root_parent_is_lexically_valid_without_opening_root" |
| 63 | ], |
| 64 | "evidence_classes": { |
| 65 | "boundaries::chunk": "real-file-public-api", |
| 66 | "boundaries::chunk_minus_one": "real-file-public-api", |
| 67 | "boundaries::chunk_plus_one": "real-file-public-api", |
| 68 | "boundaries::empty": "real-file-public-api", |
| 69 | "boundaries::exact_io_and_call_budget_includes_eof": "real-file-public-api", |
| 70 | "boundaries::invalid_limits_precede_paths_and_callback": "public-validation-no-file", |
| 71 | "boundaries::maximum": "real-file-public-api", |
| 72 | "boundaries::maximum_minus_one": "real-file-public-api", |
| 73 | "boundaries::one": "real-file-public-api", |
| 74 | "boundaries::one_less_call_budget_stops_before_last_eof": "real-file-public-api", |
| 75 | "boundaries::one_less_io_budget_stops_before_last_eof": "real-file-public-api", |
| 76 | "boundaries::oversized_input_rejected_without_io": "public-validation-no-file", |
| 77 | "boundaries::zero_byte_limit_accepts_empty_with_exact_eof_budget": "real-file-public-api", |
| 78 | "boundaries::zero_byte_limit_rejects_payload_before_path_validation": "public-validation-no-file", |
| 79 | "boundaries::zero_call_budget_is_valid_but_cannot_probe_eof": "real-file-public-api", |
| 80 | "boundaries::zero_io_budget_fails_eof_without_refund": "real-file-public-api", |
| 81 | "concurrency::acknowledged_cancellation_before_commit_prevents_link": "real-file-bounded-thread-handshake", |
| 82 | "concurrency::two_prepared_publishers_have_exactly_one_complete_winner": "real-file-bounded-thread-handshake", |
| 83 | "control::callback_cancel_precedes_expired_deadline": "natural-elapsed-callback-no-file", |
| 84 | "control::callback_error_precedes_expired_deadline": "natural-elapsed-callback-no-file", |
| 85 | "control::callback_panic_has_no_report_or_named_output": "real-file-callback-control", |
| 86 | "control::callback_preserves_non_send_error_and_wins_over_cancel": "real-file-callback-control", |
| 87 | "control::cancel_after_first_chunk_preserves_reservations": "real-file-callback-control", |
| 88 | "control::cancel_before_commit_closes_four_handles_without_link": "real-file-callback-control", |
| 89 | "control::cancel_before_sync_preserves_written_usage": "real-file-callback-control", |
| 90 | "control::cancel_before_write_closes_anonymous_temp": "real-file-callback-control", |
| 91 | "control::cancel_first_opening_has_no_handles": "real-file-callback-control", |
| 92 | "control::cancel_second_opening_closes_parent": "real-file-callback-control", |
| 93 | "control::cancellation_after_return_preserves_committed_output": "real-file-callback-control", |
| 94 | "control::checkpoints_keep_output_absent_and_close_owned_descriptors": "real-file-callback-control", |
| 95 | "control::dropping_unused_publication_marks_finished_without_io": "public-state-no-file", |
| 96 | "control::natural_elapsed_deadline_stops_before_open": "natural-elapsed-callback-no-file", |
| 97 | "control::pre_requested_cancel_is_idempotent_and_stops_before_open": "public-state-no-file", |
| 98 | "models::constructed_cleanup_failures_are_never_all_successful": "constructed-cleanup-value-only", |
| 99 | "models::public_types_support_transfer_without_forging_receipts": "compile-bound-assertions", |
| 100 | "namespace::destination_created_at_last_checkpoint_is_preserved": "real-file-checkpoint-namespace-mutation", |
| 101 | "namespace::parent_replaced_after_open_commits_to_held_directory": "real-file-checkpoint-namespace-mutation", |
| 102 | "namespace::parent_replaced_before_commit_keeps_receipt_on_old_parent": "real-file-checkpoint-namespace-mutation", |
| 103 | "namespace::removed_parent_returns_uncertain_original_errno_without_receipt": "real-file-checkpoint-namespace-mutation", |
| 104 | "paths::dangling_symlink_preserved": "real-file-public-api", |
| 105 | "paths::existing_directory_and_child_preserved": "real-file-public-api", |
| 106 | "paths::existing_fifo_preserved_without_opening_it": "real-file-public-api", |
| 107 | "paths::existing_hard_links_preserved": "real-file-public-api", |
| 108 | "paths::existing_regular_file_preserved": "real-file-public-api", |
| 109 | "paths::existing_socket_preserved_without_accepting_connections": "real-file-public-api", |
| 110 | "paths::existing_symlink_and_target_preserved": "real-file-public-api", |
| 111 | "paths::invalid_leaf_forms_rejected_before_callback": "public-validation-no-file", |
| 112 | "paths::invalid_parent_forms_rejected_before_callback": "public-validation-no-file", |
| 113 | "paths::linux_backslash_and_colon_are_leaf_bytes": "real-file-public-api", |
| 114 | "paths::maximum_leaf_length_is_supported": "real-file-public-api", |
| 115 | "paths::missing_and_regular_parent_preserve_errno": "real-file-public-api", |
| 116 | "paths::non_utf8_leaf_and_parent_are_supported": "real-file-public-api", |
| 117 | "paths::parent_and_ancestor_symlinks_rejected": "real-file-public-api", |
| 118 | "paths::root_parent_is_lexically_valid_without_opening_root": "public-validation-no-file" |
| 119 | }, |
| 120 | "fixture_provenance": { |
| 121 | "inputs": "Only source-defined pattern(i)=(i*37+11)%251, fixed literals and bounded repeated bytes. No archive or user-file inputs.", |
| 122 | "paths": "Future approved runner exclusively creates mode-0700 tests/rust-file-publication/runs. Each case creates exclusive case-PID-counter and a mode-0700 parent. Tests may only publish/create/move/remove their own synthetic paths. No global cwd, environment, umask, permission or ownership changes.", |
| 123 | "special_files": "Synthetic FIFO through existing libc::mkfifo, unconnected local Unix socket, symlinks and hard links. No device nodes, mounts or system special-file writes.", |
| 124 | "filesystem": "Linux magic ef53 (ext family) or 58465342 (XFS), exclusively managed by effective UID. The current tests directory reports ef53 in read-only stat inspection; O_TMPFILE/linkat/fsync are unverified until execution. Unsupported environment must stop, not skip or silently fall back.", |
| 125 | "boundaries": [ |
| 126 | 0, |
| 127 | 1, |
| 128 | 65535, |
| 129 | 65536, |
| 130 | 65537, |
| 131 | 16777215, |
| 132 | 16777216, |
| 133 | 16777217 |
| 134 | ] |
| 135 | }, |
| 136 | "acceptance": { |
| 137 | "committed": "Actual file-layer receipt, matching held parent/file identity and length, exact complete output bytes, nlink=1, no group/other permissions, two successful fsync returns and four reported closes. This is not worker, archive, product Published or crash-recovery proof.", |
| 138 | "accounting": "For normal full transfers: write calls ceil(N/65536), read calls ceil(N/65536)+1, reserved bytes 2*N+1, actual read/write N each, open 4, metadata 5, link 1. Conflict/uncertain link has sync 1; committed normal path sync 2. Checks cover observed full transfers, not proof all syscalls always transfer fully.", |
| 139 | "collision": "Existing regular file, directory child, symlink/target, dangling symlink, hard link, FIFO and Unix socket preserve identity/type/link count/size and applicable bytes. Late checkpoint insertion is also EEXIST. No overwrite/unlink/copy fallback.", |
| 140 | "concurrent_publishers": "Two real std threads both reach BeforeCommit before release; one complete payload and one native EEXIST. Winner not predetermined. Bounded independent channels replace unbounded Barrier. No OS worker or product isolation.", |
| 141 | "cancel": "Pre-request and repeated request; cancellation at each stage and after first chunk; acknowledged cancellation before commit via actual channel handshake has link_calls=0. Cancel after returned report is Finished and cannot remove output. Callback errors preserve non-Send Rc identity and beat simultaneous cancellation.", |
| 142 | "namespace": "Rename/replacement at second Opening and BeforeCommit publishes into held old directory and preserves the replacement parent's output. Removing the empty held parent at BeforeCommit expects CommitUncertain(ENOENT), no receipt, one link attempt and no retry.", |
| 143 | "cleanup": "Normal returns assert close attempt counts and no recorded close errors. /proc/self/fd inspection observes no remaining descriptors whose targets are below the owned sandbox; it does not independently identify every procfs descriptor or prove physical storage deletion. Anonymous temp names are never treated as named output.", |
| 144 | "failure_preservation": "Every assertion completes before explicit Sandbox::finish. No Drop cleanup. Any panic/error/timeout leaves synthetic paths for inspection and halts subsequent cases. finish verifies original directory identity and absence of owned-target fd references before removing only that case root.", |
| 145 | "panic": "One intentionally caught callback panic observes Finished, no output and no owned-target fd references. No Report exists; RAII close errors and procfs fd cleanup remain unverified.", |
| 146 | "models": "Constructed Cleanup failures test only value/API interpretation. EIO/EINTR values are synthetic, never actual close failures. all_close_calls_succeeded with attempted=0 is vacuously true, not work completion evidence.", |
| 147 | "deadline": "Three callback cases sleep 10 ms against 1 ms cooperative budget. Natural elapsed behavior only; no injected clock, hard I/O deadline or timing-race guarantee.", |
| 148 | "old_results": "PR48 a02146e1 72-pass evidence and existing 16 comparison failures/seven unverified results remain intact, outside this count." |
| 149 | }, |
| 150 | "unverified": [ |
| 151 | "Positive short/zero write, read short/zero/corruption/EINTR/EIO, lseek failure and allocator failure: no public raw-I/O injection boundary.", |
| 152 | "File fsync failure, parent fsync failure after successful link, close failure/EINTR and exact close order with actual failing syscalls. Constructed Cleanup values are not adapter evidence.", |
| 153 | "CancelDecision::TooLate inside Committing and cancellation in the final-check-to-CAS race. Public checkpoints do not occur after CAS; no artificial proof is inserted.", |
| 154 | "UntrustedParent from foreign UID or writable mode, hostile same-UID actors, ACL/LSM policies, procfs substitution, unsupported filesystem/kernel, EXDEV and arbitrary commit errors. No chown/chmod/mount/environment changes.", |
| 155 | "Opaque receipt constructor compile-fail tests, non-Linux runtime, Windows/VM, all-descriptor leaks, physical temp deletion, arbitrary crash consistency and original-path persistence.", |
| 156 | "OS worker launch/identity/EOF/reap, execveat EACCES retry/bypass, publication of real archives or product UI. Existing held probes stay deferred." |
| 157 | ], |
| 158 | "execution_plan": "run-plan.json", |
| 159 | "preserved_snapshot_evidence": { |
| 160 | "result-audit.json": "4fa9c54270af4a71f7cc0f8e5ece8ea89df11176b9fc5793bdbd8ef118437661", |
| 161 | "verification.json": "6ea314425b09266b1487ccecf5de4ebb2359f0875fe2d52c01eb32644e582658", |
| 162 | "evidence-sha256sums": "5cce3913aa81aec56196111ca023698272c75275414b61a9eec0b89dca886108" |
| 163 | } |
| 164 | } |