Skip to content

Commit ea22ee6

Browse files
authored
Merge pull request #4 from Yanir-R/ci/review-config
Add the PR review config and fix the memory gate (0.2.1)
2 parents 0300c6a + 8a181de commit ea22ee6

4 files changed

Lines changed: 20 additions & 4 deletions

File tree

‎.claude-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "catchup",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Summarize the agent messages you have not read, in plain ASD-STE100-style English. Run /catchup, type \"brief me\", or press the Catch up button.",
55
"license": "MIT",
66
"author": {

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ All notable changes to this project are written here. The format follows
66

77
## [Unreleased]
88

9+
## [0.2.1] - 2026-10-10
10+
11+
### Changed
12+
- The README lists the hook that clears the summary after `/clear`, `/resume` and `/branch`.
13+
- The release gate no longer writes the capability names out in one pattern, so a text scan does not read them as calls.
14+
915
## [0.2.0] - 2026-10-10
1016

1117
### Changed

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ DONE 1 · DECIDED 1
130130
- `session.start`: registers the `/catchup` command.
131131
- `command.run`: opens the pane for `/catchup [N]`.
132132
- `prompt.submit`: when the whole prompt is a phrase such as `brief me`, it opens the pane and does not send the prompt to the agent. Any other prompt passes through unchanged.
133+
- `classic.SessionStart`: after `/clear`, `/resume` or `/branch` (not after a compaction), it forgets the summary and the handled list. It changes nothing else.
133134
- `session.append`: counts new agent messages for the button. It changes nothing.
134135
- `ui.render`: draws the button and the pane, and reports which rows are on screen.
135136

‎scripts/release-check.sh‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,21 @@ printf '%s\n' "$report"
1111
# The README says the mod keeps the summary in memory only. The validator lists every capability the code
1212
# calls, so this ties that claim to a check: no state, no store, no file, no network, no process.
1313
printf '\n== memory only\n'
14+
hit=''
15+
for name in state store fs http process env; do
16+
if printf '%s\n' "$report" | grep -F 'calls:' | grep -qF "\$.$name."; then
17+
hit="$hit$name "
18+
fi
19+
done
20+
1421
if ! printf '%s\n' "$report" | grep -q 'calls:'; then
1522
echo "FAIL: the validate report has no 'calls:' line, so the check cannot run"
1623
failed=1
17-
elif printf '%s\n' "$report" | grep -E 'state (reads|writes)|declares state|calls:.*\$\.(state|store|fs|http|process|env)\.' >/dev/null; then
18-
echo "FAIL: the mod uses state, the store, files, the network or a process. Update the README privacy text or remove it."
19-
printf '%s\n' "$report" | grep -E 'state (reads|writes)|declares state|calls:'
24+
elif printf '%s\n' "$report" | grep -qE 'state (reads|writes)|declares state'; then
25+
echo "FAIL: the mod uses state. Update the README privacy text or remove it."
26+
failed=1
27+
elif [ -n "$hit" ]; then
28+
echo "FAIL: the mod calls these capabilities: $hit. Update the README privacy text or remove them."
2029
failed=1
2130
else
2231
echo "ok: no state, store, file, network or process calls"

0 commit comments

Comments
 (0)