Ruflo 3.80.12 blocks a wider range of dangerous deletion commands attempted by agents and fixes task delivery between nodes and incorrect memory command output. Developers using agents can update the installed helpers to strengthen pre-execution safeguards. For operators of connected nodes, task delivery and status checks now better reflect actual behavior.
1. Blocking dangerous deletion commands before execution
The pre-command hook installed by ruflo init checks for dangerous actions before an agent executes a command. It previously allowed commands that deleted a home folder or an entire Windows drive, but this release blocks them.
rm -rf ~
rm -rf "$HOME"/*
Remove-Item -Recurse -Force C:\
rd /s /q d:Deleting common targets such as ~/build remains allowed. On Windows, hooks with no command could mistakenly read the shell's PROMPT variable as a command and approve it. This is now blocked too. The release illustration shows blocked commands returning exit code 2.
The new helpers are available by rerunning ruflo init or updating. The release notes explain how to update the full package with npx ruflo@latest.
2. Helpers preserve edit history and corrupted files
The installed helpers now fix issues that recorded only the first edit per session and treated edits as failures when a result string contained error. The release illustration shows recorded edits rising from 1 of 5 to all 5 in a session.
Corrupted storage files are preserved as <name>.corrupt rather than overwritten with empty files. Writes are now atomic, preventing partial files if the program stops during a write.
The Windows status bar runs only tools on the system path, rather than executables inside the project folder.
The auto-commit script does not push to remote repositories by default and stages only files already tracked by Git. This improves data protection and safety around project-local executables. Users expecting automatic pushes must account for the changed default.
3. Federated nodes exchange task messages
Between two nodes configured to pin and trust each other's identities, messages other than heartbeats and status broadcasts failed during signing. Peers could be discovered, but tasks could not be handed off or memory queries answered. The fix restores task delivery by signing messages in the plain JSON format the peer receives, allowing the sender to be verified.
The release illustration shows four message types: heartbeats, task assignments, memory queries, and context sharing. Previously, only heartbeats succeeded; after the fix, all four are delivered.
4. Accurate task counts and memory output for agent swarms
swarm_status, the status command for a group of agents working together, kept showing a task count of 0. Task summaries in the same session showed created and completed tasks. It now counts from the same task store and provides a status breakdown.
The release illustration shows status checks as one task is created, assigned, and completed. Both the task count and progress status change, letting operators distinguish between no tasks and completed work.
Swarm status checks during creation, assignment, and completion of one task in the release illustration
| Task stage | Previous task count | Task count after fix |
|---|---|---|
| Created / pending | 0 | 1 |
| Assigned / in progress | 0 | 1 |
| Completed | 0 | 1 |
New tasks are linked to their swarm, and the task creation command can optionally accept a swarm identifier.
Memory export previously wrote JSON even when CSV or binary, a machine format difficult for people to read, was requested. It also reported exporting vectors, arrays of numerical data, when it had not. It now reports the JSON fallback and states that vectors are not yet exported. It warns that the configured memory store value has no effect, while memory statistics display that configured value.
In memory package 3.4.2, cache deletion events report the actual number of removed items instead of always reporting 0.
5. Setup documentation and session record fixes
Some command guidance installed by ruflo init invoked nonexistent commands, producing only help or errors yet exiting with code 0. Swarm, memory, and agent database guidance now matches actual commands and tools. Tests check the commands, tools, and imports listed in the guidance.
When several managed agents ended simultaneously, session recording could give up after waiting only about 200 milliseconds if another writer held the record file. It now waits up to 2 seconds for an active writer and clears locks, markers preventing concurrent access, left by stopped writers. The release illustration shows recorded sessions increasing from 5 to 8 out of 8 ending simultaneously.
This release focuses on blocking dangerous commands earlier and making federation, memory, and recording accurately reflect actual results.
