fix-forge-created-date
🐛 Bug Fixes
Forge: select new documents by createdDate (neo / agent deposits)
Goal: Neo-backend, scripts, and Tower v2 write createdDate only. Forge fetch-new-docs filtered on legacy Mongoose created, so those documents were never picked for anchoring (0/0 confirmed in admin).
Solution: Match and project createdDate in the protect pipeline. No DB migration needed — legacy manual deposits already have createdDate.
Features:
fetch-new-docsusescreatedDateinstead ofcreated- Unit tests on the aggregation pipeline
Files Modified:
src/database/requests/fetch-new-docs.tssrc/database/requests/fetch-new-docs.spec.ts
🔒 Security
Dependency upgrades for clean snyk test (CI gate)
Goal: CI runs snyk test on the full lockfile; all reported issues must be resolved, not dismissed as preexisting.
Solution: Bump OpenTelemetry (sdk-node@0.220, exporter-trace-otlp-proto@0.219, resources@2), migrate main.ts to resourceFromAttributes, and add overrides / direct upgrades for @grpc/grpc-js, protobufjs, multer, body-parser, form-data, brace-expansion, ws. NestJS 11.1.28, ethers@6.17, joi@17.13.4.
Files Modified:
package.json/package-lock.jsonsrc/main.ts