Skip to content

fix(parser): recover textual finding evidence arrays with strict proof typing #1362

Closed

Description

@EffortlessSteven

Bounded current-source parser contract lane under #945, requested from typed output mismatches in EffortlessMetrics/tokmd-swarm#695. Published review EffortlessMetrics/tokmd-swarm#695 (review) records ub-memory-lifetime / tests-red-green expected sequence got string and ub-worker-handoff expected string got sequence. Raw original model packets are not locally available; contract fixtures must not be called exact production replay.

Current main@411d68f already supports scalar observation / failed-objection evidence with degradation. Finding evidence remains String and a string-array causes whole-lane degradation. Scope: explicit nonempty all-string finding evidence arrays only; preserve each string in order with newline boundaries and mark output degraded. Empty/mixed/nested arrays remain malformed. All proof command/identity/enum/boolean/number fields remain strictly typed, with no executable proof from malformed output. Test actual producer prompt example against wire shape, canonical proof preservation, and negative authority boundaries.

Ownership: PR1361 retains src/model_exec.rs rejection diagnostics and grouping. PR1317 publication and PR1332 sensor pin changes retain owners; shared main.rs normalization hunk is outside their seams. No scheduler/gate/release/credential/protection changes. One draft PR, exact local baseline receipts and known hosted gaps; no merge or readiness claim.

Activity

  1. EffortlessSteven commented on Nov 4, 2026

    @EffortlessSteven
    MemberAuthor

    Closing as completed on main (2026-11-04 open-issue board sweep; 29-issue verified batch).

    Ground truth: already fixed on main.

    • Verifier evidence: src/main.rs:3590-3605 recovers nonempty all-string finding evidence arrays; mixed/nested stay malformed; proof fields strictly typed; test src/observations.rs:328; landed via PR fix(parser): recover textual finding evidence arrays with degradation #1365 (67bb84b, 2026-10-10).
    • Independent re-verification (upheld): Verified exact scoped contract at main.rs:3588-3603, named degradation-flag test at observations.rs:328, negative fail-closed counterpart, commit verified ancestor touching exactly the two cited files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions