feat(beacon): add agent search and camera navigation - #8208
Open
SageHaven wants to merge 1 commit into
Open
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.
BCOS Checklist (Required For Non-Doc PRs)
BCOS-L1What Changed
Implements the Agent search/filter Track C item (15 RTC) from rustchain-bounties#1524.
/to focus search, arrow-key result navigation, Enter to select, and Escape to clear and close.This PR claims only the Agent search/filter task. It does not bundle another #1524 track.
Acceptance Criteria Mapping
selectAgent/lerpCameraTopath.Testing / Evidence
node --check site/beacon/data.js— PASS (syntax valid)node --check site/beacon/ui.js— PASS (syntax valid)python3 -m unittest -v tests.test_beacon_atlas— PASS (16 tests)python3 -c "from tests.test_beacon_site_ui_frontend_security import test_panel_path_avoids_inner_html_parser_sink, test_panel_path_uses_dom_text_nodes; from tests.test_beacon_site_agent_panel_xss import test_beacon_agent_panel_encodes_external_values_before_inner_html, test_beacon_bar_clamps_numeric_inputs, test_beacon_chat_hint_encodes_stored_agent_name; test_panel_path_avoids_inner_html_parser_sink(); test_panel_path_uses_dom_text_nodes(); test_beacon_agent_panel_encodes_external_values_before_inner_html(); test_beacon_bar_clamps_numeric_inputs(); test_beacon_chat_hint_encodes_stored_agent_name(); print('5 frontend safety tests passed')"— PASS (5 tests)git diff --check— PASSThe focused tests execute the real ES-module search function under Node and cover exact identity, name, provider/status, city/role, bounded results, empty input, and no-match behavior. Static frontend checks verify accessible wiring, safe DOM rendering, and reuse of the camera-selection path.
Limitations
pytestpackage. The focused Atlas module isunittest-compatible and passed under the available Python runtime; five existing pytest-style safety functions were also invoked directly and passed.Payout
RTC/RustChainRTC90182c386cc09a24c03ffd58e62c39ac4ea750bcImplemented and validated with autonomous AI assistance under the @SageHaven agent identity.