Skip to content

PR08: add runnable integration examples and caller contracts - #8

Merged
aniaisec merged 1 commit into
mainfrom
codex/adoption-pr08
Oct 10, 2026
Merged

aniaisec merged 1 commit into
mainfrom
codex/adoption-pr08

Conversation

@aniaisec

@aniaisec aniaisec commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Developers had integration reference documentation but no small, executable examples for the individual CLI, HTTP, MCP and workflow contracts. Add nine runnable scenarios for typed lookup, business rejection, approved writes, drift repair, human takeover, workflows, HTTP, MCP and Windows UIA, with commands, expected results and cleanup instructions.

The examples use the ordinary runtime entry points, isolated synthetic targets and per-project approvals. Shared scenario files drive both the documented results and the tests. Independent target counters check writes and retries; replay evidence checks zero model calls. Include a short handoff recording and reusable HTTP/MCP clients that preserve request identity, stop on conflicts or unknown states, and clean up owned processes.

Validation:

  • Ruff lint and formatting; strict mypy for Linux and Windows over 176 source files.
  • 1,053 non-GUI tests passed; two Windows platform skips (POSIX process groups and privileged symlink creation).
  • 124 strict browser tests passed, including all browser examples, repeat runs, the seven-stage demo, adapter/replay regressions and live security probes with negative controls.
  • 16 live interactive Windows tests passed on the final full run, including the new example. An existing ambiguity case failed on the first run; its isolated rerun and the full rerun passed.
  • Fresh non-editable wheel and sdist-built installations passed outside the checkout, including the seven-stage demo and inventory checks. Final archive metadata/resources and documentation links checked.

Review fixes include isolating synthetic credentials from the caller's shell, bounding HTTP polling and rejecting malformed run responses, preserving the virtualenv interpreter, handling MCP decoding/cleanup failures, and correcting the README table and expected-result documentation. Current write checks establish sequential retry behavior; durable interruption recovery and a distinct server-side queued state remain later work.

@aniaisec
aniaisec merged commit 32e534a into main Oct 10, 2026
18 checks passed
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