Peter Steinberger
b4dfa950b5
refactor: tighten agent harness surfaces
...
Refactor the agent harness surface after PR #88821 by moving compaction dispatch into its own module, splitting the harness type into explicit capability interfaces, and renaming the private agent-core class declaration to `CoreAgentHarness` while preserving the exported `AgentHarness` contract.
Verification:
- `node scripts/run-vitest.mjs src/agents/harness/selection.test.ts src/agents/command/cli-compaction.test.ts src/agents/embedded-agent-runner/compact.hooks.test.ts packages/agent-core/src/agent-loop.test.ts packages/agent-core/src/harness/messages.test.ts`
- `pnpm build`
- autoreview clean
- `pnpm check:changed` passed on Testbox `tbx_01kt407hq8sv1csm287pdj3fmp`
- PR CI merge state `CLEAN`
2026-06-02 07:20:43 -04:00
..
2026-06-02 07:20:43 -04:00
2026-05-31 22:32:28 -04:00
2026-05-31 23:31:44 -04:00
2026-05-31 23:04:31 -04:00
2026-05-31 14:19:56 +01:00
2026-05-31 22:32:28 -04:00
2026-05-29 02:23:42 +01:00
2026-05-29 02:23:42 +01:00
2026-05-15 18:42:52 +01:00
2026-05-31 22:32:28 -04:00
2026-05-31 22:32:28 -04:00
2026-05-27 01:53:11 +01:00
2026-05-31 23:04:31 -04:00
2026-05-27 01:53:11 +01:00
2026-05-31 22:32:28 -04:00
2026-06-02 06:10:19 -04:00
2026-05-12 23:39:09 +01:00
2026-05-31 23:04:31 -04:00
2026-05-31 22:32:28 -04:00
2026-05-14 13:17:06 +08:00
2026-05-31 22:32:28 -04:00
2026-05-27 19:24:04 +01:00
2026-05-13 13:33:38 +01:00
2026-05-27 19:24:04 +01:00
2026-05-25 21:10:14 +01:00
2026-05-20 14:50:50 +01:00
2026-05-27 19:24:04 +01:00
2026-05-08 05:28:12 +01:00
2026-05-27 19:24:04 +01:00
2026-05-27 19:24:04 +01:00
2026-05-18 07:07:52 +01:00
2026-05-27 19:24:04 +01:00
2026-05-29 14:29:26 +08:00
2026-05-31 01:33:00 +01:00
2026-05-31 18:59:02 +01:00
2026-05-13 13:33:38 +01:00
2026-05-27 19:24:04 +01:00
2026-05-27 19:24:04 +01:00
2026-05-13 13:33:38 +01:00
2026-05-31 22:32:28 -04:00
2026-05-31 23:20:04 -04:00
2026-05-31 23:20:04 -04:00
2026-05-28 13:20:09 -04:00
2026-05-31 22:32:28 -04:00
2026-05-31 22:32:28 -04:00
2026-05-26 18:40:31 +01:00
2026-05-31 22:32:28 -04:00
2026-05-20 14:50:50 +01:00
2026-05-31 22:32:28 -04:00
2026-05-31 22:32:28 -04:00
2026-05-31 22:32:28 -04:00
2026-05-31 22:32:28 -04:00
2026-05-30 23:09:09 +01:00
2026-06-01 00:25:39 -04:00
2026-05-31 22:32:28 -04:00
2026-05-29 22:08:19 +02:00
2026-05-31 22:32:28 -04:00
2026-05-31 22:32:28 -04:00
2026-05-31 23:27:24 -04:00
2026-05-31 23:27:24 -04:00
2026-05-31 22:32:28 -04:00
2026-05-30 21:03:41 +01:00
2026-05-13 13:33:38 +01:00
2026-05-31 16:02:06 +01:00
2026-05-27 09:03:17 +01:00
2026-05-13 13:33:38 +01:00
2026-05-13 13:33:38 +01:00
2026-05-08 13:04:33 +01:00
2026-05-30 21:03:41 +01:00
2026-05-31 16:02:06 +01:00
2026-05-08 17:40:50 +01:00
2026-05-30 21:03:41 +01:00
2026-05-30 21:03:41 +01:00
2026-05-13 13:33:38 +01:00
2026-05-31 18:59:02 +01:00
2026-05-31 23:31:44 -04:00
2026-05-28 23:18:31 +01:00
2026-05-19 21:12:28 -07:00
2026-05-15 21:51:25 +01:00
2026-05-13 13:33:38 +01:00
2026-05-30 21:03:41 +01:00
2026-05-13 13:33:38 +01:00
2026-05-31 21:32:23 -04:00
2026-05-19 21:12:28 -07:00
2026-05-30 21:03:41 +01:00
2026-05-16 15:57:40 +01:00
2026-05-13 13:33:38 +01:00
2026-05-30 22:11:17 +01:00
2026-05-31 22:32:28 -04:00
2026-05-13 13:33:38 +01:00
2026-05-31 22:32:28 -04:00
2026-05-26 01:39:04 +01:00
2026-05-31 22:32:28 -04:00
2026-05-28 13:22:54 -04:00
2026-05-31 22:32:28 -04:00
2026-05-31 23:04:31 -04:00
2026-05-31 22:32:28 -04:00
2026-05-31 22:32:28 -04:00
2026-05-31 22:32:28 -04:00
2026-05-30 08:49:58 -04:00
2026-05-31 22:32:28 -04:00
2026-05-31 22:32:28 -04:00