Skip to content

feat(gemaraconv): export evidence as OSCAL relevant evidence - #133

Merged
jmeridth merged 7 commits into
gemaraproj:mainfrom
jpower432:feat/evidence-ar
Sep 17, 2026
Merged

jmeridth merged 7 commits into
gemaraproj:mainfrom
jpower432:feat/evidence-ar

Conversation

@jpower432

@jpower432 jpower432 commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

This PR partially addresses #127 (the OSCAL part):

  • Adds evidence to relevant-evidence under observations
  • Does not support raw payload
    - Adding mapping-references to backmatter with digest
  • Add gemara-namespaced properties to capture additional information

Assisted-by: OpenCode (OpenAI, GPT 5.6 Terra)
Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
Assisted-by: OpenCode (OpenAI, GPT 5.6 Terra)
Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
Assisted-by: OpenCode (OpenAI, GPT 5.6 Terra)
Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
Assisted-by: OpenCode (OpenAI, GPT 5.6 Terra)
Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
Comment thread test-data/good-evaluation-log.yaml Resolved
Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>

Signed-off-by: Jennifer Power <jpower@redhat.com>

@jmeridth jmeridth left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 (summary) Solid direction and good test coverage, and this lands the OSCAL half of #127 cleanly. Blocking concern is the digest handling: conversion now hard-fails on digests go-digest can't parse (including algorithms OSCAL itself names, and gemara's own doc example), while valid digests with an unmatched reference-id are silently dropped. Details in line comments. Models: multi-model AI review (Opus 4.8 + Fable 5), findings verified against the checked-out head.

Comment thread gemaraconv/assessment_results.go Resolved
Comment thread gemaraconv/assessment_results.go Resolved
Comment thread gemaraconv/guidance.go Resolved
Comment thread gemaraconv/assessment_results.go Resolved
Comment thread gemaraconv/assessment_results.go Resolved
Comment thread gemaraconv/assessment_results.go Resolved
Comment thread gemaraconv/assessment_results.go Resolved
Comment thread assessment_log_test.go Resolved
Assisted-by: OpenCode (OpenAI, GPT 5.6 Terra)
Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
@jpower432
jpower432 requested a review from jmeridth September 16, 2026 00:25

@jmeridth jmeridth left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 (summary) Approving: all blockers from the previous review are resolved in 0c9c50a. Digest parsing is gone, so previously-convertible logs convert again; digests survive as a source-digest prop instead of being silently dropped; rlink hashes are removed, which sidesteps the semantic mismatch until the spec defines re-retrieval; empty props are guarded; the dead error return is reverted. Verified at head 0c9c50a: full delta read and go test ./... passes.

@jmeridth
jmeridth merged commit d8bb685 into gemaraproj:main Sep 17, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants