yuqei
6d2edc6753
feat: migrate PDF/OCR extraction to shared-ai-platform
...
Remove all local PDF/OCR extraction and quality gate logic from
review_service.py, replacing it with calls to the shared-ai-platform
document extraction service via the SDK.
Removed from review_service.py:
- 17 local PDF/OCR methods (_extract_text_from_pdf, _classify_pdf_source,
_extract_text_from_pdf_with_ocr, _extract_text_from_image_with_ocr,
_evaluate_ocr_quality, _looks_like_platform_review_report, etc.)
- All PDF/OCR constants (PDF_TEXT_PATTERN, PDF_NOISE_LINE_PATTERN,
REPORT_PDF_MARKERS, OCR_GATE_*, PDF_SOURCE_KIND_*, etc.)
- Imports: pdfplumber, pypdfium2, pytesseract, PIL.Image
Added:
- extract_review_upload_text() now calls shared platform's
client.extract_document_text() directly
- _detect_upload_type() retained locally for upload validation only
- Protocol methods extract_document_text, classify_pdf_source in client
Removed from requirements.txt: pdfplumber, pytesseract
Added to config: shared_ai_platform_document_extraction_enabled
Also includes prior changes:
- Model settings and chat history stabilization
- Mobile UI polish
- Governance launch-closure enhancements
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-14 11:09:13 +08:00
yuqei
19ed42c880
feat: add model settings and stabilize chat history
2026-06-10 18:57:22 +08:00
yuqei
8fa329d1ac
Close Android product polish backlog
2026-05-27 16:14:03 +08:00
yuqei
029fbfb5f6
Add UTF-8 safe Chinese template validation
2026-05-27 10:44:17 +08:00
yuqei
7da5a1692f
phase15: close release gate and signoff evidence
2026-05-25 16:03:35 +08:00
yuqei
4834061081
Add phase15 product e2e acceptance
2026-05-25 09:53:04 +08:00
yuqei
35a76d6dbd
Add phase15 product smoke validation
2026-05-24 18:28:13 +08:00
yuqei
ca60ddf620
feat: add specialized review prompts
2026-05-24 15:31:19 +08:00
yuqei
4931de0abd
feat: expand phase13 templates and phase14 batches
2026-05-23 20:48:53 +08:00
yuqei
546a51256f
feat: complete legal source inventory gap report
2026-05-22 18:08:01 +08:00
yuqei
ea1ba2c35b
feat: add legal source diff review
2026-05-22 17:39:30 +08:00
yuqei
ed2ce8a40d
feat: absorb phase13 templates rules clauses
2026-05-22 11:30:37 +08:00
yuqei
462d12648f
feat: seed default prompt assets
2026-05-22 09:44:05 +08:00
yuqei
c6fe0a2cb8
chore: add asset inventory gap report
2026-05-22 09:19:28 +08:00
yuqei
ca17e1f09d
fix: keep remote restore containers running
2026-05-22 07:24:43 +08:00
yuqei
2058a81cba
chore: deploy legal change worker in restore flow
2026-05-21 20:21:45 +08:00
yuqei
464579e48f
feat: close phase15 governance loops
2026-05-21 20:17:38 +08:00
yuqei
5caaa40fb3
feat: add offline payment proof workflow
2026-05-21 15:37:40 +08:00
yuqei
3df85fdb04
feat: land phase15 legal docs and commercial ops
...
Includes legal document generation workflows, prompt governance runtime wiring, legal change impact scans, operation KPI dashboards, invoice files, sales follow-up events, mobile review polish, deployment automation, and updated project docs.
2026-05-21 14:42:44 +08:00
yuqei
3f80e98b88
fix: verify watchdog webhook provider response
2026-05-17 22:19:27 +08:00
yuqei
22970e4f74
fix: load watchdog webhook from user env
2026-05-17 22:16:38 +08:00
yuqei
c7f5718932
feat: schedule low-noise production watchdog
2026-05-17 18:37:43 +08:00
yuqei
2ae179b667
feat: expand phase14 legal articles
2026-05-16 22:49:30 +08:00
yuqei
3c7e193b57
feat: add phase14 legal fulltext library
2026-05-16 18:00:26 +08:00
yuqei
98101f528a
feat: absorb phase13 production assets
2026-05-16 16:25:55 +08:00
yuqei
5bd53cd24c
fix: accept backend without docker healthcheck
2026-05-16 14:44:17 +08:00
yuqei
bab3886701
fix: bind template version migration json
2026-05-16 13:02:58 +08:00
yuqei
b295d18fec
feat: add backend docker deploy path
2026-05-16 12:15:40 +08:00
yuqei
1e2bec0f63
feat: add production deployment rehearsal checklist
2026-05-16 11:24:37 +08:00
yuqei
61ab9c471b
fix: stabilize phase1 automation gate
2026-05-16 08:53:24 +08:00
yuqei
add4992649
fix: skip redundant prep gate in codex flow
2026-05-15 08:48:05 +08:00
yuqei
f422745156
feat: make codex approval the default flow
2026-05-15 01:20:24 +08:00
yuqei
baf29f8ae1
feat: add codex autonomous approval mode
2026-05-14 22:38:17 +08:00
yuqei
8430fd464d
fix: pass script args through automation steps
2026-05-14 16:58:03 +08:00
yuqei
7bd0e7c6e4
feat: support database-truth formal launch reruns
2026-05-14 16:14:44 +08:00
yuqei
5fd02c6ba0
feat: complete knowledge source metadata loop
2026-05-14 00:17:09 +08:00
yuqei
2fb0fcc650
feat: link formal launch materials to file center
2026-05-13 22:24:19 +08:00
yuqei
734fdb5022
feat: prefill reviewer evidence templates
2026-05-13 15:42:31 +08:00
yuqei
5abd76fdb6
feat: generate reviewer execution handoffs
2026-05-13 15:11:54 +08:00
yuqei
e8dd544e52
feat: assign formal launch reviewers
2026-05-13 14:49:06 +08:00
yuqei
61cb3daf68
feat: add reviewer assignment matrix gate
2026-05-13 12:10:52 +08:00
yuqei
e6837d05ca
fix: tighten formal launch approval handoff
2026-05-13 11:20:10 +08:00
yuqei
bde57392eb
fix: keep structured review baselines in artifacts
2026-05-13 09:52:24 +08:00
yuqei
bf2d8b5cfb
fix: share launch admin credential with automation
2026-05-13 09:34:06 +08:00
yuqei
708bf57d4e
fix: load launch gate admin credential file
2026-05-13 09:12:56 +08:00
yuqei
6239f0992d
feat: checkpoint contract assistant delivery phases
2026-05-13 09:11:15 +08:00
yuqei
da32d11ac3
feat: land shared ai platform and mobile contract workbench
2026-05-07 10:55:51 +08:00
Codex
e234c4180f
feat: add structured review evidence flow
2026-05-04 14:28:09 +08:00
Codex
71e708c49c
feat: add pdf ocr extraction gate
2026-05-04 10:09:37 +08:00
Codex
0f2268155c
fix: repair failed knowledge-base document UI
2026-05-03 07:27:53 +08:00