#235: keep page_links rows pointing at purged pages — recorded decision
All checks were successful
CI / Lint, typecheck, test (pull_request) Successful in 5m53s
CI / Build container images (pull_request) Successful in 1m11s
CI / Auth e2e pack (pull_request) Successful in 8m6s
CI / Import/export fidelity gate (pull_request) Successful in 56s
CD / Build and push images (push) Successful in 14s
CD / Deploy to Test (push) Successful in 16s
CD / Smoke tests against Test (push) Successful in 1m16s
CD / Promote to Int (push) Successful in 11s
CI / Lint, typecheck, test (push) Successful in 5m19s
CI / Build container images (push) Has been skipped
CI / Auth e2e pack (push) Successful in 7m39s
CI / Import/export fidelity gate (push) Successful in 58s

The row is only the index of a wikilink whose text (slug = title)
remains visible in the linking page's own content either way; deleting
the index would remove nothing the system still shows while breaking
phantom-link re-resolution. Kept as an accepted residue, reasoning in
operations.md (deletion/purge section) and recorded on #231.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0168Ph5uBmHm8X28CSVpbpnJ
This commit is contained in:
Claude Fable 5 2026-07-30 22:18:39 +02:00
parent 69d9072d2c
commit 9a43a2f6bb
2 changed files with 14 additions and 1 deletions

View File

@ -146,6 +146,19 @@ A Site Admin can purge a trashed pond immediately
event. Known residues by design: `page_links.target_slug` in OTHER
ponds' pages (#235) and backups within their retention.
Decision on `page_links` rows pointing at a purged page (issue #235,
recorded on #231): they are KEPT, as an accepted residue. The row is
only the index of a wikilink whose text — including the slug, which
carries the page title — remains visible in the linking page's own
content, governed by that page's permissions and written by an author
who could read the target at the time. Deleting the index row would
remove nothing the system still shows (content, content cache, and the
linking page's search index all keep the text) while breaking the
deliberate phantom-link behaviour: a page recreated under the same slug
resolves those links again. An operator answering for deletion refers
to this paragraph: the residue is the linking author's own document,
not a copy of the purged page.
## Update strategy
- **Own stages**: pipeline-driven (see `deployment.md`); Prod only via

View File

@ -253,7 +253,7 @@ fehlten — als Issues angelegt:
unbefristet in `conversion_jobs` · 2 AT · #233 (M24, I-22)
- [x] Retention für `mail_outbox` — Digest-Mails tragen Seitentitel
· 1 AT · #234 (M24, I-23)
- [ ] `page_links.target_slug`-Residuum nach Purge entscheiden
- [x] `page_links.target_slug`-Residuum nach Purge entscheiden
· 0,5 AT · #235 (M24, I-24)
- [ ] Node-Version pinnen — Voraussetzung für #219 · 0,5 AT · #236 (M25, I-26)