Commit Graph

158 Commits

Author SHA1 Message Date
morluto 6ba97656ca fix(cli): make clean source checkouts start reliably 2026-07-15 14:44:04 +00:00
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
N0zoM1z0 941d7101dd feat(session): add explicit provider registry and target binding
Introduce deterministic deep-provider discovery and immutable per-target routing while retaining disjoint artifact and native capability families.

Expose provider selection consistently through MCP, CLI, environment configuration, session status, prompt completion, typed diagnostics, and generated documentation. Preserve exact provider/profile provenance without request racing or transparent fallback.

Cover overlapping providers, ambiguity, rejection details, cancellation, restoration, package installation, and real Hopper target switching.
2026-07-15 22:13:48 +09:00
N0zoM1z0 21da71ec6d refactor(domain): remove provider-specific target and snapshot state
Move Hopper loader derivation and compatibility projection into the Hopper adapter so BinaryTarget carries only provider-neutral identity and format metadata.

Introduce bounded canonical analysis-profile commitments, exact provider/profile snapshot v2 bindings, legacy snapshot rejection guidance, and backward-compatible profiled Evidence v2 records. Partition cache and replay behavior by target, concrete provider build, and profile while preserving custom Hopper loader overrides.

Propagate profiles consistently through CLI, MCP, composed workflows, and session lifecycle; preserve the 78-tool contract and legacy loaderArgs response projection. Add migration documentation, generated API updates, property regressions, package verification, and real Hopper coverage.
2026-07-15 20:31:56 +09:00
N0zoM1z0 beb9ece7d1 build: add canonical product catalog and docs drift checks
Derive package, tool-family, provider, setup-client, schema-version, and CLI facts from the runtime contract sources into a deterministic checked-in catalog.

Add non-mutating generated-file checks, exact TypeDoc regenerate-and-compare validation, caller-visible documentation fact checks, and CI enforcement through docs:check.

Cover command-router parity, source-derived catalog values, deliberate documentation drift, and stale generated artifacts while preserving runtime behavior.
2026-07-15 17:43:52 +08:00
N0zoM1z0 54056a9782 docs: reconcile product documentation with shipped behavior
Align the documented tool inventory, setup client matrix, supported hosts, installation behavior, and roadmap with the 1.6.0 implementation.

Record Ghidra as the accepted next read-only provider direction without claiming shipped support, and refresh the provider admission criteria around evidence fidelity and local diagnostics.

Regenerate the committed TypeDoc site from current sources so package metadata and Process Capture v4 contracts replace the stale 1.1.0/v3 output. Add localized README coverage for every detected setup client.
2026-07-15 17:03:56 +08:00
morluto 0ca93f9779 fix(setup): replace managed Hopper on reinstall 2026-07-15 06:52:52 +00:00
morluto 02f12b927a fix: address setup, upgrade, and process test regressions 2026-07-15 06:34:25 +00:00
morluto 0a430c12c1 fix(test): adapt mainReload shutdown seam to registerShutdown signature 2026-07-14 22:29:25 +00:00
morluto d81687f383 fix(setup): omit aligned skill from plan 2026-07-14 22:25:48 +00:00
morluto 6397e54169 fix(cli): confirm project grant revocation 2026-07-14 22:25:47 +00:00
morluto 69744a421a fix(setup): configure every detected client 2026-07-14 22:25:43 +00:00
morluto 71072d86b1 fix(runtime): unregister shutdown handlers 2026-07-14 22:24:03 +00:00
morluto e02cb2f877 fix(reference): preserve distinct parse failures 2026-07-14 22:24:03 +00:00
morluto c4930f4820 fix(browser): support page-scoped CDP transports 2026-07-14 22:24:02 +00:00
morluto 8bd0e5f1ea fix(cli): restrict production MCP dispatch 2026-07-14 22:24:02 +00:00
morluto e98413c3d5 fix(session): reopen replaced targets 2026-07-14 22:24:01 +00:00
morluto c7918024bc fix(evidence): enforce the combined record limit 2026-07-14 22:24:01 +00:00
morluto c69fe2c897 fix(doctor): honor explicit Hopper launcher 2026-07-14 22:24:00 +00:00
morluto a204840630 fix(upgrade): prevent version downgrades 2026-07-14 22:24:00 +00:00
morluto 85285f1563 fix(setup): preserve client config symlinks 2026-07-14 22:23:59 +00:00
morluto 43766fda69 fix(session): isolate availability observers 2026-07-14 22:23:58 +00:00
morluto f471a63c87 fix(hopper): cancel startup before closing 2026-07-14 22:23:58 +00:00
morluto 7112e1e6bf fix(application): add explicit investigation replay 2026-07-14 22:23:47 +00:00
morluto 49e843e8ff fix(runtime): apply permission reloads atomically 2026-07-14 22:22:51 +00:00
morluto d92441e6b7
Merge branch 'main' into agent/process-sampling-initialization 2026-07-15 06:17:51 +08:00
N0zoM1z0 7e53dd6ad3 fix(runtime): serialize permission reloads 2026-07-15 06:16:46 +08:00
N0zoM1z0 3ae7109faa fix(runtime): apply permission reloads atomically 2026-07-15 06:16:46 +08:00
N0zoM1z0 57938a8465 fix(process): gate sampling on initialized PTY root 2026-07-15 06:16:37 +08:00
morluto 8681d817f9
Merge branch 'main' into codex/test-suite-speed 2026-07-15 06:15:52 +08:00
morluto 95a228ffa7
Merge branch 'main' into agent/process-zombie-settlement 2026-07-15 06:12:17 +08:00
morluto a86da4ff3f fix(setup): omit aligned client configurations from plan
The setup plan was still advertising configure_client actions for clients
whose MCP registration already matched the desired command and Hopper
environment. As a result, an otherwise idempotent rerun requested
confirmation for changes that would not be applied.

