Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"name": "second-brain",
"source": "./",
"description": "Self-evolving AI second brain. Auto-learns from sessions, discovers tools, maintains a local knowledge base, and self-critiques code quality.",
"version": "0.34.1"
"version": "0.34.2"
},
{
"name": "cost-router",
Expand Down
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "second-brain",
"description": "Self-evolving AI second brain. Automatically learns from sessions, discovers tools, maintains a local knowledge base, and self-critiques code quality — getting smarter with every interaction.",
"version": "0.34.1",
"version": "0.34.2",
"author": {
"name": "second-brain"
},
Expand Down
8 changes: 8 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,13 @@
"source": "local",
"path": "."
}
},
"permissions": {
"deny": [
"Bash(sudo *)",
"Bash(chmod 777 *)",
"Bash(rm -rf /*)",
"Bash(ssh *)"
]
}
}
7 changes: 5 additions & 2 deletions scripts/merge-persona-signals.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,17 @@ MERGED=$(echo "$MERGED" | jq -c \
# duplicate USER.md pin.
SCORED=$(echo "$MERGED" | jq -c '
map(. + {score:
((if .count >= 11 then 0.85
# The WHOLE value expression is parenthesized: an object value that is a bare
# pipeline (`{k: a | b / c}`) parses on newer jq but is a SYNTAX ERROR on the
# older jq CI ships — the object-value grammar there needs one enclosing group.
(((if .count >= 11 then 0.85
elif .count >= 6 then 0.7
elif .count >= 3 then 0.5
else 0.3 end)
- 0.02 * ((((now - ((((.last_seen // "") + "T00:00:00Z") | fromdateiso8601?) // now)) / 604800) | floor)
| if . < 0 then 0 else . end))
| (if . < 0.1 then 0.1 else . end)
| (. * 100 | round) / 100
| ((. * 100 | round) / 100))
})
| {keep: map(select(.graduated == true or .score >= 0.2)),
pruned: map(select(.graduated != true and .score < 0.2) | .signal)}
Expand Down
Loading