Skip to content

feat(assessment): retain decision provenance through the hook audit - #23

Merged
TorinAsakura merged 1 commit into
masterfrom
feat/assessment-decision-provenance
Nov 27, 2026
Merged

TorinAsakura merged 1 commit into
masterfrom
feat/assessment-decision-provenance

Conversation

@TorinAsakura

Copy link
Copy Markdown
Member

Task

How to verify

Main scenario

Run the assessment CLI with --include-provenance, then pass its output through the runtime adapter and hook assessment path. The audit must retain the native thread, turn, assessment generation and the bounded decision_origin/work_relation projection. User choice, discussion retention and evaluator decisions have distinct origins.

Additional scenario

Run the CLI normally and consume a legacy result without provenance. Existing decision consumers must continue to work. An unknown diagnostic category or an extra diagnostic field must be rejected. Discussion and manual-choice continuity tests must retain their prior behavior.

Proofs

  • The complete Python suite passed 325 tests and 285 subtests
  • Tests exercise CLI opt-in, runtime decoding, native hook audit and generation binding, including rejection of private diagnostic fields
  • Mypy passes for the four changed boundary/type modules
  • Historical keep-only audit rows lack the discarded evaluator classification, so their origin remains unestablished; this change preserves the evidence needed for subsequent turns

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T22:09:56.557427Z 1f8093b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@TorinAsakura
TorinAsakura merged commit 2098dee into master Nov 27, 2026
3 checks passed
@TorinAsakura
TorinAsakura deleted the feat/assessment-decision-provenance branch November 27, 2026 22:12
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.

[Feature] Диагностика сохранения профиля

1 participant