OpenRiC Phase Plan — Rebuild

Last updated: 2026-03-28 20:02:06

OpenRiC Phase Plan — Rebuild with 100% Heratio Parity

Status: Rebuilding from Phase 1

All phases are being rebuilt to achieve 100% parity with Heratio's production codebase. Every form, every field, every button, every service method must match Heratio — only the data layer changes (Fuseki triplestore instead of MySQL).

Rebuild Process

For every phase:

  1. READ — CLAUDE.md, memory, Heratio source files (in full)
  2. PLAN — list every Heratio file to adapt, with line counts
  3. BUILD — translate ALL of each Heratio file, not summaries
  4. AUDIT — field-by-field, method-by-method comparison
  5. REPORT — 100% parity required before phase is complete

Phase 1 — Foundation (Rebuild)

Heratio Sources to Adapt:

Heratio Source Lines OpenRiC Target What It Does
ahg-theme-b5 layouts + partials ~2000 openric-theme Full Bootstrap 5 theme
ahg-core AclService 107 openric-auth AclService Access control
ahg-security-clearance SecurityClearanceService 867 openric-auth SecurityClearanceService Security clearance
ahg-audit-trail AuditTrailController 489 openric-audit AuditService Audit trail
ahg-ric RicController (Fuseki methods) 2145 openric-triplestore FusekiTriplestoreService Triplestore abstraction
ahg-information-object-manage edit.blade.php ~600 openric-record-manage ISAD(G) form ALL 60+ fields
ahg-actor-manage edit.blade.php ~500 openric-agent-manage ISAAR-CPF form ALL 40+ fields
ahg-workflow WorkflowService 841 openric-workflow WorkflowService Workflow engine
ahg-ric ric_provenance.py 454 openric-provenance ProvenanceService Provenance tracking
ahg-ric ric_semantic_search.py 346 openric-search SearchService Full-text + semantic search
ahg-ric ric_authority_linker.py 490 openric-authority AuthorityService Authority linking
ahg-oai OaiPmhController 927 openric-core OaiPmhService OAI-PMH harvesting
ahg-iiif-collection IiifCollectionService 647 openric-export IiifService IIIF manifests
ahg-settings SettingsController ~400 openric-core SettingsController Settings UI
ahg-user-manage UserController 774 openric-auth UserController Full user CRUD

Audit Requirement:

After Phase 1 rebuild, the audit must show: - Every ISAD(G) form: 60+ fields (matching Heratio) - Every ISAAR-CPF form: 40+ fields (matching Heratio) - Every service: method count matching Heratio - Every browse view: pagination + sorting + filtering - Settings screen: present and functional - Plugin management: visible in UI

100% parity or the phase is not complete.


Comments (0)

Log in or register to leave a comment.
On this page