Skip to content

Add operator dashboard, command catalog expansions, environment policy checks, UI assets and docs#519

Merged
aoxc merged 2 commits intodevelopfrom
codex/define-aoxchub-functionality-and-modules
Mar 31, 2026
Merged

Add operator dashboard, command catalog expansions, environment policy checks, UI assets and docs#519
aoxc merged 2 commits intodevelopfrom
codex/define-aoxchub-functionality-and-modules

Conversation

@aoxc
Copy link
Copy Markdown
Owner

@aoxc aoxc commented Mar 31, 2026

Motivation

  • Provide an in-app operational dashboard and enrich the operator control surface with canonical AOXC commands and explicit environment policies.
  • Surface runtime/binary/version information and quick actions in the hub UI and ensure mainnet/testnet policy enforcement for high-risk operations.

Description

  • Added a crate-local operator blueprint (crates/aoxchub/OPERATOR_BLUEPRINT.md) and a repository-level full product specification (docs/AOXCHUB_FULL_SPEC.md) and wired a small README note linking the blueprint.
  • Extended the commands catalog with multiple AOXC command specs (chain/genesis/node/network/wallet/tx/stake/runtime/audit) and grouped UI/Make targets for environment-scoped operations.
  • Introduced InstalledVersions and DashboardSnapshot types and added a dashboard field to HubStateView in domain, and implemented dashboard_snapshot builder in services to populate the dashboard state.
  • Hardened environment policy logic: is_command_allowed now looks up command specs and enforces environment-specific restrictions for mainnet/testnet and high-risk commands, and added policy_note generation.
  • Updated web embedding and assets: added dashboard.css and included it in the embedded assets, updated index.html to add a Dashboard view, and extended app.js to render dashboard metrics, versions, recent activity and quick actions and to hook rendering into UI lifecycle.
  • Added UI CSS for dashboard layout and visuals under ui-assets/css/dashboard.css and imported it in app.css.
  • Added and updated tests to cover the new catalog entries, environment policy behavior, and the presence and basic invariants of the dashboard snapshot in the hub state (tests/catalog_tests.rs, new tests/policy_tests.rs, updated tests/status_tests.rs).

Testing

  • Built the crate and ran unit/integration tests for the aoxchub crate with cargo test which exercises catalog_tests, policy_tests, and status_tests; all tests completed successfully.
  • Verified the web asset embedding code paths compile by running cargo build for the crate; build succeeded.

Codex Task

Repository owner deleted a comment from chatgpt-codex-connector bot Mar 31, 2026
@aoxc aoxc merged commit 1b4c4e0 into develop Mar 31, 2026
0 of 2 checks passed
@aoxc aoxc deleted the codex/define-aoxchub-functionality-and-modules branch March 31, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant