Preserve preview harness, editor, email and task improvements

Snapshot current maintainer-preview application changes and regression fixtures for integration into lab. Excludes local runtime data, evaluation outputs and source backups. Focused Python regression selection: 140 passed; full suite not certified.
This commit is contained in:
pewdiepie-archdaemon
2026-10-01 01:34:26 +00:00
parent 86f376ac3a
commit 2e8413a54a
170 changed files with 11010 additions and 1094 deletions
+15 -1
View File
@@ -53,7 +53,7 @@ def _run_markdown_case(markdown: str, render_expr: str = "mod.mdToHtml(input)",
let source = fs.readFileSync('./static/js/markdown.js', 'utf8');
source = source.replace(
/import uiModule from ['"]\.\/ui\.js['"];/,
/import uiModule from ['"]\.\/ui\.js(?:\?[^'"]*)?['"];/,
''
);
source = source.replace(
@@ -263,6 +263,20 @@ def test_expanded_skill_payload_uses_normal_skill_list_markup(node_available):
assert 'href="#skill-first-draft" class="chat-link"' in html
def test_saved_ajax_skill_inventory_plain_names_open_skills(node_available):
html = _run_markdown_case(
'Skills (44):\n\n**Published**\n'
'- action-evidence-synthesis (communication)\n'
'- artifact-completion (agent)\n\n**Drafts**\n'
'- add-search-delete-and-verify-temporary-memory-by-marker\n'
'- ...and 24 more skills.'
)
assert 'href="#skill-action-evidence-synthesis" class="chat-link"' in html
assert 'href="#skill-artifact-completion" class="chat-link"' in html
assert 'href="#skill-add-search-delete-and-verify-temporary-memory-by-marker" class="chat-link"' in html
assert 'href="#skill-...and"' not in html
def test_session_titles_with_escaped_brackets_remain_clickable(node_available):
html = _run_markdown_case(
r"- [\[domain-audit\] theme](#session-ae3ee537-0a13-443f-a456-91e6fd061edf) "