Compare commits
1 commit
44a86d84c6
...
89fd7742e8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
89fd7742e8 |
1 changed files with 1 additions and 0 deletions
|
|
@ -339,6 +339,7 @@ profile_load_lessons() {
|
|||
local lessons_content
|
||||
lessons_content=$(head -c 2048 "$lessons_file" 2>/dev/null) || lessons_content=""
|
||||
if [ -n "$lessons_content" ]; then
|
||||
# shellcheck disable=SC2034 # exported to caller for prompt injection
|
||||
LESSONS_CONTEXT="## Lessons learned (from .profile/knowledge/lessons-learned.md)
|
||||
${lessons_content}"
|
||||
log "profile: loaded lessons-learned.md (${#lessons_content} bytes)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue