Skip to content

Commit c8c64e7

Browse files
author
chenbo
committed
Run full guard stack in sidecar verify
1 parent 1c67434 commit c8c64e7

36 files changed

Lines changed: 7719 additions & 6969 deletions

.agent-context/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This document is generated from static repository signals. Treat it as a startin
1414
- `core`: core contains 18 files and depends on analyzers, config, llm, outputs.
1515
- `harness`: harness contains 9 files and depends on core, outputs, sandbox.
1616
- `retrievers`: retrievers contains 7 files and depends on core, integrations, outputs.
17-
- `integrations`: integrations contains 5 files and depends on core, outputs, retrievers.
17+
- `integrations`: integrations contains 5 files and depends on core, harness, outputs, retrievers.
1818
- `benchmarks`: benchmarks contains 25 files and depends on core, harness, outputs.
1919
- `cli`: cli contains 5 files and depends on benchmarks, config, core, harness, integrations, outputs, retrievers.
2020
- `analyzers`: analyzers contains 6 files and depends on core.

.agent-context/contracts/architecture.contract.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,11 @@
180180
],
181181
"imports": [
182182
"core",
183+
"harness",
183184
"outputs",
184185
"retrievers"
185186
],
186-
"summary": "integrations contains 5 files and depends on core, outputs, retrievers."
187+
"summary": "integrations contains 5 files and depends on core, harness, outputs, retrievers."
187188
},
188189
{
189190
"name": "benchmarks",

.agent-context/contracts/module-boundaries.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@
245245
"benchmarks/fixtures/monorepo/packages/shared/**",
246246
"src/config/**",
247247
"src/core/**",
248+
"src/harness/**",
248249
"src/integrations/**",
249250
"src/outputs/**",
250251
"src/retrievers/**"
@@ -261,6 +262,7 @@
261262
],
262263
"observedImports": [
263264
"core",
265+
"harness",
264266
"outputs",
265267
"retrievers"
266268
],

