[PR #279] feat: add evidence receipt hash chain prototype #293

Open
opened 2026-06-06 22:10:05 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vxcontrol/pentagi/pull/279
Author: @mason5052
Created: 4/22/2026
Status: 🔄 Open

Base: mainHead: codex/issue-235-evidence-chain-v1


📝 Commits (1)

  • 0e62219 feat: add evidence receipt hash chain prototype

📊 Changes

9 files changed (+705 additions, -32 deletions)

View changed files

📝 .env.example (+3 -0)
📝 backend/docs/config.md (+13 -8)
📝 backend/pkg/config/config.go (+3 -0)
📝 backend/pkg/config/config_test.go (+16 -1)
backend/pkg/tools/evidence_receipts.go (+316 -0)
backend/pkg/tools/evidence_receipts_test.go (+249 -0)
📝 backend/pkg/tools/executor.go (+77 -11)
📝 backend/pkg/tools/tools.go (+27 -12)
📝 docker-compose.yml (+1 -0)

📄 Description

Summary

  • add a disabled-by-default Evidence Receipts v1 prototype for toolcall completion
  • write hash-chain JSONL receipts under <DATA_DIR>/flow-<flow_id>/evidence/receipts.jsonl
  • include toolcall provenance metadata plus argument/result hashes without storing raw args or raw results
  • document v1 as hash-chain-only; Ed25519 signing and report bundle export are deferred

Validation

  • go test ./pkg/tools/...
  • go test ./pkg/config/...
  • git diff --cached --check

Refs #235


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vxcontrol/pentagi/pull/279 **Author:** [@mason5052](https://github.com/mason5052) **Created:** 4/22/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `codex/issue-235-evidence-chain-v1` --- ### 📝 Commits (1) - [`0e62219`](https://github.com/vxcontrol/pentagi/commit/0e62219dfae21d7dc59d7ffc2a5f44c7427dc5ba) feat: add evidence receipt hash chain prototype ### 📊 Changes **9 files changed** (+705 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+3 -0) 📝 `backend/docs/config.md` (+13 -8) 📝 `backend/pkg/config/config.go` (+3 -0) 📝 `backend/pkg/config/config_test.go` (+16 -1) ➕ `backend/pkg/tools/evidence_receipts.go` (+316 -0) ➕ `backend/pkg/tools/evidence_receipts_test.go` (+249 -0) 📝 `backend/pkg/tools/executor.go` (+77 -11) 📝 `backend/pkg/tools/tools.go` (+27 -12) 📝 `docker-compose.yml` (+1 -0) </details> ### 📄 Description ## Summary - add a disabled-by-default Evidence Receipts v1 prototype for toolcall completion - write hash-chain JSONL receipts under `<DATA_DIR>/flow-<flow_id>/evidence/receipts.jsonl` - include toolcall provenance metadata plus argument/result hashes without storing raw args or raw results - document v1 as hash-chain-only; Ed25519 signing and report bundle export are deferred ## Validation - `go test ./pkg/tools/...` - `go test ./pkg/config/...` - `git diff --cached --check` Refs #235 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-06 22:10:05 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: vxcontrol/pentagi#293