Skip to content

Commit deee414

Browse files
chore: align v2 metadata and runtime guidance
1 parent 7e75837 commit deee414

4 files changed

Lines changed: 11 additions & 10 deletions

File tree

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -440,9 +440,10 @@ loopback destinations are blocked unless `KYROZEN_BROWSER_ALLOW_PRIVATE=1` is se
440440

441441
API and MCP routes allow direct loopback access without a token. Any
442442
non-loopback deployment must set `KYROZEN_SERVER_TOKEN` and send it as
443-
`Authorization: Bearer <token>` or `X-Kyrozen-Token`. MCP write, shell, Git
444-
mutation, and remote-clone tools are disabled by default; explicitly set
445-
`KYROZEN_MCP_ALLOW_DANGEROUS=1` only in a trusted environment.
443+
`Authorization: Bearer <token>` or `X-Kyrozen-Token`. Web/MCP use the rich
444+
`workspace` profile by default; choose `full` explicitly for irreversible reset
445+
and dynamic tools. Authentication, capability tokens, and command safety checks
446+
still apply.
446447

447448
### Docker deployment
448449

@@ -451,7 +452,7 @@ docker build -t openkyrozen .
451452
docker run -p 8000:8000 \
452453
-e DEEPSEEK_API_KEY=sk-your-key \
453454
-e KYROZEN_SERVER_TOKEN=change-me \
454-
-v $(pwd)/chroma_memory:/app/chroma_memory \
455+
-v kyrozen-data:/root/.kyrozen/v2 \
455456
openkyrozen
456457
```
457458

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ docker build -t openkyrozen .
446446
docker run -p 8000:8000 \
447447
-e DEEPSEEK_API_KEY=sk-your-key \
448448
-e KYROZEN_SERVER_TOKEN=change-me \
449-
-v $(pwd)/chroma_memory:/app/chroma_memory \
449+
-v kyrozen-data:/root/.kyrozen/v2 \
450450
openkyrozen
451451
```
452452

main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1753,7 +1753,7 @@ def _system_prompt(tools_list: str) -> str:
17531753
"Output a short **Plan** block (numbered list), then execute Actions one by one. "
17541754
"No TaskList required. Example: \"list files and read README\" → Plan→list_dir→read_file→summarise.\n\n"
17551755
"**COMPLEX** (4+ tools, multi‑step analysis, code generation): "
1756-
"Output **Plan** → **TaskList** (JSON array) → Actions with **TaskDone: N** after each. "
1756+
"Output **Plan** → **TaskList** (JSON array) → Actions with **TaskDone: N** as a completion request after evidence. "
17571757
"Complete ALL tasks. Never stop early. Example: \"audit this repo\" → full workflow.\n\n"
17581758
"## Planning format (medium/complex tasks only)\n"
17591759
"Plan:\n"
@@ -1769,7 +1769,7 @@ def _system_prompt(tools_list: str) -> str:
17691769
"```json\n"
17701770
"[\"Use list_dir to explore the directory\", \"Use read_file on README.md\", ...]\n"
17711771
"```\n"
1772-
"After completing a task, output `TaskDone: <index>` on its own line before the next Action.\n\n"
1772+
"After obtaining evidence for a task, output `TaskDone: <index>` on its own line before the next Action. TaskDone alone never proves completion.\n\n"
17731773
"## General rules\n"
17741774
"- Never ask the user for permission to continue — decide and act.\n"
17751775
"- When analysing a repo, start with `list_dir('.')`.\n"
@@ -1803,7 +1803,7 @@ def _system_prompt(tools_list: str) -> str:
18031803
"1. **UNDERSTAND**: Read the full request. Identify all subtasks and dependencies.\n"
18041804
"2. **PLAN**: Output a numbered Plan with 3‑10 concrete steps. Each step must be verifiable.\n"
18051805
"3. **TASKLIST**: Create a JSON TaskList where each task maps to one Plan step.\n"
1806-
"4. **EXECUTE**: Work through tasks in order. After each: `TaskDone: N`.\n"
1806+
"4. **EXECUTE**: Work through tasks in order. After evidence: `TaskDone: N`; the runtime verifies it.\n"
18071807
"5. **TRACK**: If a step fails, create a recovery sub‑task before continuing.\n"
18081808
"6. **SUMMARISE**: When all tasks complete, produce a concise summary of what was done.\n"
18091809
"CRITICAL: Never skip tasks, never stop early, never mark tasks done without executing them.\n"
@@ -3517,7 +3517,7 @@ def main() -> None:
35173517
enabled_count = sum(1 for v in _SELF_LEARNING_FLAGS.values() if v)
35183518
total_count = len(_SELF_LEARNING_FLAGS)
35193519
console.print(f"[{_MUTED}]Self-learning:[/{_MUTED}] [{_ACCENT_DIM}]{enabled_count}/{total_count} features active (toggle with /self-learning)[/{_ACCENT_DIM}]")
3520-
console.print(f"[{_MUTED}]Memory:[/{_MUTED}] [{_ACCENT_DIM}]ChromaDB (`chroma_memory/`) — ask me what I remember[/{_ACCENT_DIM}]")
3520+
console.print(f"[{_MUTED}]Memory:[/{_MUTED}] [{_ACCENT_DIM}]SQLite v2 + rebuildable vector index — ask me what I remember[/{_ACCENT_DIM}]")
35213521
console.print(f"[{_MUTED}]Cost:[/{_MUTED}] [{_ACCENT_DIM}]{get_cost_summary()}[/{_ACCENT_DIM}]")
35223522
# Horizontal rule
35233523
console.print(f"[{_ACCENT_DIM}]{_BOX_H * 50}[/{_ACCENT_DIM}]")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "openkyrozen"
7-
version = "1.0.0"
7+
version = "2.0.0"
88
description = "Self-learning AI Agent — DeepSeek · OpenAI · Claude · Gemini · Ollama"
99
readme = "README.md"
1010
license = {text = "MIT"}

0 commit comments

Comments
 (0)