Commit Graph
2 Commits
Author SHA1 Message Date
james.maes 05411f82ff fix(vision): v0.1 cluster — T2 honesty + pendingFrame leak + TCC revoke observation (#1, #2, #3, #152)
#1 (HIGH): new hasRealT2Provider init param on AgentOrchestrator; t2AvailableForThisTurn now requires both decision.tier != .t3Cloud AND hasRealT2Provider. Production passes false (MissingT2Provider only). Pre-existing escalation test still passes true with mock T2.

#2 (MED): new FrameAttachController.releaseAfterRejectedSubmit() routes through the sole discardFrame() emission site (D-15 single-emission grep gate still green). Both handleChatSubmit and handleChatCancelAndSubmit call it on .rejected.

#3 (MED): AVCaptureSessionWasInterruptedNotification observer yields .midSessionRevoked. macOS limitation surfaced: AVCaptureSessionInterruptionReasonKey is API_UNAVAILABLE(macos), so we cannot discriminate by reason — any interruption surfaces the banner. NSApplication.didBecomeActive observer calls becameAuthorized() on non-authorized → .authorized flip.

Vision 75 + AgentCore 243 tests pass; all 18 boundary gates green.
2026-05-13 06:30:09 -05:00
james.maes 003f8e7546 test(07-05): add failing FrameAttachController + grep + placeholder tests (Task 6 RED)
- FrameAttachControllerTests: dual-trigger ingest, always-confirm gate,
  2s default-cancel timeout, explicit cancel, confirmSend produces
  ImageBlock, onAssistantTurnComplete clears pendingFrame
- FrameAttachDiscardSiteGrepTests: discardFrame appears exactly once in
  FrameAttachController.swift; raw-bytes egress fence on Replay sources
  and FrameAttachReplaySink
- FrameAttachReplayPlaceholderTests: payload is the literal
  {"type":"image","discarded":true,"text":"..."} and contains
  no base64/JPEG/PNG signatures
2026-04-29 18:06:46 -05:00