2.6 KiB
2.6 KiB
Tasks — Add @suaveplan/currency-provider-coingecko
Spec-completeness preflight (AGENTS.md §12a)
- Numbered checklist of every
### Requirementand#### Scenariodrafted inspecs/currency-provider-coingecko/spec.md(7 requirements added; see the spec delta).
Package scaffolding
- Create
packages/finance/currency-provider-coingecko/directory tree package.json—0.1.0, universal-tier,sideEffects: false, subpath exports for the feature modules, deps viaworkspace:^andcatalog:tsconfig.json,tsconfig.lib.jsonvite.config.ts(build),vitest.config.ts(test + 100/100/100/100)tests/setup/polyfills.tsREADME.md
Implementation
src/coin-ids/coin-ids.ts— curated symbol → CoinGecko-ID map +getCoinGeckoId()lookupsrc/coin-ids/coin-ids.md— sibling doc, ≥200 wordssrc/coin-ids/coin-ids.test.ts— full coverage of the lookupsrc/coin-ids/index.ts— explicit named barrelsrc/coingecko/coingecko.ts—CoinGeckoProviderclasssrc/coingecko/coingecko.md— sibling doc, ≥200 wordssrc/coingecko/coingecko.test.ts— keyless + Pro-key branches + everyCurrencyProviderErrorcode pathsrc/coingecko/index.ts— explicit named barrelsrc/index.ts— explicit named root barrel
Verification
bunx turbo lint typecheck test --filter=@suaveplan/currency-provider-coingeckobunx turbo test:coverage --filter=@suaveplan/currency-provider-coingeckoat 100/100/100/100bunx turbo build --filter=@suaveplan/currency-provider-coingecko- Banned-pattern scan zero
- Barrel-shape scan zero (no
export *in feature barrels) - Test-runner import scan zero (every test goes through
@suaveplan/testing/runner) - Missing
.mdscan zero README.mdpresent
Repo-doc refresh (AGENTS.md §13b)
- Add
currency-provider-coingeckotoscripts/folder-reorg/assignment.ymlunder the finance group bun scripts/folder-reorg/generate-manifest.ts→ refreshMANIFEST.mdbun scripts/generate-missing.ts→ refreshMISSING.yml- Update
STATUS.mdwith a row for the new package - Update
SUMMARY.mdper-package paragraph bunx markdownlint-cli2 --fixclean
Archive
- Fold
specs/currency-provider-coingecko/spec.mdintoopenspec/specs/currency-provider-coingecko/spec.md - Move
openspec/changes/add-currency-provider-coingecko/→openspec/archive/2026-05-17-add-currency-provider-coingecko/