From 2dd138e71fa924946dbd867866f91beb51489eb6 Mon Sep 17 00:00:00 2001 From: TheFlow Date: Fri, 24 Oct 2025 09:50:42 +1300 Subject: [PATCH] fix(blog-validation): show Le Monde standalone submission package - Modified loadValidationArticles() to load standalone submissions (no blogPostId) - Updated rendering to handle both blog posts and standalone packages - Fixed API endpoint from /api/blog/posts/:id to /api/blog/admin/:id - Standalone packages show with purple 'STANDALONE PACKAGE' badge - Button text changes to 'View Package' for standalone submissions - Cache version bumped to 0.1.1 --- .claude/session-state.json | 18 ++-- public/about.html | 18 ++-- public/admin/blog-curation.html | 16 +-- public/api-reference.html | 6 +- public/blog-post.html | 10 +- public/blog.html | 14 +-- public/case-submission.html | 12 +-- public/check-version.html | 2 +- public/docs-viewer.html | 16 +-- public/docs.html | 20 ++-- public/faq.html | 34 +++--- public/implementer.html | 20 ++-- public/index.html | 20 ++-- public/js/admin/blog-validation.js | 108 ++++++++++++------- public/js/admin/submission-modal-enhanced.js | 2 +- public/koha.html | 18 ++-- public/leader.html | 22 ++-- public/media-inquiry.html | 12 +-- public/privacy.html | 12 +-- public/researcher.html | 22 ++-- public/version.json | 2 +- 21 files changed, 220 insertions(+), 184 deletions(-) diff --git a/.claude/session-state.json b/.claude/session-state.json index 1518924e..81bbd79b 100644 --- a/.claude/session-state.json +++ b/.claude/session-state.json @@ -43,8 +43,8 @@ "last_deliberation": null }, "FileEditHook": { - "timestamp": "2025-10-23T20:40:13.114Z", - "file": "/home/theflow/projects/tractatus/scripts/deploy-full-project-SAFE.sh", + "timestamp": "2025-10-23T20:50:22.509Z", + "file": "/home/theflow/projects/tractatus/public/js/admin/blog-validation.js", "result": "passed" }, "FileWriteHook": { @@ -58,25 +58,25 @@ "tokens": 30000 }, "alerts": [], - "last_updated": "2025-10-23T20:41:13.338Z", + "last_updated": "2025-10-23T20:50:22.509Z", "initialized": true, "framework_components": { "CrossReferenceValidator": { "message": 0, "tokens": 0, - "timestamp": "2025-10-23T20:43:13.295Z", - "last_validation": "2025-10-23T20:43:13.294Z", - "validations_performed": 627 + "timestamp": "2025-10-23T20:50:39.753Z", + "last_validation": "2025-10-23T20:50:39.752Z", + "validations_performed": 637 }, "BashCommandValidator": { "message": 0, "tokens": 0, "timestamp": null, - "last_validation": "2025-10-23T20:43:13.296Z", - "validations_performed": 301, + "last_validation": "2025-10-23T20:50:39.753Z", + "validations_performed": 305, "blocks_issued": 37 } }, - "action_count": 301, + "action_count": 305, "auto_compact_events": [] } \ No newline at end of file diff --git a/public/about.html b/public/about.html index 52eee20e..4f68e1a4 100644 --- a/public/about.html +++ b/public/about.html @@ -5,9 +5,9 @@ About | Tractatus AI Safety Framework - - - + + +