.agent-context/contracts/test.contract.json

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,6 @@
147147
"benchmarks/fixtures/monorepo/packages/config/test/loader.test.ts",
148148
"test/fixtures/monorepo/packages/api/src/config.ts"
149149
],
150-
"src/harness/types.ts": [
151-
"test/task-harness.test.ts"
152-
],
153150
"src/core/cache.ts": [
154151
"test/cache.test.ts"
155152
],
@@ -165,6 +162,7 @@
165162
"test/hallucination-guard.test.ts",
166163
"test/impact.test.ts",
167164
"test/loop-controller.test.ts",
165+
"test/opencode-launcher.test.ts",
168166
"test/policy-engine.test.ts",
169167
"test/regression-guard.test.ts",
170168
"test/retrievers.test.ts",
@@ -227,13 +225,16 @@
227225
"test/contract-validator.test.ts",
228226
"test/validator.test.ts"
229227
],
228+
"src/harness/types.ts": [
229+
"test/task-harness.test.ts"
230+
],
230231
"src/integrations/codegraph.ts": [
231232
"test/codegraph.test.ts"
232233
],
234+
"src/llm/provider.ts": [],
233235
"src/mcp/server.ts": [
234236
"test/mcp.test.ts"
235237
],
236-
"src/llm/provider.ts": [],
237238
"src/outputs/agent-events.ts": [
238239
"test/agent-events.test.ts"
239240
],
@@ -311,6 +312,14 @@
311312
"src/sandbox/git-worktree-sandbox.ts": [],
312313
"src/sandbox/host-sandbox.ts": [],
313314
"src/sandbox/sandbox-adapter.ts": [],
315+
"src/harness/observability/execution-trace.ts": [
316+
"test/execution-trace.test.ts",
317+
"test/hallucination-guard.test.ts",
318+
"test/loop-controller.test.ts",
319+
"test/orchestrator.test.ts",
320+
"test/policy-engine.test.ts",
321+
"test/task-harness.test.ts"
322+
],
314323
"src/harness/control-plane/decision-engine.ts": [
315324
"test/task-harness.test.ts"
316325
],
@@ -323,14 +332,6 @@
323332
"test/orchestrator.test.ts",
324333
"test/task-harness.test.ts"
325334
],
326-
"src/harness/observability/execution-trace.ts": [
327-
"test/execution-trace.test.ts",
328-
"test/hallucination-guard.test.ts",
329-
"test/loop-controller.test.ts",
330-
"test/orchestrator.test.ts",
331-
"test/policy-engine.test.ts",
332-
"test/task-harness.test.ts"
333-
],
334335
"src/harness/verification-plane/policy-engine.ts": [
335336
"test/hallucination-guard.test.ts",
336337
"test/policy-engine.test.ts",
@@ -362,6 +363,7 @@
362363
"test/freshness.test.ts",
363364
"test/hallucination-guard.test.ts",
364365
"test/loop-controller.test.ts",
366+
"test/opencode-launcher.test.ts",
365367
"test/policy-engine.test.ts",
366368
"test/regression-guard.test.ts",
367369
"test/validator.test.ts",
@@ -680,7 +682,7 @@
680682
"test/fixtures/monorepo/packages/web/src/index.ts",
681683
"test/fixtures/next-app/src/app/api/login/route.ts"
682684
],
683-
"benchmarks/fixtures/small-ts-app/src/auth/middleware.ts": [
685+
"benchmarks/fixtures/small-ts-app/src/api/login.ts": [
684686
"test/fixtures.test.ts",
685687
"test/fixtures/monorepo/package.json",
686688
"test/fixtures/monorepo/pnpm-workspace.yaml",
@@ -705,7 +707,7 @@
705707
"test/fixtures/monorepo/packages/web/src/index.ts",
706708
"test/fixtures/next-app/src/app/api/login/route.ts"
707709
],
708-
"benchmarks/fixtures/small-ts-app/src/auth/session.ts": [
710+
"benchmarks/fixtures/small-ts-app/src/auth/middleware.ts": [
709711
"test/fixtures.test.ts",
710712
"test/fixtures/monorepo/package.json",
711713
"test/fixtures/monorepo/pnpm-workspace.yaml",
@@ -730,7 +732,7 @@
730732
"test/fixtures/monorepo/packages/web/src/index.ts",
731733
"test/fixtures/next-app/src/app/api/login/route.ts"
732734
],
733-
"benchmarks/fixtures/small-ts-app/src/api/login.ts": [
735+
"benchmarks/fixtures/small-ts-app/src/auth/session.ts": [
734736
"test/fixtures.test.ts",
735737
"test/fixtures/monorepo/package.json",
736738
"test/fixtures/monorepo/pnpm-workspace.yaml",

.agent-context/dependency-graph.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ graph TD
2525
harness["harness"] --> outputs["outputs"]
2626
harness["harness"] --> sandbox["sandbox"]
2727
integrations["integrations"] --> core["core"]
28+
integrations["integrations"] --> harness["harness"]
2829
integrations["integrations"] --> outputs["outputs"]
2930
integrations["integrations"] --> retrievers["retrievers"]
3031
llm["llm"] --> core["core"]
@@ -76,8 +77,9 @@ graph TD
7677
| harness | core | 17 |
7778
| harness | outputs | 26 |
7879
| harness | sandbox | 3 |
79-
| integrations | core | 7 |
80-
| integrations | outputs | 1 |
80+
| integrations | core | 8 |
81+
| integrations | harness | 3 |
82+
| integrations | outputs | 5 |
8183
| integrations | retrievers | 1 |
8284
| llm | core | 1 |
8385
| mcp | core | 1 |
@@ -95,10 +97,10 @@ graph TD
9597
| test | benchmarks | 2 |
9698
| test | cli | 4 |
9799
| test | config | 3 |
98-
| test | core | 45 |
100+
| test | core | 46 |
99101
| test | harness | 14 |
100102
| test | integrations | 5 |
101103
| test | mcp | 1 |
102-
| test | outputs | 22 |
104+
| test | outputs | 23 |
103105
| test | retrievers | 1 |
104106
| test/fixtures/monorepo/packages/web | test/fixtures/monorepo/packages/api | 1 |

0 commit comments

Comments
 (0)