Draft: native pipeline.open proof - #1
Draft
thejackshelton wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This draft captures the current native-testing direction for
pipeline.open(...)so it can be reviewed in the witness repo, but it is not merge-ready yet.It adds:
pipeline.open(...)receipt plumbing and app-session evidenceMerge blockers
src/adapters/macos-ax.tsusesscreencapture -x, andtest/platform-adapters.test.tslocks that in. The saved proof screenshot includes unrelated windows, so this is both weak evidence and a privacy/security issue.pnpm run checkfails ontest/support/macos-xctest-bridge/.build/**, and.gitignoredoes not exclude it. That violates the generated-output rule.src/index.tsandsrc/adapters/command.ts. Existing host APIs live under documented CLI boundaries; this makes a Node-only command runner part of the importable library surface.pnpm run test test/native-macos-live.test.tsreports 1 skipped test, so CI would not prove the native path unless a separate gated job is added.src/types.tssays “seven-key context,” but the context still has six top-level keys; this change only addspipeline.open(...).Verification from the local evaluation
pnpm run test test/pipeline-open.test.ts test/platform-adapters.test.ts test/witness.test.ts— 3 files, 24 tests.pnpm run build.pnpm run checkbecause generated native.buildoutput is scanned.pnpm exec tsc --noEmitalso reports existing unrelated errors insrc/cli/cdp-browser.ts.pnpm run test test/native-macos-live.test.ts— 1 skipped test.External usage context checked with grep MCP
xcrun simctl launchandxcrun simctl io booted screenshotare common simulator primitives in native test tooling.osascript -l JavaScriptis a known macOS automation fallback.