Commit Graph

20 Commits

Author SHA1 Message Date
752bd38c9b fix: harden document normalization
Reject overlapping source and destination roots before any write so normalization cannot replace the raw Ministry archive.

Recover an interrupted directory publication before resume checks and require the normalized target to exist before skipping a manifest success.

Treat malformed link and image URLs as unsafe attributes, add regressions for all review findings, and bump the backend version to 0.2.2.
2026-08-12 09:49:40 +03:00
07381ad70f feat: normalize Ministry of Justice documents
Add a resumable standard-library normalization pipeline for the downloaded CBD archive. It produces canonical bilingual metadata, sanitized HTML, plain text, deterministic fragments, checksums, quality markers, and an SQLite processing manifest while preserving the raw source.

Recover document-list pagination when the Ministry API exhausts request retries, and cover that scenario with a regression test.

Document the normalization workflow and frontend-search MVP plan, include the source functional specification, ignore local runtime logs, and bump the backend version to 0.2.1.
2026-08-12 08:32:12 +03:00
35cae8bcbe Merge pull request 'Добавить синхронизацию документов ЦБД Минюста КР' (#7) from feature/cbd-document-sync into main
Reviewed-on: #7
2026-08-06 20:49:42 +00:00
efa55fe74b fix: recover expired Ministry document lists 2026-08-06 23:48:26 +03:00
0eedcfcfbd feat: add Ministry of Justice document sync 2026-08-06 08:25:14 +03:00
1d398ebb00 Merge pull request 'Перестроить репозиторий под юридическую платформу' (#6) from refactor/project-structure into main
Reviewed-on: #6
2026-08-02 22:37:30 +00:00
9cf6a7e940 docs: clarify deployed bot version 2026-08-03 01:34:53 +03:00
b8b9ec75b3 refactor: organize repository around legal platform 2026-08-03 01:33:06 +03:00
c94131effc Merge pull request 'feat: export messages after last cutoff' (#5) from feature/export-from-last-cutoff into main
Reviewed-on: agent/telegram-ai-infrastructure#5
2026-08-02 21:51:15 +00:00
d9b4f19af3 feat: export messages after last cutoff 2026-08-03 00:49:35 +03:00
d4ee76948f Merge pull request 'docs: update project status and AI guidance' (#4) from docs/ai-skills-for-beginners into main
Reviewed-on: agent/telegram-ai-infrastructure#4
2026-08-02 21:43:28 +00:00
cf54bc2246 docs: update project status and AI guidance 2026-08-03 00:42:15 +03:00
a67bdbfaa4 Merge pull request 'docs: record Synology deployment' (#3) from feature/synology-deployment into main
Reviewed-on: agent/telegram-ai-infrastructure#3
2026-08-02 21:39:01 +00:00
f4a376ff4b docs: record Synology deployment 2026-08-02 23:55:16 +03:00
ba96b3e633 Merge pull request 'feat: add Telegram secretary bot' (#2) from feature/telegram-secretary-bot into main
Reviewed-on: agent/telegram-ai-infrastructure#2
2026-08-02 20:20:40 +00:00
caaba36a0c feat: add Telegram secretary bot 2026-08-02 23:17:56 +03:00
2921dbc152 Merge pull request 'docs: record project status and Telegram setup' (#1) from codex/project-status-20260731 into main
Reviewed-on: agent/telegram-ai-infrastructure#1
2026-07-31 21:05:50 +00:00
2cbfcf262a chore: remove unused Telegram rights image 2026-08-01 00:04:40 +03:00
2d555cbcf8 docs: record project status and Telegram setup 2026-07-31 23:58:34 +03:00
811272e6a7 docs: define Telegram AI infrastructure MVP 2026-07-31 23:06:43 +03:00