Skip to content

feat(metrics): v1.88 Metrics Phase 2 — journal evidence + enrichments + docs#429

Merged
itcmsgr merged 3 commits intomainfrom
feat/v1.88-metrics-phase2
Apr 16, 2026
Merged

feat(metrics): v1.88 Metrics Phase 2 — journal evidence + enrichments + docs#429
itcmsgr merged 3 commits intomainfrom
feat/v1.88-metrics-phase2

Conversation

@itcmsgr
Copy link
Copy Markdown
Owner

@itcmsgr itcmsgr commented Apr 16, 2026

Summary

v1.88 Metrics Phase 2:

M88-1: Total processed packets (labeled as sum of all counters)
M88-2: Journal integration for LoginMon (bounded, evidence-backed)
M88-6: Anchor flow counters (labeled as pipeline stages)
M88-9: Evidence contract doc (docs/EVIDENCE_CONTRACT.md)
M88-10: Build status transparency page (docs/BUILD_STATUS.md)

Schema bumped to 1.88.0. LoginMon promoted from expected_limitation to evidence-backed. All metadata updated.

Remaining for v1.88

  • M88-3: Feed data freshness
  • M88-4: GeoIP DB freshness
  • M88-5: Per-module counter breakdown
  • M88-7: nft compatibility helpers
  • M88-8: Host-side CLI runtime gate in CI

🤖 Generated with Claude Code

M88-1: Total processed packets (sum of all counters, labeled clearly)
M88-2: Journal integration for LoginMon evidence
  - Bounded: 15m window, 500 lines, 3s timeout
  - Distinguishes exec failure (Unknown) from empty result (quiet)
  - LoginMon promoted from expected_limitation to evidence-backed
M88-6: Anchor flow counters (7 anchors, labeled as pipeline stages)

Evidence schema bumped to 1.88.0.
External plane added (JournalEvidenceResult).

Correlation updates:
- LoginMon: bans + validator agrees = match
- LoginMon: bans + validator idle = warning (shared counter)
- LoginMon: events only (no bans) = warning (partial evidence)
- LoginMon: no journal = unknown
- All defaults → unknown (conservative)

Renderer improvements:
- Total counted packets with explicit semantics note
- Anchor flow labeled "(pipeline stage transitions, not enforcement)"
- Journal evidence section (LoginMon bans/events in 15m window)
- Additional notes for LoginMon shared attribution and anchor meaning

Golden fixture updated. All metadata bumped to v1.88.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 16, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

M88-9: docs/EVIDENCE_CONTRACT.md
- Evidence states (present/absent/unknown)
- Counter/set/chain/journal semantics
- Correlation rules and allowed values
- nft command compatibility reference
- Schema version 1.88.0

M88-10: docs/BUILD_STATUS.md
- 26 CI workflows in transparency table
- Contract gates (G1-1, G2-3, G8-1/2/3/4, B86-1, M84-2)
- Runtime test inventory
- Known issues
- Health policy
- How to verify section

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@itcmsgr itcmsgr force-pushed the feat/v1.88-metrics-phase2 branch from a0f81cd to e6c30f6 Compare April 16, 2026 06:43
M88-3: Feed data freshness check
  - Scans /var/lib/nftban/feeds/ for newest file
  - Fresh if any file < 7 days old
  - Shows age in human renderer

M88-4: GeoIP DB freshness check
  - Checks /var/lib/nftban/geoip/dbip-country-lite.mmdb mtime
  - Fresh if < 45 days old
  - Shows age in human renderer

DataFreshnessResult added to EvidenceSnapshot.
Human renderer shows "Data Pipeline Freshness" section.
BUILD_STATUS.md updated per review (version, date, M87/M88 gates).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@itcmsgr itcmsgr merged commit 8ac73cf into main Apr 16, 2026
48 checks passed
@itcmsgr itcmsgr deleted the feat/v1.88-metrics-phase2 branch April 16, 2026 07:07
itcmsgr added a commit that referenced this pull request Apr 16, 2026
Journal-backed LoginMon evidence, feed/GeoIP freshness, anchor flow,
total packet counts, evidence contract doc, build status page.

PR: #429.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
itcmsgr added a commit that referenced this pull request Apr 16, 2026
…#430)

Journal-backed LoginMon evidence, feed/GeoIP freshness, anchor flow,
total packet counts, evidence contract doc, build status page.

PR: #429.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant