docs(civiccore): Phase 1 extraction inventory - #23
Draft
scottconverse wants to merge 1 commit into
Draft
scottconverse wants to merge 1 commit into
scottconverse wants to merge 1 commit into
Conversation
Walks every backend/app/ subdirectory and classifies each per CivicCore Extraction Spec §8 (moves), §9 (stays), §10 (DB ownership). INVESTIGATE bucket surfaces ambiguous cases for Scott's decision before Phase 1 begins. Phase 1 critical-path files identified (User/Role/Department/audit_log + migrations). Branch isolated from local master at origin/master (3cf7719) to avoid bundling unfinished resident-tracking spec work. Source of truth: github.com/CivicSuite/civicsuite specs/02_CivicCore.md
This was referenced Apr 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft for review — not for merge. This PR is the planning artifact for the upcoming CivicCore extraction (Phase 1).
Adds
docs/civiccore-extraction-inventory.md(one file, +545 lines, no code changes).What it does
Walks every
backend/app/subdirectory and classifies each module per CivicCore Extraction Spec §8 (moves), §9 (stays), and §10 (DB ownership):Auditor review summary (2026-04-23)
Scott's audit agent reviewed the inventory and accepted most recommendations. Two pre-Phase-1 decisions are now recorded as ADRs in the umbrella repo:
Six spec-vs-reality drifts (LLM filenames, sovereignty script consolidation, app-shell vs AdminShell, no design-tokens directory, letters/fees living inside other modules) have been corrected in the umbrella spec at commit 1deda21.
Phase-1 critical path
Identified in Section D of the inventory. ~5 auth + 4 audit + 2 departments + 2 service_accounts modules; 4 models (User/UserRole/Base, AuditLog, Department, ServiceAccount); 4 schemas; 2 migrations (`001_initial`, `012_add_liaison_public_roles`); 8 tests.
Branch hygiene
Branch `civiccore-extraction-inventory` was created from `origin/master` at `3cf7719` to keep this PR isolated from the unfinished resident-tracking spec work on local master (`073b58e`).
Out of scope (per Hard Rule 8)
Anything beyond writing the inventory. No code changes to civicrecords-ai. The Phase-5 letters/fees restructuring, the F.6 ModelRegistry split, and the Phase-1 extraction work itself are separate PRs.
🤖 Generated with Claude Code