BIT-21924: staging verification smoke seed + /api/ui/articles #22

Merged
spark merged 3 commits from task/BIT-21924-staging-smoke-seed into main 2026-05-13 06:01:58 +01:00
3 Commits
Author SHA1 Message Date
Xika 65fa4014d0 fix(lint): drop missing import/no-extraneous-dependencies rule disable
ai-news-writer-ci / test (pull_request) Successful in 36s
CI lint job has no eslint-plugin-import installed, so the inline
disable-next-line for that rule itself raises an "unknown rule" error
on `tools/seed-smoke-verification-article.js`. Drop the import-related
token from the disable comment and keep only the still-valid
`global-require` disable for the lazy require of `dotenv`. No
behaviour change; the file still tries dotenv and silently continues
without it.

Paperclip-Issue: BIT-21924
Paperclip-Run: bb6e49a5-4f6d-4a8e-a4dd-ee75d961b36f
2026-05-13 04:36:09 +00:00
Xika 492ab8f678 Align BIT-21924 smoke seed with verification AC paths
verification_report.sources now use google_factcheck, claimcheck, and cross_reference with per-source status/confidence.
Slug smoke-verification-bit21924; skip if any row already has the three paths (idempotent across legacy smoke rows).

Paperclip-Issue: BIT-21924
Paperclip-Run: 6be4879b-b739-479f-a6f9-f08d0654678d
2026-05-12 15:41:43 +00:00
Xika ec203917d1 Restore /api/ui/articles and add staging verification smoke seed
Wire GET /api/ui/articles (documented but missing) so curl/JQ checks work against the article log.
Add idempotent seed helper, npm run seed:smoke-verification, and admin POST /ui/seed/smoke-verification for operators without SSH to the CT.

Paperclip-Issue: BIT-21924
Paperclip-Run: 4105a0ac-e90c-477f-8065-10419988abdf
2026-05-12 13:04:59 +00:00