chore: format repo and fix lint config
This commit is contained in:
+6
-6
@@ -6,12 +6,12 @@ This is what makes PodMan "more useful the more you use it" — the ownership ma
|
||||
|
||||
## Collections
|
||||
|
||||
| Collection | Holds | Notes |
|
||||
|---|---|---|
|
||||
| `engineer_states` | Latest `EngineerContext` per engineer | Upserted on every `/ingest` call |
|
||||
| `ownership_map` | File → primary owner + contributors | Persists across sessions — the continual learning artifact |
|
||||
| `events` | Detected coordination events (DEPENDENCY_READY, BLOCKER_DETECTED, DUPLICATE_WORK) | Append-only |
|
||||
| `nudges` | Every voice nudge sent to the room | Used for cooldown checks (3 min between nudges) |
|
||||
| Collection | Holds | Notes |
|
||||
| ----------------- | --------------------------------------------------------------------------------- | ---------------------------------------------------------- |
|
||||
| `engineer_states` | Latest `EngineerContext` per engineer | Upserted on every `/ingest` call |
|
||||
| `ownership_map` | File → primary owner + contributors | Persists across sessions — the continual learning artifact |
|
||||
| `events` | Detected coordination events (DEPENDENCY_READY, BLOCKER_DETECTED, DUPLICATE_WORK) | Append-only |
|
||||
| `nudges` | Every voice nudge sent to the room | Used for cooldown checks (3 min between nudges) |
|
||||
|
||||
Full schemas with indexes in [`docs/mongodb.md`](../docs/mongodb.md).
|
||||
|
||||
|
||||
+7
-2
@@ -26,7 +26,9 @@ async function main() {
|
||||
name: 'vector_index',
|
||||
type: 'vectorSearch',
|
||||
definition: {
|
||||
fields: [{ type: 'vector', path: 'embedding', numDimensions: 1024, similarity: 'cosine' }],
|
||||
fields: [
|
||||
{ type: 'vector', path: 'embedding', numDimensions: 1024, similarity: 'cosine' },
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -38,4 +40,7 @@ async function main() {
|
||||
console.log('PodMan DB initialized.');
|
||||
await client.close();
|
||||
}
|
||||
main().catch((e) => { console.error(e); process.exit(1); });
|
||||
main().catch((e) => {
|
||||
console.error(e);
|
||||
process.exit(1);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user