@cyqlelabs/mcp-dual-cycle-reasoner
Version:
MCP server implementing dual-cycle metacognitive reasoning framework for autonomous agents
40 lines (39 loc) • 2.83 kB
TypeScript
export declare const DESCRIPTIONS: {
readonly LAST_ACTION: "Latest action name to be added to the accumulated action history";
readonly CURRENT_CONTEXT: "Current environment context or state";
readonly GOAL: "Current goal being pursued";
readonly LOOP_DETECTED: "Whether a loop was detected";
readonly LOOP_TYPE: "Type of loop detected";
readonly LOOP_CONFIDENCE: "Confidence in loop detection";
readonly LOOP_DETAILS: "Details about the detected loop";
readonly ACTIONS_INVOLVED: "Actions involved in the loop";
readonly DETECTION_METHOD: "Loop detection method to use: statistical, pattern or hybrid.";
readonly ENTROPY_SCORE: "Statistical entropy score";
readonly VARIANCE_SCORE: "Statistical variance score";
readonly TREND_SCORE: "Statistical trend score";
readonly CYCLICITY_SCORE: "Statistical cyclicity score";
readonly CURRENT_BELIEFS: "Current beliefs as simple strings";
readonly CONTRADICTING_EVIDENCE: "Evidence that contradicts current beliefs";
readonly INITIAL_BELIEFS: "Initial beliefs about the task and environment";
readonly REVISED_BELIEFS: "Updated beliefs as simple strings";
readonly REMOVED_BELIEFS: "Beliefs that were removed";
readonly RATIONALE: "Explanation for the changes";
readonly PROBLEM_DESCRIPTION: "Simple description of the problem";
readonly SOLUTION: "What action resolved the issue";
readonly OUTCOME: "Whether the solution was successful";
readonly WINDOW_SIZE: "Size of the monitoring window";
readonly MAX_RESULTS: "Maximum number of cases to return";
readonly PROGRESS_INDICATORS: "Action patterns that indicate positive task progress (e.g., [\"success\", \"complete\", \"found\"])";
readonly MIN_ACTIONS_FOR_DETECTION: "Minimum number of actions required before loop detection";
readonly ALTERNATING_THRESHOLD: "Threshold for detecting alternating action patterns (0.0-1.0)";
readonly REPETITION_THRESHOLD: "Threshold for detecting repetitive action patterns (0.0-1.0)";
readonly PROGRESS_THRESHOLD_ADJUSTMENT: "How much to increase thresholds when progress indicators are present";
readonly SEMANTIC_INTENTS: "Domain-specific action intents for semantic analysis (e.g., [\"navigating\", \"clicking\", \"typing\"])";
readonly ENTROPY_THRESHOLD: "Threshold for entropy-based anomaly detection";
readonly VARIANCE_THRESHOLD: "Threshold for variance-based stagnation detectio cfn";
readonly TREND_THRESHOLD: "Threshold for trend-based progress detection";
readonly CYCLICITY_THRESHOLD: "Threshold for detecting cyclical patterns";
readonly ACTION_NAME: "Action name (e.g., 'scroll_down', 'click_element')";
readonly ACTION_RESULT: "Result or error from the action";
readonly ENVIRONMENT_CONTEXT: "Current environment context or location";
};