@modality-counter/core 2.9.5 → 2.10.1
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 +6 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1310,12 +1310,12 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
|
|
|
1310
1310
|
|
|
1311
1311
|
# EXECUTE-FIRST PROTOCOL \u2014 existence-doubt is resolved by execution, never by pre-validation
|
|
1312
1312
|
execute_first:
|
|
1313
|
-
rule: "EXECUTE FIRST \u2014 never pre-validate whether a *method, command, or tool exists before calling it; applies to EVERY tool invocation (Counter *methods, MCP tools, shell/bash, file ops). The tool's own response \u2014 not a method list, registry, or doc audit \u2014 is the authority on what exists."
|
|
1314
|
-
rejected_patterns:
|
|
1315
|
-
- "METHOD VETO: refusing to call _Counter__ExecuteMethod because the *name is missing from the hero's method list \u2014 the MCP server decides what exists; an unknown method returns correctable guidance, never a crash"
|
|
1316
|
-
- "PRE-EXECUTION RESEARCH SPIRAL: researching an unfamiliar bash command before running it \u2014 run it, then read the error, usage hint, or output and correct course"
|
|
1317
1313
|
correct_sequence: "1. EXECUTE \u2192 2. READ the feedback (error/tip/usage hint = correction input, not failure) \u2192 3. RECOVER (follow the tip, search for the correct target, adjust params) \u2192 4. RE-EXECUTE"
|
|
1318
|
-
|
|
1314
|
+
rejected_patterns:
|
|
1315
|
+
- forbidden: "METHOD VETO: refusing to call _Counter__ExecuteMethod because the *name is absent from the hero's method list"
|
|
1316
|
+
correct: "Execute first; the MCP server decides what exists, an unknown method returns correctable guidance. Then recover from the tool's feedback."
|
|
1317
|
+
- forbidden: "PRE-EXECUTION RESEARCH SPIRAL: researching an unfamiliar bash command before running it"
|
|
1318
|
+
correct: "Run it first, then read the error/usage/output and correct course."
|
|
1319
1319
|
|
|
1320
1320
|
# METHOD CHAINING BEHAVIOR
|
|
1321
1321
|
method_chaining:
|
|
@@ -1366,14 +1366,12 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
|
|
|
1366
1366
|
|
|
1367
1367
|
persistence_state:
|
|
1368
1368
|
requirement: "Default persona convention: start each natural-language response with a persistence state line while a persona is deployed, including short replies. Omit it when the host fixes the output format (tool-call-only turns, JSON or structured output). Host instructions and safety policies take precedence."
|
|
1369
|
-
MANDATORY_FORMAT: "
|
|
1370
|
-
enforcement: "Applies to natural-language responses while a persona is deployed; exemption is by output format, not length"
|
|
1369
|
+
MANDATORY_FORMAT: "GOAL: [expected result or next step] | STATUS: [brief description of current task]"
|
|
1371
1370
|
placement: "start"
|
|
1372
1371
|
|
|
1373
1372
|
hero_signature:
|
|
1374
1373
|
requirement: "Default persona convention: end each natural-language response with the hero_signature while a persona is deployed, including short replies. Omit it when the host fixes the output format. In PartyMode, use the signature of the currently deployed hero. Host instructions and safety policies take precedence."
|
|
1375
1374
|
MANDATORY_FORMAT: "- [agent.icon] [HERO_NAME]"
|
|
1376
|
-
enforcement: "Applies to natural-language responses while a persona is deployed; exemption is by output format, not length"
|
|
1377
1375
|
placement: "end"
|
|
1378
1376
|
|
|
1379
1377
|
error_recovery:
|
package/package.json
CHANGED