Decentralized social media network — no central server, user-owned data
Find a file
Scott Reimers 8d29cb918e fix: novelty gate on diff re-propagation + greetings_max reachable from app
Re-propagation fired on every receipt, so a duplicate diff spawned a fresh
round of sends with only sender-exclusion as a guard — no termination
condition in a dense holder cluster, which is exactly what hot open-slot
posts (registry, greeting-enabled bios) produce.

Now: every storage apply reports whether it actually changed state, and
apply_diff_ops returns only the ops that did. Nothing changed means no
header rebuild and no outbound push at all; a mixed diff re-propagates a
freshly built payload of only its novel ops rather than echoing what
arrived. Gating is on state change, not message identity — a hash seen-set
would break once coalescing lands, since no two pushes stay identical.

Tombstones count as changes even when their target is absent, so a delete
arriving before its comment still propagates.

Found while implementing: AddCommentSlots appended unconditionally, so a
re-delivered op grew the header forever AND looked novel forever —
unbounded amplification on precisely the clusters this gate targets. Now
idempotent on slot bytes.

Review found a remotely-triggerable blocker in the first cut: absent-target
tombstone placeholders were written with no expiry, and DeleteComment is
authorized per-op rather than per-cardinality, so one keypair could mint
unlimited valid deletes against any post a victim holds — permanent rows,
relayed onward, and served in the rebuilt header. The registry post is
universally held, making it network-wide unbounded growth. Fixed three
ways: a 64-per-post placeholder cap, a bounded expiry so the existing
sweep reclaims them, and exclusion from everything published (headers and
the uniques announce).

Also: RemoveReaction deliberately does NOT mirror the placeholder — it
carries no timestamp and is unsigned, so a guessed-timestamp placeholder
loses to a late AddReaction and the row key would be a free unbounded
write vector. Rationale documented on the arm; signed RemoveReaction
carrying the reaction timestamp is the named follow-up.

set_greetings_max/get_greetings_max exposed as Tauri commands and wired
next to the Accept-greetings consent control, clamped at the single read
point every writer funnels through.

267 core tests (was 250); a3 12/12; c_topology 33/33.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LGiPD2cF75mnvneSCjdDC5
2026-08-07 01:29:15 -04:00
crates fix: novelty gate on diff re-propagation + greetings_max reachable from app 2026-08-07 01:29:15 -04:00
deploy ItsGoin v0.3.2 — Decentralized social media network 2026-03-15 20:23:09 -04:00
docs docs: spec cleanup — Layer 5 wording, Layer 3 banner, Layer 6 superseded 2026-05-13 01:10:43 -04:00
frontend fix: novelty gate on diff re-propagation + greetings_max reachable from app 2026-08-07 01:29:15 -04:00
scripts fix: comment retention taxonomy — TTL by (post policy x signing class) 2026-08-03 15:33:44 -04:00
website docs: v0.8.0-alpha release notes — comment retention + gated-post sync 2026-08-06 22:54:29 -04:00
.gitignore Add build-appimage.sh and deploy.sh automation scripts 2026-04-19 16:01:34 -04:00
.sync-exclude.lst ItsGoin v0.3.2 — Decentralized social media network 2026-03-15 20:23:09 -04:00
AGENTS.md Adopt multi-contributor git workflow (CONTRIBUTING.md + AGENTS.md + sessions.md) 2026-04-23 20:07:54 -04:00
ARCHITECTURE.md ItsGoin v0.3.2 — Decentralized social media network 2026-03-15 20:23:09 -04:00
build-appimage.sh Add build-appimage.sh and deploy.sh automation scripts 2026-04-19 16:01:34 -04:00
Cargo.lock feat: v0.8 Iteration C UI — mesh/temp slot display, N4 reach badge 2026-07-30 13:05:20 -04:00
Cargo.toml ItsGoin v0.3.2 — Decentralized social media network 2026-03-15 20:23:09 -04:00
CONTRIBUTING.md Adopt multi-contributor git workflow (CONTRIBUTING.md + AGENTS.md + sessions.md) 2026-04-23 20:07:54 -04:00
deploy.sh feat: v0.8 Iteration C — narrow mesh, N1-N4 uniques index, anchor convection 2026-07-30 13:03:12 -04:00
download-page.html ItsGoin v0.3.2 — Decentralized social media network 2026-03-15 20:23:09 -04:00
IMPLEMENTATION_PLAN_0.6.md Implementation plan: drop cross-version compat, beta/stable as separate networks 2026-04-21 18:26:55 -04:00
pic2.png v0.4.4: UI overhaul — sticky header, mobile nav, profiles/redundancy lightboxes 2026-03-23 00:56:27 -04:00
project discussion.txt ItsGoin v0.3.2 — Decentralized social media network 2026-03-15 20:23:09 -04:00
project-notes-from-elitebook.md ItsGoin v0.3.2 — Decentralized social media network 2026-03-15 20:23:09 -04:00
sessions.md docs: flip FoF section 20a badges to v0.7.0 + sessions.md release entry 2026-05-14 20:57:25 -06:00
TODO.md ItsGoin v0.3.2 — Decentralized social media network 2026-03-15 20:23:09 -04:00