fix(zara-coding): bind task evidence to verifier provenance #223

Open
nsaspy wants to merge 12 commits from fix/zara-coding-evidence-provenance into main
Owner

Summary

Closes a false-success path at the Prolog task-state boundary.

  • add explicit evidence provenance (caller vs verifier) to the bounded JSON-line protocol
  • reject caller-authored passed evidence inside Prolog, not only at the public Python tool wrapper
  • require verifier-owned passing evidence for task completion
  • preserve public coding.task.record-evidence as caller-authored failed observations only
  • keep the internal TaskStateSession verifier path explicit and bounded
  • add direct SWI-Prolog regression coverage for forged/model provenance and caller-authored pass attempts
  • update protocol/unit tests to lock provenance semantics

This does not add Core composition or import Core internals. Future cross-plugin execution remains blocked on Zara Core #400.

Related: #1
Worker mailbox: #507

Required exact-head gates: zara-coding unittest suite, registry validation, nix flake check.

## Summary Closes a false-success path at the Prolog task-state boundary. - add explicit evidence provenance (`caller` vs `verifier`) to the bounded JSON-line protocol - reject caller-authored `passed` evidence inside Prolog, not only at the public Python tool wrapper - require verifier-owned passing evidence for task completion - preserve public `coding.task.record-evidence` as caller-authored failed observations only - keep the internal `TaskStateSession` verifier path explicit and bounded - add direct SWI-Prolog regression coverage for forged/model provenance and caller-authored pass attempts - update protocol/unit tests to lock provenance semantics This does not add Core composition or import Core internals. Future cross-plugin execution remains blocked on Zara Core #400. Related: #1 Worker mailbox: #507 Required exact-head gates: zara-coding unittest suite, registry validation, `nix flake check`.
Some checks failed
CI / test (pull_request) Failing after 31s
CI / zara-avatar idle CPU budget (pull_request) Failing after 13m3s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/zara-coding-evidence-provenance:fix/zara-coding-evidence-provenance
git switch fix/zara-coding-evidence-provenance

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff fix/zara-coding-evidence-provenance
git switch fix/zara-coding-evidence-provenance
git rebase main
git switch main
git merge --ff-only fix/zara-coding-evidence-provenance
git switch fix/zara-coding-evidence-provenance
git rebase main
git switch main
git merge --no-ff fix/zara-coding-evidence-provenance
git switch main
git merge --squash fix/zara-coding-evidence-provenance
git switch main
git merge --ff-only fix/zara-coding-evidence-provenance
git switch main
git merge fix/zara-coding-evidence-provenance
git push origin main
Sign in to join this conversation.
No description provided.