Tags: parsehawk/parsehawk
Tags
fix(api): declare file deletion validation Publish the existing domain-level 422 response for file deletion as ApiErrorResponse instead of FastAPI HTTPValidationError. Regenerate OpenAPI and guard the response schema with a contract test.
chore(release): bump version to 0.2.1 Align the package metadata, lockfile, generated OpenAPI contract, and version assertions so the merged runtime and documentation improvements can be published as one consistent patch release.
fix(api): reject unknown schema fields Unknown request fields should fail loudly for the v0.2 API contract instead of being silently ignored. Make the shared FastAPI DTO base strict, enumerate extractor response fields so internal domain metadata is not passed through response validation, and add coverage for stale enable_thinking payloads plus public response helpers.
fix(tests): isolate status test from local runtime state The status test should prove that hackable installs resolve the repo data directory from any current working directory. Clearing PARSEHAWK_DATA_DIR and mocking the aggregate Compose status keeps the test independent of a running local ParseHawk stack. Closes #44
fix(test): fail e2e runtime tests instead of skipping them Previously the job-execution tests skipped when no model runtime was reachable, so `just e2e` could pass green without ever exercising real extraction. Remove the `requires_engine` skip so those tests always run: with the full stack up but the runtime down, the jobs error out and the execution tests fail, while the other endpoint tests still pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>