8000 Guard Safari session retirement ownership by hmmhmmhm · Pull Request #397 · hmmhmmhm/daiso-mcp · GitHub
[go: up one dir, main page]

Skip to content

Guard Safari session retirement ownership - #397

Draft
hmmhmmhm wants to merge 18 commits into
mainfrom
fix/safari-owned-stop-20261202
Draft

hmmhmmhm wants to merge 18 commits into
mainfrom
fix/safari-owned-stop-20261202

Conversation

@hmmhmmhm
@hmmhmmhm hmmhmmhm commented Dec 2, 2026 •
Copy link
Copy Markdown
Owner

Safari cleanup can lose or misidentify ownership evidence when a helper fails or a session is interrupted. Preserve uncertain sessions, check the exact window lock and slot, and resume independently confirmed retirements only while the archived record and ownership evidence still match. Also close HTTP error responses and include the runtime files in deployment preflight.

This is a draft pending coordinated deployment of a compatible shared Safari helper and validation of the installation and rollback sequence. Existing helpers are rejected rather than used as a fallback. This change does not establish the cause of a production timeout or cleanup failure.

Validation:

  • Local npm run check: 361 files and 4,570 tests passed.
  • Local npm run test:coverage: 4,570 tests passed; all four coverage metrics were 100%.
  • Local npm run build passed.
  • Isolated helper tests and opt-in wrapper/helper integration used temporary files, mocked Safari responses, and process termination at recovery boundaries. The integration requires an explicit helper candidate and is not exercised by default CI.
  • Independent review covered ownership, archive preservation, runtime preflight, and error handling.

Current PR status: Linux Validate and Coverage failed the ownership replacement regression. A locally reviewed correction is not yet included in this PR; the existing failed checks remain unresolved. Do not merge until the correction, required checks, and helper deployment/rollback validation are complete.

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

0