Prepare LinaAI project memory

This commit is contained in:
2026-05-24 07:54:37 +00:00
parent 2d3e0454cd
commit 90c15fdf84
7 changed files with 430 additions and 12 deletions
+20 -8
View File
@@ -30,15 +30,25 @@ Codex escalation when local tooling is over its head.
## Operating Model
1. Start with `Scripts/linaai_task.sh`, not raw Aider, for normal work.
2. Qwen/Ollama performs a preflight risk and confidence check.
3. Default confidence threshold is `0.75`.
4. High-risk tasks or low-confidence tasks route to Codex automatically.
5. Aider runs only for acceptable supervised local work.
6. If Aider fails, `Scripts/linaai_task.sh` writes a status file and calls
1. Refresh LinaAI project memory when context may be stale:
`Scripts/linaai_refresh_knowledge.sh`.
2. Build a compact local context pack when needed:
`Scripts/linaai_bootstrap_context.sh`.
3. Start with `Scripts/linaai_task.sh`, not raw Aider, for normal work.
4. Qwen/Ollama performs a preflight risk and confidence check.
5. Default confidence threshold is `0.75`.
6. High-risk tasks or low-confidence tasks route to Codex automatically.
7. Aider runs only for acceptable supervised local work.
8. If Aider fails, `Scripts/linaai_task.sh` writes a status file and calls
Codex through `Scripts/ai_codex_escalate.sh`.
7. Codex escalation uses the npm Codex CLI, not the API.
8. Human review controls merges.
9. Codex escalation uses the npm Codex CLI, not the API.
10. Human review controls merges.
The operating manual, knowledge map, and secrets policy live in:
- `Docs/AI/LinaAIOperatingManual.md`
- `Docs/AI/LinaAIKnowledgeMap.md`
- `Docs/AI/LinaAISecretsPolicy.md`
## Codex Escalation
@@ -50,6 +60,8 @@ For normal tasks, use:
```bash
cd ~/repos/AgrarianGame
Scripts/linaai_refresh_knowledge.sh
Scripts/linaai_bootstrap_context.sh
Scripts/linaai_task.sh "your task here"
```