- add SetupHost#clientNeedsConfigure to read a client config without
  mutating it
- filter detected clients in discoverSetupActions before building the plan
- align the package verifier's "aligned" run with the platform-specific
  status so Linux (where the fake Hopper path is unsupported) is expected
  to report needs_human while keeping an empty plan
2026-07-14 22:00:42 +00:00
N0zoM1z0 6de726ffdd test(hopper): retry after cancelled startup 2026-07-14 21:33:25 +00:00
N0zoM1z0 f46fc7f1f3 test: serialize subprocess-heavy integrations 2026-07-14 21:33:25 +00:00
N0zoM1z0 3d71737dc9 test(cli): verify packaged policy revocation 2026-07-14 21:32:23 +00:00
N0zoM1z0 3d5041fb2f test(reference): cover failure normalization 2026-07-14 21:32:23 +00:00
N0zoM1z0 1c32880e56 test(session): reopen replaced target through MCP 2026-07-14 21:27:52 +00:00
N0zoM1z0 1bdb59e201 test(runtime): cover idempotent handler cleanup 2026-07-14 21:20:24 +00:00
N0zoM1z0 40c6f60ac9 fix(process): restrict cleanup to captured group leaders 2026-07-14 21:16:57 +00:00
N0zoM1z0 4828326079 fix(process): settle exited zombie groups 2026-07-14 21:16:53 +00:00
N0zoM1z0 2223da1916 test: reduce test suite runtime 2026-07-14 21:08:27 +00:00
N0zoM1z0 a6b5ca4135 fix(application): add explicit investigation replay 2026-07-14 21:03:23 +00:00
N0zoM1z0 6cc2fdf80c fix(hopper): cancel startup before closing 2026-07-14 21:03:14 +00:00
N0zoM1z0 db202c2b6a test(hopper): cover verified Linux rejection 2026-07-14 20:54:22 +00:00
N0zoM1z0 e5a80d4f06 fix(session): isolate availability observers 2026-07-14 20:52:39 +00:00
N0zoM1z0 df87544a5d fix(setup): preserve client config symlinks 2026-07-14 20:50:07 +00:00
N0zoM1z0 9be24f8de1 fix(browser): observe direct target disconnects 2026-07-14 20:48:01 +00:00
N0zoM1z0 0aac8aaba5 fix(browser): preserve operation-aware cancellation errors 2026-07-14 20:48:01 +00:00
N0zoM1z0 1d1d234eed fix(upgrade): prevent version downgrades 2026-07-14 20:45:30 +00:00
N0zoM1z0 834c70cf4b fix(evidence): enforce the combined record limit 2026-07-14 20:42:47 +00:00