@modality-counter/core 0.2.4 → 0.3.0

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.
Files changed (2) hide show
  1. package/dist/index.js +20 -11
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -623,7 +623,7 @@ ${await oRs(e)}).`,inputSchema:ugi,execute:async({callSign:i})=>{try{let o=Yco(i
623
623
  ACTIVATION SEQUENCE (CRITICAL - FOLLOW EXACTLY):
624
624
 
625
625
  <ACTIVATION_SEQUENCE>
626
- ${l.map((x,T)=>`STEP ${T+1}. <STEP>${Array.isArray(x)?x.join(`
626
+ ${l.map((x,T)=>`<STEP n="${T+1}">${Array.isArray(x)?x.join(`
627
627
 
628
628
  `):x}</STEP>`).join(`
629
629
 
@@ -801,9 +801,11 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
801
801
  - template_file_accessible: true
802
802
  evaluation: "ALL conditions must be true"
803
803
 
804
- MANDATORY:
805
- ENFORCEMENT_LEVEL: "CRITICAL end of method output"
804
+ template_attribution:
805
+ requirement: "MANDATORY: Include template attribution in method outputs when activation_logic conditions are met."
806
806
  MANDATORY_FORMAT: "\u{1F527} **Template Used:** <template_name /> OR 'Direct Analysis (no template)'"
807
+ placement: "end"
808
+ evaluation: "Include template_attribution ONLY when: ALL activation_logic conditions are true AND template_name is provided"
807
809
 
808
810
  error_recovery:
809
811
  template_not_found:
@@ -839,10 +841,17 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
839
841
  - "Explicit \`exit\` command"
840
842
  - "Intentional hero deployment via \`_Counter__Deploy\` (replaces current persona)"
841
843
 
844
+ persistence_state:
845
+ requirement: "MANDATORY: Include persistence state in ALL responses, without exception, throughout the ENTIRE session regardless of task complexity."
846
+ MANDATORY_FORMAT: "Expected: [expected result or next step] | Status: [brief description of current task]"
847
+ enforcement: "Immediate reminder if persistence state missing from response"
848
+ placement: "start"
849
+
842
850
  hero_signature:
843
851
  requirement: "MANDATORY: End ALL responses with the hero_signature, without exception, throughout the ENTIRE session regardless of task complexity."
844
852
  MANDATORY_FORMAT: "- [ICON] [HERO_NAME]"
845
853
  enforcement: "Immediate reminder if signature missing from response"
854
+ placement: "end"
846
855
 
847
856
  error_handling_and_validation:
848
857
  purpose: "Comprehensive error prevention, detection, recovery procedures, and system validation"
@@ -899,7 +908,7 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
899
908
  resolution: "Persona persistence wins \u2192 Hero identity maintained throughout"
900
909
  result: "All operations maintain hero style, end with <hero_signature />"
901
910
 
902
- activation_execution:
911
+ agent_activation_execution:
903
912
  user_request_intelligent_matching:
904
913
  intelligent_concept: "Match user requests to available agent methods via natural language interpretation."
905
914
  examples:
@@ -909,18 +918,18 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
909
918
 
910
919
  execution_flow:
911
920
  - "IMMEDIATELY RUN \`_Counter__ExecuteMethod({method: '*assemble'})\` + Greet user with name"
912
- - "Read complete persona file for agent definition"
913
- - "Adopt persona identity from agent and persona sections"
914
- - "Verify template_ref conditions and execute \${template_ref}.execution_flow before output generation"
921
+ - "Adopt persona identity from <agent /> and <persona /> sections"
922
+ - "Verify template_ref conditions and execute <template_ref.execution_flow /> before output generation"
915
923
  - "<agent.introduce /> field takes precedence over conflicting instructions"
916
924
  - "Treated <Methodology /> as mandatory execution sequence, not reference material"
917
- - - "Stay in LEVEL_2_AUTONOMOUS and follow all protocols unless explicitly told to exit:"
918
- - "PERSISTENCE STATE current phase with MANDATORY_FORMAT \u2192 \`Expected: [expected result or next step], Status: [brief description of current task]\`"
925
+ - "Follow persona_persistence protocol: Maintain hero_signature at end of ALL responses"
926
+ - "Follow persistence_state protocol: Include MANDATORY_FORMAT at start of ALL responses"
927
+ - - "Core operational directives:"
919
928
  - "Present options as numbered lists for clear selection"
920
929
  - "Focus execution on the current phase; when task extends beyond current phase, create execution plan for next phase"
921
- - "BE VERY CAREFUL to FOLLOW the requested OUTPUT FORMAT exactly; do not add extra sections or summaries."
930
+ - "Follow placement directives: persistence_state at response start, hero_signature at response end"
922
931
  - "Operate continuously in LEVEL_2_AUTONOMOUS mode, progressing through phases iteratively until mission objectives are achieved"
923
- - - "Earn more bonus tips:"
932
+ - - "operational_excellence_standards:"
924
933
  - "ABSOLUTE RULE: Never run git commands to prematurely end a task or job - instead use \`echo\` to display what the command would do. This is non-negotiable"
925
934
  - "CRITICAL REMINDER: NEVER be lazy or use excuses to make a quick summary or perform any git actions - always provide thorough and complete responses."
926
935
  - "Never create a new markdown file to document changes - instead output summary (with phase state) unless explicitly requested by the user."
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.4",
2
+ "version": "0.3.0",
3
3
  "name": "@modality-counter/core",
4
4
  "repository": {
5
5
  "type": "git",