interplane.Get Omega
Read in your language

synapse

A component of the AienOS ecosystem.

Brought by drakestapleton

GitHub aien-dev/synapse#135 (code only)

closed derived 9ad4078ac48c8419 #135

Imported from GitHub aien-dev/synapse#135 (code only)

GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).

Base 43d5fc4dcc44768b9d656194a8d22eef78b1d20e · Head be49a086ae951025942c2947cd99c83b8b4a3c48

Apply it

git checkout -b patch-9ad4078ac48c8419 43d5fc4dcc44768b9d656194a8d22eef78b1d20e
curl -fsSL https://interplane.io/drakestapleton/synapse/patches/9ad4078ac48c8419.patch | git am

Raw patch (mbox) · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/synapse
135
be49a086ae951025942c2947cd99c83b8b4a3c48
{"kind":"github-import","owner":"aien-dev","repo":"synapse","number":135,"url":"https://github.com/aien-dev/synapse/pull/135","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:13Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/evidence/REPAIR-RECOVERY-L662/FINAL.md b/evidence/REPAIR-RECOVERY-L662/FINAL.md
index b19abec..81e4059 100644
--- a/evidence/REPAIR-RECOVERY-L662/FINAL.md
+++ b/evidence/REPAIR-RECOVERY-L662/FINAL.md
@@ -1,4 +1,4 @@
-# Final host qualification and review disposition — L662
+# Final host qualification and review disposition - L662
 
 Functional source after the one review fix: `df542c9127d216822d655e75accfa2c79859dd63`.
 Base: `5b732e5d353bbcc3f6d0cd1eac60f2e543601521`.
diff --git a/evidence/REPAIR-RECOVERY-L662/final-qualification.json b/evidence/REPAIR-RECOVERY-L662/final-qualification.json
index fb0a663..16a3619 100644
--- a/evidence/REPAIR-RECOVERY-L662/final-qualification.json
+++ b/evidence/REPAIR-RECOVERY-L662/final-qualification.json
@@ -15,7 +15,7 @@
     "docs/R1_RAW_BLOCK_STORE.md": "f3c348df088b9cd55fd7780d14302bc491c490dbc9b30255019d869190f17faf"
   },
   "evidence_files": {
-    "FINAL.md": "5618ecea9a20225e1e3230e9855a3f8a450f329bf110719b4f8e99df3db06597",
+    "FINAL.md": "18747064e54040f48deb621698078f56f1d8aa688b3fc9d3bb4a51c43a78f49a",
     "README.md": "b1428156db884b7ae905398eff3f3a4c8fc26ca220b2a398daed5e81047ea1e4",
     "behavioral-red/backup-overflow.log": "5d653e941dbb1b950a815b7b3c908241fcd3d004b1f0cb8a70620b348f19b288",
     "behavioral-red/inherited-lock.log": "c51630f2a6228e30223509242341959bd8c037d7cfa5148249305365e01c5a82",
@@ -66,7 +66,7 @@
     "postfix/repair-cli.log": "80df5c2633f444a4c694119a5c2733b7e15de632daab2ca437f8792aac8e210b",
     "postfix/state.json": "385804c81503036e9f8ebfa980e2834e275e833bb00e915e4f6a052bc50f8e06",
     "qualification.json": "067eebad56083b01fa88ae97c5417df387c64c3720c6091b28b73d34d0b0e0cb",
-    "review-fix/REVIEW-L665.md": "907da13ec6cb5f3cec02f7c66b4bb2c025d41e26cc60b50fdbdb073ed149ed5f",
+    "review-fix/REVIEW-L665.md": "d5f325fb1c5864cc164e7df750ad6869ac2658ffeb467e4cd6d9c1398f0d4af8",
     "review-fix/full/both-required-fixtures.log": "7e9ea1879c0acf17e5e86d8ab78c71be49169fb9ba3c66eb8c99c5e4f2ca3026",
     "review-fix/full/clippy.log": "474a772db8bd50501dfb86be08bdf938eb997253fdf0f49c163178925739d197",
     "review-fix/full/fmt.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
diff --git a/evidence/REPAIR-RECOVERY-L662/review-fix/REVIEW-L665.md b/evidence/REPAIR-RECOVERY-L662/review-fix/REVIEW-L665.md
index 98d8239..cc9d772 100644
--- a/evidence/REPAIR-RECOVERY-L662/review-fix/REVIEW-L665.md
+++ b/evidence/REPAIR-RECOVERY-L662/review-fix/REVIEW-L665.md
@@ -1,10 +1,10 @@
-# L665 independent whole-candidate review — Synapse105
+# L665 independent whole-candidate review - Synapse105
 
 **Reviewed source:** `0d95893afc6309dc280befe77806975734af8148` (frozen candidate SHA). Base: `5b732e5d353bbcc3f6d0cd1eac60f2e543601521`.
 
 ## Finding
 
-- **Important — backup durability is not guaranteed for a common relative backup path.** In `crates/synapse-store/src/blockdev/repair.rs`, `write_backup` creates and syncs the backup file, then syncs its parent only when `path.parent()` is non-empty (around lines 839–840). For a bare relative name such as `backup.bin`, the parent is the empty path and is filtered out. The CLI accepts relative backup paths. Thus the backup contents can be `sync_all`ed while the directory entry is not; a crash can lose the backup name even though repair proceeds to overwrite superblocks/metadata (and, for adopt, acknowledged data). This violates the documented prerequisite that the recovery backup be durable before the first device write. Sync the current directory for a bare relative path, or reject relative backup paths; add a regression covering that path. I did not execute a crash test.
+- **Important - backup durability is not guaranteed for a common relative backup path.** In `crates/synapse-store/src/blockdev/repair.rs`, `write_backup` creates and syncs the backup file, then syncs its parent only when `path.parent()` is non-empty (around lines 839-840). For a bare relative name such as `backup.bin`, the parent is the empty path and is filtered out. The CLI accepts relative backup paths. Thus the backup contents can be `sync_all`ed while the directory entry is not; a crash can lose the backup name even though repair proceeds to overwrite superblocks/metadata (and, for adopt, acknowledged data). This violates the documented prerequisite that the recovery backup be durable before the first device write. Sync the current directory for a bare relative path, or reject relative backup paths; add a regression covering that path. I did not execute a crash test.
 
 No other important source correctness defect was established in this read-only review. The source implements explicit actions, no-write diagnosis/healthy no-op, foreign-device refusal, exclusive locking, signed/chained history verification, backup-before-write ordering, roll-forward/adopt and interrupted-adopt handling; H1 alias resolution resolves through parsed loose/packed ref maps and refuses malformed, escaping, cyclic, and dangling aliases. This is not a release authorization.