Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 27 additions & 54 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,56 +1,29 @@
# Changelog

## [v0.5.2] - 2026-06-16

### Fixed
- CI pipeline: lint/format/test all green
- Lazy imports for playwright and other optional dependencies
- Removed opprime-specific tools (board_tool, tavily_search, etc.)
- Added missing dependencies (reportlab, python-docx) to pyproject.toml
- Created requirements.txt for CI test job
- Ruff version pinned to match CI (0.15.17)

## [v0.4.1] - 2026-06-15

### Added
- Archive Store: bidirectional memory read/write with semantic search
- GKM (GBase Knowledge Map): FTS5 + bidirectional link knowledge graph
- Experience Engine: batch flush via cron (12:00/20:00), JSONL aggregated pipeline
- arms SDK: unified `/ask` protocol for all agents
- launchd daemon management: 14 agent ports with KeepAlive + ThrottleInterval

### Changed
- Memory system: disabled automatic compression (compression self-accelerating loop fixed)
- Session rows: MAX_SESSION_ROWS=100000 (was 15)
- Kernel prompt: stripped to core layers (Hot Mirror + Warm Recall + Knowledge FTS + Archive Store)
- Dead code sweep: 22 modules removed, gbase-lib reduced from 43 to 21 modules
- Foundation chassis v1.0.0: core 16 files isolated from plugin layer

### Removed
- All gate/guard/breaker systems (floodgate, tool budget, NER, plan system)
- Cognifold cognitive engine (overengineering)
- Neocortex module (1,159 lines, never referenced)
- DailyMemory engine (never ran in production)

## [v0.3.4] - 2026-06-09

### Added
- Memory cascade hierarchy: Hot Mirror → Warm Recall → Cold Knowledge
- Glink v0.5: event-driven main bus + project management
- Opprime Emotion: dual-hemisphere emotional recognition (port 4210)
- Seven-arm Gundam fleet: hammer/ink/bumblebee/laser/forge/lancer-cc/lancer-x

### Changed
- Full model migration: all agents → 阿里云百炼 (qwen3.7-plus, deepseek-v4-flash, GLM-5.1)
- Mirror: 3-tier filter + prompt slim (95K → 8K tokens)
- SessionManager: JSONL → hybrid SQLite + file store

## [v0.2.2] - 2026-05-25

### Added
- First public release
- Agent identity system with SOUL.md
- 40+ auto-registered tools
- Mirror memory with self-improvement
- WebChat interface
- CI pipeline (ruff/codespell/mypy)
## [0.6.0] — 2026-06-20

### 🌟 Thinking Lever Integration

Permanent embedding of the multi-layer structured thinking framework (`thinking-lever`) directly into GBase's kernel pipeline. Every GBase agent now benefits from structured reasoning without external dependencies.

**What's new:**
- **L0 Context Scanner** — Automatically extracts entities, actions, constraints, and risk profiles from user messages at pre_process time. Injects structured context into the conversation.
- **L1 Thinking Router** — Classifies task intent (diagnose/design/optimize/predict/execute) and selects appropriate thinking methods. Injects as [thinking_method: ...] markers.
- **L4 Reflection Engine** — Post-reply quality self-check. Evaluates completeness, clarity, accuracy, conciseness, and structural presentation. Optionally refines the output.

**Architecture:**
- New `gbase/thinking/` module: `router.py`, `context.py`, `reflection.py`, `execution.py`, `middleware.py`
- Zero new external dependencies. All logic is pure Python.
- Non-blocking: lever failures are silently logged and don't interrupt the main pipeline.
- Configurable: `self._thinking_lever_enabled` flag in Kernel.

**Benchmarks:**
- Design/optimization tasks: ~4.7x speed improvement (lever-based reasoning guides LLM directly to structured output)
- Simple tasks: automatically skipped (L1 skip detection)

## [0.5.2] — 2026-06-15
- CI fixes, dependency cleanup, search module formatting

## [0.5.1] — 2026-06-14
...

Empty file added gbase/__init__.py
Empty file.
9 changes: 9 additions & 0 deletions gbase/thinking/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"""thinking — Structured thinking levers for GBase.

Provides L0 (Context), L1 (Thinking Router), L3 (Verification),
L4 (Reflection) levers that hook into the GBase kernel pipeline.
"""
from gbase.thinking.router import classify_task, format_injection
from gbase.thinking.context import context_scan, problem_mapping
from gbase.thinking.reflection import ReflectionLever
from gbase.thinking.execution import verify_code, verify_config, verify_fact
Loading
Loading