Skip to content

Fix Codex review findings from #24#26

Merged
davidahmann merged 1 commit intomainfrom
codex/fix-codex-review-items
Mar 3, 2026
Merged

Fix Codex review findings from #24#26
davidahmann merged 1 commit intomainfrom
codex/fix-codex-review-items

Conversation

@davidahmann
Copy link
Contributor

Summary

Addresses the concrete Codex review findings left on #24:

  1. Verify release signature before install side effects

    • Moves checksum signature verification in scripts/install.sh to happen before extraction/install.
  2. Preserve invalid-input kind through schema wrapping

    • core/schema.ValidateRecord now preserves underlying typed error kind when wrapping base/type/custom schema validation errors.
  3. Map internal typed errors to exit code 1

    • cmd/proof/errors.go now maps coreerr.KindInternal to exitcode.InternalError.

Validation

  • go test ./...
  • go test ./... -coverprofile=coverage.out
  • ./scripts/check_go_coverage.py coverage.out 75
  • ./scripts/check_go_package_coverage.py coverage.out 85 github.com/Clyra-AI/proof/core/exitcode,github.com/Clyra-AI/proof/internal/testutil
  • ./scripts/check_go_package_coverage.py coverage.out 75 github.com/Clyra-AI/proof/core/exitcode
  • ./scripts/test_contract_exitcodes.sh
  • ./scripts/test_integration.sh
  • ./scripts/test_e2e.sh

@davidahmann davidahmann merged commit 353d2b0 into main Mar 3, 2026
11 checks passed
@davidahmann davidahmann deleted the codex/fix-codex-review-items branch March 3, 2026 20:44
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