feat: community module — PostgreSQL pool, migration runner, CommunityPost, SharedStore (MIT) #47
Labels
No labels
architecture
backlog
enhancement
module:documents
module:hardware
module:manage
module:pipeline
module:voice
priority:backlog
priority:high
priority:medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/circuitforge-core#47
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Add a
communitymodule to circuitforge-core providing the shared PostgreSQL connection pool, migration runner, and base data models consumed by Kiwi, Snipe, and Peregrine for community/shared-data features.Architecture
CommunityDB— wraps apsycopg2connection pool + migration runner keyed to its ownmigrations/directoryCommunityPost— frozen dataclass covering the full element snapshot schema (plan, recipe_success, recipe_blooper post types; flavor scores; dietary tags; allergen flags)SharedStore— base class with typed read/write methods against the community PostgreSQL instanceCommunitySignalis BSL 1.1 and lives in cf-orch — not in this issueBSL Boundary
All code in this issue is MIT.
CommunitySignalis out of scope here — see cf-orch tracking issue.Files
circuitforge_core/community/__init__.pycircuitforge_core/community/db.pycircuitforge_core/community/models.pycircuitforge_core/community/store.pycircuitforge_core/community/migrations/001_community_posts.sqlcircuitforge_core/community/migrations/002_community_post_reactions.sqltests/community/test_db.pytests/community/test_models.pytests/community/test_store.pycircuitforge_core/__init__.pypyproject.toml— addpsycopg2>=2.9Tech Stack
Python 3.11+,
psycopg2(not psycopg2-binary), frozen dataclasses, pytestConsumers
Kiwi (meal plans), Snipe (shared listings/signals), Peregrine (community job insights)
Implementation Plan
circuitforge-plans/circuitforge-core/superpowers/plans/2026-04-12-community-module.mdpyr0ball referenced this issue from Circuit-Forge/kiwi2026-04-12 17:29:55 -07:00