chore(evidence): refresh package layering refactor notes

This commit is contained in:
YeonGyu-Kim
2026-05-21 12:45:09 +09:00
parent fc0f4cc9ee
commit 95291fa4ed
14 changed files with 111 additions and 235 deletions
+5 -7
View File
@@ -1,8 +1,6 @@
Task 3 no-coupling evidence
PASS
- Extracted model resolution files into `packages/model-core/src` and replaced original `src/shared/*` with per-file shims.
- `packages/model-core/src/model-resolution-pipeline.ts` now accepts `providerCache: ProviderCache` and no longer imports `src/shared/connected-providers-cache` directly.
- `packages/model-core/src/model-error-classifier.ts` exposes `selectFallbackProviderWithCache(...)` and supports cache injection.
- OMO call-sites receive cache injection through shared adapters:
- `src/shared/model-resolution-pipeline.ts` injects `src/shared/connected-providers-cache` into model-core.
- `src/shared/model-error-classifier.ts` injects `src/shared/connected-providers-cache` into model-core.
Description: Verify that packages/model-core has no coupling back into src/ or OMO-specific internals.
Date: 2026-05-21T02:09:46Z
Method: grep -rE "@opencode-ai|from ['\"]opencode/|Bun\.|from ['\"]bun:" --exclude='*.test.ts' --exclude='*.audit.test.ts' packages/model-core/src/
Result: No violations — 0 matches. Package is clean with no upward coupling.