Skip to content

[T-067] Audit for further silent-degradation paths — where else does bad input or a degraded run produce a confident-looking result? #122

Description

@Ztein

Canonical ticket: docs/tickets/T-067-audit-for-more-silent-degradation-paths.md

figmark's core principle is fail loud, never silently degrade (T-024), yet two instances slipped through since the last audit: the CLI accepts a non-PDF and emits a near-empty result with exit 0 (T-066), and /v1/ocr accepted documented request parameters and silently ignored them (T-057, now fixed). Both are the same shape — an input or condition the code can't truly honour is handled as if it were fine. A fresh, systematic sweep is warranted; there is no reason to assume these are the last two.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions