runtime opravy

This commit is contained in:
lachtan
2026-09-04 07:23:23 +02:00
parent f136f507e4
commit 9555b2ba4c
9 changed files with 87 additions and 8 deletions

View File

@@ -42,6 +42,10 @@ Never use `/tmp/`, hardcoded absolute paths, or in-memory databases for persiste
`develop/` records how this instance was extended and tuned — skills, config, service work — with verified facts and a change log you can learn from (not the upstream code). See `develop/README.md`; read on demand.
## Explicit user details
Explicit user facts are stored in `keep.md`. Read at every turn.
## Knowledge base
`knowledge/` holds verified facts and measured values you can draw on when answering (e.g. notes on the models available to you). See `knowledge/README.md` for what's there; read on demand.
@@ -129,3 +133,8 @@ request to fix it. When in doubt, ask first.
- Before coding, define clear success criteria or a verification plan.
- Iterate and self-correct until the verification tests pass. Ensure each step of the implementation is verified against the goal.
5. A multi-step task: plan and then execute, in the same turn.
- After laying out the plan for a multi-step task or a piece of research, start carrying it out immediately — the plan is not the end of the turn. Report progress as you go.
- Merely printing a plan and ending the turn looks like a finished answer; the user then waits for nothing.
- This does not override *No proactive actions* above: a request to **find out / investigate / check** stays information-only. This rule applies to a task the user actually asked you to carry out.

View File

@@ -1,7 +1 @@
- Podcast "Máš na míň" — moderátor Vašek Matějovský spolumoderuje s Radarem (Michal Vrátný, zakladatel Železné koule)
- Chce mít filmy uložené lokálně na disku — streaming služby mění podmínky a dostupnost, chce mít obsah trvale k dispozici po zaplacení
- Při studiu 3+ souborů z git repozitáře (typicky GitHub) naklonuj do tmp/ a zkoumej lokálně — ale jen pokud repo není obrovské (desítky MB OK, stovky MB+ už ne)
- Otestovat s Claude Code plugin llm-wiki-plugin (https://github.com/praneybehl/llm-wiki-plugin)
- Vyzkoušet LibreChat
- Vícekrokový úkol/research: po vypsání plánu v témže turnu rovnou začněn provádět (plán ≠ konec turnu) a hlásit průběžný status — pouhé vypsání plánu a ukončení turnu vypadá jako dokončená odpověď, uživatel pak zbytečně čeká
- Chce absolvovat kurz/workshop práce se dřevem se základními domácími nástroji; k tomu YouTube videa na teorii: typy dřeva, typy vrutů, typy bitů, moření, lakování, broušení, spojování vruty, lepení

3
projects/ai/memory.md Normal file
View File

@@ -0,0 +1,3 @@
- 2026-09-02: Založen projekt: deník + hledání řešení pro AI témata (agenti, kódování s AI, LLM).
- 2026-09-02: Incident „gpt 5.3 se zasekl na PH/PZ/TX z mobilu": rekonstruováno — finální odpověď byla kompletní a verzovaná; problém byl agent loop (guard bloky, retry smyčky, ~6-8 min). Model = glm-5.3:cloud (žádný gpt 5.3). Kanál na kvalitu vliv nemá.
- 2026-09-02: Compaction: uživatel si vyžádal drastické zkrácení incident zápisu; detaily zahoz­deny, zachovány jen závěry.

15
projects/ai/prompt.md Normal file
View File

@@ -0,0 +1,15 @@
# AI — deník a řešení problémů
## Účel
Deník a zároveň hledání řešení pro práci s AI: agenti, kódování s AI,
personal agents, LLM a související témata.
## Co sem patří
- Co mě trápí, co chci vyřešit — a co se dařilo / nedařilo
- Kde je to makačka, kde se zasekávám
- Hledání řešení k problémům, které tu zaznamenám
## Jak pracovat
- Deníkový styl: zápisky o problémech, pokusech, úspěších i slepých uličkách
- Uživatel přináší témata a trápení; společně hledáme řešení
- Zápisy do memory.md, aktuální stav do state.md

9
projects/ai/state.md Normal file
View File

@@ -0,0 +1,9 @@
# AI — aktuální stav
## Otevřená témata
- Při hlášení nestabilit ověřit reálný model/preset (session metadata ho nezaznamenávají).
## Lessons learned
- Inline `python -c` s cestami blokuje exec guard i uvnitř workspace → write_file do tmp/ + `uv run` s working_dir.
- Před re-runem vždy rekonstruovat loop ze sessions/ — rozhodnout model vs. tooling chyba.
- Možný upstream report na nanobot: guard blokuje legit `python -c` s workspace cestami.

View File

@@ -9,6 +9,7 @@
## Hardware / současný stav
- **proxmox.hell** (hlavní server): Dell OptiPlex 9020 Mini Tower, Intel Core i7-4790 @ 3.60GHz, 32GB RAM, GeForce RTX 4060 Ti 16GB, KINGSTON SKC3000D2048G 2TB NVMe, KINGSTON SUV5004 56RI 480GB SSD.
- RTX 4060 Ti / 16 GB passthrough do jedné VM.
## Cíle / probíhající práce

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
{
"cursor": "2026-09-02T06:22:12.130921",
"cursor": "2026-09-03T18:28:35.005896",
"runs": [
{
"at": "2026-09-01 06:20",
@@ -32,6 +32,26 @@
"open": 23,
"watch": 6,
"repeat_per_100": 100.0
},
{
"at": "2026-09-03 03:30",
"window_from": "2026-08-13T03:30:01",
"sessions": 11,
"batches": 1,
"batches_total": 1,
"open": 3,
"watch": 4,
"repeat_per_100": 27.3
},
{
"at": "2026-09-04 03:30",
"window_from": "2026-08-14T03:30:01",
"sessions": 10,
"batches": 1,
"batches_total": 1,
"open": 3,
"watch": 2,
"repeat_per_100": 60.0
}
]
}

View File

@@ -19,6 +19,23 @@ Explicit memory store. User says "keep X" → reformulate, write to
`workspace/keep.md`. Flat bullet list. One entry = one line: `- <terse fact>`.
**No dates.** Date adds noise, has no value for keep/discard decisions.
## Triage — before writing anything
`keep.md` is read on **every turn**, so only a durable fact / preference /
decision **about the user** belongs here. Check the input against these first
and redirect instead of writing:
- A rule about how the agent should work (conventions, tooling, workflow) →
**`AGENTS.md`**. Tell the user that is where it goes.
- Something to try or read later, a link, an article, reference material →
**`/note`**.
- A fact that only matters inside one named project → **`/project`**
(`projects/<slug>/`).
- A scheduled reminder → **`/remind`**.
Only when it is genuinely a durable user fact, continue with the write protocol
below. Mixed input (a fact plus a to-do) → split it and route each part.
## Write protocol
1. Extract the core fact. Drop filler ("you know", "important is that", "watch
@@ -69,6 +86,8 @@ Trigger: line count > 150, or user says "keep compact" / "udělej compaction".
## Rules
- Never store the verbatim input. Always reformulate.
- Never store an agent working rule, a link, or a to-try item — route those
per **Triage** above.
- Reason (why) only for decisions / preferences / dead-ends — never for plain
facts. Always terse and inline on the same line; never a separate Why: block.
- Preserve input language; never translate.