Skip to content

Releases: meso4444/OctoMatrix

OctoMatrix 公開測試版 5 (中文)

15 Jun 10:27

Choose a tag to compare

Pre-release

重大升級摘要 (Release v1.0.0-beta.5-zh)

與前一版本 (v1.0.0-beta.4) 相比,本次更新涵蓋了更深度的權限物理隔離、通訊防護網的建立,以及多個核心系統的精簡與防呆強化:

🌟 核心架構升級 (Core Architecture)

  • V4 Isolation Decoupling (V4 雙軌隔離架構): 全面升級 V4 隔離,將系統底層與 agent_home 權限解耦,並修復了目錄遍歷權限,實現 Linux User 與 Docker 環境的完美物理隔離。
  • Agent Intercom API: 全面實作 agent_intercom.py/inter-agent/message 端點,並導入嚴謹的 9 步防無限迴圈 SOP,確保 Agent 橫向通訊的強健性與安全性。
  • Dual Pending Queues (雙佇列分離): 實作方案 A 架構,將使用者與 Agent 訊息佇列物理分離 (pending_user.txtpending_agent.txt),確保 Ghost 重置期間的訊息時序且不再損壞 Bash 跳脫字元。

🤖 系統與服務機制強化 (System & Services)

  • Awake API Encapsulation (喚醒系統封裝): 將喚醒 API 封裝為 awake_task_manager.py,導入動態白名單、嚴格的 trigger 欄位綁定,並新增了無縫的 update 任務熱更新功能。
  • Ultimate Reaper Hardening (死神機制硬化): 導入動態超時機制與 5 分鐘空旗標強制接管,並將狀態檢測提前,全面防堵 Router 通知超時導致的殭屍進程。
  • macOS Launchd Autostart: 新增 macOS 原生的 Launchd 背景自啟動支援,並修復了 SIP 限制與 PATH 注入問題,達成跨平台守備。

🛠 工具與使用者體驗 (Tools & UX)

  • CLI Version Manager: 將 AI CLI 的升級與退版管理整合至 setup_config.sh 設定精靈中,並具備版本快照備份機制。
  • Empathy & Memory Continuity: 強化 Ghost 重置 SOP,精細化管理 task_memo.txt 與系統指令的排他性鎖檔,實現無縫任務接續與具備共情溫度的人機互動。
  • UI & Media Decoupling: 將大頭貼生成解耦為獨立的 /avatar_renew 指令,並新增了通知系統的自動 GIF 動畫偵測與發送能力。

⚠️ 舊版升級指引 (Upgrade Instructions)

若您是從舊版本升級至 Beta.5,請務必遵循以下步驟以確保系統環境完整對齊:

  1. 重裝核心依賴:請在專案根目錄重新執行 ./install_dependencies.sh,以獲取最新的套件與修復邏輯。
  2. 更新系統設定:執行 ./setup_config.sh,進入「[6] 🤖 設定 AI Agent 軍團與進階參數」選單並直接儲存,以自動建立 Agent user。
  3. 重新認證 CLI:同樣在 ./setup_config.sh 中,進入「[7] 🔐 AI Agent CLI 認證設定」,為所有 Agent 重新執行個別的 CLI 認證程序。
  4. (可選) 遷移對話記憶:若希望保留舊版的對話歷史 (Cache/History),請手動將宿主機家目錄 (~/) 下的 CLI 設定檔,遷移至各 Agent 的家目錄並校正權限:
# 以下指令請依據實際使用的模型引擎替換對應目錄 (.codex / .claude / .gemini)
sudo cp -r ~/.codex /home/agent_{agent_name}/
sudo chown -R agent_{agent_name}:agent_{agent_name} /home/agent_{agent_name}/.codex

OctoMatrix Public Beta 5 (English)

15 Jun 10:27

Choose a tag to compare

Pre-release

Major Upgrade Summary (Release v1.0.0-beta.5-en)

Compared to the previous version (v1.0.0-beta.4), this update encompasses deeper physical privilege isolation, the establishment of communication safety nets, and significant streamlining and foolproof enhancements across multiple core systems:

🌟 Core Architecture Upgrades

  • V4 Isolation Decoupling: Fully upgraded to the V4 dual-track isolation architecture, decoupling the system core from agent_home permissions, and fixing directory traversal permissions to achieve perfect physical isolation between Linux User and Docker environments.
  • Agent Intercom API: Fully implemented agent_intercom.py and the /inter-agent/message endpoint with a strict 9-step anti-loop SOP, ensuring the robustness and security of Agent-to-Agent communication.
  • Dual Pending Queues: Implemented the Plan A architecture, physically separating User and Agent message queues (pending_user.txt and pending_agent.txt) to guarantee message sequence during Ghost resets without corrupting Bash escape characters.

🤖 System & Service Enhancements

  • Awake API Encapsulation: Refactored the Awake API into awake_task_manager.py, introducing dynamic whitelisting, strict trigger field binding, and a seamless new update job hot-reloading functionality.
  • Ultimate Reaper Hardening: Introduced dynamic timeout mechanisms and a 5-minute empty flag forced takeover, advancing state checks to completely prevent zombie processes caused by Router notification timeouts.
  • macOS Launchd Autostart: Added native macOS Launchd background autostart support, fixing SIP restrictions and PATH injection issues to achieve cross-platform capability.

🛠 Tools & User Experience

  • CLI Version Manager: Integrated AI CLI upgrade and rollback management directly into the setup_config.sh wizard, complete with a version snapshot backup mechanism.
  • Empathy & Memory Continuity: Enhanced the Ghost reset SOP, refining the management of task_memo.txt and fine-grained exclusive locking for system commands to realize flawless task resumption and empathetic human-computer interaction.
  • UI & Media Decoupling: Decoupled avatar generation into an independent /avatar_renew command, and added automatic GIF animation detection and delivery capabilities to the notification system.

⚠️ Upgrade Instructions for Older Versions

If you are upgrading from an older version to Beta.5, please strictly follow these steps to ensure full system alignment:

  1. Reinstall Dependencies: Re-run ./install_dependencies.sh in the project root to fetch the latest packages and patches.
  2. Update Configurations: Execute ./setup_config.sh, navigate to "[6] 🤖 Configure AI Agent Legion and Advanced Parameters", and save directly to automatically create the Agent users.
  3. Re-authenticate CLIs: Within ./setup_config.sh, go to "[7] 🔐 AI Agent CLI Authentication Setup" and perform the individual CLI authentication process for all Agents.
  4. (Optional) Migrate Conversation History: To retain previous CLI caches and history, manually migrate the CLI configuration directories from your host's home directory (~/) to each Agent's home directory and correct the permissions:
# Replace the directory (.codex / .claude / .gemini) based on the model engine you are using.
sudo cp -r ~/.codex /home/agent_{agent_name}/
sudo chown -R agent_{agent_name}:agent_{agent_name} /home/agent_{agent_name}/.codex

OctoMatrix 公開測試版 4 (中文)

22 May 18:53

Choose a tag to compare

Pre-release

重大升級摘要 (Release v1.0.0-beta.4-zh)

與前一版本 (v1.0.0-beta.3) 相比,本次更新帶來了全方位的架構升級、多項系統漏洞修復,以及底層機制的大幅優化:

