fix(memory,hooks): add structural pagination and canonical Ruflo resolution - #3083
Draft
stuinfla wants to merge 3 commits into
Draft
fix(memory,hooks): add structural pagination and canonical Ruflo resolution#3083stuinfla wants to merge 3 commits into
stuinfla wants to merge 3 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
memory list --offsetpagination and opt-in JSON--page-infometadata (total,nextOffset,hasMore)~/.npm-global/bin/ruflo, then PATH, without downloading a privatenpxcopyWhy
Cross-session continuity needs a structural way to enumerate every AgentDB row; a fixed first-page listing can silently omit older checkpoints. Hook invocations also must not create a second Ruflo installation whose behavior can diverge from the globally managed CLI.
Verification
Base:
3c99b1c84a25948c42a163253bac6effed5fbbbbHead:
fd42708592df971500f75fb9882c0bd44faf7014pnpm exec vitest run v3/@claude-flow/cli/__tests__/memory-list-pagination-structural.test.ts— 7/7 passedbash plugins/ruflo-core/scripts/smoke.sh— 11/11 passednode plugins/ruflo-core/scripts/test-hooks.mjs "node $PWD/v3/@claude-flow/cli/bin/cli.js"— 26/26 passedgit diff --check origin/main...HEAD— passedScope boundaries