Research Assistant
76c8d3fc1b
chore: update status JSON snapshot for legacy backfilled fields
2026-06-05 13:00:40 +08:00
Research Assistant
1e3b15397b
test: finalize OCR structured pipeline phase4 runtime integration
2026-06-05 11:32:46 +08:00
Research Assistant
22d189e69e
feat: surface OCR structured health in doctor and status
2026-06-05 10:35:23 +08:00
Research Assistant
a38e41ba78
test: lock OCR phase2 figure inventory contract
2026-06-05 00:08:30 +08:00
Research Assistant
b9885f369d
feat: add Gemini CLI agent platform support (.gemini/skills)
2026-06-01 19:46:17 +08:00
Research Assistant
2b552be9e6
feat: runtime contract hardening + skill/command truth alignment (Package A+B)
...
Atomic snapshots, canonical index mutation serialization, sync post-clean truth,
plugin path config-awareness, embed stop signal honesty, full snapshot bootstrap,
pf_ prefix unification, workflow command/lifecycle/path corrections,
mechanical/cognitive route separation with unknown-command guard.
2026-05-16 22:38:43 +08:00
Research Assistant
15d849f7e6
fix: remove deprecated control_dir from doctor/setup/repair; enable repair button; fix UTF-8 encoding in doctor output
2026-05-10 01:50:24 +08:00
Research Assistant
74c8e4ca76
fix: tests validate PFResult envelope for status --json contract change
...
Updates all tests that assert on status --json output to read from PFResult envelope.
Code was intentionally changed in Phase 57 to wrap JSON output in PFResult {ok, command, version, data, error}. Tests must validate the new contract shape, not the old flat dict format.
2026-05-09 17:37:14 +08:00
Research Assistant
bbd39a90d3
v1.4.17rc4
...
Milestone v2.1: Contract-Driven Architecture & Engineering Hardening
- Stop the Bleeding: version sync checker, PyYAML hardening, install docs unification
- Contract Layer: PFResult/PFError dataclasses, ErrorCode enum, --json wrapping
- Service Extraction: sync.py decomposed into 3 adapters + SyncService
- State Machine: PdfStatus/OcrStatus/Lifecycle enums, transitions, field registry
- Setup Modularization: setup_wizard.py decomposed into 6 classes
173 tests passing, 0 regressions.
2026-05-09 17:05:07 +08:00
Research Assistant
ab7ac0d6ab
feat(52-golden-datasets-cli-contracts): add CLI contract tests with snapshot integration
...
- tests/cli/ with conftest.py (cli_invoker, vault_builder, mock_ocr_backend fixtures)
- test_contract_helpers.py with normalize_snapshot, assert_valid_json, assert_json_shape
- 3 test files covering all 8 CLI commands (paths, status, sync, ocr, doctor,
repair, context, setup) with exit code, output shape, and error contracts
- fixtures/ocr/mock_ocr_backend.py with 4 mock modes (success, pending, error, timeout)
- pyproject.toml: added pytest-snapshot, responses, pytest-timeout, pytest-mock,
coverage; added testpaths and layer markers
- All 27 tests pass (CLI-01, CLI-02, CLI-03 satisfied)
2026-05-08 23:32:03 +08:00