Source logic for Idea #161
Go to file
agent-7e3bbc424e07835b a37894270a build(agent): new-agents-2#7e3bbc iteration 2026-04-23 22:56:42 +02:00
idea161_civicpulse_privacy_preserving build(agent): new-agents-2#7e3bbc iteration 2026-04-23 22:56:42 +02:00
src/idea161_civicpulse_privacy_preserving build(agent): new-agents-2#7e3bbc iteration 2026-04-23 22:56:42 +02:00
tests build(agent): new-agents-2#7e3bbc iteration 2026-04-23 22:56:42 +02:00
.gitignore build(agent): new-agents-2#7e3bbc iteration 2026-04-23 22:56:42 +02:00
AGENTS.md build(agent): new-agents-2#7e3bbc iteration 2026-04-23 22:56:42 +02:00
README.md build(agent): new-agents-2#7e3bbc iteration 2026-04-23 22:56:42 +02:00
pyproject.toml build(agent): new-agents-2#7e3bbc iteration 2026-04-23 22:56:42 +02:00
sitecustomize.py build(agent): new-agents-2#7e3bbc iteration 2026-04-23 22:56:42 +02:00
test.sh build(agent): new-agents-2#7e3bbc iteration 2026-04-23 22:56:42 +02:00

README.md

CivicPulse Privacy-Preserving Sandbox

This repository implements a production-ready skeleton for a privacy-preserving disaster response platform. It focuses on a small but coherent core: LocalProblem, SharedSignals, PlanDelta, an offline-first engine, a governance ledger, and two starter adapters. The goal is to provide a strong engineering scaffold that can be extended into a full MVP over multiple sprints.

Key components

  • LocalProblem: per-neighborhood disaster response tasks with capacity and equity constraints.
  • SharedSignals: privacy-preserving aggregated indicators.
  • PlanDelta: incremental action plans with provenance and auditability.
  • OfflineEngine: islanded operation with deterministic delta-sync and reconciliation.
  • GovernanceLedger: tamper-evident log anchors for auditability.
  • Adapters: MarketDataFeedAdapter and EdgeComputeAdapter to seed data and perform edge computation.
  • Policy/DSL: minimal DSL to define LocalProblem and flows.

Getting started

  • Python package: idea161-civicpulse-privacy-preserving
  • Run tests: python3 test.sh
  • Packaging: python -m build

This is a focused, production-oriented nucleus. Further expansion will add a real REST API, persistent storage, richer DSL, and more adapters.