Skip to content

feat(pitot): add high-fidelity end-to-end hook simulation tests - #65

Merged
bigboateng merged 35 commits into
mainfrom
feat/pitot-e2e-verification
Jul 20, 2026
Merged

feat(pitot): add high-fidelity end-to-end hook simulation tests#65
bigboateng merged 35 commits into
mainfrom
feat/pitot-e2e-verification

Conversation

@bigboateng

Copy link
Copy Markdown
Contributor

This PR integrates a new set of high-fidelity, deterministic end-to-end (E2E) verification tests for Pitot (labs/15-pitot), ensuring our hook parsing, content projection, and boundary fault serialization behave identically to real coding-agent hosts (Claude Code and Cursor) under stdin-piped execution environments.

Key Deliverables:

  1. E2E Hook Simulation Test (e2e_hook_test.go): Implements high-fidelity, in-process mock hooks for Claude Code (PreToolUse) and Cursor (beforeShellExecution), testing raw JSON decoding, hashing projections (sha256), and TypeBoundaryFault envelope serialization.
  2. Offline API Proxy/Mock Server Design (E2E_VERIFICATION_INVESTIGATION.md): Documents a detailed blueprint for driving the actual installed Claude CLI (claude) completely locally, offline, and deterministically by pointing ANTHROPIC_BASE_URL to a local mock gateway.
  3. Release Integrity and Manifests: Updated UPSTREAM.json to register the new e2e package, and added a dated, append-only release note fragment to satisfy policy gates.

All tests compile and pass 100% green.

…cation

# Conflicts:
#	labs/12-product-engineering-loop/product-engineering-loop/cmd/boatstack-helper/main.go
@bigboateng
bigboateng merged commit 7b52b1e into main Jul 20, 2026
6 checks passed
@bigboateng
bigboateng deleted the feat/pitot-e2e-verification branch July 20, 2026 15:58
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.

1 participant