rea/tests
N0zoM1z0 70e1a0f532 refactor(process): extract reusable provider lifecycle primitives
Introduce provider-neutral ownership, private runtime roots, absolute startup deadlines, pending-operation correlation, bounded output capture, and verified TERM-to-KILL process supervision.\n\nMigrate Hopper onto the shared lifecycle pieces while keeping its Unix-socket protocol and health/shutdown parsing adapter-specific. Preserve exact ownership checks and fail-closed cleanup, including descendant cleanup after the launcher leader exits.\n\nAdd reusable process fixtures and deterministic coverage for startup timeout, cancellation, output bounds, exit diagnostics, cleanup escalation, repeated close, spawn failure, and resource disposal. Update architecture, provider evaluation, contributor guidance, and generated API documentation.
2026-07-15 23:20:48 +09:00
..
conformance test: add source-built Hopper conformance fixtures 2026-07-12 19:32:29 +08:00
fixtures refactor(process): extract reusable provider lifecycle primitives 2026-07-15 23:20:48 +09:00
integration feat(session): add explicit provider registry and target binding 2026-07-15 22:13:48 +09:00
analysisProfile.test.ts refactor(domain): remove provider-specific target and snapshot state 2026-07-15 20:31:56 +09:00
analysisProviderRegistry.test.ts feat(session): add explicit provider registry and target binding 2026-07-15 22:13:48 +09:00
analysisSnapshot.test.ts refactor(domain): remove provider-specific target and snapshot state 2026-07-15 20:31:56 +09:00
artifactComparison.test.ts test: stabilize artifact pagination coverage 2026-07-12 22:32:14 +00:00
artifactInventorySnapshot.test.ts Simplify and harden investigation workflows 2026-07-12 21:45:26 +00:00
artifactMcp.test.ts feat(mcp): expose progress resources and availability 2026-07-14 02:11:56 +00:00
artifactProvider.test.ts refactor(domain): remove provider-specific target and snapshot state 2026-07-15 20:31:56 +09:00
authorizedArtifactInventory.test.ts fix: harden PTY events and configured roots 2026-07-14 15:21:39 +08:00
binarySession.test.ts feat(session): add explicit provider registry and target binding 2026-07-15 22:13:48 +09:00
binaryTarget.test.ts refactor(domain): remove provider-specific target and snapshot state 2026-07-15 20:31:56 +09:00
bridgeLauncher.test.ts fix(hopper): select verified Linux demo mode explicitly 2026-07-14 20:24:33 +00:00
bridgeRegex.test.ts test: reduce test suite runtime 2026-07-14 21:08:27 +00:00
bridgeTruthfulness.test.ts fix(hopper): complete owned Linux shutdown (#116) 2026-07-14 06:05:25 +08:00
browserCli.test.ts test: serialize subprocess-heavy integrations 2026-07-14 21:33:25 +00:00
browserMcp.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00
browserObservation.test.ts fix(browser): support page-scoped CDP transports 2026-07-14 20:23:18 +00:00
bundleComparison.test.ts Add evidence-backed investigation workflows 2026-07-12 21:12:18 +00:00
bundleComparisonMcp.test.ts Simplify and harden investigation workflows 2026-07-12 21:45:26 +00:00
callPath.test.ts Add evidence-backed investigation workflows 2026-07-12 21:12:18 +00:00
cdpBrowserProvider.test.ts fix(browser): observe direct target disconnects 2026-07-14 20:48:01 +00:00
cdpCaptureCompleteness.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00
cdpCaptureDocuments.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00
cdpConnection.test.ts fix(browser): preserve operation-aware cancellation errors 2026-07-14 20:48:01 +00:00
cdpElectronProvider.test.ts fix(browser): preserve operation-aware cancellation errors 2026-07-14 20:48:01 +00:00
cdpSafeMetadata.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00
changedBehavior.test.ts fix: resolve triaged correctness issues 2026-07-14 14:39:02 +08:00
cliLogging.test.ts fix(cli): return nonzero status for operation failures (#121) 2026-07-14 06:33:34 +08:00
cliOutput.test.ts test: serialize subprocess-heavy integrations 2026-07-14 21:33:25 +00:00
cliPolicyCommands.test.ts test(cli): verify packaged policy revocation 2026-07-14 21:32:23 +00:00
clientRegistrationStatus.test.ts feat(identity): derive MCP surface metadata 2026-07-14 09:51:42 +08:00
compositeProvider.test.ts feat(session): add explicit provider registry and target binding 2026-07-15 22:13:48 +09:00
config.test.ts feat(session): add explicit provider registry and target binding 2026-07-15 22:13:48 +09:00
conformanceFixtures.test.ts test: add source-built Hopper conformance fixtures 2026-07-12 19:32:29 +08:00
contractSnapshot.test.ts test: reduce test suite runtime 2026-07-14 21:08:27 +00:00
createServer.test.ts Add evidence-backed investigation workflows 2026-07-12 21:12:18 +00:00
crossVersionInventory.test.ts perf(application): scan version artifacts in parallel 2026-07-14 19:33:40 +08:00
derivedOperation.test.ts fix: resolve triaged correctness issues 2026-07-14 14:39:02 +08:00
directAnalysisPermissions.test.ts feat(session): add explicit provider registry and target binding 2026-07-15 22:13:48 +09:00
dispatcher.test.ts fix(cli): restrict production MCP dispatch 2026-07-14 20:33:23 +00:00
doctor.test.ts fix(doctor): honor explicit Hopper launcher 2026-07-14 20:34:57 +00:00
electronCli.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00
electronFileScope.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00
electronMcp.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00
enhancedTools.test.ts test: reduce test suite runtime 2026-07-14 21:08:27 +00:00
errors.test.ts feat: add passive website reverse engineering 2026-07-14 12:27:13 +08:00
evidence.test.ts refactor(domain): remove provider-specific target and snapshot state 2026-07-15 20:31:56 +09:00
evidenceBundleFiles.test.ts fix: harden PTY events and configured roots 2026-07-14 15:21:39 +08:00
evidenceResources.test.ts feat(mcp): expose progress resources and availability 2026-07-14 02:11:56 +00:00
functionComparison.test.ts Add evidence-backed investigation workflows 2026-07-12 21:12:18 +00:00
functionComparisonMcp.test.ts fix(errors): improve recovery guidance 2026-07-13 19:09:27 +00:00
hopperAnalysisProfile.test.ts feat(session): add explicit provider registry and target binding 2026-07-15 22:13:48 +09:00
hopperClient.test.ts refactor(process): extract reusable provider lifecycle primitives 2026-07-15 23:20:48 +09:00
hopperProviderSelection.test.ts feat(session): add explicit provider registry and target binding 2026-07-15 22:13:48 +09:00
hopperValues.test.ts fix(bridge): harden bounded Hopper boundaries 2026-07-13 03:14:15 +00:00
identity.test.ts feat(identity): rename package and CLI to REA 2026-07-12 07:44:30 +08:00
installScript.test.ts fix(errors): improve recovery guidance 2026-07-13 19:09:27 +00:00
investigationMcp.test.ts fix(application): add explicit investigation replay 2026-07-14 21:03:23 +00:00
investigationWorkspace.test.ts fix(application): add explicit investigation replay 2026-07-14 21:03:23 +00:00
jsonLimits.test.ts fix: resolve validation and artifact edge cases 2026-07-14 16:15:24 +08:00
jsonShape.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00
linuxHopper.test.ts test(linux): verify setup through CLI and MCP 2026-07-13 21:20:51 +00:00
macHopper.test.ts fix(setup): replace managed Hopper on reinstall 2026-07-15 06:52:52 +00:00
mainErrors.test.ts test(runtime): cover idempotent handler cleanup 2026-07-14 21:20:24 +00:00
mainReload.test.ts fix(test): adapt mainReload shutdown seam to registerShutdown signature 2026-07-14 22:29:25 +00:00
nativeDmgArtifactReader.test.ts fix: resolve triaged correctness issues 2026-07-14 14:39:02 +08:00
nativeProvider.test.ts refactor(domain): remove provider-specific target and snapshot state 2026-07-15 20:31:56 +09:00
officialTools.test.ts fix(mcp): preserve migrated revisions and valid links 2026-07-14 02:11:56 +00:00
permissionAuthority.test.ts fix(runtime): apply permission reloads atomically 2026-07-15 06:16:46 +08:00
permissionMcp.test.ts feat(mcp): expose progress resources and availability 2026-07-14 02:11:56 +00:00
permissionPolicy.test.ts fix: resolve validation and artifact edge cases 2026-07-14 16:15:24 +08:00
pngVisualDiff.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00
processCapture.test.ts fix: address setup, upgrade, and process test regressions 2026-07-15 06:34:25 +00:00
processCli.test.ts fix: resolve triaged correctness issues 2026-07-14 14:39:02 +08:00
processOwnership.test.ts refactor(process): extract reusable provider lifecycle primitives 2026-07-15 23:20:48 +09:00
productCatalog.test.ts feat(session): add explicit provider registry and target binding 2026-07-15 22:13:48 +09:00
progressMcp.test.ts feat(mcp): expose progress resources and availability 2026-07-14 02:11:56 +00:00
progressReporter.test.ts feat(core): add typed policy and integrity contracts 2026-07-14 02:11:56 +00:00
projectPermissionStore.test.ts fix: harden PTY events and configured roots 2026-07-14 15:21:39 +08:00
promptCompletion.test.ts test: strengthen MCP prompt acceptance coverage 2026-07-13 21:21:32 +08:00
promptContracts.test.ts feat: add guided MCP workflow prompts 2026-07-13 21:04:28 +08:00
promptMcp.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00
providerArchitecture.test.ts test: reduce test suite runtime 2026-07-14 21:08:27 +00:00
providerBinding.test.ts feat(session): add explicit provider registry and target binding 2026-07-15 22:13:48 +09:00
providerProcess.test.ts refactor(process): extract reusable provider lifecycle primitives 2026-07-15 23:20:48 +09:00
providerSelectionMcp.test.ts feat(session): add explicit provider registry and target binding 2026-07-15 22:13:48 +09:00
readmeConsistency.test.ts build: add canonical product catalog and docs drift checks 2026-07-15 17:43:52 +08:00
realHopperAssertions.test.ts test(verification): strengthen conformance and real-Hopper checks 2026-07-13 03:15:46 +00:00
reconstructionVerification.test.ts fix: resolve triaged correctness issues 2026-07-14 14:39:02 +08:00
referenceSourceGraph.test.ts fix(reference): preserve distinct parse failures 2026-07-14 20:31:04 +00:00
referenceSourceImport.test.ts test(reference): cover failure normalization 2026-07-14 21:32:23 +00:00
referenceSourceReader.test.ts Add evidence-backed investigation workflows 2026-07-12 21:12:18 +00:00
residualUnknown.test.ts fix: resolve triaged correctness issues 2026-07-14 14:39:02 +08:00
runtime.test.ts test(hopper): cover verified Linux rejection 2026-07-14 20:54:22 +00:00
safeOutputTree.test.ts fix: resolve triaged correctness issues 2026-07-14 14:39:02 +08:00
sensitiveTextCapture.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00
serverIdentity.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00
sessionMcp.test.ts refactor(domain): remove provider-specific target and snapshot state 2026-07-15 20:31:56 +09:00
setup.test.ts fix(setup): replace managed Hopper on reinstall 2026-07-15 06:52:52 +00:00
setupConfig.test.ts fix: address setup, upgrade, and process test regressions 2026-07-15 06:34:25 +00:00
setupInstallFailure.test.ts fix: preserve setup diagnostics and clean Knip config 2026-07-14 19:27:31 +08:00
setupLifecycle.test.ts fix(setup): preserve client config symlinks 2026-07-14 20:50:07 +00:00
setupSkill.test.ts fix(setup): omit aligned skill from plan 2026-07-14 20:14:58 +00:00
staticRuntimeCorrelation.test.ts fix: resolve triaged correctness issues 2026-07-14 14:39:02 +08:00
symbolAnalysis.test.ts fix: resolve triaged correctness issues 2026-07-14 14:39:02 +08:00
toolContracts.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00
toolResult.test.ts refactor(domain): remove provider-specific target and snapshot state 2026-07-15 20:31:56 +09:00
upgrade.test.ts fix(upgrade): prevent version downgrades 2026-07-14 20:45:30 +00:00
webBundleAnalyzer.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00
webCaptureDiff.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00
webInventory.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00
webSourceMapFetcher.test.ts feat: add web and Electron reverse-engineering workflows 2026-07-14 20:24:12 +09:00