docs: Update Phase 0 with specific test fix requirements

Per ADR-012, Phase 0 now specifies:
- 5 tests to REMOVE (broken multiprocessing)
- 4 tests to FIX (brittle assertions)
- 1 test to RENAME (misleading name)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-16 20:45:41 -07:00
parent 9dcc5c5710
commit 0acefa4670
8 changed files with 325 additions and 72 deletions

View File

@@ -149,7 +149,7 @@ def search_page():
error = "Full-text search is not configured on this server"
else:
try:
results = search_notes(
raw_results = search_notes(
query=query,
db_path=db_path,
published_only=published_only,
@@ -163,7 +163,7 @@ def search_page():
from markupsafe import escape, Markup
formatted_results = []
for r in results:
for r in raw_results:
# Escape the snippet but allow <mark> tags
snippet = r["snippet"]
# Simple approach: escape all HTML, then unescape our mark tags