Simplify internal modules and daily development commands - #57
Merged
Conversation
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.
Large ledger and model-management modules mixed unrelated responsibilities, while native lifecycle and verification procedures were repeated across scripts and documentation. This change gives credential management its own component, separates ledger reporting from transaction orchestration, and makes
scripts/dev.sh helpthe starting point for daily source development.enterprise_ledger/reporting.rsand keep operations validation helpers with their consumers. The ledger entry module shrinks from 9,156 to 7,939 lines.ModelsPage(2,798 to 2,360 lines). Share credential readiness and active-account selection, including the routing overview's previously missed usable credential-pool fallback.Validation:
scripts/check-all.shpassed with 475 Rust tests, 128 dashboard unit tests, 15 lifecycle/freshness tests, formatting, Clippy, ShellCheck, documentation links, configuration examples, and Runtime Adapter fixtures. All 21 Playwright tests passed against a real disposable PostgreSQL database, including credential validation/create/edit/delete. Targeted PostgreSQL migration, state, aggregation, concurrent admission and operations tests also passed. Native start/status/smoke/stop were exercised locally; dashboard dependency audit reported no vulnerabilities. No paid upstream requests were made.The changes are organized into four commits covering ledger responsibilities, credential management, developer commands, and documentation. There are no dependency or schema changes.