You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Declare journal response retention alongside the existing native command traits. The journal now consumes that declaration instead of maintaining its own command switch: snapshot/screenshot omit response JSON; all other commands retain it as before.
3 files, 169 gross lines. The existing exhaustive trait table also checks retention for every command and both alert forms. Independent review approved the narrow change. No prepared-route traits or TypeScript/native policy coupling.
pnpm check:affected --run: all runnable checks passed.
pnpm check:xctest-selection: all methods reachable; updated trait test is in the PR host lane.
Packaged runner: all 57 Swift files parse and preserve line numbers.
Fresh macOS runner builds passed, both unsigned and development-signed.
Local host XCTest was blocked by Gatekeeper before any tests ran; host security settings were unchanged. The authoritative macOS CI run passed on this exact head: all 278 host XCTests ran, including complete trait declarations and journal retention/error/sequence tests. iOS, Integration Tests, Coverage, and all other applicable checks passed. No remaining CI blocker. This changes in-memory journal policy ownership, not device interaction behavior.
Reviewed b07712f. Retention from the command traits matches the old journal switch: snapshot and screenshot drop response JSON, and every other command keeps it. No checks fail and there are no conflicts.
Two non-blocking notes: the doc comment change on invalidatesRememberedTextEntryTap is unrelated to retention, and no journal-level test checks that a snapshot entry has nil responseJson. One test that records a snapshot completion and asserts that would cover the wiring. Before you undraft, please confirm the macOS host XCTest lane ran green on this head.
Confirmed the macOS host lane passed on b07712f: CI run executed all 278 source-selected tests. testEveryCommandDeclaresEveryRunnerSideDecisionTogether and testCommandJournalRetentionPolicy both passed. The latter already records a snapshot completion and asserts nil response JSON at lines 134–144, so another test would duplicate that coverage.
The tap-invalidation doc wording removes the obsolete “not a fifth trait” count now that retention is the fifth trait; the behavior remains unchanged. Updated the PR evidence and marked it ready for review after checking all applicable CI is green.
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
ready-for-humanValid work that needs human implementation, judgment, or maintainer merge
1 participant
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
Declare journal response retention alongside the existing native command traits. The journal now consumes that declaration instead of maintaining its own command switch: snapshot/screenshot omit response JSON; all other commands retain it as before.
3 files, 169 gross lines. The existing exhaustive trait table also checks retention for every command and both alert forms. Independent review approved the narrow change. No prepared-route traits or TypeScript/native policy coupling.
Validation
Tested commit
b07712f3393370c13a20f3124db1645384db3286:pnpm check:affected --run: all runnable checks passed.pnpm check:xctest-selection: all methods reachable; updated trait test is in the PR host lane.Local host XCTest was blocked by Gatekeeper before any tests ran; host security settings were unchanged. The authoritative macOS CI run passed on this exact head: all 278 host XCTests ran, including complete trait declarations and journal retention/error/sequence tests. iOS, Integration Tests, Coverage, and all other applicable checks passed. No remaining CI blocker. This changes in-memory journal policy ownership, not device interaction behavior.