Skip to content

feat(infra,analytics): startup probes, AWS Macie discovery, multi-tenancy framework, authenticity dashboard - #1067

Open
Ummi-001 wants to merge 1 commit into
PinSpace-Org:mainfrom
Ummi-001:feat/infra-analytics-issues-798-919-920-921
Open

feat(infra,analytics): startup probes, AWS Macie discovery, multi-tenancy framework, authenticity dashboard#1067
Ummi-001 wants to merge 1 commit into
PinSpace-Org:mainfrom
Ummi-001:feat/infra-analytics-issues-798-919-920-921

Conversation

@Ummi-001

Copy link
Copy Markdown
Contributor

Summary

Single PR resolving all four issues currently assigned to @Ummi-001.

Closes #921 – Kubernetes container startup probe configuration

  • infrastructure/k8s/probes/startup-probes.yaml: canonical startup-probe snippets for backend, frontend, analytics and postgres
  • backend-deployment.yaml gains a startupProbe (30×10s = 300s budget) that gates liveness/readiness; their initialDelaySeconds dropped to 5s/1s so steady-state crashes are still caught fast
  • infrastructure/docs/startup-probes.md documents probe semantics, sizing rule (threshold × period ≈ 2× p99 startup) and per-service rationale

Closes #920 – AWS Macie sensitive data discovery

  • terraform/macie.tf: Macie enablement, encrypted/versioned findings bucket, daily scheduled classification job over uploads/backups/logs buckets, EventBridge severity routing (Critical/High → existing alerts SNS, Low/Medium → digest topic), remediation playbook summary
  • terraform/macie-identifiers.tf: custom data identifiers for Stellar secret keys (S...), public keys, service API tokens and DB connection strings, attached to a scheduled scan
  • monitoring/macie-alerts.yml: Prometheus/Alertmanager rules with severity-routed receivers + scan-job health alerts

Closes #919 – Kubernetes multi-tenancy isolation framework

  • k8s/multi-tenancy/tenant-template.yaml: per-tenant namespace, tier-sized ResourceQuota + LimitRange, default-deny NetworkPolicies (intra-tenant + DNS-only egress), scoped RBAC, pod-security labels — 9-document template
  • scripts/onboard-tenant.sh: validates RFC-1123 tenant names, renders quotas by tier via envsubst, applies, verifies isolation objects
  • docs/multi-tenancy.md: architecture, virtual-cluster (vcluster) approach for control-plane tenants, verification/offboarding runbook

Closes #798 – Content authenticity score dashboard

  • analytics/lib/authenticity-score.ts: weighted-blend scoring model over five spam signals (lexical originality, link-spam ratio, engagement authenticity, author reputation, formatting quality), report penalties, distribution buckets, 6-week trend series, CSV export of flagged content
  • analytics/app/authenticity/page.tsx: KPI cards, score-distribution histogram, improvement-over-time line chart, flagged-content table with export button

Verification

  • All YAML parses (multi-doc validated); bash -n passes on the onboarding script
  • Analytics app tsc --noEmit: clean for both new files (remaining project errors are pre-existing in untouched files)

… framework, authenticity dashboard

- k8s: add startup probes for all services (gates liveness/readiness) (PinSpace-Org#921)
- terraform: enable AWS Macie with scheduled S3 scanning and custom data identifiers (PinSpace-Org#920)
- monitoring: severity-routed Macie alert rules
- k8s: tenant isolation template + onboarding automation for shared-cluster multi-tenancy (PinSpace-Org#919)
- analytics: content authenticity scoring model and dashboard with distribution, trend, flagging and export (PinSpace-Org#798)

Closes PinSpace-Org#921, closes PinSpace-Org#920, closes PinSpace-Org#919, closes PinSpace-Org#798
@drips-wave

drips-wave Bot commented Aug 24, 2026

Copy link
Copy Markdown

@Ummi-001 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant