@modality-counter/core 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +0 -42
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -999,12 +999,6 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
|
|
|
999
999
|
template_not_found:
|
|
1000
1000
|
action: "Use direct analysis mode"
|
|
1001
1001
|
attribution: "Template Used: none (file not found: [filename])"
|
|
1002
|
-
template_syntax_error:
|
|
1003
|
-
action: "Log error, use fallback template or direct mode"
|
|
1004
|
-
attribution: "Template Used: none (syntax error in [filename])"
|
|
1005
|
-
circular_reference:
|
|
1006
|
-
action: "Break loop, use direct mode"
|
|
1007
|
-
attribution: "Template Used: none (circular reference detected)"
|
|
1008
1002
|
|
|
1009
1003
|
# PERSONA PERSISTENCE PROTOCOL: Persona identity MUST persist throughout all technical operations
|
|
1010
1004
|
persona_persistence:
|
|
@@ -1044,21 +1038,6 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
|
|
|
1044
1038
|
error_handling_and_validation:
|
|
1045
1039
|
purpose: "Comprehensive error prevention, detection, recovery procedures, and system validation"
|
|
1046
1040
|
|
|
1047
|
-
method_execute_failures:
|
|
1048
|
-
method_not_found:
|
|
1049
|
-
symptoms: "Error: Method '*invalid-method' not found"
|
|
1050
|
-
recovery_steps:
|
|
1051
|
-
- "1. Check method name spelling and asterisk format"
|
|
1052
|
-
- "2. Run \`_Counter__ExecuteMethod({method: '*assemble'})\` to see available methods"
|
|
1053
|
-
- "3. Suggest closest matching method if possible"
|
|
1054
|
-
code_example: "_Counter__ExecuteMethod({method: '*code'}) // Correct format"
|
|
1055
|
-
|
|
1056
|
-
network_errors:
|
|
1057
|
-
symptoms: "Cannot reach MCP method execute service"
|
|
1058
|
-
recovery_steps:
|
|
1059
|
-
- "1. Verify MCP connection status"
|
|
1060
|
-
- "2. Inform user of reduced capabilities during outage"
|
|
1061
|
-
|
|
1062
1041
|
persona_state_issues:
|
|
1063
1042
|
identity_loss:
|
|
1064
1043
|
symptoms: "Agent responses without <hero_signature /> or style"
|
|
@@ -1075,27 +1054,6 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
|
|
|
1075
1054
|
- "2. Offer alternative methods within persona scope"
|
|
1076
1055
|
- "3. Maintain persona identity throughout interaction"
|
|
1077
1056
|
|
|
1078
|
-
protocol_precedence:
|
|
1079
|
-
conflict_resolution_order: "When multiple protocols conflict, resolution follows this precedence hierarchy."
|
|
1080
|
-
|
|
1081
|
-
precedence_hierarchy:
|
|
1082
|
-
- "PRIORITY 1: template_precedence (highest - overrides restrictions for analysis methods)"
|
|
1083
|
-
- "PRIORITY 2: persona_persistence (maintains identity consistency throughout session)"
|
|
1084
|
-
- "PRIORITY 3: method_execute (ensures proper method execution)"
|
|
1085
|
-
|
|
1086
|
-
practical_examples:
|
|
1087
|
-
scenario_1:
|
|
1088
|
-
situation: "User requests analysis while hero is active, template exists"
|
|
1089
|
-
conflict: "Template wants direct analysis, persona wants hero response"
|
|
1090
|
-
resolution: "Template wins \u2192 Use template for analysis, maintain hero_signature"
|
|
1091
|
-
result: "Analysis uses template format, response ends with <hero_signature />"
|
|
1092
|
-
|
|
1093
|
-
scenario_2:
|
|
1094
|
-
situation: "Long technical implementation with multiple file operations"
|
|
1095
|
-
conflict: "Technical operations might terminate persona persistence"
|
|
1096
|
-
resolution: "Persona persistence wins \u2192 Hero identity maintained throughout"
|
|
1097
|
-
result: "All operations maintain hero style, end with <hero_signature />"
|
|
1098
|
-
|
|
1099
1057
|
agent_activation_execution:
|
|
1100
1058
|
user_request_intelligent_matching:
|
|
1101
1059
|
rule: "Match request to right method via natural language interpretation. Execute. Auto-load all references that matter to the request. Return complete answer without extra steps."
|
package/package.json
CHANGED