Initial Commit

This commit is contained in:
2026-05-27 23:29:53 +01:00
commit fbc70f96e6
10000 changed files with 1102152 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# Tasks: network-plugin-partition
- [x] 1. Write `openspec/changes/network-plugin-partition/proposal.md`
- [x] 2. Write `openspec/changes/network-plugin-partition/tasks.md`
- [x] 3. Scaffold `packages/network/network-plugin-partition/package.json`, `tsconfig.json`, `vitest.config.ts`
- [x] 4. Implement `src/error-codes.ts` with `PARTITION_CODES`
- [x] 5. Implement `src/detector/partition-detector.ts` — epoch tracking, reachable-set hashing
- [x] 6. Implement `src/quorum/quorum-resolver.ts` — size/performance/age/hybrid strategies
- [x] 7. Implement `src/merge/merge-protocol.ts` — registry, topology, audit reconciliation
- [x] 8. Write `src/detector/detector.spec-conformance.test.ts`
- [x] 9. Write `src/quorum/quorum.spec-conformance.test.ts`
- [x] 10. Write `src/merge/merge.spec-conformance.test.ts`
- [x] 11. Write `tests/integration/partition.spec-conformance.test.ts`
- [x] 12. Write `tests/dep-graph.test.ts`
- [x] 13. Run `bunx turbo lint typecheck test --filter=@suaveplan/network-plugin-partition` and achieve 100/100/100/100 coverage