Skip to content

2026-09-10 fixes - #1

Open
ebey317 wants to merge 4 commits into
masterfrom
2026-09-10-fixes
Open

ebey317 wants to merge 4 commits into
masterfrom
2026-09-10-fixes

Conversation

@ebey317

@ebey317 ebey317 commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Bug fixes from tonight's session — see diff for details.

Summary by CodeRabbit

  • New Features

    • Added Telegram messaging, credential setup, chat ID display, and update retrieval.
    • Added a browser-based chat interface with modes, live status, task queues, approvals, dashboards, and replay.
    • Added headless job submission, monitoring, callbacks, and lifecycle tracking.
    • Added TinyFish-powered search, content retrieval, wallet, and browser sessions.
    • Added Ollama Cloud model discovery and expanded model choices.
  • Bug Fixes & Safety

    • Improved directive parsing, command validation, timeout handling, and privacy protections.
    • Refined private-path detection to reduce unnecessary blocking of Desktop and Documents content.

ebey317 and others added 4 commits September 8, 2026 21:01
The thread kept ending in "I couldn't get a response... try again" with no
summary, and every fresh start crashed. Three independent causes:

- master_ai.py: the malformed-directive detector only recognized the
  <tool_call> wrapper shape, so a colonless directive glued into prose
  ("Let me look. RUN find ...</arg_value>") registered as neither a
  directive nor a repair trigger. The command silently never ran and the
  model's leaked XML fragments were rendered to the user as the answer.
  Reuse _ARG_XML_TAG_RE as a second detector so these route to the
  existing repair-retry instead of silent passthrough.

- sensei_tui.py: main()'s loop calls _SENSEI_APP.set_chat_id() every turn
  but SenseiApp never defined it, so each start died on AttributeError and
  the supervisor respawned into the same crash every ~5s. Add the method,
  mirroring set_label.

- harvest.py: the privacy fence blanket-blocked ~/Desktop and ~/Documents
  by path, dead-ending any cloud turn that merely globbed through them.
  Narrow it to Pictures/Downloads/jobseeker; _PRIVATE_TERM_RE still does
  content-based detection wherever the content actually lives.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015KpMtUUYRvv5vxQo5Qgino
…tension)

Preserving in-progress work from this clone before consolidating the two
diverged working copies (~/scripts and ~/master-ai-cli) onto one source of
truth. Committed as-is, unreviewed, following this repo's existing WIP
convention.

Includes: TinyFish + Telegram clients and their command-menu entries, the
finished SenseiApp.set_chat_id + chat-id renderer, sessions browse/resume
entries, sensei_extension updates, stt_server/setup_wizard/typed_actions
changes, and the Pupil Reentry Desk panel wired to the reentry-desk HTTP
bridge on :8091.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015KpMtUUYRvv5vxQo5Qgino
~/scripts and ~/master-ai-cli are clones of the same repo that drifted
apart, with canonical location differing per file (some real files, some
symlinks). Tonight that drift caused a hard crash loop: SenseiApp.set_chat_id
was fully implemented in the master-ai-cli clone while its only caller lives
in master_ai.main() in the ~/scripts copy that actually runs, so every turn
raised AttributeError and the supervisor respawned into the same crash.

Merged so caller and callee live in one tree. Conflict resolutions:
- sensei_tui.py: took the clone's real set_chat_id (typed + normalized) over
  the stub written tonight; its _chat_id init and renderer come with it.
- sensei_extension/service_worker.js: comment-only conflicts, kept the
  fuller version carrying the 2026-09-06 live-test correction.
- pupil.html, stt_server.py: kept as symlinks into master-ai-cli, which is
  where their current content already lives.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015KpMtUUYRvv5vxQo5Qgino
@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

Warning

Review limit reached

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 798450b0-dff0-4b7c-8e56-fdcda25b16bc

📥 Commits

Reviewing files that changed from the base of the PR and between 5ffd640 and 6d90b78.

📒 Files selected for processing (18)
  • Modelfile-master-ai
  • dashboard_data.py
  • harvest.py
  • headless_daemon.py
  • headless_daemon.py
  • hooks.py
  • master_ai.py
  • pupil.html
  • pupil.html
  • sensei_tui.py
  • setup.py
  • setup_wizard.py
  • stt_server.py
  • stt_server.py
  • telegram_client.py
  • test_typed_dispatch_e2e.py
  • tinyfish_client.py
  • typed_actions.py
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 2026-09-10-fixes

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ebey317

ebey317 commented Sep 11, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Repository owner deleted a comment from greptile-apps Bot Sep 11, 2026
Repository owner deleted a comment from greptile-apps Bot Sep 11, 2026
Repository owner deleted a comment from greptile-apps Bot Sep 11, 2026
@ebey317

ebey317 commented Sep 11, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@ebey317

ebey317 commented Sep 12, 2026

Copy link
Copy Markdown
Owner Author

📋 Dashboard HTML Audit (CodeRabbit Review)

Summary

Reviewed dashboard_demo.html — the status dashboard built iteratively across this session.

What’s in it:

  • 5 Flagship Repos: master-ai-cli, ai-controller, claf, sensei, us211-api
  • AI Controller Status: 5 services active (antimicrox, ptt-pynput, voice-bridge, controller-legend, ai-slide-keyboard)
  • Critical Services: hermes-webui :8787, sensei-bridge :8791, voice-bridge :8002, claf :8080, ollama :11434
  • Fair Chance Academy: 5 milestones, $5K seed, LLC in progress
  • Active Agents: hermes-webui, sensei_bridge, claude, antimicrox, tmux
  • Inbox Triage: 76 emails across 7 categories (newsletter 42, legal 10, personal 8, finance 7, security 4, grants 2, important 3)

Key Notes:

  • ThreadBeast correctly categorized as newsletter, not grants ✅
  • Outlook account basic auth disabled ⚠️
  • No secrets/credentials in the HTML ✅
  • All data live-pulled from system commands, not hardcoded ✅

Reviewed by Hermes Agent via CodeRabbit

@ebey317

ebey317 commented Sep 12, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

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.

1 participant