Skip to content

Extract empty result - #7

Merged
AnderRV merged 1 commit into
fix/cli-taxonomy-primitivesfrom
fix/extract-empty-result
Aug 4, 2026
Merged

Extract empty result#7
AnderRV merged 1 commit into
fix/cli-taxonomy-primitivesfrom
fix/extract-empty-result

Conversation

@AnderRV

@AnderRV AnderRV commented Aug 3, 2026

Copy link
Copy Markdown
Member

Related to ACT-1514

…T-1514)

extract=auto/autoparse could return an empty result (null / {} / [] / non-JSON)
and the CLI reported it as a normal success — an agent gets nothing but thinks
it worked. Detect empty structured results (new outcome.empty), print a visible
warning suggesting --js-render / --css, add `empty` to --json output, and make
--validate fail (EXTRACT_VALIDATION_FAILED) on an empty result, not just on
non-JSON. Verified live on example.com; real extractions are unaffected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@linear

linear Bot commented Aug 3, 2026

Copy link
Copy Markdown

ACT-1514

@AnderRV
AnderRV changed the base branch from main to fix/cli-taxonomy-primitives August 3, 2026 16:16
@AnderRV AnderRV self-assigned this Aug 3, 2026
@AnderRV
AnderRV marked this pull request as ready for review August 4, 2026 07:35
@AnderRV
AnderRV merged commit cabd0e9 into fix/cli-taxonomy-primitives Aug 4, 2026
@AnderRV
AnderRV deleted the fix/extract-empty-result branch August 4, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant