Skip to content

Coordinate only and move sub bot-code to track main branch#14

Open
jemcmullin wants to merge 20 commits into
mainfrom
simplify-and-sub_bot-to-main
Open

Coordinate only and move sub bot-code to track main branch#14
jemcmullin wants to merge 20 commits into
mainfrom
simplify-and-sub_bot-to-main

Conversation

@jemcmullin

Copy link
Copy Markdown
Collaborator
  1. Moved submodule of agessaman meshcore-bot to track Main branch for more updates/less maintenance
  2. Removed all local command scoring, reverting back to original coordinator approach
  3. Maintains intercept improvements
  4. Maintains and improves on Community web view for bot admin visibility of coordination events
  5. Updated documentation

jemcmullin and others added 10 commits May 4, 2026 15:37
…ity page with relevant information.

Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR shifts coordination logic back to a pure “coordinator decides” model by removing local delivery scoring and replacing it with raw-signal bidding (SNR/RSSI/hops/path) plus a hop-based fallback delay when the coordinator is unreachable. It also updates the community web dashboard to focus on coordination events (bid/assigned/fallback) and updates docs to reflect the new approach.

Changes:

  • Removed local delivery scoring + score-based fallback; coordinator now evaluates bids using raw signal/path data.
  • Added hop-based fallback timing and updated coordination event publishing for the web viewer.
  • Updated/trimmed documentation and command surface (removed coverage, adjusted repeater diagnostics and dashboard UI).

Reviewed changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
README.md Updates coordination explanation and command list to match coordinator-only scoring model.
docs/SCORING_SCENARIOS.md Removed scoring-scenarios doc (local scoring no longer applies).
docs/COMMUNITY_DESIGN.md Removed local scoring design doc (no longer applicable).
config.ini.example Adjusts example category keys for channels.
community/web_viewer_packet_stream.py Changes coordination event payload/summary to stage/winner/reason/delay fields.
community/web_viewer_community_page.py Revamps dashboard to show recent coordination events and simplified repeater ranking.
community/scoring_config.ini Removed (local scoring config no longer used).
community/response_timing.py New hop-based fallback delay + coordinator-provided delay handling.
community/message_interceptor.py Stops computing local scores; forwards raw signal data and uses new timing fallback.
community/coverage_fallback.py Removed score-based fallback implementation.
community/coordinator_scoring.py Removed local scoring implementation.
community/coordinator_client.py should_respond now returns a response dict; stops treating score as bot-global.
community/config.py Removes ScoringConfig (no longer needed).
community/community_core.py Removes scoring config loading; wires in ResponseTiming.
community/commands/toprepeaters_command.py Replaces scoring-based diagnostics with a fan-in/hops repeater view.
community/commands/coverage_command.py Removed coverage command.
community/commands/botstatus_command.py Removes score/fallback-delay reporting to match new model.
CLAUDE.md Updates architecture/flow notes for coordinator-only scoring + hop fallback.
Comments suppressed due to low confidence (2)

community/commands/toprepeaters_command.py:10

  • bot_top_repeaters is documented as a command name/entry point, but the command’s registered name is NearbyTopRepeaters. If command routing uses name (not just keywords), users won’t be able to invoke it as documented. Consider setting name = "bot_top_repeaters" (and keeping aliases in keywords) or adjust the docs to reflect the actual command name.
    community/commands/toprepeaters_command.py:89
  • max_links is assigned but never used. Removing it avoids dead code and keeps the output formatting logic clearer.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
Comment thread community/web_viewer_community_page.py Outdated
Comment thread community/message_interceptor.py Outdated
Comment thread CLAUDE.md
Comment thread CLAUDE.md Outdated
jemcmullin and others added 4 commits May 7, 2026 10:37
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
…tible with upstream submodule changes

Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
@jemcmullin jemcmullin requested a review from cj-vana May 7, 2026 17:05
@jemcmullin

Copy link
Copy Markdown
Collaborator Author

@cj-vana have had this branch running for awhile to test. It's ready, just need you to Approve given the repo rules.

@jemcmullin jemcmullin force-pushed the simplify-and-sub_bot-to-main branch from 1f48180 to 5ae1bc0 Compare May 27, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Community WebView shows duplicate repeaters (Prefix & Public Key)

2 participants