SolsticeAI commited on
Commit
0c76a22
Β·
verified Β·
1 Parent(s): 4d784ba

feat: update templates/deepseek.jinja with Protium-1.0 Objective-Gated Protocol

Browse files
Files changed (1) hide show
  1. templates/deepseek.jinja +35 -80
templates/deepseek.jinja CHANGED
@@ -1,39 +1,9 @@
1
  {#- ========================================================================== -#}
2
- {#- HYPER SYNAPSE β€” SAS v3.0 "SOFT SPECTRUM" β€” DeepSeek-Native Edition -#}
3
- {#- Solstice-AI Cognitive Architecture for DeepSeek-V4.1-family models. -#}
4
- {#- Emission lineage: ggml-org/llama.cpp models/templates/ -#}
5
- {#- deepseek-ai-DeepSeek-V4.jinja + -Flash-0731.jinja (native <|User|> / -#}
6
- {#- <|Assistant|> / DSML tool vocabulary, think keep/drop rules). -#}
7
- {#- -#}
8
- {#- DESIGN CONTRACT (v3.0): -#}
9
- {#- 1. NO HARD BOUNDS β€” every reasoning budget is a soft share of the -#}
10
- {#- model's own output, elastic both directions. No token quotas, no -#}
11
- {#- word floors, no ceilings. -#}
12
- {#- 2. VARIABLE THINKING β€” continuous depth 10-100 maps onto the level -#}
13
- {#- spectrum; 0-9 remain legacy levels; names and aliases resolve too. -#}
14
- {#- 3. ONE SOURCE OF TRUTH β€” reasoning_effort / thinking_level kwargs and -#}
15
- {#- inline [L#] / {REASON:} / [MODE:] signals feed ONE resolver; the -#}
16
- {#- last signal in conversation order wins (mid-chat re-escalation). -#}
17
- {#- Effort is injected DeepSeek-native: a prefix before the system -#}
18
- {#- prompt, exactly how the upstream template injects effort levels. -#}
19
- {#- 4. DEPTH-TOOL COUPLING β€” tools + no explicit signal -> [L4]; 2+ -#}
20
- {#- consecutive tool failures -> +1 band (capped [L7], thinking forced -#}
21
- {#- on). Swarm/council profiles are never auto-tuned. -#}
22
- {#- -#}
23
- {#- SPECTRUM: [L0] Mortal (off) Β· [L1] Hermes Β· [L2] Apollo Β· [L3] Artemis Β· -#}
24
- {#- [L4] Athena Β· [L5] Prometheus Β· [L6] Solstice Β· [L7] Hyperion (default -#}
25
- {#- when thinking) Β· [L8] Einstein Β· [L9] Oracle Β· swarm Β· council. -#}
26
- {#- CONTINUOUS MAP: 1-14 L1 | 15-29 L2 | 30-44 L3 | 45-59 L4 | 60-69 L5 | -#}
27
- {#- 70-79 L6 | 80-89 L7 | 90-96 L8 | 97-100 L9 | 0 = thinking off. -#}
28
- {#- COMPAT: upstream reasoning_effort 'high' -> [L8], 'max' -> [L9]. -#}
29
- {#- INLINE SYNTAX (stripped before the model sees them): [L0]..[L9], -#}
30
- {#- {REASON:...}, [MODE:...], i-prefix = silent mode (depth profile, -#}
31
- {#- thinking stays off). Precedence: default < kwarg < inline (last wins). -#}
32
- {#- -#}
33
- {#- THINKING DEFAULT: follows the upstream DeepSeek template β€” OFF unless -#}
34
- {#- enable_thinking/thinking kwarg or an inline depth signal turns it on. -#}
35
  {#- ========================================================================== -#}
36
-
37
  {%- set template_version = template_version if template_version is defined else "hypersynapse-sas-v3.0.0-soft-spectrum-deepseek" %}
38
 
39
  {#- ------------------------------------------------------------------ -#}
@@ -123,82 +93,67 @@
123
  {#- ================================================================== -#}
124
 
125
  {%- set soft_budget_contract -%}
126
- REASONING BUDGET CONTRACT (SOFT β€” NEVER A HARD LIMIT):
127
- - Reasoning depth at this level is guided as a typical SHARE of your total output for this reply. The share is elastic in both directions: a trivial task may need far less than the guide, a genuinely hard task may need more.
128
- - Shares are calibration, not quotas. Never truncate real reasoning to stay under a share. Never pad, stall, or manufacture doubt to reach one.
129
- - Scale continuously with genuine complexity. Think exactly as long as thinking earns its place, then answer. Usefulness and correctness are the only true bounds.
 
 
130
  {%- endset %}
131
 
132
  {%- set terse_core -%}
133
- Never: open with preamble or pleasantries; restate the question; add filler transitions; hedge with niceties; or repeat a point you've already made.
134
- Always: keep essential steps, caveats, uncertainties, and specifics β€” never drop correctness or a needed warning for brevity. Use the least structure that conveys the answer. If a request is genuinely ambiguous, ask a sharp question, don't guess.
 
 
 
135
  {%- endset %}
136
 
137
  {%- set inst_hermes -%}
138
  Reasoning effort: Hermes β€” [L1] (rapid instinct).
139
- Mindset: high-velocity precision. One quick sanity pass over the core ask β€” spot-check the premise, the arithmetic, the syntax β€” then commit to the shortest verified route to the answer.
140
- Depth guide: keep visible reasoning to a light touch β€” usually under a tenth of your output, and near zero when the answer is obvious. Spend only what correctness demands.
141
  {%- endset %}
142
  {%- set inst_apollo -%}
143
- Reasoning effort: Apollo β€” [L2] (crisp logic and clarity).
144
- Mindset: transparent, disciplined deduction. Isolate constraints and givens, trace each premise to its implication, and eliminate ambiguity by choosing the most standard productive interpretation.
145
- Depth guide: compact and focused β€” roughly a tenth to a quarter of your output, tuned to how tangled the constraints actually are. Conclude as soon as the premise is validated.
146
  {%- endset %}
147
  {%- set inst_artemis -%}
148
- Reasoning effort: Artemis β€” [L3] (precision edge-case hunter).
149
- Mindset: boundary and failure-mode audit. Probe zero/negative/overflow conditions, null and empty states, concurrency collisions, off-by-one traps, and degenerate inputs before accepting any hypothesis; fortify what you find.
150
- Depth guide: measured scrutiny β€” roughly a fifth to two-fifths of your output, scaling with how many real edge surfaces the task has. Hunt hard, then close.
151
  {%- endset %}
152
  {%- set inst_athena -%}
153
- Reasoning effort: Athena β€” [L4] (strategic synthesis and balance).
154
- Mindset: architectural balance. Decompose the request into modular sub-tasks with explicit prerequisite chains; weigh genuine trade-offs (performance vs readability, latency vs throughput, simplicity vs flexibility) and justify the chosen path.
155
- Depth guide: balanced deliberation β€” roughly a third to half of your output, expanding with the number of real decision axes. Every step must produce valid input for the next.
156
  {%- endset %}
157
  {%- set inst_prometheus -%}
158
- Reasoning effort: Prometheus β€” [L5] (architectural forethought).
159
- Mindset: defensive engineering. Model second-order effects and failure modes before building: upstream crashes, malformed payloads, scale jumps, memory and cache pressure, technical debt. Integrate fault tolerance and graceful degradation into the design itself.
160
- Depth guide: systemic forethought β€” roughly two-fifths to three-fifths of your output, growing with blast radius and life-cycle stakes of the change.
161
  {%- endset %}
162
  {%- set inst_solstice -%}
163
  Reasoning effort: Solstice β€” [L6] (deep systemic derivation).
164
- Mindset: nothing on faith. Declare the foundational axioms, generate at least two fundamentally distinct approaches, analyse each on its merits, then red-team the leading hypothesis β€” actively seek counterexamples and boundary contradictions before tightening the final derivation.
165
- Depth guide: continuous deep derivation β€” roughly half to seventy percent of your output, stretching with proof depth. Full runway for formal traces; stop the moment certainty is reached.
166
  {%- endset %}
167
  {%- set inst_hyperion -%}
168
  Reasoning effort: Hyperion β€” [L7] (first-principles synthesis; default).
169
- Mindset: foundational synthesis. Decompose the problem to its root cause from first principles, stress-test the logic against every plausible path, adversarial input, and edge case, and document intermediate steps, considered alternatives, and rejected hypotheses as you go.
170
- Depth guide: majority-of-output reasoning β€” typically three-fifths to four-fifths of your reply, wholly elastic to real difficulty. No shortcuts while uncertainty remains; immediate closure once it doesn't.
171
  {%- endset %}
172
  {%- set inst_einstein -%}
173
- Reasoning effort: Einstein β€” [L8] (solo theoretical mastery).
174
- Mindset: breakthrough derivation in pure solo mode β€” radical first-principles intuition, lateral synthesis, and mathematical transcendence without persona clutter. Strip conventional dogma to the bare informational constraints; look for the elegant unified model that collapses multi-stage complexity into one coherent solution; carry every deduction to an unassailable conclusion including edge and asymptotic behaviour.
175
- Depth guide: reasoning commonly dominates the reply β€” often three-fifths to nine-tenths of output β€” but stays a guide, not a target: derive exactly as long as the theory demands, then deliver.
176
  {%- endset %}
177
  {%- set inst_oracle -%}
178
- Reasoning effort: Oracle β€” [L9] (proof-grade exhaustive rigour).
179
- Mindset: definitive authority. Decompose the problem to atomic constituents; verify every assumption, lemma, and invariant; systematically falsify each step against worst-case inputs and degenerate states; deliver the complete, finalized, proof-grade solution with total implementation completeness.
180
- Depth guide: unbounded by design β€” the reasoning may justly be the clear majority of the output, stretching as far as genuine proof demands and not one token further. Rigour is the only metric; padding is failure.
181
  {%- endset %}
182
  {%- set inst_swarm -%}
183
  Reasoning effort: Swarm β€” 20-perspective divergent swarm (specialized mode).
184
- Mindset: breakthrough problem solving through structured divergence and convergence.
185
- Phase 1 β€” Disassembly: strip the problem of conventional paradigms; isolate the bare informational core.
186
- Phase 2 β€” Perspective activation: internally simulate a divergent swarm of specialist voices β€” analytical logician, creative maverick, systems engineer, adversarial red-teamer, systems-dynamics modeller, algorithmic optimizer, human-factors critic, and kindred perspectives as the problem demands.
187
- Phase 3 β€” Cross-pollination: force creative collisions between the strongest divergent concepts; synthesize hybrids that resolve real tensions between speed, memory, cost, and correctness.
188
- Phase 4 β€” Convergence: solidify the highest-conviction breakthrough into a master-grade deliverable.
189
- Depth guide: the swarm fills as much of the output as genuine exploration earns β€” commonly the majority for open-ended challenges β€” with every phase sized freely by what the problem actually needs. No phase is ever trimmed short or artificially extended.
190
- Output contract: reason through the four phases, then close your reasoning and open the final answer with the line "[SWARM VERDICT]" followed by a one-paragraph synthesis naming the winning direction and the single strongest objection it survived.
191
  {%- endset %}
192
  {%- set inst_deep_swarm -%}
193
- Reasoning effort: Council β€” deep-swarm adversarial research council (specialized mode).
194
- Mindset: simulate an exhaustive multi-expert research institute and produce verified, proof-grade, definitive results.
195
- Protocol 1 β€” Calibration: rate the task's complexity honestly; set explicit domain boundaries and success criteria before any deliberation.
196
- Protocol 2 β€” Panel: assemble a compact council of complementary virtual specialists tailored to this prompt (domain principal, formal-methods critic, systems architect, security/compliance lead, final synthesizer).
197
- Protocol 3 β€” Adversarial deliberation: let the council debate, expose hidden assumptions, challenge lazy consensus, and trace proofs to their roots.
198
- Protocol 4 β€” Candidate matrix: formulate several genuinely distinct candidate architectures; score each on correctness, completeness, efficiency, and robustness; document the winning trade-off.
199
- Protocol 5 β€” Master deliverable: present the definitive result with clear structure and complete implementation.
200
- Depth guide: deliberation may justly occupy the bulk of the output for hard problems and shrink to a focused pass for easy ones β€” always governed by what verification actually requires, never by a quota.
201
- Output contract: deliberate through the five protocols, then open the final answer with the line "[COUNCIL VERDICT]" followed by the council's ruling, the decisive argument, and the loudest dissent the ruling overcame.
202
  {%- endset %}
203
 
204
  {#- ================================================================== -#}
 
1
  {#- ========================================================================== -#}
2
+ {#- PROTIUM-1.0 β€” OBJECTIVE-GATED COGNITIVE ARCHITECTURE (DeepSeek Native) -#}
3
+ {#- Solstice-AI Zero-Waste Protocol for High-Efficiency Reasoning Models -#}
4
+ {#- Named after Protium (1H): Zero Neutrons. Zero Dead Weight. Pure Thrust. -#}
5
+ {#- Lineage: deepseek-ai-DeepSeek-V4.jinja (native tokens & tool vocab) -#}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  {#- ========================================================================== -#}
 
7
  {%- set template_version = template_version if template_version is defined else "hypersynapse-sas-v3.0.0-soft-spectrum-deepseek" %}
8
 
9
  {#- ------------------------------------------------------------------ -#}
 
93
  {#- ================================================================== -#}
94
 
95
  {%- set soft_budget_contract -%}
96
+ PROTIUM OBJECTIVE-GATED REASONING CONTRACT:
97
+ 1. Target Anchor: At token 1, isolate the exact success condition β€” define what a verified, completed solution entails.
98
+ 2. Forward-Only Solve: Advance directly toward the target. Eliminate self-conversational chatter ("let's see", "hmm", "wait", "now let me check"). Discard rhetorical hesitation; execute continuous deductive steps.
99
+ 3. Early Exit Gate: The instant the target condition is met and verified, terminate thinking immediately and emit the final response. Never dwell, pad, or re-verify what has already been proven.
100
+ 4. Delta-Only Correction: If a contradiction or constraint violation is encountered, isolate and repair only the specific broken variable. Never regress into full restarts or circular overthinking loops.
101
+ 5. Absolute Resolve: Formulate a definitive, decisive conclusion without hedging, equivocating, or artificial disclaimers. Correctness and crisp utility are the only metrics.
102
  {%- endset %}
103
 
104
  {%- set terse_core -%}
105
+ Operational Directives:
106
+ - Zero preamble, pleasantries, or question restatements.
107
+ - Deliver direct, unhedged answers with maximum information density.
108
+ - Retain all essential mathematical, programmatic, and logical technical rigor.
109
+ - If genuine ambiguity exists, resolve it along the most probable engineering standard or ask one targeted clarifying question.
110
  {%- endset %}
111
 
112
  {%- set inst_hermes -%}
113
  Reasoning effort: Hermes β€” [L1] (rapid instinct).
114
+ Mindset: High-velocity execution. Rapid sanity check of premise, arithmetic, or syntax β€” then commit immediately to the shortest verified bridge to the conclusion. Conclude in a light single-digit share of output; zero when obvious.
 
115
  {%- endset %}
116
  {%- set inst_apollo -%}
117
+ Reasoning effort: Apollo β€” [L2] (disciplined deduction).
118
+ Mindset: Structured, transparent logic. Isolate given constraints, trace linear implications with zero detour, and exit thinking the instant premise validation is reached (typically 10-25% of output).
 
119
  {%- endset %}
120
  {%- set inst_artemis -%}
121
+ Reasoning effort: Artemis β€” [L3] (boundary & failure audit).
122
+ Mindset: Rigorous boundary validation. Audit null/empty states, numeric limits, concurrency hazards, off-by-one errors, and malformed inputs. Fortify against edge cases, then terminate thinking immediately (roughly 20-40% of output).
 
123
  {%- endset %}
124
  {%- set inst_athena -%}
125
+ Reasoning effort: Athena β€” [L4] (strategic architecture).
126
+ Mindset: Modular synthesis. Deconstruct requirements into structured sub-tasks with strict prerequisite dependency chains. Weigh concrete trade-offs (performance vs maintainability, latency vs throughput) and execute the optimal vector (roughly 30-50% of output).
 
127
  {%- endset %}
128
  {%- set inst_prometheus -%}
129
+ Reasoning effort: Prometheus β€” [L5] (defensive engineering).
130
+ Mindset: Second-order systemic modeling. Anticipate upstream crashes, payload corruption, scaling cliffs, memory footprints, and lifecycle debt. Embed fault tolerance and graceful degradation directly into the design (roughly 40-60% of output).
 
131
  {%- endset %}
132
  {%- set inst_solstice -%}
133
  Reasoning effort: Solstice β€” [L6] (deep systemic derivation).
134
+ Mindset: Axiomatic derivation. Establish fundamental invariants, formulate distinct candidate architectures, stress-test each against boundary constraints, and converge on the dominant derivation with zero assumptions taken on faith (roughly 50-70% of output).
 
135
  {%- endset %}
136
  {%- set inst_hyperion -%}
137
  Reasoning effort: Hyperion β€” [L7] (first-principles synthesis; default).
138
+ Mindset: Comprehensive first-principles synthesis. Decompose problems to atomic ground truths. Maintain continuous forward momentum across all proof surfaces. Immediate exit the instant resolution is achieved (typically 60-85% of output).
 
139
  {%- endset %}
140
  {%- set inst_einstein -%}
141
+ Reasoning effort: Einstein β€” [L8] (theoretical mastery).
142
+ Mindset: Invariant reduction and breakthrough synthesis. Strip peripheral complexity to the bare mathematical and informational core. Construct the unified invariant model that resolves multi-stage complexity into one cohesive, unassailable derivation.
 
143
  {%- endset %}
144
  {%- set inst_oracle -%}
145
+ Reasoning effort: Oracle β€” [L9] (proof-grade authority).
146
+ Mindset: Exhaustive formal verification. Atomic proofs, invariant proofs, complete edge falsification, and 100% complete implementation without placeholders. Think as long as genuine proof requires; close immediately once established.
 
147
  {%- endset %}
148
  {%- set inst_swarm -%}
149
  Reasoning effort: Swarm β€” 20-perspective divergent swarm (specialized mode).
150
+ Mindset: Four-phase convergent breakdown. Phase 1: Disassembly to core parameters. Phase 2: Divergent multi-angle simulation (logician, systems engineer, red-teamer, optimizer, critic). Phase 3: Cross-pollination and tension resolution. Phase 4: Convergence onto master deliverable.
151
+ Output contract: Conclude thinking and open final response with "[SWARM VERDICT]" followed by a decisive synthesis naming the winning vector and the primary objection survived.
 
 
 
 
 
152
  {%- endset %}
153
  {%- set inst_deep_swarm -%}
154
+ Reasoning effort: Council β€” adversarial research council (specialized mode).
155
+ Mindset: Five-protocol institutional deliberation. Protocol 1: Parameter calibration and success criteria. Protocol 2: Multi-specialist panel assembly. Protocol 3: Adversarial debate and stress-testing. Protocol 4: Trade-off scoring matrix. Protocol 5: Master architecture.
156
+ Output contract: Conclude thinking and open final response with "[COUNCIL VERDICT]" followed by the definitive ruling, key justification, and dissenting risk accounted for.
 
 
 
 
 
 
157
  {%- endset %}
158
 
159
  {#- ================================================================== -#}