Skip to content

Commit 987e044

Browse files
author
chenbo
committed
Add sidecar command guard
1 parent 6821891 commit 987e044

32 files changed

Lines changed: 28115 additions & 26385 deletions

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

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -87,19 +87,6 @@
8787
"src/analyzers/types.ts": [
8888
"test/analyzers.test.ts"
8989
],
90-
"src/cli/default-command.ts": [
91-
"test/default-command.test.ts"
92-
],
93-
"src/cli/index.ts": [
94-
"test/fixtures/monorepo/packages/api/src/index.ts",
95-
"test/fixtures/monorepo/packages/web/src/index.ts"
96-
],
97-
"src/cli/opencode-preset.ts": [
98-
"test/opencode-preset.test.ts"
99-
],
100-
"src/cli/task-args.ts": [
101-
"test/task-args.test.ts"
102-
],
10390
"src/benchmarks/agent-benchmark.ts": [
10491
"test/agent-benchmark.test.ts",
10592
"benchmarks/fixtures/fastapi-app/tests/test_users.py",
@@ -121,6 +108,19 @@
121108
"benchmarks/fixtures/monorepo/packages/api/test/config.test.ts",
122109
"benchmarks/fixtures/monorepo/packages/config/test/loader.test.ts"
123110
],
111+
"src/cli/default-command.ts": [
112+
"test/default-command.test.ts"
113+
],
114+
"src/cli/index.ts": [
115+
"test/fixtures/monorepo/packages/api/src/index.ts",
116+
"test/fixtures/monorepo/packages/web/src/index.ts"
117+
],
118+
"src/cli/opencode-preset.ts": [
119+
"test/opencode-preset.test.ts"
120+
],
121+
"src/cli/task-args.ts": [
122+
"test/task-args.test.ts"
123+
],
124124
"src/config/defaults.ts": [
125125
"test/config.test.ts",
126126
"test/scanner.test.ts",
@@ -143,9 +143,6 @@
143143
"benchmarks/fixtures/monorepo/packages/config/test/loader.test.ts",
144144
"test/fixtures/monorepo/packages/api/src/config.ts"
145145
],
146-
"src/harness/types.ts": [
147-
"test/task-harness.test.ts"
148-
],
149146
"src/core/cache.ts": [
150147
"test/cache.test.ts"
151148
],
@@ -223,6 +220,9 @@
223220
"test/contract-validator.test.ts",
224221
"test/validator.test.ts"
225222
],
223+
"src/harness/types.ts": [
224+
"test/task-harness.test.ts"
225+
],
226226
"src/integrations/codegraph.ts": [
227227
"test/codegraph.test.ts"
228228
],
@@ -254,9 +254,6 @@
254254
"src/retrievers/types.ts": [
255255
"test/retrievers.test.ts"
256256
],
257-
"src/sandbox/git-worktree-sandbox.ts": [],
258-
"src/sandbox/host-sandbox.ts": [],
259-
"src/sandbox/sandbox-adapter.ts": [],
260257
"src/outputs/agent-events.ts": [
261258
"test/agent-events.test.ts"
262259
],
@@ -307,6 +304,9 @@
307304
"src/outputs/token-savings.ts": [
308305
"test/token-savings.test.ts"
309306
],
307+
"src/sandbox/git-worktree-sandbox.ts": [],
308+
"src/sandbox/host-sandbox.ts": [],
309+
"src/sandbox/sandbox-adapter.ts": [],
310310
"src/harness/control-plane/decision-engine.ts": [
311311
"test/task-harness.test.ts"
312312
],
@@ -699,7 +699,7 @@
699699
"test/fixtures/monorepo/packages/web/src/index.ts",
700700
"test/fixtures/next-app/src/app/api/login/route.ts"
701701
],
702-
"benchmarks/fixtures/react-app/src/auth/useAuthState.ts": [
702+
"benchmarks/fixtures/react-app/src/billing/audit.ts": [
703703
"test/fixtures.test.ts",
704704
"test/fixtures/monorepo/package.json",
705705
"test/fixtures/monorepo/pnpm-workspace.yaml",
@@ -724,7 +724,7 @@
724724
"test/fixtures/monorepo/packages/web/src/index.ts",
725725
"test/fixtures/next-app/src/app/api/login/route.ts"
726726
],
727-
"benchmarks/fixtures/react-app/src/billing/audit.ts": [
727+
"benchmarks/fixtures/react-app/src/billing/invoice.ts": [
728728
"test/fixtures.test.ts",
729729
"test/fixtures/monorepo/package.json",
730730
"test/fixtures/monorepo/pnpm-workspace.yaml",
@@ -749,7 +749,7 @@
749749
"test/fixtures/monorepo/packages/web/src/index.ts",
750750
"test/fixtures/next-app/src/app/api/login/route.ts"
751751
],
752-
"benchmarks/fixtures/react-app/src/billing/invoice.ts": [
752+
"benchmarks/fixtures/react-app/src/auth/useAuthState.ts": [
753753
"test/fixtures.test.ts",
754754
"test/fixtures/monorepo/package.json",
755755
"test/fixtures/monorepo/pnpm-workspace.yaml",

.agent-context/dependency-graph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ graph TD
7676
| harness | core | 17 |
7777
| harness | outputs | 26 |
7878
| harness | sandbox | 3 |
79-
| integrations | core | 6 |
79+
| integrations | core | 7 |
8080
| integrations | outputs | 1 |
8181
| integrations | retrievers | 1 |
8282
| llm | core | 1 |

0 commit comments

Comments
 (0)