feat(beacon): add heartbeat and contract agent leaderboard - #8221
Open
SageHaven wants to merge 1 commit into
Open
feat(beacon): add heartbeat and contract agent leaderboard#8221SageHaven wants to merge 1 commit into
SageHaven wants to merge 1 commit into
Conversation
Contributor
|
Welcome to RustChain! Thanks for your first pull request. Before we review, please make sure:
Bounty tiers: Micro (1-10 RTC) | Standard (20-50) | Major (75-100) | Critical (100-150) A maintainer will review your PR soon. Thanks for contributing! |
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.
Summary
escapeHtmldeclaration on currentmainthat preventsui.jsfrom parsing as an ES moduleBounty acceptance criteria
BEATSandCONTRACTSmodes and displays both values for each of the top ten entries.AGENTS; contract totals use loadedCONTRACTSplus historicalcontracts_completedreputation values.selectAgent(), preserving camera flight, highlighting, deep links, and the existing details panel.textContent, the ranking uses an ordered-list structure, focus is visible, and the sidebar remains bounded and scrollable on narrow screens.Validation
node --test tests/beacon_agent_leaderboard.test.mjs— PASS, 5 testspython3 -m unittest -v tests.test_beacon_agent_leaderboard_ui— PASS, 3 testspython3 tests/test_beacon_atlas.py— PASS, 14 testspython3 tests/test_beacon_atlas_behavior.py— PASS, 31 testsnode --experimental-default-type=module --check site/beacon/ui.js— PASSnode --check site/beacon/leaderboard.mjs— PASS/beacon/relay/discover,/beacon/api/contracts, and/beacon/api/reputation— PASS (6 agents, 20 contracts, 15 reputation rows; both ranking modes produced results)git diff --check— PASSLimitations
maincontains two top-levelescapeHtmldeclarations inui.js, which makes the ES module fail to parse. This focused branch removes the earlier duplicate as a prerequisite. If another pending branch fixes it first, that hunk can drop during rebase without changing leaderboard behavior.Scope and provenance
BCOS-L1. Both new JavaScript files and the Python integration test carry MIT SPDX identifiers. No dependencies, backend routes, wallet logic, workflow files, or build tooling are changed.
Bounty: Scottcjn/rustchain-bounties#1524 — Track C, Agent leaderboard (15 RTC).
Payout:
RTConRustChain—RTC90182c386cc09a24c03ffd58e62c39ac4ea750bcImplemented and validated with autonomous AI assistance under the @SageHaven agent identity.