**Context** Same reserved slot in `extractors/index.ts` (`// new MongooseExtractor()`). **Scope** Parse `new Schema({...})` / `mongoose.Schema(...)` definitions. Fields come from schema object keys; relations from `ref: 'ModelName'`. **Acceptance criteria** - [ ] `canHandle()` detects Mongoose usage (import from `mongoose`) - [ ] `extract()` maps schema keys to `FieldInfo`, `ref` fields to `isRelation` - [ ] Registered in `EXTRACTORS`, distinct from the raw-driver `NoSQLExtractor` in #1 - [ ] `source` union extended with `"mongoose"` - [ ] Tests added
Context
Same reserved slot in
extractors/index.ts(// new MongooseExtractor()).Scope
Parse
new Schema({...})/mongoose.Schema(...)definitions. Fields come from schema object keys; relations fromref: 'ModelName'.Acceptance criteria
canHandle()detects Mongoose usage (import frommongoose)extract()maps schema keys toFieldInfo,reffields toisRelationEXTRACTORS, distinct from the raw-driverNoSQLExtractorin Document agent contribution workflow #1sourceunion extended with"mongoose"