Skip to content

Release 0.4.5 heartbeat, notes, and memory fixes#15

Merged
Kxrbx merged 1 commit intomainfrom
feat/clawlet-0.4-runtime-memory-overhaul
Mar 18, 2026
Merged

Release 0.4.5 heartbeat, notes, and memory fixes#15
Kxrbx merged 1 commit intomainfrom
feat/clawlet-0.4-runtime-memory-overhaul

Conversation

@Kxrbx
Copy link
Copy Markdown
Owner

@Kxrbx Kxrbx commented Mar 18, 2026

No description provided.

@Kxrbx Kxrbx merged commit b80e607 into main Mar 18, 2026
1 of 2 checks passed
@Kxrbx Kxrbx deleted the feat/clawlet-0.4-runtime-memory-overhaul branch March 18, 2026 15:59
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e36243ef37

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

url: str,
headers: dict[str, str],
auth_profile: Optional[str] = None,
) -> tuple[dict[str, str], dict]:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve _apply_local_auth's dict contract

Changing this helper to return (headers, auth_context) breaks the existing release check in scripts/release_regression.py:52-78, which still treats _apply_local_auth(...) as a dict and calls .get(...) on it. That means the regression script now aborts before it can validate the 0.4.5 auth changes, so the release gate fails as soon as this path is exercised.

Useful? React with 👍 / 👎.

Comment thread clawlet/tools/notes.py
Comment on lines +192 to +196
sql += " ORDER BY updated_at DESC LIMIT ?"
params.append(max(1, min(int(limit or 20), 100)))
with self._connect() as conn:
rows = conn.execute(sql, tuple(params)).fetchall()
notes = [self._row_to_note(row) for row in rows]
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Apply tag filters before limiting note results

When tags is provided, this query still fetches only the latest limit rows and then filters them in Python afterward. If the newest 20 notes do not carry the requested tag(s) but older notes do, notes_list_notes incorrectly returns no matches even though matching notes exist in the store.

Useful? React with 👍 / 👎.

Comment on lines +382 to +384
if self.workspace:
workspace_root = self.workspace.expanduser().resolve()
return workspace_root / token_path.lstrip("~/")
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Write ~/ token paths to home, not the workspace

For profiles whose bearer_token_path starts with ~/ (including the built-in Moltbook profile), this branch writes the refreshed bearer under <workspace>/.config/... instead of $HOME/.config/.... The immediate request still succeeds, but later runs in a different workspace will not see the persisted token and will keep retrying stale credentials.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant