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,34 @@
# Tasks — network-observability-consolidation
## Phase 1: Audit + decision
- [x] 1.1 Diff upstream `network-observability` exports against shipped `network-plugin-monitor`.
- [x] 1.2 Identify capabilities unique to upstream — Prometheus exposition, Grafana dashboard generator, OTel SDK bridge.
- [x] 1.3 Chose **Option A — fold**. OTel SDK bridge dropped as redundant.
- [x] 1.4 Updated proposal's parity table with finalised verdicts.
## Phase 2: Implementation (Option A — fold)
- [x] 2.1 Added `src/prometheus/prometheus-exposition.{ts,md,test.ts}` and `src/grafana/dashboard-generator.{ts,md,test.ts}`.
- [x] 2.2 Both modules ≤300 LOC with sibling `.md` (>200 words, basic + advanced examples).
- [x] 2.3 No new OTel instruments needed — upstream OTel SDK bridge is redundant given monitor already emits via `@opentelemetry/api`.
- [x] 2.4 Root barrel `src/index.ts` updated with explicit named exports (CLAUDE.md §6a).
## Phase 3: Cleanup
- [x] 3.1 Removed `@suaveplan/network-observability` row from `STATUS.md` / `SUMMARY.md`.
- [x] 3.2 Added supersession row to `STATUS.md`.
## Phase 4: Verification
- [x] 4.1 `bunx turbo lint typecheck test --filter=@suaveplan/network-plugin-monitor` green.
- [x] 4.2 `bunx turbo test:coverage` 100/100/100/100 across all 12 source files.
- [x] 4.3 `bun run docs:check` reports 13/13 (100%).
## Pre-archive checklist
- [ ] Row 1 — Decision (A or B) recorded in this proposal.
- [ ] Row 2 — Implementation matches the decision.
- [ ] Row 3 — Phase 4 green.
- [ ] Row 4 — `STATUS.md` supersession table updated.
- [ ] Row 5 — Folder archived.