Skip to content

Commit 81e5d4f

Browse files
author
chenbo
committed
Debounce OpenCode sidecar verification
1 parent 80fbb8e commit 81e5d4f

25 files changed

Lines changed: 8791 additions & 8538 deletions

.agent-context/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This document is generated from static repository signals. Treat it as a startin
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.
21-
- `benchmarks/fixtures/small-ts-app`: benchmarks/fixtures/small-ts-app contains 13 files.
21+
- `benchmarks/fixtures/small-ts-app`: benchmarks/fixtures/small-ts-app contains 17 files.
2222

2323
## Agent Guidance
2424
- Start with `AGENTS.md`, then read `key-files.md` for the highest-signal files.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
"benchmarks/fixtures/small-ts-app/**"
232232
],
233233
"imports": [],
234-
"summary": "benchmarks/fixtures/small-ts-app contains 13 files."
234+
"summary": "benchmarks/fixtures/small-ts-app contains 17 files."
235235
},
236236
{
237237
"name": "benchmarks/fixtures/monorepo/packages/api",

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

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,27 @@
6767
"sourceToRelatedTests": {
6868
"eslint.config.js": [],
6969
"prettier.config.cjs": [],
70+
"src/benchmarks/agent-benchmark.ts": [
71+
"test/agent-benchmark.test.ts",
72+
"benchmarks/fixtures/fastapi-app/tests/test_users.py",
73+
"benchmarks/fixtures/small-ts-app/test/api/login.test.ts",
74+
"benchmarks/fixtures/small-ts-app/test/auth/session.test.ts",
75+
"benchmarks/fixtures/react-app/src/auth/useAuthState.test.ts",
76+
"benchmarks/fixtures/react-app/src/components/LoginStatus.test.tsx",
77+
"benchmarks/fixtures/monorepo/packages/api/test/config.test.ts",
78+
"benchmarks/fixtures/monorepo/packages/config/test/loader.test.ts"
79+
],
80+
"src/benchmarks/benchmark.ts": [
81+
"test/agent-benchmark.test.ts",
82+
"test/benchmark.test.ts",
83+
"benchmarks/fixtures/fastapi-app/tests/test_users.py",
84+
"benchmarks/fixtures/small-ts-app/test/api/login.test.ts",
85+
"benchmarks/fixtures/small-ts-app/test/auth/session.test.ts",
86+
"benchmarks/fixtures/react-app/src/auth/useAuthState.test.ts",
87+
"benchmarks/fixtures/react-app/src/components/LoginStatus.test.tsx",
88+
"benchmarks/fixtures/monorepo/packages/api/test/config.test.ts",
89+
"benchmarks/fixtures/monorepo/packages/config/test/loader.test.ts"
90+
],
7091
"src/analyzers/generic.ts": [
7192
"test/analyzers.test.ts"
7293
],
@@ -88,26 +109,21 @@
88109
"src/analyzers/types.ts": [
89110
"test/analyzers.test.ts"
90111
],
91-
"src/benchmarks/agent-benchmark.ts": [
92-
"test/agent-benchmark.test.ts",
93-
"benchmarks/fixtures/fastapi-app/tests/test_users.py",
94-
"benchmarks/fixtures/small-ts-app/test/api/login.test.ts",
95-
"benchmarks/fixtures/small-ts-app/test/auth/session.test.ts",
96-
"benchmarks/fixtures/react-app/src/auth/useAuthState.test.ts",
97-
"benchmarks/fixtures/react-app/src/components/LoginStatus.test.tsx",
98-
"benchmarks/fixtures/monorepo/packages/api/test/config.test.ts",
99-
"benchmarks/fixtures/monorepo/packages/config/test/loader.test.ts"
112+
"src/cli/capp-commands.ts": [
113+
"test/capp-commands.test.ts"
100114
],
101-
"src/benchmarks/benchmark.ts": [
102-
"test/agent-benchmark.test.ts",
103-
"test/benchmark.test.ts",
104-
"benchmarks/fixtures/fastapi-app/tests/test_users.py",
105-
"benchmarks/fixtures/small-ts-app/test/api/login.test.ts",
106-
"benchmarks/fixtures/small-ts-app/test/auth/session.test.ts",
107-
"benchmarks/fixtures/react-app/src/auth/useAuthState.test.ts",
108-
"benchmarks/fixtures/react-app/src/components/LoginStatus.test.tsx",
109-
"benchmarks/fixtures/monorepo/packages/api/test/config.test.ts",
110-
"benchmarks/fixtures/monorepo/packages/config/test/loader.test.ts"
115+
"src/cli/default-command.ts": [
116+
"test/default-command.test.ts"
117+
],
118+
"src/cli/index.ts": [
119+
"test/fixtures/monorepo/packages/api/src/index.ts",
120+
"test/fixtures/monorepo/packages/web/src/index.ts"
121+
],
122+
"src/cli/opencode-preset.ts": [
123+
"test/opencode-preset.test.ts"
124+
],
125+
"src/cli/task-args.ts": [
126+
"test/task-args.test.ts"
111127
],
112128
"src/config/defaults.ts": [
113129
"test/config.test.ts",
@@ -131,25 +147,6 @@
131147
"benchmarks/fixtures/monorepo/packages/config/test/loader.test.ts",
132148
"test/fixtures/monorepo/packages/api/src/config.ts"
133149
],
134-
"src/cli/capp-commands.ts": [
135-
"test/capp-commands.test.ts"
136-
],
137-
"src/cli/default-command.ts": [
138-
"test/default-command.test.ts"
139-
],
140-
"src/cli/index.ts": [
141-
"test/fixtures/monorepo/packages/api/src/index.ts",
142-
"test/fixtures/monorepo/packages/web/src/index.ts"
143-
],
144-
"src/cli/opencode-preset.ts": [
145-
"test/opencode-preset.test.ts"
146-
],
147-
"src/cli/task-args.ts": [
148-
"test/task-args.test.ts"
149-
],
150-
"src/harness/types.ts": [
151-
"test/task-harness.test.ts"
152-
],
153150
"src/core/cache.ts": [
154151
"test/cache.test.ts"
155152
],
@@ -228,13 +225,16 @@
228225
"test/contract-validator.test.ts",
229226
"test/validator.test.ts"
230227
],
228+
"src/harness/types.ts": [
229+
"test/task-harness.test.ts"
230+
],
231231
"src/integrations/codegraph.ts": [
232232
"test/codegraph.test.ts"
233233
],
234+
"src/llm/provider.ts": [],
234235
"src/mcp/server.ts": [
235236
"test/mcp.test.ts"
236237
],
237-
"src/llm/provider.ts": [],
238238
"src/outputs/agent-events.ts": [
239239
"test/agent-events.test.ts"
240240
],
@@ -582,7 +582,7 @@
582582
"test/fixtures/monorepo/packages/web/src/index.ts",
583583
"test/fixtures/next-app/src/app/api/login/route.ts"
584584
],
585-
"benchmarks/fixtures/small-ts-app/src/auth/middleware.ts": [
585+
"benchmarks/fixtures/small-ts-app/src/api/login.ts": [
586586
"test/fixtures.test.ts",
587587
"test/fixtures/monorepo/package.json",
588588
"test/fixtures/monorepo/pnpm-workspace.yaml",
@@ -607,7 +607,7 @@
607607
"test/fixtures/monorepo/packages/web/src/index.ts",
608608
"test/fixtures/next-app/src/app/api/login/route.ts"
609609
],
610-
"benchmarks/fixtures/small-ts-app/src/auth/session.ts": [
610+
"benchmarks/fixtures/small-ts-app/src/billing/audit.ts": [
611611
"test/fixtures.test.ts",
612612
"test/fixtures/monorepo/package.json",
613613
"test/fixtures/monorepo/pnpm-workspace.yaml",
@@ -632,7 +632,7 @@
632632
"test/fixtures/monorepo/packages/web/src/index.ts",
633633
"test/fixtures/next-app/src/app/api/login/route.ts"
634634
],
635-
"benchmarks/fixtures/small-ts-app/src/api/login.ts": [
635+
"benchmarks/fixtures/small-ts-app/src/billing/invoice.ts": [
636636
"test/fixtures.test.ts",
637637
"test/fixtures/monorepo/package.json",
638638
"test/fixtures/monorepo/pnpm-workspace.yaml",
@@ -657,7 +657,7 @@
657657
"test/fixtures/monorepo/packages/web/src/index.ts",
658658
"test/fixtures/next-app/src/app/api/login/route.ts"
659659
],
660-
"benchmarks/fixtures/small-ts-app/src/billing/audit.ts": [
660+
"benchmarks/fixtures/small-ts-app/src/auth/middleware.ts": [
661661
"test/fixtures.test.ts",
662662
"test/fixtures/monorepo/package.json",
663663
"test/fixtures/monorepo/pnpm-workspace.yaml",
@@ -682,7 +682,7 @@
682682
"test/fixtures/monorepo/packages/web/src/index.ts",
683683
"test/fixtures/next-app/src/app/api/login/route.ts"
684684
],
685-
"benchmarks/fixtures/small-ts-app/src/billing/invoice.ts": [
685+
"benchmarks/fixtures/small-ts-app/src/auth/session.ts": [
686686
"test/fixtures.test.ts",
687687
"test/fixtures/monorepo/package.json",
688688
"test/fixtures/monorepo/pnpm-workspace.yaml",
@@ -732,7 +732,7 @@
732732
"test/fixtures/monorepo/packages/web/src/index.ts",
733733
"test/fixtures/next-app/src/app/api/login/route.ts"
734734
],
735-
"benchmarks/fixtures/react-app/src/billing/audit.ts": [
735+
"benchmarks/fixtures/react-app/src/components/LoginStatus.tsx": [
736736
"test/fixtures.test.ts",
737737
"test/fixtures/monorepo/package.json",
738738
"test/fixtures/monorepo/pnpm-workspace.yaml",
@@ -757,7 +757,7 @@
757757
"test/fixtures/monorepo/packages/web/src/index.ts",
758758
"test/fixtures/next-app/src/app/api/login/route.ts"
759759
],
760-
"benchmarks/fixtures/react-app/src/billing/invoice.ts": [
760+
"benchmarks/fixtures/react-app/src/billing/audit.ts": [
761761
"test/fixtures.test.ts",
762762
"test/fixtures/monorepo/package.json",
763763
"test/fixtures/monorepo/pnpm-workspace.yaml",
@@ -782,7 +782,7 @@
782782
"test/fixtures/monorepo/packages/web/src/index.ts",
783783
"test/fixtures/next-app/src/app/api/login/route.ts"
784784
],
785-
"benchmarks/fixtures/react-app/src/components/LoginStatus.tsx": [
785+
"benchmarks/fixtures/react-app/src/billing/invoice.ts": [
786786
"test/fixtures.test.ts",
787787
"test/fixtures/monorepo/package.json",
788788
"test/fixtures/monorepo/pnpm-workspace.yaml",
@@ -884,8 +884,7 @@
884884
"test/fixtures/monorepo/packages/web/src/index.ts",
885885
"test/fixtures/next-app/src/app/api/login/route.ts"
886886
],
887-
"benchmarks/fixtures/monorepo/packages/web/src/app.ts": [
888-
"test/capp-commands.test.ts",
887+
"benchmarks/fixtures/monorepo/packages/shared/src/metrics.ts": [
889888
"test/fixtures.test.ts",
890889
"test/fixtures/monorepo/package.json",
891890
"test/fixtures/monorepo/pnpm-workspace.yaml",
@@ -910,8 +909,8 @@
910909
"test/fixtures/monorepo/packages/web/src/index.ts",
911910
"test/fixtures/next-app/src/app/api/login/route.ts"
912911
],
913-
"benchmarks/fixtures/monorepo/packages/web/src/config.ts": [
914-
"test/config.test.ts",
912+
"benchmarks/fixtures/monorepo/packages/web/src/app.ts": [
913+
"test/capp-commands.test.ts",
915914
"test/fixtures.test.ts",
916915
"test/fixtures/monorepo/package.json",
917916
"test/fixtures/monorepo/pnpm-workspace.yaml",
@@ -936,7 +935,8 @@
936935
"test/fixtures/monorepo/packages/web/src/index.ts",
937936
"test/fixtures/next-app/src/app/api/login/route.ts"
938937
],
939-
"benchmarks/fixtures/monorepo/packages/shared/src/metrics.ts": [
938+
"benchmarks/fixtures/monorepo/packages/web/src/config.ts": [
939+
"test/config.test.ts",
940940
"test/fixtures.test.ts",
941941
"test/fixtures/monorepo/package.json",
942942
"test/fixtures/monorepo/pnpm-workspace.yaml",

0 commit comments

Comments
 (0)