mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 22:28:10 +09:00
🔖 Task checkpoint: {{user_prompt}} ...
This commit is contained in:
1 parent
c6122410dc
commit
76b6f63fc6
8 files changed
+59
-47
No files matched your search
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"startTime": 1754345448067,
|
||||
"startTime": 1754345464423,
|
||||
"totalTasks": 1,
|
||||
"successfulTasks": 1,
|
||||
"failedTasks": 0,
|
||||
|
||||
@@ -1,50 +1,14 @@
|
||||
[
|
||||
{
|
||||
"timestamp": 1754345340841,
|
||||
"timestamp": 1754345478241,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 9604722688,
|
||||
"memoryFree": 57822822400,
|
||||
"memoryUsagePercent": 14.244508939877361,
|
||||
"memoryEfficiency": 85.75549106012264,
|
||||
"memoryUsed": 9939374080,
|
||||
"memoryFree": 57488171008,
|
||||
"memoryUsagePercent": 14.7408215248354,
|
||||
"memoryEfficiency": 85.2591784751646,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.0575,
|
||||
"cpuLoad": 0.054375,
|
||||
"platform": "linux",
|
||||
"uptime": 63656.63
|
||||
},
|
||||
{
|
||||
"timestamp": 1754345370870,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 9656786944,
|
||||
"memoryFree": 57770758144,
|
||||
"memoryUsagePercent": 14.321724054163449,
|
||||
"memoryEfficiency": 85.67827594583655,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.04,
|
||||
"platform": "linux",
|
||||
"uptime": 63686.66
|
||||
},
|
||||
{
|
||||
"timestamp": 1754345400901,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 9855897600,
|
||||
"memoryFree": 57571647488,
|
||||
"memoryUsagePercent": 14.617019776023318,
|
||||
"memoryEfficiency": 85.38298022397669,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.050625,
|
||||
"platform": "linux",
|
||||
"uptime": 63716.69
|
||||
},
|
||||
{
|
||||
"timestamp": 1754345430931,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 10275463168,
|
||||
"memoryFree": 57152081920,
|
||||
"memoryUsagePercent": 15.2392663185193,
|
||||
"memoryEfficiency": 84.7607336814807,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.06,
|
||||
"platform": "linux",
|
||||
"uptime": 63746.72
|
||||
"uptime": 63794.03
|
||||
}
|
||||
]
|
||||
@@ -1,10 +1,10 @@
|
||||
[
|
||||
{
|
||||
"id": "cmd-hooks-1754345448172",
|
||||
"id": "cmd-hooks-1754345464522",
|
||||
"type": "hooks",
|
||||
"success": true,
|
||||
"duration": 9.91867000000002,
|
||||
"timestamp": 1754345448182,
|
||||
"duration": 7.866538999999989,
|
||||
"timestamp": 1754345464530,
|
||||
"metadata": {}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
{"branch": "checkpoint/pre-edit-20250804-221052", "file": "/workspaces/claude-code-flow/test-prompt-generation.js", "timestamp": "2025-08-04T22:10:52Z", "type": "pre-edit", "original_branch": "alpha-85"}
|
||||
@@ -0,0 +1 @@
|
||||
{"checkpoint": "task-20250804-221052", "task": "{{user_prompt}} ", "timestamp": "2025-08-04T22:10:52Z", "commit": "c6122410dc9f1358c38cfe3b91b984741141e6e9", "github_release": "true"}
|
||||
@@ -1,6 +1,10 @@
|
||||
{
|
||||
<<<<<<< Updated upstream
|
||||
<<<<<<< Updated upstream
|
||||
"startTime": 1754321860612,
|
||||
=======
|
||||
"startTime": 1754320393327,
|
||||
>>>>>>> Stashed changes
|
||||
=======
|
||||
"startTime": 1754320393327,
|
||||
>>>>>>> Stashed changes
|
||||
|
||||
@@ -1,11 +1,19 @@
|
||||
[
|
||||
{
|
||||
<<<<<<< Updated upstream
|
||||
<<<<<<< Updated upstream
|
||||
"id": "cmd-hooks-1754321860717",
|
||||
"type": "hooks",
|
||||
"success": true,
|
||||
"duration": 24.768541000000027,
|
||||
"timestamp": 1754321860742,
|
||||
=======
|
||||
"id": "cmd-hooks-1754320393431",
|
||||
"type": "hooks",
|
||||
"success": true,
|
||||
"duration": 11.025525000000016,
|
||||
"timestamp": 1754320393442,
|
||||
>>>>>>> Stashed changes
|
||||
=======
|
||||
"id": "cmd-hooks-1754320393431",
|
||||
"type": "hooks",
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// Test script to verify enhanced prompt generation
|
||||
import { WorkflowExecutor } from './src/cli/simple-commands/automation-executor.js';
|
||||
|
||||
const executor = new WorkflowExecutor({
|
||||
enableClaude: true,
|
||||
nonInteractive: false
|
||||
});
|
||||
|
||||
// Mock workflow data
|
||||
const workflow = {
|
||||
name: "Test Workflow",
|
||||
agents: [{
|
||||
id: "test_agent",
|
||||
name: "Test Agent",
|
||||
type: "researcher",
|
||||
config: { capabilities: ["web-search", "analysis"] }
|
||||
}]
|
||||
};
|
||||
|
||||
const task = {
|
||||
id: "task1",
|
||||
name: "Research Task",
|
||||
description: "Research ML approaches",
|
||||
assignTo: "test_agent",
|
||||
claudePrompt: "Research the latest machine learning approaches for the given problem."
|
||||
};
|
||||
|
||||
const agent = workflow.agents[0];
|
||||
|
||||
// Generate and display the enhanced prompt
|
||||
console.log("=== ENHANCED TASK PROMPT ===");
|
||||
const prompt = executor.createTaskPrompt(task, agent, workflow);
|
||||
console.log(prompt);
|
||||
console.log("=== END PROMPT ===");
|
||||
Reference in new issue
Block a user