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).
For every phase:
| 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 |
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.