Skip to content

fix(process): protect unrelated Hopper during cleanup - #410

Merged
morluto merged 3 commits into
codex/issue-386from
codex/issue-355
Jul 22, 2026
Merged

morluto merged 3 commits into
codex/issue-386from
codex/issue-355

Conversation

@morluto

@morluto morluto commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Description

Restricts Hopper shutdown to the verified process lineage owned by the active run. Cleanup now fails closed when ownership cannot be proven, preserves owned-shutdown coordinates in diagnostics, and uses an unrelated-process sentinel to prove that neighboring Hopper-shaped processes survive cleanup paths.

Stacked on #409.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Performance improvement
  • Refactoring (no functional change)
  • Tool contract change (MCP schema modification)

Testing Performed

  • Unit tests added or updated
  • TypeScript typecheck passes (npm run typecheck)
  • Linting passes (npm run lint)
  • Full test suite passes (npm test)
  • Real Hopper verification performed (npm run verify:hopper)
  • Linux real Hopper verification performed (npm run verify:hopper:linux) or unavailability explained
  • Real browser verification performed (npm run verify:browser) or unavailability explained
  • Package verification performed (npm run verify:package)

Linux real-Hopper verification could not start on this branch because its source-owned fixture builder requires macOS/Xcode Mach-O artifacts. Unit and process-ownership regressions cover unrelated-process survival and owned cleanup.

Tool Contract Impact

No MCP schemas or tool inventory entries change. Existing failure projection gains bounded owned-shutdown diagnostics.

Related Issues

Closes #355

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Base automatically changed from codex/issue-354 to codex/issue-386 July 22, 2026 14:33
feat(process): run finite-state replay during capture
@morluto
morluto merged commit 81539c4 into codex/issue-386 Jul 22, 2026
@morluto
morluto deleted the codex/issue-355 branch July 22, 2026 14:33
darsrc pushed a commit to darsrc/rea that referenced this pull request Oct 10, 2026
fix(process): protect unrelated Hopper during cleanup
@morluto morluto added bug Something isn't working area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior labels Oct 14, 2026
@morluto morluto added area: runtime Process capture and runtime observation provider: hopper Analysis provider / engine: hopper labels Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior area: runtime Process capture and runtime observation bug Something isn't working provider: hopper Analysis provider / engine: hopper

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant