From 6c76aaff310a4960cab75413881f8fe132a42be7 Mon Sep 17 00:00:00 2001 From: ProfRandom92 Date: Fri, 22 May 2026 21:55:32 +0200 Subject: [PATCH] docs: add AI workflow safety overview --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 98872f0..716ac9a 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,21 @@ flowchart LR --- +## AI workflow safety evidence + +CompText V7 includes a local-only, deterministic evidence chain for AI-assisted repository work. The chain is intended to make review evidence inspectable and artifact-backed without adding external services or runtime orchestration. + +- `scripts/safe_pr_gate.py` checks the current branch, working-tree state, changed-file scope, and minimal privacy boundaries. +- `scripts/agent_artifact_bundle.py` records branch, changed files, safe-gate output, validation evidence, and optional MCP context output references. +- `scripts/validate_agent_artifact_bundle.py` validates committed or generated bundle shape and deterministic status fields. +- `scripts/pr_body_from_agent_bundle.py` renders PR body Markdown from bundle data without inventing claims. +- `scripts/ai_workflow_snapshot.py` emits a compact JSON snapshot that combines safe-gate and bundle evidence. +- MCP context output references point to repo-relative artifacts, such as `artifacts/mcp_context_layer_example.json`, rather than embedding full replay payloads in every bundle. + +This chain is local-only and uses deterministic JSON/Markdown outputs. It does not call external APIs, contact GitHub APIs, add timestamps or random IDs, execute runtime tools, or perform semantic scoring. It is not an autonomous agent framework, workflow orchestrator, vector memory system, or runtime tool executor. + +--- + ## Minimal deterministic example ```json