fix: feat(20g): migrate all remaining agents to .profile + remove ops repo journal dirs (#90)
This commit is contained in:
parent
56b5f8647f
commit
95893aa1f2
8 changed files with 35 additions and 26 deletions
|
|
@ -68,16 +68,17 @@ load_formula_or_profile "agent-role" "formulas/agent-role.toml"
|
|||
At session start, agents load `knowledge/lessons-learned.md` from `.profile` and inject it into the prompt:
|
||||
|
||||
```bash
|
||||
profile_load_lessons || true
|
||||
LESSONS_INJECTION="${LESSONS_CONTEXT:-}"
|
||||
formula_prepare_profile_context
|
||||
```
|
||||
|
||||
This single function call replaces the previous boilerplate of `profile_load_lessons` + `LESSONS_INJECTION` assignments.
|
||||
|
||||
### Journal writing
|
||||
|
||||
After each session, agents write reflection journals to `.profile/journal/`:
|
||||
|
||||
```bash
|
||||
profile_write_journal "$ISSUE" "$ISSUE_TITLE" "$outcome" "$FILES_CHANGED"
|
||||
profile_write_journal "session-name" "Session title" "outcome" "files-changed"
|
||||
```
|
||||
|
||||
Journals are automatically digested into `lessons-learned.md` when undigested count exceeds 10.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue