The /api/research/config endpoint was registered twice in RegisterAgentAPI, causing a panic on gateway startup. Combined the GET and PUT/POST handlers into a single handleResearchConfig function that dispatches by HTTP method.
14 lines
1.1 KiB
Markdown
14 lines
1.1 KiB
Markdown
# Architecture
|
|
|
|
Internal architecture notes for major runtime mechanisms and subsystem design.
|
|
|
|
- [Steering](steering.md): injecting messages into a running agent loop between tool calls.
|
|
- [SubTurn Mechanism](subturn.md): sub-agent coordination, concurrency control, and lifecycle handling.
|
|
- [Session System](session-system.md): session scope allocation, JSONL persistence, alias compatibility, and migration. ([ZH](session-system.zh.md))
|
|
- [Routing System](routing-system.md): agent dispatch, session policy selection, and light/heavy model routing. ([ZH](routing-system.zh.md))
|
|
- [Runtime Events](runtime-events.md): runtime event envelope, centralized event logging, filters, and examples. ([ZH](runtime-events.zh.md))
|
|
- [Hook System Guide](hooks/README.md): current hook architecture and protocol details.
|
|
- [Agent Refactor](agent-refactor/README.md): notes and checkpoints for the agent refactor work.
|
|
- [Research Subsystem](research-subsystem.md): research capabilities integrated into the autonomous agent system.
|
|
|
|
For proposal-style or exploratory docs, also see [`../design/`](../design/).
|