🌟 核心架構升級 (Core Architecture)

  • Ultimate Logic Parity: 中英雙語版本核心邏輯與架構達到 100% 絕對對齊。
  • Unified Cyberbrain Lock (一元化鎖檔): 徹底拔除疊床架屋的 inject_block.lock,將全系統佇列與指令防呆的鎖檔機制一元化綁定至 .rotation_flag,消滅微秒級防護空窗期。
  • Bracketed Paste Mode: 全面實裝 Tmux 三段式 Bracketed Paste (�[200~) 瞬移注入機制,完美解決 Codex 等引擎處理長訊息時因貼上延遲導致的字串斷裂與緩衝區吞沒問題。

🤖 系統提示與 SOP 動態化 (Dynamic System & SOP)

  • 全新 9 步驟 SOP: 全面實裝標準化的 9 步驟運作 SOP,強制 Agent 在接收任務時進行共情、辨識、預告、深潛、執行、回報與 GHOST 刻印。
  • 動態貼圖與問候: 實裝了與 MATRIX_USERNAME 互動的問候機制,以及依據情境動態呼叫 avatar/emojis/{mood}.png 的心情貼圖系統。
  • 智慧回報分流 (Step 6): 導入字數判斷機制,僅當回報內容大於 1000 字時才搭配 --file 以文檔形式發送,否則直接以純文字於訊息中完整彙報。
  • 通訊唯一性: 在系統提示中嚴格強制並防呆化 matrix_notifier.py 的使用,確保 Agent 絕對使用指定通道回覆。

🐛 漏洞修復與穩定性提升 (Bug Fixes & Stability)

  • Codex 特化中斷機制: 實裝 Codex 專屬的狀態感知中斷,僅掃描終端最後非空行防誤判;並將 Gemini 與 Claude 引擎回歸無條件中斷,確保多引擎穩定兼容。
  • Dash 前綴安全跳脫: 實作 argparsetmux send-keys 雙重攔截防呆,利用 -- 完美安全跳脫使用者訊息中帶有 - 前綴的內容。
  • f-string NameError 修復: 徹底修正了 pending_inject.txt 注入與測試訊息發送時,因未跳脫括號 (如 {{mood}}) 所引發的解析錯誤。
  • 貼圖機制硬化: 統一所有跨平台 (TG/DS/SL) 貼圖發送支援,並實作強制忽略附註文字的無標題 (no-caption) 行為,確保視覺一致性。

📝 協議與在地化 (Protocol & Localization)

  • 更新 AGENT_PROTOCOL.mdagent_rule_gen_template.txt 核心操作協議名詞。
  • 移除舊版不合時宜的發送範例,並確保英文版 public-en 儲存庫內工具腳本的 100% 英文在地化翻譯。

OctoMatrix Public Beta 4 (English)

22 May 18:53

Choose a tag to compare

Pre-release

Major Upgrade Summary (Release v1.0.0-beta.4-en)

Compared to the previous version (v1.0.0-beta.3), this update brings comprehensive architectural upgrades, numerous system bug fixes, and significant optimizations to the underlying mechanisms:

🌟 Core Architecture Upgrades

  • Ultimate Logic Parity: Achieved 100% absolute logic and architectural parity across Chinese and English dual-language versions.
  • Unified Cyberbrain Lock: Completely eliminated the redundant inject_block.lock, unifying the entire system queue and command locking mechanisms to .rotation_flag, removing microsecond vulnerability windows.
  • Bracketed Paste Mode: Fully implemented the 3-step Tmux Bracketed Paste (�[200~) instantaneous injection mechanism, perfectly resolving long-message delays and buffer swallowing issues for engines like Codex.

🤖 Dynamic System Prompts & SOP

  • New 9-Step SOP: Fully implemented a standardized 9-step operational SOP, enforcing Agents to perform empathy, recognition, forecasting, diving, execution, reporting, and GHOST updates during tasks.
  • Dynamic Stickers & Greetings: Implemented dynamic greetings interacting with MATRIX_USERNAME, alongside a contextual mood sticker system calling avatar/emojis/{mood}.png.
  • Smart Report Branching (Step 6): Introduced a character-count evaluation mechanism. Reports over 1000 characters use --file to send as documents; otherwise, the full report is sent directly in the message.
  • Communication Uniqueness: Strictly enforced and idiot-proofed the use of matrix_notifier.py in system prompts, ensuring Agents always use the designated communication channel.

🐛 Bug Fixes & Stability Improvements

  • Codex-Specific Interruption: Implemented Codex-specific state-aware interruptions by scanning only the last non-empty lines of the terminal to prevent false positives. Reverted Gemini and Claude to unconditional interrupts to ensure multi-engine compatibility.
  • Dash-Prefix Safe Escape: Implemented dual argparse and tmux send-keys safety interceptors, utilizing -- to perfectly escape user messages containing - prefixes.
  • f-string NameError Fixes: Completely resolved parsing errors caused by unescaped braces (e.g., {{mood}}) during pending_inject.txt injections and test message deliveries.
  • Sticker Mechanism Hardening: Unified cross-platform (TG/DS/SL) sticker support and implemented mandatory no-caption behaviors, ensuring visual consistency.

📝 Protocol & Localization

  • Updated core operational terminology in AGENT_PROTOCOL.md and agent_rule_gen_template.txt.
  • Removed outdated examples and ensured 100% English localization of tool scripts in the public-en repository.

OctoMatrix 公開測試版 3 (中文)

12 May 16:46

Choose a tag to compare

Pre-release

🐙 OctoMatrix Beta 3 更新

此版本包含記憶系統升級、部署架構重構與視覺化體驗提升。

✨ 新增與優化

  • 電子腦升級: 導入實體鎖檔 (inject_block.lock) 防護機制,並優化了指令注入邏輯,防止記憶重置期間發生衝突。
  • 排程修復: 重構了系統內部的自動化任務喚醒 (Reaper) 與打斷機制 (Router),解決了指令重疊導致系統崩潰的問題。
  • Docker 重構: 新增了在 Docker 建置階段動態解壓縮技能包 (Skill) 並自動安裝相關依賴套件的功能。
  • 體驗提升: 實裝角色感知 Avatar 表情圖檔自動發送功能,並優化了系統內建指令的安全邊界。
  • 部署支援: 新增 Linux Systemd 常駐部署 (不死鳥模式) 機制,並整合 Windows WSL 部署流程。

OctoMatrix Public Beta 3 (English)

12 May 16:46

Choose a tag to compare

Pre-release

🐙 OctoMatrix Beta 3 Update

This release features upgrades to the memory system, deployment architecture refactoring, and visual experience enhancements.

✨ Features & Improvements

  • Cyberbrain Upgrade: Introduced physical lock file (inject_block.lock) safeguards and optimized command injection logic to prevent conflicts during memory resets.
  • Scheduler Fix: Refactored the internal automated task wake-up (Reaper) and interrupt mechanisms (Router) to resolve system crashes caused by overlapping commands.
  • Docker Refactoring: Added functionality to dynamically extract Skill packages and install their corresponding dependencies during the Docker build phase.
  • Experience Enhancement: Implemented automatic Avatar emoji sending based on character context and tightened security boundaries for built-in system commands.
  • Deployment Support: Integrated Linux Systemd daemon deployment (Phoenix Mode) and Windows WSL installation flow.

OctoMatrix 公開測試版 2 (中文)

06 May 16:35

Choose a tag to compare

Pre-release

🐙 OctoMatrix Beta 2 更新

此版本包含了關鍵的穩定性修復與架構優化。

🔧 關鍵修復

  • 環境相容性: 解決了安裝時遭遇 PEP 668 externally-managed-environment 的報錯問題。
  • 系統依賴: 補齊了核心的 zstdpillow 依賴套件。
  • 自動回應器硬化: 徹底重構 auto_permission_responder.py,精準切割終端區塊,完美排除 Claude 灰字建議引起的誤觸。
  • 記憶轉換器升級: 重構舊版 Ghost 轉換工具,支援直接在當前目錄將 .md 記憶檔整併壓縮為符合新架構的 .zst 格式。
  • 規範與協議對齊: 統一全域系統提示標記,並將規範檢查抽離至獨立的 /sys_refresh 指令。新增對 Codex AGENTS.md 的支援。

OctoMatrix Public Beta 2 (English)

06 May 16:35

Choose a tag to compare

Pre-release

🐙 OctoMatrix Beta 2 Update

This release contains critical stability fixes and architectural refinements.

🔧 Critical Fixes

  • Environment Compatibility: Resolved PEP 668 externally-managed-environment errors during installation.
  • System Dependencies: Added missing zstd and pillow dependencies.
  • Auto-Responder Hardening: Rewrote auto_permission_responder.py to strictly analyze terminal blocks and prevent false triggers from Claude hints.
  • Cyberbrain Converter: Refactored legacy ghost converter to output .zst format in the current directory.
  • Protocol Consistency: Standardized all system prompt injections and isolated the protocol check to a dedicated /sys_refresh command. Added support for Codex AGENTS.md.

OctoMatrix 公開測試版 (中文) v1.0.0

03 May 11:00

Choose a tag to compare

🐙 OctoMatrix 中文測試版發布

這是 OctoMatrix 中文版的第一個公開測試版本。

🚀 核心功能

  • 多平台通訊 (Multi-Communicator): 整合 Telegram, Discord, 與 Slack。
  • 電子腦記憶系統 (Cyberbrain): 為 AI Agent 提供長期任務記憶與脈絡保存。
  • 矩陣路由系統 (Octo-Router): 支援背景任務自動化執行。
  • 快速部署: 支援 Docker 與環境配置精靈。

此為測試版本,主要用於驗證環境相容性與收集回饋。

OctoMatrix Public Beta (English) v1.0.0

03 May 11:00

Choose a tag to compare

Pre-release

🐙 Welcome to OctoMatrix Beta

This is the first public beta release of the English version.

🚀 Key Features

  • Multi-Communicator: Seamless integration with Telegram, Discord, and Slack.
  • Cyberbrain Memory System: Long-term state maintenance for AI agents.
  • Autonomous Operation: Background task execution via Octo-Router.
  • Easy Deployment: Docker and setup wizard support.

This is a pre-release version for testing purposes.